What you need:
- Arduino UNO
- Seeeduino CAN Shield
- Jumper Wires
- A second CAN device to test (here I use Jetson TX2 Development Kit)
I. Set up
This is pretty easy. You just need to stack the CAN shield on top of the Arduino UNO securely.
- Arduino IDE > Tools > Manage Libraries > Search for CAN-BUS Shield by Seeed Studio > Install > Restart the IDE
- Let’s upload the first sample script: Start Arduino IDE > File > Examples > CAN BUS Shield > send
- Choose your board and port to upload (in our case here, it’s Arduino UNO)
Note, the script set up the baudrate to send message at 500k
Connect the CAN_L & CAN_H of the CAN shield to the CAN_L & CAN_H of the second device.
In the picture, the second device is a transceiver connected to Jetson TX2, and TX2 should be set up with baudrate 500000 in order to receive/send message to Seedstudio. Refer to this article for the set up.
Jetson TX2 comes with 2 CAN port, and I connect the Seeedstudio CAN port to TX2’s CAN0 port
To check if the Jetson receives message, I run on terminal:
The result is I received message. And that confirms the connection
IV. Something to note
The Seeeduino CAN shield comes with 120ohm terminal resistor built in. I did not have to add extra into the connection for message to come through successfully.
*** Disclosure: As an Amazon Associate I earn from qualifying purchases. ***
Thank you for visiting. I love to keep my website efficient with useful content. I personally use and test all hardware items mentioned in this website. Using my affiliate link for your purchase costs nothing to you but helps the site greatly to deliver even more awesome content in the future.