PDA

View Full Version : car interfacing


ElectroPhysics
Oct8-09, 01:56 AM
hi,
i have to interface the toyota corrola 2008 car with microcontroller using CAN. can any body tell me how and where to find out registers information and format. i mean e.g what is the mileage on odometer in binary format on dlc pins.

berkeman
Oct8-09, 02:44 AM
hi,
i have to interface the toyota corrola 2008 car with microcontroller using CAN. can any body tell me how and where to find out registers information and format. i mean e.g what is the mileage on odometer in binary format on dlc pins.


I would imagine that Toyota tries to keep that proprietary for monetary reasons. Have you tried searching on Toyota owners' performance forums?

daveg360
Oct8-09, 05:16 AM
CAN is specifically non proprietary (are at least a large component of it is). Any particular reason why you want to do this the hard way? there are cheap or freely available packages that can do this already....

daveg360
Oct8-09, 05:24 AM
On second reading - are you trying to read the mileage directly from the instrument cluster? if so - what berkeman said. If you just want to find the cars mileage - it's available from the ECU as diagnostic data.

If you're trying the change the value - check you local laws. It's illegal to change the mileage in order to sell it here in the U.K. I'm sure other countries have similar laws.

Mech_Engineer
Oct8-09, 11:55 AM
For reading data, pretty much everything you'll need to get started is here:

http://en.wikipedia.org/wiki/On-board_diagnostics

That gives you pinouts, links to the ISO standards, etc. It is a one-way link, used for reading diagnostic information out of the ECU (but not reprogramming it).

ElectroPhysics
Oct8-09, 12:53 PM
CAN is specifically non proprietary (are at least a large component of it is). Any particular reason why you want to do this the hard way? there are cheap or freely available packages that can do this already....


by the way, can u tell me what is that easy way. any web links...

russ_watters
Oct8-09, 05:34 PM
"The easy way" is the link Mech_Engineer posted: there are lots of products that connect to the OBD port on a car and they are standardized. I use this one: http://www.scangauge.com/

ElectroPhysics
Oct9-09, 07:09 AM
"The easy way" is the link Mech_Engineer posted: there are lots of products that connect to the OBD port on a car and they are standardized. I use this one: http://www.scangauge.com/

but i have to make my own device. can any body tell me from where to get the binary data of dlc3 connector CAN bus. i have searched the internet but it was not successful

Jasongreat
Nov7-09, 11:58 PM
but i have to make my own device. can any body tell me from where to get the binary data of dlc3 connector CAN bus. i have searched the internet but it was not successful

I was looking into building a controller for a dodge turbo that is controlled by canbus a while back, it was CANBUS J1939 protocol if I remember right. You can find out more here. (http://www.SAE.org/standardsdev/groundvehicle/j1939a.htm)

mgb_phys
Nov8-09, 12:43 AM
start with something like http://www.dealextreme.com/details.dx/sku.24361
look for software n the comments