Site Information

 Loading... Please wait...

Blog

Raspberry Pi Pico CAN Bus System with Micro-Python Pre-Installed

Posted by Industry News on

CANPico v2 with Pico WH Pre-Installed

The Raspberry Pi PicoBoard is an inexpensive and versatile development board designed for the RP2040 microcontroller chip developed by Raspberry Pi. It features an RP2040 microcontroller chip with 2MB of Flash, and a micro-USB port for power, data, and programming. The 40-pin dip-style header provides 26 multi-function 3.3V GPIO, 23 digital-only GPIO, and three ADC-compatible GPIO for additional functionality. Additionally, the Pico development board includes a 3-pin Arm® serial wire debug (SWD) port for troubleshooting and monitoring.

The  CANPico v2 is an improved CAN Bus module version with a Pico WH installed on a socketed board. It is shipped with Pico WH and MicroPython pre-installed.

Controller Area Network (CAN Bus) is a protocol utilized in millions of devices, including cars, trucks, buses, construction machines, ships, tractors, and even spacecraft (there is even a CAN module orbiting Mars).

The Canis Labs CANPico is a carrier board designed in a 'sock' format for a Raspberry Pi Pico. You can solder the Pico onto the board, and it will be connected to an advanced CAN controller and transceiver, ready to be linked to CAN bus wires using a simple screw terminal. Additionally, the CANPico includes an instrument header with the analog CAN H and CAN L signals and the digital RX and TX signals, which can be used with an oscilloscope or logic analyzer. Software support is provided through an open-source MicroPython SDK.

Canis Labs' open-source MicroPython SDK offers a comprehensive CAN API that includes priority-inversion-free drivers, 1μs accuracy timestamps, large buffers, and an API for triggering a logic analyzer or oscilloscope. It also supports communication with a host device over USB (via the MIN protocol) to enable applications such as bus logging or using a CANPico as a PC CAN interface.

The SDK also includes the CANHack toolkit for low-level error injection. Additionally, the SDK allows Python code to run on the Raspberry Pi Pico's dual-core RP2040 microcontroller and respond in real-time to CAN traffic with times measured in microseconds rather than milliseconds. This makes it an excellent platform for hardware-in-the-loop testing and emulation.

Main hardware features

  • Microchip MCP251863T CAN controller
  • Screw terminal for direct access to CAN High/Low twisted pair wiring and a common ground reference
  • Jumper for a standard 120Ω CAN bus termination resistor
  • Jumper for enabling and disabling transmit input to the transceiver

Interfacing

  • Header pins for logic analyzer access to digital CAN signals (TX and RX pins of the transceiver)
  • Header pins for oscilloscope access to the analog CAN signals (CAN High/Low, ground)
  • TRIG pin for logic analyzer and oscilloscope triggering on programmable CAN events
  • Direct GPIO access to CAN RX and TX pins for software error injection
  • GPIO control over transceiver low-power standby

More Information...


Get started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico Guide

Get started with MicroPython on Raspberry Pi Pico

Microcontrollers, such as the chip at the heart of Raspberry Pi Pico, are essentially stripped-down computers. They don't require monitors or keyboards; instead, you program them using USB to take input from and send output to on-board input/output pins.

Using these programmable connections, you can illuminate LEDs, generate sounds, display text on screens, and perform many other tasks. In "Get Started with MicroPython on Raspberry Pi Pico, 2nd Edition," you will learn how to use the beginner-friendly MicroPython language to write programs.

During the course, you will learn how to connect hardware so that your Raspberry Pi Pico can interact with its surroundings. Once you've mastered these skills, you can create your own electromechanical projects, whether for fun or to make your life easier.

Fully updated for Raspberry Pi Pico W and the latest version of MicroPython, this book shows you how to:

  • Get started with Raspberry Pi Pico and Pico W
  • Work with various electronic components
  • Create your programmable electronic contraptions
  • Turn Raspberry Pi Pico W into a network-connected node for the Internet of Things
  • Link your Pico W to your smartphone, tablet, or another Pico W with Bluetooth Low Energy (BLE)

Whether you’re using Raspberry Pi Pico for a home project, industrial automation, or learning (or teaching!) electronics and programming, this book will show you how. More Information...

