Difference between revisions of "CAN-BUS Shield for Arduino"

From LinkSprite Playgound
Jump to: navigation, search
(Schematics)
(Usage)
Line 29: Line 29:
 
== Usage ==
 
== Usage ==
  
[[File:CAN shield usage1.jpg]]
+
[[File:CAN shield usage1.jpg|400px]]
  
 
1. Download the [http://cnlearn.linksprite.com/wp-content/uploads/2014/11/CAN_BUS_Shield.zip CAN_BUS_Shield library], upzip it to this path:..\arduino-1.0\libraries.
 
1. Download the [http://cnlearn.linksprite.com/wp-content/uploads/2014/11/CAN_BUS_Shield.zip CAN_BUS_Shield library], upzip it to this path:..\arduino-1.0\libraries.
Line 35: Line 35:
 
2. Open the ”receive” and “send” code,you need two Arduino IDE to open them.
 
2. Open the ”receive” and “send” code,you need two Arduino IDE to open them.
  
[[File:Open_CAN_BUS_examples.jpg]]
+
[[File:Open_CAN_BUS_examples.jpg|600px]]
  
 
3. Respectively download to two Arduino, record which shield is the "send" and which is "receive" shield.
 
3. Respectively download to two Arduino, record which shield is the "send" and which is "receive" shield.
Line 41: Line 41:
 
4. Open the serial software tool and set the baud rate to 115200, you can see the result as the following picture( respectively are the output information of receive port (left) and send port (right)).
 
4. Open the serial software tool and set the baud rate to 115200, you can see the result as the following picture( respectively are the output information of receive port (left) and send port (right)).
  
[[File:CAN shield usage2.jpg]]
+
[[File:CAN shield usage2.jpg|600px]]
  
 
== Resources ==
 
== Resources ==

Revision as of 08:23, 29 January 2015

Introduction

CAN – BUS is a common BUS industry, because of its support for a long distance, medium speed and high reliability of communication.It is often found in modern machine tools and Automotive diagnostic bus.The CAN – BUS expansion board adopt the CAN BUS controller of MCP2515, SPI interface and MCP2551 CAN transceiver, communicate with your Arduino. With OBD II conversion line and the improvement of the OBD II – library, you can create an on-board diagnosis device or data recorder.

  • The CAN transfer rate is as high as 1 Mb/s
  • SPI interface transmission rate is as high as 10 MHz
  • Standard (11bite) and (29 bite) data transmission
  • The two have the priority to accept the cache information
  • 9 needles industry standard sub – D interface
  • Two LED indicators

Can-bus shield.jpg

Specification

Working Voltage: 4.8~5.2V

Size: 68 x 53mm

Schematics

Interface

Can-bus shield interface 1.jpg

Can-bus shield interface 2.jpg

Usage

CAN shield usage1.jpg

1. Download the CAN_BUS_Shield library, upzip it to this path:..\arduino-1.0\libraries.

2. Open the ”receive” and “send” code,you need two Arduino IDE to open them.

Open CAN BUS examples.jpg

3. Respectively download to two Arduino, record which shield is the "send" and which is "receive" shield.

4. Open the serial software tool and set the baud rate to 115200, you can see the result as the following picture( respectively are the output information of receive port (left) and send port (right)).

CAN shield usage2.jpg

Resources