waveshare Pico-CAN-B

Waveshare CAN Bus Module (B) Instruction Manual

Model: Pico-CAN-B

Marca: Waveshare

Producte acabatview

The Waveshare CAN Bus Module (B) is designed for use with Raspberry Pi Pico series boards, enabling robust long-range communication through the SPI interface. This module integrates the MCP2515 CAN controller and the SIT65HVD230DR transceiver, providing a reliable solution for CAN bus applications.

Waveshare CAN Bus Module (B) top view

Imatge: Superior view of the Waveshare CAN Bus Module (B), showing the main components and pin headers.

Característiques principals:

  • Standard Raspberry Pi Pico header for direct attachment.
  • Features CAN function, utilizing the SPI interface.
  • Incorporates MCP2515 CAN controller and SIT65HVD230DR transceiver.
  • Comes with online development resources and manual (Raspberry Pi Pico C/C++ and MicroPython examples).

Instruccions de configuració

This section details the steps required to set up your Waveshare CAN Bus Module (B) with a Raspberry Pi Pico.

1. Connexió del mòdul

The module features an onboard female pin header designed for direct attachment to a Raspberry Pi Pico board. Ensure correct orientation and secure connection.

Raspberry Pi Pico connected to CAN Bus Module

Image: Illustration showing the correct method for connecting the Raspberry Pi Pico to the CAN Bus Module (B). Note: Raspberry Pi Pico is not included.

2. Terminal Resistor Selection

The module includes a terminal resistor selection switch. This allows you to enable or disable the 120Ω matching resistor, which is crucial for proper CAN bus termination in certain network configurations.

What's On Board diagram of CAN Bus Module

Image: Diagram highlighting key components on the module, including the terminal resistor selection switch (labeled 4).

Refer to the "What's On Board" diagram for the exact location of the terminal resistor selection switch:

  • ACTIVITAT: Connected to 120Ω matching resistor.
  • DESACTIVAT: Disconnected from 120Ω matching resistor.

Instruccions de funcionament

The Waveshare CAN Bus Module (B) facilitates communication via the Controller Area Network (CAN) protocol, utilizing the Serial Peripheral Interface (SPI) for data exchange with the Raspberry Pi Pico.

Comunicació CAN

The module employs the MCP2515 as its CAN controller, a second-generation standalone CAN controller that handles the CAN protocol layers. The SIT65HVD230DR acts as the 3.3V CAN transceiver, converting the digital signals from the MCP2515 into differential signals suitable for the CAN bus and vice-versa.

Interfície SPI

Communication between the Raspberry Pi Pico and the MCP2515 controller occurs over SPI. The module's pinout defines the specific GPIO pins on the Pico that are used for SPI data (MOSI, MISO), clock (SCLK), and chip select (CS).

Pinout Definition of CAN Bus Module

Image: Detailed pinout definition for the Waveshare CAN Bus Module (B), showing connections to Raspberry Pi Pico GPIOs, power, and CAN bus terminals.

Recursos de desenvolupament

Waveshare provides online development resources, including C/C++ and MicroPython examples specifically tailored for Raspberry Pi Pico. These resources are essential for programming the Pico to interact with the CAN Bus Module (B) and implement CAN communication protocols. Users are encouraged to refer to the official Waveshare documentation for detailed programming guides and sampel codi.

Per a més informació i ex.amples, please visit the official Waveshare product page or documentation portal.

Manteniment

The Waveshare CAN Bus Module (B) is a robust electronic component designed for durability. To ensure its longevity and optimal performance, consider the following general maintenance guidelines:

  • Manipulació: Always handle the module by its edges to avoid touching the electronic components directly. Static electricity can damage sensitive parts.
  • Medi ambient: Operate and store the module in a dry, dust-free environment. Avoid exposure to extreme temperatures, humidity, or corrosive substances.
  • Neteja: If cleaning is necessary, use a soft, dry, lint-free cloth. Do not use liquid cleaners or solvents. Ensure the module is powered off and disconnected before cleaning.
  • Connexions: Periodically check all connections to ensure they are secure and free from corrosion.

No routine user-level maintenance beyond these general precautions is typically required for this module.

Resolució de problemes