Linux Development Board, Integrates ARM Cortex-A7 Processors

The LuckFox Pico represents a cost-effective Linux micro development board based on the Rockship RV1103 chip, which supplies a straightforward and efficient development platform for embedded system designers. It supports a variety of interfaces, including MIPI CSI, GPIO, UART, SPI, I2C, USB, and more. Developing applications is convenient, and debugging is quick.Features The single-core ARM Cortex-A7 [...]

Read More »


Dual CAN PCIe Card for Industrial, Automotive Applications

Cervoz Technology, a supplier of embedded components for the industrial PC market, has extended its industrial modular expansion cards line with the MEC-CAN-2802i, which provides two isolated CAN CC (Classical CAN) interfaces. The expansion card delivers a cost-effective solution for integrating CAN CC ports into embedded computer systems, especially in hostile environments. The board incorporates an M.2 [...]

Read More »


Automotive Development Module has CAN FD, LIN, Ethernet Port

Renesas has launched a software development board featuring the R-Car S4 System-on-Chip (SoC). The scope of delivery includes the Whitebox SDK open-source software. The R-Car S4 facilitates the launch of Car Server/CoGW with high performance, high-speed networking, high security, and high functional safety levels required as E/E architectures grow into domains and zones. The R-Car S4 solution [...]

Read More »


PCIe Board with 4-Port Isolated CAN FD for Applications

Sunix (Taiwan) manufactures CAN (FD) interface cards for commercial, agricultural, military, government, recreational, and other industries. Their recently introduced CAN4F00SI PCIe card offers four isolated CAN FD ports. The interface cards can self-diagnose and repair data errors to meet the demand for accurate UAV (Unmanned Aerial Vehicle) control in mission-critical applications. The mission computers, autopilot computers, actuators, [...]

Read More »


Raspberry Pi Compute Module With CAN FD for Automation and IoT Applications

Kontron announced the release of their Pi-Tron CM4 computer with Linux OS, which utilizes the fourth-generation Raspberry Pi compute module with the 1,5-GHz, 64-bit Broadcom BCM2711 chip and four Arm Cortex-A72 processors. The computer’s steel housing allows for universal use, e.g., for automation and IoT (Internet of Things) applications. Depending on the variant, it provides a 1-GiB, 2-GB, [...]

Read More »


Fast-Boot Your Raspberry Pi 3 Linux In Under Two seconds

Raspberry Pi enthusiasts are looking for a way to fast boot a Raspberry Pi mini-PC. They may be interested in a new project available via Github. The project describes the fast booting of a Raspberry Pi 32 Linux in under two seconds. Check out the video link below to demonstrate how quickly you can [...]

Read More »


Industrial PC Based On Raspberry Pi Platform Supports A Broad Range Of Connectivity Options And Functions

The Revolution Pi series, from  KUNBUS GmbH, is a cost-effective industrial PC based on the well-established Raspberry Pi platform. The RevPi series, for short, represents controllers composed of open hardware and software, meeting the EN 61131-2 standard. The operating system is a specially adapted Raspbian version with an RT patch. The RevPi Compact from KUNBUS is a [...]

Read More »


Embedded STM32 Module With Two CAN FD Ports And Linux OS

Emtrion Embedded Systems introduced its Emstamp Argon computer-on-module, an STM32 module with two CAN FD interfaces. The board utilizes the STM32MP157 processor from ST Microelectronics. It carries dual ARM Cortex-A7 (650 MHz) and ARM Cortex-M4 (200 MHz) cores, making it suitable for Industrial Internet of Things (IIoT) and other industrial communication systems. Moreover, it provides an ARM [...]

Read More »


Computer On Module With NXP i.MX 8M Mini CPU Supports Two CAN FD Ports, FreeRTOS, Linux

F&S Elektronik Systeme extended their product line of Picocore modules, which integrate up to two CAN (FD) Bus interfaces.The Picocore MX8M module utilizes the NXP i.MX 8M Mini CPU with one, two, or four ARM Cortex-A53 cores operating at 1.8 GHz plus a Cortex-M4 processor for real-time processing at 400 MHz. The boards use an adapted [...]

Read More »