background image

 

Published: 30.10.2018  

Copyright by Joy-IT 

 

CAN Module 

To install the necessary extensions and to be able to use the CAN module with a Raspberry Pi, please 
update the package lists first and install the extension 

can

-

utils:

 

 

 

Next, use the following command to get the kernel version of your Raspberry pis. This is necessary for the 
further configuration of the system.

 

You will be shown the current kernel version (e.g. "4.4.41

-

v7").

 

 

Next, open and edit the 

config.txt 

file with the following command:

 

 

If your kernel version is 4.4.x or newer, please add the following lines to the end of the file:

 

 

However, if your Raspberry Pi runs with an older kernel version, please add the following lines to the end 
of the file instead:

 

Save the file with the key combination 

CTRL+O

, confirm the saving process with 

Enter

, and exit the editor 

with the combination 

CTRL+X

.

 

Restart your Raspberry Pi with the following command:

 

sudo apt

-

get update

 

sudo apt

-

get upgrade

 

sudo apt

-

get install can

-

utils

 

uname 

-

a

 

sudo nano /boot/config.txt

 

dtparam=spi=on

 

dtoverlay=mcp2515

-

can0,oscillator=8000000,interrupt=25

 

dtoverlay=sp1

-

1cs

 

dtparam=spi=on

 

dtoverlay=mcp2515

-

can0,oscillator=8000000,interrupt=25

 

dtoverlay=sp1

-

bcm2835

-

overlay

 

sudo reboot

 

Содержание CAN MODULE

Страница 1: ...3 CAN Module with MCP2515 CAN Interface MCP 2562 Transceiver...

Страница 2: ...Published 30 10 2018 Copyright by Joy IT 2 CAN Module 1 Overview 2 Details 3 Usage with an Arduino 4 Usage with a Raspberry Pi 5 Information and take back obligations 7 Support TABLE OF CONTENTS...

Страница 3: ...ems please feel free to contact us The CAN board is compatible with Raspberry Pis and other ARM single board computers on a voltage level of 3 3V as well as with Arduinos on a voltage level of 5V A ge...

Страница 4: ...for a maximum range over longer distances This is already integrated in our module and can be activated or deactivated at connection P1 Connection Description NT Interrupt SCK Serial Clock SI MOSI S0...

Страница 5: ...can find an example for a transmitter as well as for a receiver With these examples the basic functionality of the system can be explored excellently With a second Arduino and a second Can module for...

Страница 6: ...ino the inputs and outputs of the Raspberry Pis are only designed for a voltage of 3 3V For this reason our module has two voltage inputs VCC1 and VCC This allows you to use the module on your Raspber...

Страница 7: ...el version is 4 4 x or newer please add the following lines to the end of the file However if your Raspberry Pi runs with an older kernel version please add the following lines to the end of the file...

Страница 8: ...nd Instead of attempting to send you can also start receiving For example in order to gain initial experience with the module two Raspberry Pis and two CAN modules can be used to initiate communicatio...

Страница 9: ...us free of charge for disposal when you purchase a new appliance Small appliances with no external dimensions greater than 25 cm can be disposed of in normal household quantities independently of the...

Страница 10: ...chase If you still have questions or problems we are also available by e mail telephone and ticket support system E Mail service joy it net Ticket System http support joy it net Phone 49 0 2845 98469...

Отзывы: