A CAN controlled add-on board for Raspberry Pi
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CANpi-cache.lib
CANpi.cmp
CANpi.kicad_pcb
CANpi.pro
CANpi.sch
LICENSE
README.md

README.md

CANPi Readme

What is it?

Here you'll find the hardware design files for a CAN controller for the Raspberry Pi SBC.

It is designed to be easy to use. The CAN transceiver keeps the RPi and the CANPi elctrically isolated, so you do not need to worry about voltage levels. All you need to do is connect the CAN signals and a voltage supply @ 6-25V DC, which usually can be shared with the device you want to communicate with. The power input is reverse polarity protected.

Note that while the CAN transceiver is rated for up to 5000V isolation, the board layout most definitely is not! Voltages up to 25V is no problem though.

If you just want the PCB, it can be ordered from here: http://oshpark.com/shared_projects/20v7dQka

How do I use it?

When your Raspberry Pi has been properly setup, you will have access to a /dev/canX interface. Through the magic of socketcan, this works a lot like a network interface.

Follow these instructions to configure your RPi: http://lnxpps.de/rpie/ . The hardware used in those instructions is a bit different, but the CAN controller and the interface to the RPi is the same so there is no difference in practice.