Announcement

Collapse
No announcement yet.

Voice Recognition

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Voice Recognition

    I am thinking about how cool it would be to be able to tell my car to unlock or lock the doors and to tell my car to start. I have ordered a vr module that works with arduino boards. and I was just woundering if there were any here with experience in this already? or anybody with any useful input on this idea.

  • #2
    What make, model and year vehicle? Newer vehicles use the CAN BUS to control everything otherwise you would have to wire in hardware in parallel with what is already in place to make things work. You could still wire things in parallel to make them work with CANBUS control but you can otherwise use the CANBUS commands to do things such as lock/unlock and such. But good luck finding the codes to do so. If your lucky you can find someone else that has done it and published the codes or you have to reverse engineer the codes yourself. The information is out there to do this but you have to figure out what your vehicle can do. For modern GM's ALOT of this work has already been done but other vehicles I don't know. Some FORD stuff is available via OpenXC as well.

    Anything is possible but good luck getting the information. For GM's 2006 and later you can actually do most anything on their databus but older you can't do a car start without additional hardware added. There are however some alarm interfaces you can find that you could wire to an arduino to do much of the same sort of things you could do with an alarm. They tie into the data bus for you and based on what wires you trigger on and off it will do things like start your car or lock/unlock the doors. Basically it is to make an older "dumb" alarm work like a newer "smart" alarm and provide much of the work over the databus for you.

    If you are interested in the alarm interface I will see if I can pull up the information for you.

    Rodney

    Comment


    • #3
      I have a 2000 chevy corvette. I have a good working knowledge of gm low speed and high speed lan from a diagnostic standpoint. like what modules communicate on which network. I have had the pleasure of tracking down many of communication trouble codes / problems in my career. but that's not writing code or tapping the canbus to control onboard systems. I have plenty of 5v relays for my arduino. I also have many of arduino boards. from a nano to a uno to a mega and cool sounding generics like the funduino. and I have become pretty handy at looking at example sketches and cutting / copying / pasting or hacking a sketch together. and I am interested in any info you have to give on this subject Rodney. and ty in advance.

      Comment


      • #4
        Here is a link to a thread that will help you... With a 2000 I am unsure how much is on the GMLAN but with a corvette I have to believe pretty much everything is.

        Luckily in the links in the thread if you have a factory keyless entry or steering wheel controls you will find information on how to pull that information. It looks like GM uses the same base commands for much of what you can do. The Corvette seems to be a little different animal in some cases such as I believe the Radio is the Master controller instead of the BCM as in other vehicles so it can be more difficult to ditch the Corvette motor.

        http://www.mp3car.com/engine-managem...terface-7.html

        In my '03 truck pretty much everything is on the GMLAN... Just can't start the truck without some external controls on the ignition switch lines. Flashing the lights, honking the horn, locking/unlocking the doors etc all is done over the GMLAN including things like rolling up and down the windows...

        After I finish up some install work in my truck I will be picking up a pretty powerful ARM development board that runs Linux. I hope to build an interface into my truck with this where I can run the factory HVAC controls from the computer as well as control other aspects of the truck. I too hope to incorporate voice control in this setup but have not looked up working with Voice commands in Linux but I am sure it is possible... But I only have 4 gig of Storage on the dev board without moving to a flash drive or SDcard.
        The board I am looking at using is this one:
        http://boundarydevices.com/product/nitrogen6max/

        It can also use a PCIe mSata drive I believe which I have a couple sitting around from broken Netbooks so it is possible to use one of those.
        As a central control unit for my truck that can shift to low power I think it will work pretty good. I plan to install a 7" capacitive touch screen in my over head console to access this.
        It has a build in CANBUS setup which would be great to tie into a newer vehicle but may also be able to connect directly to the GMLAN plus much other cool stuff.
        It can run Linux, Android and probably WinCE/WinRT.

        When they say custom versions available they mean if you want to order like 200 boards or more...

        Rodney

        Comment


        • #5
          my current direction is arduino based. this is the vr module I ordered: http://www.mcmelectronics.com/produc...FTQF7AodVgwAWA It has to be wired to an arduino board. and from there I was planning on making arduino talk to gmlan or drive relays to control starter and communicate with gmlan to know when the lsx has started or when the brake pedal has been pressed. the corvette doesn't have steering wheel controls or the factory radio but it does have remote keyless entry power everything and a fancy heads up display(hud).

          Comment


          • #6
            let me ask you something off topic but related. on the c5 corvettes they have an electronic locking steering column. they have problems with this and get disabled / bypasses so they don't lock the steering column while driving. I have been able to reprogram the corvettes pcm with hptuners and tell the ecu the car is not fitted with the column lock. so the car will drive and not shut off when put in gear, BUT there is still a service column lock message displayed in the ipc (instrument panel cluster). and hptuners only writes the pcm and tcm. there is a bypass relay that I can hunt down. but I am interested to know of a way to remove this warning message from the ipc or bcm if that is where it is stored?

            Comment


            • #7
              That's probably going to be a Tech 2 job...

              I know my '94 caprice had a solenoid on the shifter that would prevent you from shifting the car without the brake being applied and I know this still exists as a child proof safety and I know there is a neautral safety switch that prevents you from starting unless it is in park or neutral. Beyond that any other interlock I am not aware of but then again Corvettes tend to have lots of extra security related stuff to help the owner KEEP their corvette...

              I am sure its been done and you might be better off tracking that down on a Corvette forum but otherwise reprogramming a BCM is something best left to a Tech 2 unless you know someone that has the source code to the BCM which I am assuming is what is tripping the code.

              Rodney

              Comment


              • #8
                ya i'm striking out in the corvette forum. they don't like me for some reason. i'm only speaking truth but they be some haters. and a hater's gonna hate: http://www.digitalcorvettes.com/foru...d.php?t=240561

                and hate: http://www.digitalcorvettes.com/foru...d.php?t=238930

                so i'm thinking screw the corvette forum. I like it here. you all are some good people here. and I am happy to have all my car build threads on mp3car.com.

                Comment


                • #9
                  disreguard that, now we're all friends. but no one over there knows how to communicate with or send commands over the gm lan. so I have a vr device coming that works with arduino boards. what device do i use to connect to the 1 wire for gm lan? my 2000 corvette only has the low speed or the 1 wire network.

                  Comment


                  • #10
                    The Scantool MX is a good one to get it does sw-can plus its a very fast, quality dongle. https://www.scantool.net/obdlink-mx....x-banner-promo Good luck SNO

                    Comment


                    • #11
                      that will let me send commands to unlock doors and put down windows or whatever else the network is controlling?

                      Comment


                      • #12
                        What I am doing is to use the Scantool SX that I have to do initial diagnostics getting to understand just what I have... In my 2003 GM Truck it also just has the GMLAN. This is a USB version of their scan tool and can be used easily with a laptop when trying to sort out stuff.

                        You SHOULD be able to connect to the bus with a CAN device if that is what the VR is.
                        However you should read a link involving a different device. The electronics should be the same and the software should be something somewhat understandable to read.
                        This is the device I will be using to communicate. The Parallax Propellers are faster than the Arduinos but the Arduinos are better supported.
                        The components to make this work are very cheap and use a couple I/O pins that you should have available on your Arduino.

                        http://forums.parallax.com/showthrea...ighlight=gmlan

                        I was able to find out that my bus is 10.3K baud.

                        In my truck there are only 4 lines in the ODBII. Pin 2 is the GMLAN, The other 3 are ODBII normal pins.. +12 volts, Ground and signal ground.. Don't have it sitting in front of me. I have not seen how to wire the CAN transciever up but I BELIEVE you hook the CAN - to the Ground and the CAN + to the GMLAN. You can try leaving the CAN - un hooked first to see what happens then go with it to ground if you don't get anything. I would assume your bus is also 10.3K baud but I would suggest getting a scantool if you don't already have one so you can tell your speed. The link mentioned above I believe the guy has 33k as his GMLAN but his car was a few years newer and his pinout was different.
                        Last edited by redheadedrod; 04-04-2015, 08:29 AM.

                        Comment

                        Working...
                        X