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

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 »


Know OBD2 Before You Start That Development Project

We at Copperhill Technologies offer a variety of CAN (Controller Area Network) devices for developing automotive and industrial embedded systems. In that capacity, we receive frequent inquiries regarding OBD2 (Onboard Diagnostics).  OBD2, or Onboard Diagnostics Second Generation, is a vehicle diagnosis system found in modern cars and trucks. The OBD2 system collects data from sensors and [...]

Read More »


Arduino-Compatible Microsoft Azure Certified IoT Development Kit with Visual Studio Code Support

This Microsoft Azure Certified IoT DevKit (IOT-AZ3166) is an all-in-one kit optimized for prototyping and developing Internet of Things (IoT) applications leveraging Microsoft Azure services. It supplies an Arduino-compatible board with multiple peripherals such as an OLED display, sensors, hardware debugging chip (ST-Link), and security chip. The project collection offers creative examples for learning and reference, plus [...]

Read More »


Miniature Embedded Cortex-M7 Module for IIot Applications Supports up to Three CAN FD Ports

TQ announced their TQMa117xL system-on-chip (SOC) module to develop space-saving and energy-efficient control systems. The board supports up to three CAN FD interfaces.The module uses the power of the NXP i.MX RT1170 MCU. It comes a compact size of 31 mm x 31 mm (1.2 " x 1.2") and supplies all CPU signals via a total [...]

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 »


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 »


A Beginner's Guide to SAE J1939 Embedded Software Development

Introduction Welcome to my beginner's guide! By opening this page, you have entered the first and probably most crucial stage toward developing your SAE J1939 project: Reading. Over the years, I dealt with many newcomers to the J1939 technology, some of them motivated by great product ideas. Others were thrown into a project because they were [...]

Read More »


STM32 Programming - Developing with FreeRTOS, Using Assembly, C/C++

The STM32F103 Arm Microcontroller and Embedded Systems: Using Assembly and C The STM32F103 microcontroller from ST is one of the most widely used ARM microcontrollers, and the blue pill board utilizes the STM32F103 microcontroller.  It comes at a low price, and it is widely available around the world. This book uses the blue pill board to discuss [...]

Read More »


Dual-Mode Bluetooth 5 Wireless Module Compatible With Bluetooth Low Energy And Legacy Bluetooth Classic

Fujitsu Components America announced the release of its FWM7BTZ61 series of Bluetooth Ver. 5.0 (dual-mode) wireless radio modules compatible with Bluetooth Low Energy and legacy Bluetooth Classic BR/EDR, providing designers the adaptability to choose between the two operating modes in one module. The fully integrated FWM7BTZ61 series utilizes the Cypress Semiconductor CYW20819 SoC and features Bluetooth Low [...]

Read More »