Академический Документы
Профессиональный Документы
Культура Документы
Home
Blog/Projects
Log In
Home:: Raspberry Pi:: Raspberry Pi and Starter Kits:: PICAN CAN-Bus Board for Raspberry Pi
Categories
larger image
Information
Search
Enter search keywords here
Search
Advanced Search
New Products[more]
PICAN CAN-Bus Board for Raspberry Pi [RSP-PICAN] - 26.90 : SK Pang Electronics, Arduino, Sparkfun, GPS, GSM
Payment Information
The quickest way to try this board out is to use pre-compiled kernel image.
Download the image fromhttp://lnxpps.de/rpie/and copy over to your Pi.
# cp can-test/kernel.img /boot
# cp -a can-test /home/pi
Reboot your Pi to let it come up with new kernel
# shutdown -r now
Go to the folder with the modules and install them
$ sudo su
# cd /home/pi/can-test
# insmod spi-bcm2708.ko
# insmod can.ko
# insmod can-dev.ko
# insmod can-raw.ko
# insmod can-bcm.ko
# insmod mcp251x.ko
Activate the interface with
# ip link set can0 up type can bitrate 500000
Connect the PiCAN to a CAN-bus network and monitor traffic by using command:
#./candump can0
You should see something like this:
PICAN CAN-Bus Board for Raspberry Pi [RSP-PICAN] - 26.90 : SK Pang Electronics, Arduino, Sparkfun, GPS, GSM
Raspberry Pi Model B+
Home
Copyright 2014 SK Pang Electronics Ltd