How can we use the Arduino or the Raspberry Pi as an integrated CAN or LIN BUS controler?
How can we use the Arduino or the Raspberry Pi as an integrated CAN or LIN BUS controler?
Hi. I do not know, if it is actual, but I found some interesting information on CAN-BUS interface with Arduino and I would like to share.
1. CAN-BUS Shield http://www.seeedstudio.com/wiki/CAN-BUS_Shield
There you can find detailed information about this shield, including CAN-BUS Shield Schematic (.pdf and eagle file), MCP2515 datasheet, MCP2551 datasheet.
2. How to programming this sheild are described in detail in the following two articles
CAN Prototyping with Arduino (http://bitstream24.com/can-prototyping-with-arduino/)
CAN Prototyping with Arduino CAN-Bus Shield – Part 2 (http://bitstream24.com/can-prototyping-with-arduino-can-bus-shield-part-2/)
Also, you may be interested in book
Controller Area Network Prototyping with Arduino
Good luck in your project.
documentation-113030021.zip |
using a chip like this http://ww1.microchip.com/downloads/en/DeviceDoc/21801G.pdf can allow you to integrate either an Arduino or a pI to the CAN bus, I have just posted the first in a series of videos on interfacting the PI to various chips using SPI and or I2C, this chip will be no harder to integrate than those from a hardware and basic software perspective, you will of couse need to learn the CAN protocol coding etc but this will help get the hardware up and running. couple this with information you can get from the links provided by dpushkashu and youll be well on your way
here is my video
Hope it helps
You need to explain much better what you are trying to do - as has been pointed out it isn't that hard to add a CAN controller chip of some kind to an Arduino or RPI - but that is only the start of the story - you need to tell us what your integrated controller is supposed to be doing before a reasonable recommendation can be made.
MK