Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.


Reply
 
Share Thread Tools Display Modes
Old 04-04-2008, 11:15 AM   #1
Newbie
 
Join Date: Apr 2008
Posts: 4
CarCoder is an unknown quantity at this point
Commands to control car!

Hello guys,

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.
CarCoder is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 04-04-2008, 11:37 AM   #2
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,313
Blog Entries: 1
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
the obd options that i know of only READ data and dont have the capability to write it.
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance
Sonicxtacy02 is offline   Reply With Quote
Old 04-04-2008, 11:40 AM   #3
Newbie
 
Join Date: Apr 2008
Posts: 4
CarCoder is an unknown quantity at this point
Thnx for reply,

But does someone knows some links, articles explaining how to control as mentioned in my previous post.
CarCoder is offline   Reply With Quote
Old 04-04-2008, 01:49 PM   #4
Variable Bitrate
 
Grrrmachine's Avatar
 
Join Date: Sep 2005
Location: Warsaw, Poland
Posts: 247
Grrrmachine is on a distinguished road
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
Grrrmachine is offline   Reply With Quote
Old 04-10-2008, 07:06 AM   #5
Newbie
 
Join Date: Apr 2008
Posts: 4
CarCoder is an unknown quantity at this point
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.
CarCoder is offline   Reply With Quote
Old 04-10-2008, 07:22 AM   #6
Variable Bitrate
 
Join Date: Jan 2007
Location: Szeged, Hungary
Posts: 293
bbalazs is an unknown quantity at this point
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.

BUT

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.
__________________
Alopecia perniciosa

Last edited by bbalazs; 04-10-2008 at 05:07 PM.
bbalazs is offline   Reply With Quote
Old 04-18-2008, 09:24 PM   #7
Newbie
 
Join Date: Apr 2008
Location: Norfolk, VA
Posts: 8
HisSketchiness is an unknown quantity at this point
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.
HisSketchiness is offline   Reply With Quote
Old 04-20-2008, 01:54 PM   #8
Newbie
 
Join Date: May 2007
Posts: 22
dopey273 is an unknown quantity at this point
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.
dopey273 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-21-2008, 05:57 AM   #9
Low Bitrate
 
The1Architect's Avatar
 
Join Date: Apr 2008
Location: Winnipeg, Canada
Posts: 63
The1Architect is an unknown quantity at this point
Quote: Originally Posted by CarCoder View Post
Hello guys,

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.


this is what you need
__________________
>> > Design & Planning . . . . . . . . . . . . . . . . . . . . 100%
> Software Installation . . . . . . . . . . . . . . . . . . . .98%
> Hardware Installation . . . . . . . . . . . 55%
>>> Overall Progress . . . . . . . . . . . . . . . . .85%
The1Architect is offline   Reply With Quote
Old 04-21-2008, 07:03 AM   #10
Newbie
 
Join Date: Apr 2008
Posts: 4
CarCoder is an unknown quantity at this point
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.
CarCoder is offline   Reply With Quote
Old 04-24-2008, 07:19 AM   #11
Low Bitrate
 
txspazz's Avatar
 
Join Date: Feb 2008
Location: TEXAS
Posts: 108
txspazz is an unknown quantity at this point
Clifford’s http://www.clifford.com/ G4 and G5 AvantGuard series alarms can control everything you are looking for using a serial connection. Not sure if that is what you are wanting or not wanting when you say you can't use external modules.

To answer your original question, my experience is limited to Fords, but using there hand held diagnostic scanner (NGS) you can control many of the types of things you are wanting (things controlled by the BCM and some things controlled by the PCM). This isn't using OBD protocol, but does use the same port.
txspazz is offline   Reply With Quote
Old 06-21-2008, 09:04 PM   #12
Newbie
 
Join Date: Jul 2005
Posts: 32
chewwtoy is on a distinguished road
The simple answer is you need to connect to the vehicle's CAN network. But not all vehicles are the same. And many of them have more than one CAN network. So depending on the car and the things you want to control, the hardware and software will be different.

Nearly all vehicle that support CAN networks, support what is called ISO 11898 this is the dual wire high speed can on the OBDII port pins 6 and 14. To connect to this network you need a hardware interface that supports MORE than diagnostics. So these ELM and ELM-like devices will not do. You need a device like the Mongoose or the ValueCAN (google them for more info). These device support real-time monitoring of ECU to ECU traffic (not the same as diagnostics). The ValueCAN can connect to this network but you'll also need software, at the same site you should find a downloads section then there is a software application called CANcracker (or something like that). This is a free application that helps to reverse-engineer the CAN network.

But be aware that many vehicles don't use the network on PIN 6 and 14 but some on PINs 3 and 11 or PINs 1 and 8 or in the case of GM vehicles PIN 1 has a single wire CAN which is different and doesn't work with the ValueCAN.... I'm not sure about the Mongoose.

It takes a lot of patience but it can be done.

Oh and one more thing the vehicle has to support controlling things via the CAN bus .. just because you connect to it, doesn't mean that you can control it via the network.

Good luck
chewwtoy is offline   Reply With Quote
Old 06-22-2008, 04:08 AM   #13
Constant Bitrate
 
Join Date: Mar 2007
Location: Rutherford, Australia
Posts: 150
Lukeyson is an unknown quantity at this point
The ELM is still capable of doing most of what the Mongoose can do - just not as fast, without as much control over the frame formatting and timing, and only one protocol at a time. But I have certainly been able to do some programming of non PCM modules without problems on an ELM. But sniffing at full CAN bitrate is another problem altogether.

(a) There are no standards to do what you suggest. The only standards that manufacturers conform to are J1979 and in some cases J2190. These can only do read operations from the PCM for Emissions.

(b) Some cars can do what you require, and some cannot. Each implementation is different, prioprietary, and not public knowledge. The kinds of things that are configurable or programmable across the Bus are there so that Technicians can use Manufacturer tools to adjust these values in the workshop.

You can get Manuafacturer specific stuff if you are a member of ETI. But it's not cheap. Another option you have is to license Prioritary codes from the manufacturers if you plan to sell a software tool.

One path I have followed is to access a manufacturer diagnostic tool, and use tools like the ELM or Mongoose to 'sniff' the traffic between the car and the diagnostic tool as various different tasks are performed. This is very easy on the CAN bus using an OBD2 'Y' Cable. But it takes a lot of time and dedication to get what you want - and access to the tool in the first place. Suffice to say that manufacturer workshops won't just let you walk in off the street and let you do this.

If it were easy and cheap, there'd be lots of easy cheap software tools out there by now. The only easy cheap stuff out there is pretty much just J1979. Anything beyond that is the reason why these tools cost so much money.


Lukeyson
Lukeyson is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
car ac control integration 2nau-t General Hardware Discussion 16 08-31-2004 08:01 PM
Sound control by Media Car ddogg_777 MediaCar 18 05-25-2004 04:31 AM



All times are GMT -5. The time now is 06:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics