• 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: Raspberry Pi 3.97 inch e-Paper link (G) RYBW 800x480 For Arduino / Jetson / STM32 /ESP32 Raspberry Pi Pico 2 RP2350 4inch LCD CAN RS485 QMI8658 Development Board 480x480 TouchScreen Display LVGL HMI I2C Sensor Jetson Nano ESP32-P4-WIFI6 4.3inch LCD Display AI Development Board 480×800 4.3 inch TouchScreen Deepseek Raspberry Pi 5inch Display 1024x600 HDMI Capacitive TouchScreen 5 inch LCD B Wide-Cover For Mini PC USB IR Infrared Thermal Imaging Camera C 45°/88° 160x120 For Phone/PC High Temp Warning/Take Photo /Recording video Milk-V Duo Code Raspberry Pi 5 Power ESP32 ST7789 0.99inch SpotPear Raspberry Pi HQ Camera Official Original High Quality For M12 Lenses 12.3MP IMX477 Sensor Raspberry Pi 5 RTC Box Raspberry Pi Pico 2 RP2350B 4.3inch Capacitive TouchScreen 4.3 inch LCD Display Development Board 800×480 Raspberry Pi Touch Display 2 Official Original Capacitive TouchScreen 7 inch LCD TFT 720x1280 PCB800099 Industrial Modbus RTU 8 ch Relay Module DeepSeek AI Voice Chat ESP32 C6 Development Board 1.83 inch TouchScreen Display 240x284 ESP32 ST7789 tutorial Raspberry Pi 6.25 inch DSI Display MIPI LCD Capacitive TouchScreen 720x1560