Pages: [1]   Go Down
Author Topic: Comunicating with CAN bus  (Read 449 times)
0 Members and 1 Guest are viewing this topic.
The people's republic of Massachusetts
Offline Offline
Full Member
***
Karma: 0
Posts: 135
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I understand the concept of CAN bus, but am having problems finding examples of how you send / format the data string and how you know what you are reading when you connect to a device. 

For example lets say I want to know or send the following:
- Engine RPM
- Voltage
- Status
They are all "on the bus" but I have no idea how to get the value for each?
Are they named / ID in some way, and is there any standard parameters that are used in CAN bus? 

Google has failed me on this one  smiley-cry

Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12568
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I understand the concept of CAN bus, but am having problems finding examples of how you send / format the data string and how you know what you are reading when you connect to a device. 

CAN bus does not use textual message formats. In order to understand what you are receiving, you need to know the protocols being used. I can't imagine how Google failed to locate a description of how CAN bus works, but here is a starting point:

http://en.wikipedia.org/wiki/CAN_bus
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Siena Italia
Offline Offline
Full Member
***
Karma: 2
Posts: 149
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And here's a link to Microchips primer on the subject:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011694
Ciao, Lenny
Logged

Pages: [1]   Go Up
Jump to: