• sales

    +86-0755-88291180

Raspberry Pi Pico-CAN-A User Guide

Overview

CAN Bus Module For Raspberry Pi Pico, Enabling Long-Range Communication Through UART.

Features

  • Standard Raspberry Pi Pico header, supports Raspberry Pi Pico series.
  • Incorporates E810-TTL-CAN01 module, UART to CAN bus conversion.
  • Three conversion methods: transparent conversion, transparent conversion with identification, and protocol mode conversion.
  • Provide a complete supporting manual (example programs such as Raspberry Pi Pico C/C++ and MicroPython).

Specifications

  • Operating voltage: 3.3V
  • CAN transceiver: E810-TTL-CAN01
  • Communication: UART
  • Baudrate: 300~921,600 bps
  • Dimension: 58 × 25mm

Pinouts

Pico-CAN-A-details-inter.jpg

Dimension

Pico-CAN-A-details-size.jpg

Pico Quick Start

Download Firmware

  • MicroPython Firmware Download

MicroPython Firmware Download.gif

  • C_Blink Firmware Download

C Blink Download.gif

Hardware connection

Please take care of the direction when you connect Pico, an USB port is printed to indicate. You can also check the pin of Pico and the LCD board when connecting.
You can connect the display according to the table.

CAN BoardPicoDescription
VCCVSYS5V Power Input
GNDGNDGND
GP0TXD0UART TX (default)
GP1RXD 0UART RX (default)
GP2CFGCAN mode switch
GP3RESETCAN module reset
GP4TXD 0UART TX (optional)
G{5RXD 0UART RX (optional)
Pico-CAN-A-details-3.jpg

Setup environment

Please refer to Raspberry Pi's guide:https://www.raspberrypi.org/documentation/pico/getting-started/

Download Demo codes

sudo apt-get install p7zip-full
cd ~
sudo wget  https://www.waveshare.com/w/upload/d/d8/Pico-CAN-A-Code.7z
7z x Pico_Pico-CAN-A-Code.7z -o./Pico-CAN-A-Code.7z

Run the Demo codes

This guide is based on Raspberry Pi.

C examples

...Waiting for update

Python codes

Use in Windows

  • 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 rp2-pico-20210418-v1.15.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, select Pico and the corresponding port as shown in the figure.

Pico-lcd-0.96-img-config.png

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

Pico-Thonny-v1.15.jpg
This demo provides a simple program...

Expected result

You need to connect the Pico-CAN-A to another CAN adapter (3.3V, A to A, and B to B), the demo codes will test to send data SENDTESTABCD1234 and print data received.

TAG: RP2040 Raspberry Pi Pico 2 W RP2350 Pico2W ARM Cortex-M33 And RISC-V Hazard3 Wi-Fi4 Bluetooth5.2 CYW43439 X1003 Raspberry Pi 5 PCIe to M.2 NVMe SSD MINI Adapter Board HAT Pi5 2242 2230 STM32 1.5inch LCD Flash Firmware Flashing and Erasing User Guide Raspberry Pi 5 Audio Raspberry Pi Pico 2 Tiny RP2350B RP2350-Linux Mini Development Board with PSRAM-8MB Or Without PSRAM Raspberry Pi 5 IMX219 Jetson Nano IO Board ESP32 S3 Development Board 2.8 inch LCD Capacitive Touch Screen 2.8inch Display 240×320 N16R8 Raspberry Pi 4B/5 Industrial UART 2CH RS485 RS232 CAN FD HAT With Case For Installation of guide rails and hanging Raspberry-Pi-Game-1.54inch-LCD-touchscreen-display-ST7789 Raspberry Pi Compute Module 5 CM5 Cortex A76 BCM2712 With/Without Wi-Fi RAM 2/4/8/16GB eMMC Lite/8/16/32/64GB TTL To CAN Mini X1015 Raspberry Pi 5 PCIe to M.2 Key-M NVMe SSD Board Pi5 2280 Serial UART Bus Servo ST3025 TTL 40KG.CM Magnetic Encoder 360° High Precision And Large Torque Raspberry Pi 8.8 inch DSI MIPI LCD TouchScreen Display 8.8inch 480x1920 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 USB TO 4CH RS485 User Guide Raspberry Pi RP2040 Keyboard Raspberry Pi 5 AI kit Hailo8 26Tops PCIe to M.2 NVMe HAT Plus For Pi5