Commands to control car!
I'm kinda new here so please don't be surprised if I ask something stupid.
Anyway, I want to send commands to my car like turning off the engine, lock the doors, close the windows etc...
I like to know the commands and I don't know if these commands are included in the OBD protocol. Cause isnt't that OBD is more for analyzing purposes instead of controlling the whole carsystem?
So my goal is using CAN to connect my microcontroller on it and send commands (using or not the OBD protocol) to control the car. With controlling the car I mean by controlling the doors, windows and turn on/off engine, lights etc... (ofcourse not controlling fuel injection system and other engine related stuff, or whatever critical systems).
Another important thing is that it should working for most different cars (I know there are differences and some functions are hidden etc...).
Thank you very much.
the obd options that i know of only READ data and dont have the capability to write it.
Thnx for reply,
But does someone knows some links, articles explaining how to control as mentioned in my previous post.
I suppose if you wanted help it might be advantageous to mention what car you have, as stuff like ignition and windows is proprietory for the marque, rather than standard for all modern vehicles.
My one doesnt even have fuel injection, so I can't help you on the specifics ;)
Well I guess the only way to get the info is to reverse-engineer on the CAN bus.
That's a nice challenge for me too. But first I need to write some tools to get things done. Anyway, if I have some info you'll get it as soon as I get finished doing some reverse-engineering.
Trying to do the similar thing on my car, I recognised, the OBD is just for MONITORING certain parameters that closely linked to the environmental pollution. Not useful to you.
Via the same connector, you are able to talk to ECUs.
These ECUs are different computers and control certain sub-functions of entire car (e.g. airbag, dash, ABS, climatisation, engine, etc.). They are also continuously communicating with each other.
The communication method they use can be e.g. CAN or ISO or PWM, etc.
They have company-specific protocol (series of hexadecimal numbers). And via these protocols, you are able to control ANY function of that ECU (maybe just after an authorisation process).
In my case, luckily, have a program DDT2000, that contains all the possible commands to any ECU.
You could try looking into a fusion brain. It's separate from the cars systems but allows computer and/or sensor inputs and can send outputs to relays to do whatever you want.
There's a couple of different parts you can get to make this happen. I"m going to assume you have a chrysler product since you said can bus. There are modules made to interface with the can bus system That will lock/unlock the doors and interface with the the car to help start it. You will still need something to send the basic commands to control the modules(which what I've seen here shouldn't be to hard). Basicly these parts are used to interface security/remotestart systems to the cars. If you look at www.xpressdownload.com or www.idatalink.ca .you basicly have to send a negative pulse to work the module. Hope this helps you in your system design.
Originally Posted by CarCoder
this is what you need
Thanks for your response guys,
In my project I can't use external modules, the situation is as follows. I build in a remote system which can talk on the CAN bus. So it's like a pc connecting to a network. Than send the right predefined messages to control the doors, windows, lights and switching on/off the engine.