If you encounter issues with your Waveshare CAN Bus Module (B), consider the following basic troubleshooting steps:

  • Font d'alimentació: Ensure the Raspberry Pi Pico and the module are receiving adequate and stable power (3.3V-5.5V).
  • Connexions: Verify all physical connections, especially between the Pico and the module, and the CAN bus terminals. Ensure the module is correctly seated on the Pico's headers.
  • Terminal Resistor: Check the position of the 120Ω terminal resistor switch. Incorrect termination can lead to communication errors on the CAN bus.
  • Programari/Firmware: Confirm that the Raspberry Pi Pico is loaded with the correct firmware and that your code is properly configured for the MCP2515 and SPI communication. Refer to Waveshare's online development resources for verified examples.
  • CAN Bus Issues: If multiple devices are on the CAN bus, ensure all devices are properly terminated and that there are no bus conflicts or short circuits.

For more complex issues, consult the detailed documentation provided by Waveshare or seek assistance from their technical support channels.

Especificacions

The following table outlines the technical specifications of the Waveshare CAN Bus Module (B):

Features and Specifications of CAN Bus Module

Imatge: Més deview of the module's features and key specifications.

EspecificacióValor
Nom del modelPico-CAN-B
Vol. Operatiutage3.3V-5.5V
Controlador CANMCP2515
Transceptor CANSIT65HVD230DR
Bus de comunicacióSPI
Tecnologia de connectivitatCAN, SPI
Dimensions del paquet1.97 x 1.18 x 0.79 polzades
Pes de l'article0.352 unces
FabricantWaveshare
Data de primera disponibilitat13 de gener de 2023

Dimensions del contorn

For precise physical dimensions of the module, please refer to the official user guide. The image below provides a visual reference for the module's layout.

De dalt a baix view of CAN Bus Module (B)

Imatge: De dalt a baix view of the Waveshare CAN Bus Module (B), illustrating the component layout. Precise dimensions are available in the comprehensive user manual.

Garantia i Suport

Waveshare products are designed for reliability and performance. For specific warranty information regarding your CAN Bus Module (B), please refer to the documentation included with your purchase or visit the official Waveshare weblloc.

For technical support, troubleshooting assistance, or to access additional resources, please contact Waveshare customer support through their official channels. You may also find detailed information and a downloadable user guide (PDF) at the following link:

Descarrega la Guia de l'usuari (PDF)

Documents relacionats - Pico-CAN-B

Preview Waveshare Industrial 8-Channel Relay Module for Raspberry Pi Pico User Manual
User manual for the Waveshare Industrial 8-Channel Relay Module for Raspberry Pi Pico (Pico-Relay-B). Details features, compatibility, enclosure, and pinout for industrial control applications.
Preview Pico-Relay-B: Guia de l'usuari del mòdul de relé de 8 canals
Guia d'usuari per al Waveshare Pico-Relay-B, un mòdul de relé industrial de 8 canals per a Raspberry Pi Pico. Aprèn sobre les seves característiques, especificacions, configuració i programació amb instruccions detallades i exemples.amples.
Preview Waveshare Pico-ResTouch-LCD-3.5: 3.5-inch SPI Touch Display Module for Raspberry Pi Pico
Detailed specifications, features, pinout, and hardware connection guide for the Waveshare Pico-ResTouch-LCD-3.5, a 3.5-inch IPS touch display module with XPT2046 controller and ILI9488 driver for Raspberry Pi Pico.
Preview Mòdul de pantalla E-Paper de tinta electrònica de 2.9 polzades per a Raspberry Pi Pico Manual d'usuari
Aquest manual d'usuari proporciona detalls sobre el mòdul de pantalla E-Paper E-Ink de 2.9 polzades per a Raspberry Pi Pico. Cobreix els avantatges de la tecnologia E-Ink.tagés, compatibilitat amb Raspberry Pi Pico, aplicació examples, and pinout definitions. The module features a 296x128 resolution, Black/White display, and SPI interface.
Preview Mòdul EPD Waveshare Pico e-Paper de 2.13 polzades per a Raspberry Pi Pico: Guia de desenvolupament i API
Guia de desenvolupament detallada per al mòdul EPD Waveshare Pico e-Paper de 2.13 polzades amb Raspberry Pi Pico. Les característiques inclouen una resolució de 250x122, interfície SPI, codis de demostració C/C++ i MicroPython i documentació completa de l'API.
Preview Manual d'usuari del mòdul Bluetooth de mode dual Pico (Pico-BLE) de la Raspberry Pi
Manual d'usuari del Waveshare Pico-BLE, un mòdul Bluetooth 5.1 de mode dual dissenyat per a Raspberry Pi Pico, compatible amb els protocols SPP i BLE. Compta amb compatibilitat amb capçaleres i antena integrada.