CANBed Raspberry Pi RP2040 board supports CAN Bus, OBD-II protocol

We previously wrote about adding CAN Bus to Raspberry Pi Pico with CANpico expansion board. CANBed is a single board with a Raspberry Pi RP2040 microcontroller and a Microchip MCP2551 CAN receiver plus some extra I/Os that offers an alternative.

CANBed supports the CAN 2.0 and OBD-II protocols via either a DB9 connector or a 4-pin terminal block, offers two 4-pin Grove headers and an extra I/O header for expansion, as well as 9-28V power input.

CANBed: Raspberry Pi RP2040 CAN Bus boardCANbed specifications:

  • MCU – Raspberry Pi RP2040 dual-core Cortex-M0+ microcontroller @ up to 133 MHz with 264KB SRAM
  • Storage – 2MB SPI flash
  • CAN 2.0 or OBD-II interface via DB9 port or 4-pin terminal block via Microchip MCP2551 CAN transceiver, 120 Ohm terminal resistor.
  • USB – 1x Micro USB port for programming
  • Expansion
    • 2x Grove header (I2C + UART)
    • SPI header
    • 18-pin header with GPIO, UART, I2C, 4x analog inputs, 5V, GND
  • Misc – Reset button, CAN Rx/Tx LED,
  • Power Supply
    • 9-28V DC input via CAN interface
    • 3.3V/1A output
  • Dimensions – 56 x 41 mm

Longan Labs CANBed pinout

The board is programmable via the Arduino IDE using https://raw.githubusercontent.com/Longan-Labs/Longan-RP2040/main/package_rp2040_index.json Boards Manager URL as well as Longan Labs CAN Bus Library as explained in the Wiki for the board. The Wiki also says the board can be programmed with MicroPython but provides no samples, so it’s probably better to get started with Arduino.

The board appears to be sold as a kit with a DB9 connector, a 4-pin terminal block, two Grove connectors, some 2.54mm headers, and a switch for the 120Ω terminal resistor that the user can solder as he/she sees fit. I first found CANbed board on Seeed Studio where it is up for pre-order for $15.90, but you’ll also find it on Longan Store together with other CANbed boards equipped with Atmega32U4, SAMD21G18, or SAME51G19A microcontrollers, and even an upcoming CANBed Dual board with Raspberry Pi RP2040 supporting both CAN 2.0 and CAN FD that will be sold for $24.90.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC