Control an army of Arduino-compatible nodes with a Raspberry Pi and CAN bus.

PiMaster HAT for the Raspberry Pi.

Sold by omzlo

$25.87

No tax for United States [change]
This item is currently out of stock.
Sign up to get notified when this product is back in stock.
Raspberry Pi
CANbus
SHARE

The Omzlo PiMaster is a HAT (Hardware Attached on Top) providing a gateway between the CAN bus network and a Raspberry Pi, which runs network management software for the NoCAN platform. Combine this HAT with one of more CANZERO nodes to create wired IoT applications for the home and garden.

If you don't know what NoCAN is, please check our presentation here or our successful Kickstarter campaign.

Description

The PiMaster is built around an STM32F042 ARM Cortex M0+ running at 48Mhz. This MCU communicates with the Raspberry Pi through SPI and a few additional GPIOs. It performs three main functions:

  • It acts as a gateway to the NoCAN network (CAN bus).
  • It controls and monitors power delivered to the network (typically 12V or 24V).
  • It powers the Raspberry Pi from a voltage source from 6V to 28V.

A software application called nocand running on the Raspberry Pi uses this gateway to manage the network by performing the following tasks:

  • Powering up or down the network.
  • Monitoring voltage and current levels.
  • Registering nodes, attributing to each one a unique address.
  • Registering channels as part of the publish-subscribe protocol used in NoCAN.
  • Rebooting nodes, activating their bootloader,
  • Uploading or downloading firmware (hex files) to/from any node.

As a built-in safety, a smart switch controlled by the MCU will automatically switch off the power distributed to the network if there is too much current drawn (typically above 3A).

The PiMaster will work on any Raspberry Pi with a 40 pin header, including the Pi Zero.

Technical details

The PiMaster HAT integrates the following components:

  • The main MCU: an STM32F042.
  • A CAN bus interface IC (MCP2562)
  • A step-down switching regulator powering the Raspberry Pi (based on the TI TPS54202, providing up to 2A)
  • A smart mosfet switch controlling power distribution to the network (an Infineon BTS5030).
  • Three LEDs:
    • Red: HAT power status.
    • Green: Network power status.
    • Yellow: Power fault indicator.
  • A 4-pin pluggable 3.5mm header provides connection to the network and power (VIN, GND, CANL, CANH).
  • A 2.1mm DC power jack used to provide 6V to 28V to the HAT.
  • Debugging headers.

What's included

As shown in the picture below, the PiMaster HAT comes as:

  • A fully assembled PiMaster board, except for the unsoldered 40 pin GPIO header.
  • A 40 pin GPIO header to connect the PiMaster to a Raspberry-Pi.
  • A 4-pin male screw terminal block.
  • Two 11mm M2.5 standoffs and 4 M2.5 screws.
  • A 120 ohm through-hole resistor (for optional line termination).

To build a NoCAN network, you will also need one or more CANZERO nodes, a Raspberry Pi, a power supply and some cables/wires. These elements are not included with the PiMaster and need to be purchased separately.

Resources

This product is open-source / open-hardware.

For more information about the PiMaster and NoCAN, including schematics and source code, check out our documentation and our detailed installation tutorial.

Links to code and documentation

Documentation (omzlo.com)

Shipping policy

We ship twice a week, typically on Tuesdays and Fridays.

Here are some extras that might be useful for your project!

The seller

omzlo

Thrakomakedones, Attica, Greece
69 orders since Dec 1, 2021
We are OMZLO, the creators of NoCAN, the "wired" IoT solution for makers based on CAN-bus. We love electronics and we build solutions for businesses and hobbyists alike...