3.6. CAN
Controller Area Network (CAN or CAN-bus) is a bus standard, generally used in the automotive
industry, designed to allow micro-controllers and devices to communicate with each other within a
vehicle, and without a host computer.
CAN is available only on the
DuinoMite-Mega
.
CAN is a very useful interface, it’s the de-facto standard for automotive bus applications, so by having
CAN it would be possible to connect to your car and read all of the data sensors for speed,
temperatures, fuel consumption, etc. This video can give you rough idea what you can do with CAN
and
DuinoMite-Mega
.
http://www.youtube.com/watch?v=PbA_bOO2mMw
Being a robust and noise immune protocol, CAN is used not only in automotive but also in industrial
robot applications – For more information see the following links
http://en.wikipedia.org/wiki/DeviceNet
http://en.wikipedia.org/wiki/CANopen
CAN is not supported currently in MM-BASIC, but in a future firmware CAN will be implemented to
be seen as a file, the same as the COM ports, so you will be able to do OPEN “CAN” AS #1 and use
INPUT # , INPUT$ and PRINT # to send and receive CAN messages.
The CAN connector consists of these 3 signals:
CAN-H, CAN-L – these are the CAN physical layer twisted pair
GND - the shielding connection
The CAN end node should have termination resistor and if CAN-T is soldered (shorted) add such
termination resistor to the CAN bus.
Summary of Contents for DuinoMite
Page 27: ...4 SOFTWARE...