• sales

    +86-0755-88291180

RS485 CAN for Jetson Nano User Guide

Overview

RS485 CAN Expansion Board for Jetson Nano.

Features

  • Standard 40PIN GPIO extension header, supports direct attaching to Jetson Nano.
  • Onboard CAN controller MCP2515 via SPI interface, matching with SIT65HVD230DR transceiver.
  • Features RS485 function, controlled via UART, half-duplex communication, supports automatic TX/RX control without programming, onboard transceiver SP3485.
  • Onboard TVS (Transient Voltage Suppressor), effectively suppresses surge voltage and transient spike voltage in the circuit for RS485 transceiving, lightning proof & anti-electrostatic.
  • Onboard digital isolation chip, safer signal isolation communication, and better stability and anti-interference
  • Reserved control pins, allowing working with other control boards.
  • Comes with development resources and manual (examples in python).

Specification


How to Connect


What's On Board


Pin Definition


Dimensions


How to Use

Install Libraries

sudo apt-get install minicom 
sudo apt-get install python-pip nano
sudo pip install pyserial
sudo pip install spidev==3.1

Enable SPI

After executing the above, add in the following file:

sudo nano /etc/modules-load.d/modules.conf


add a line

spidev

Press ctrl+x and then press Y, press Enter to save and exit, and then open the hardware SPI:

sudo /opt/nvidia/jetson-io/jetson-io.py

as shown
Choose to configure 40PIN pin
Use the keyboard to select, configure the pins

Use the keyboard to select, move to SPI1 and press Enter to confirm

Save and select restart (keep Enter to restart)

After restarting, ls /dev/spidev* can see the device number

Download the Sample Demo

In the user main directory, execute the following command:

wget https://www.waveshare.com/wiki/File:RS485_CAN_for_JetsonNano_Code.zip
sudo unzip ./RS485_CAN_for_JetsonNano_Code.zip -d ./RS485_CAN_for_JetsonNano_Code/

CAN

Please connect the hardware first, and then run the program. As SPI to CAN and the default crystal oscillator is 8M, the temporary baud rate is 500Kbps.
The Python driver provided by this product currently supports a baud rate of 500Kbps (the default is 500Kbps), pay attention to select the baud rate of the other end of the communication:

cd RS485_CAN_for_JetsonNano_Code
sudo python cantest.py

The test demo will send 1-8 when a message is received;

485

Please connect the hardware first, and then run the program. RS485 is transferred from UART, so please do not occupy UART.

sudo python rs485test.py
TAG: PC USB Secondary Screen Autofocus Camera UGV Rover PT AI OpenCV Robot Car MediaPipe For Raspberry Pi Sipeed Lichee Tang Nano 9K FPGA MINI Development Board GW1NR-9 GOAI Gowin ESP32-C5 2.8inch LCD Display Capacitive AI Development Board 240×320 2.8 inch TouchScreen ESP32 C3 Round LCD Development Board Electronic EYE 0.71 inch Display Watch Screen GC9A01 160x160 ESP32-S3 Development Board 4 inch LCD TouchScreen Display 480x480 RS485 /SHT20 /Relay For Arduino LVGL 86 TVbox BG95-M3-Zero QuecPython EVB development support LTE/EGPRS and GNSS Computer AI Deepseek Mechanical Voice Keyboard Linux 10x0.85inch LCD Screen Customize keys + 2.01 inch Secondary Display Aluminum Heatsink WiFi6 Development Board SpotPear 3.4inch Round LCD HDMI Capacitive Touchscreen Display 800x800 For Raspberry Pi/Jetson Nano/mini PC USB CAN Analyzer GC9A01 DAPLINK Raspberry Pi Auto Focus 12MP IMX708 Camera High Resolution ESP32 S3 Development Board 2.1 inch Round Rotary Knob LCD Smart Screen 2.1inch Display 480x480 LVGL for Arduino ESP32 0.85inch LCD LuckFox