Difference between revisions of "Pico-CAN-A"

From Waveshare Wiki
Jump to: navigation, search
m (Text replacement - "{{#urlget:amazon|default}}=display" to "{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display")
Line 3: Line 3:
 
{{Infobox item
 
{{Infobox item
 
|name=Pico CAN A
 
|name=Pico CAN A
|img=[[File:Pico-CAN-A-1.jpg|300px|link=https://www.waveshare.com/pico-can-a.htm|Pico-CAN-A]]
+
|img=[[File:Pico-CAN-A-1.jpg|300px|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=https://www.waveshare.com/pico-can-a.htm}}|Pico-CAN-A]]
 
|brand=Waveshare
 
|brand=Waveshare
 
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display

Revision as of 06:19, 16 May 2022

Pico CAN A
Pico-CAN-A
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

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 online resources and manuals (example demos such as Raspberry Pi Pico C/C++ and MicroPython).

Specifications

  • Operating voltage: 3.3V
  • CAN transceiver: E810-TTL-CAN01
  • Communication bus: 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 Board Pico Description
VCC VSYS 5V Power Input
GND GND GND
GP0 TXD0 UART TX (default)
GP1 RXD0 UART RX (default)
GP2 CFG CAN mode switch
GP3 RESET CAN module reset
GP4 TXD0 UART TX (optional)
GP5 RXD0 UART 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://files.waveshare.com/upload/d/d8/Pico-CAN-A-Code.7z
7z x Pico_Pico-CAN-A-Code.7z -o./Pico-CAN-A-Code.7z
cd ~/Pico-CAN-A-Code

Run the Demo codes

This guide is based on Raspberry Pi.

C examples

To be continued...

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, and 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...


Document

Examples

Support

If you require technical support, please go to the Support page and open a ticket.