• sales

    +86-0755-88291180

Raspberry Pi Pico-CAN-B User Guide

Introduction

This is a CAN module designed for Raspberry Pi Pico, enabling Pico to achieve reliable long-distance communication.

Features

  • Standard Raspberry Pi Pico header, supports Raspberry Pi Pico series boards.
  • Features CAN function, adopts SPI interface CAN controller MCP2515 with transceiver SIT65HVD230DR.
  • Comes with online development resources and manual (Raspberry Pi Pico C/C++ and MicroPython examples).

Specifications

  • Operating voltage: 3.3V~5V
  • CAN controller: MCP2515
  • Control interface: SPI
  • CAN transceiver: SIT65HVD230DR
  • Baudrate: 5K~1000Kbps
  • Dimensions: 52 x 21mm

Pinout Definition


Dimensions


Pico User Guide

Hardware Connection

Please take care of the direction when you connect Pico, a USB port is printed to indicate. You can also check the pin of Pico and the module when connecting.

Demo Download

1. Directly download it on the Raspberry Pi: Open the Raspberry Pi and execute:

sudo apt-get install p7zip-full
cd ~
sudo wget  https://www.waveshare.com/w/upload/8/8a/Pico-CAN-B-Code.7z
7z Pico_Pico-CAN-B-Code.7z -o./Pico-CAN-B-Code.7z
cd ~/Pico-CAN-B-Code

2. Also, you can download the demo under the #Resource.

How to Use the Demo

Python

  • 1. Press and hold the BOOTSET button on the Pico board, connect the pico to the USB port of the computer through the Micro USB cable, and release the button after the computer recognizes a removable hard disk (RPI-RP2).
  • 2. Copy the pico_micropython_xxxxx.uf2 file in the python directory to the recognized removable disk (RPI-RP2).
  • 3. Open Thonny IDE (Note: Use the latest version of Thonny, otherwise there is no Pico support package, the latest version under Windows is v3.3.3).
  • 4. Click Tools -> Settings -> Interpreter, and select Pico and the corresponding port as shown in the figure.


  • 5. File -> Open -> MCP2512.py file, click to run, as shown in the following figure:


This is a transceiver demo, connect to another CAN device (A-A B-B connection), configure the frame ID 0x123, and then send 1-8 in turn.

Resource

Document

Demo

Development Software

Download Firmware

  • Download MicroPython Firmware:


  • Download C_Blink Firmware:


Open-source Demo

TAG: Raspberry Pi 5 Serial UART Bus Servo ST3025 TTL 40KG.CM Magnetic Encoder 360° High Precision And Large Torque EVAL-ADXL354CZ EVAL BOARD 1.54 inch Passive NFC e-Paper BW Display E-ink Screen No Need Battery Wireless Powered & Data Transfer waveshare USB IR Infrared Thermal Imaging Camera C 45°/88° 160x120 For Phone/PC High Temp Warning/Take Photo /Recording video SPI Communication Raspberry Pi 7 inch CAPLCD 1280x800 Capacitive TouchScreen HDMI/Type C Display Monitor For Computer mini PC Raspberry Pi 1.3inch LCD Raspberry Pi 5inch Display 1024x600 HDMI Capacitive TouchScreen 5 inch LCD B Wide-Cover For Mini PC ESP32 2 inch Capacitive TouchScreen LCD Display ST7789 CST816D 240x320 For Arduino/Raspberry Pi/Pico X1006 Raspberry Pi 5 PCIe To 2.5 SATA And M.2 KEY-B 2280 SSD/HDD Double-SATA (NOT BOOT From SATA/SSD Industrial RS485 Modbus RTU Relay CH340 driver Milk-V Duo S Usage of USB Type A interface X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board Jetson Nano Development Kit JETSON-NANO-DEV-KIT Replace For Jetson-Nano-Developer-Kit-B01 RV1103 Raspberry Pi CM5 Mini Base IO Board NANO B Development For Compute Module 5 Raspberry Pi PICO LoRa