Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

interfacing to automotive engine control unit (ECU)

Status
Not open for further replies.

gizzmo

Newbie level 5
Joined
Dec 3, 2005
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,362
I trying to figure out how I can access my car's ECU through a serial interface. My goal is to have a microcontroller connected to the ECU so that I can monitor some ECU inputs (door open/closed, engine running/off, etc) and also directly control some ECU outputs (sound horn, flash headlights). I'm not sure this is even possible, has anyone tackled this type of problem before ?
thanks,
Dave
 

hemporer

Newbie level 6
Joined
Dec 13, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,333
First,you should know the protocol thar your car uses;
and then learn relevant application layer, transmit the request frame to ECU;
finaly, receive the response frame from ECU.
 

GSM Man

Banned
Joined
Apr 15, 2009
Messages
671
Helped
168
Reputation
338
Reaction score
94
Trophy points
1,308
Location
New Jersey, USA
Activity points
0
There are several different OBD electrical interfaces & protocols used in automobiles including:
  • ISO 15765-4 (CAN)
  • ISO 14230-4 (Keyword Protocol 2000)
  • ISO 9141-2 (Asian, European, Chrysler vehicles)
  • SAE J1850 VPW (GM vehicles)
  • SAE J1850 PW
  • M (Ford vehicles)
  • ISO 15765
  • ISO 11898 (raw CAN)
  • SAE J1939

I've designed products that monitor and control automotive systems using several of these protocols and some of them can be very difficult to work with, and you have to be careful you don't jam your car's network.

Your best bet is to use an "ODB to UART" converter chip as your interface to the car's system. These chips handle all of the communications with the vehicle allowing you to concentrate on your applicaiton. A couple of chips I'm aware of are:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top