ElectricPropulsion.org
Repower calculator, guides & CAN tools

A Raspberry Pi instead of a Cerbo GX: Venus OS on a DIY build, and the hardware it needs

Running Victron's Venus OS on a Raspberry Pi for a boat: which Pi, installing it, and the adapters and boards needed to match each Cerbo GX port — VE.Direct, VE.Bus, VE.Can, relays, inputs, tanks, temperatures, power — plus where a Pi falls short, from Victron's own documentation.

TTMH11 min read7 sections
Charging
On this page
  1. Which Raspberry Pi
  2. Installing Venus OS
  3. Matching the Cerbo GX, port by port
  4. A build list for a 48 V electric boat
  5. When a Cerbo GX is the better buy
  6. Sources
  7. Related reading

The software inside a Cerbo GX is Venus OS, and Victron publishes it for the Raspberry Pi too. On a Pi it runs the same menus, the same DVCC, the same VRM connection, Node-RED and Signal K. What a Pi doesn't have is the Cerbo's hardware: no VE.Direct, VE.Bus or CAN ports, no tank or temperature inputs, no relays to switch 30 V, and a 5 V supply instead of the Cerbo's 8–70 V.

This guide covers choosing and setting up the Pi, then goes port by port through the adapters and boards that close each gap, and ends with where a Pi still falls short. It is based on Victron's Venus OS wiki for the Raspberry Pi, its list of tested CAN interfaces, the Venus OS source code and the Cerbo GX manual, linked under Sources.

Support. Victron's wiki is clear that the Raspberry Pi image is a community effort: don't contact Victron service or sales about it, and don't open GitHub issues for it. Help is in the Modifications section of the Victron Community. If the device will coordinate your propulsion bank's charging, weigh that before saving the difference.


Which Raspberry Pi

From Victron's wiki:

PiVenus OS imageNotes
Pi 5raspberrypi5supported from Venus OS 3.70
Pi 4, Pi 400, CM4raspberrypi4Pi 4 board revision 1.4/1.5 needs 2.90 or later; CM4 tested on a Waveshare CM4-IO-BASE-A with the image on eMMC
Pi 3 B / 3 B+raspberrypi2built-in WiFi and Bluetooth; Bluetooth needs 2.70 or later
Pi 2, Zero 2Wraspberrypi2Zero 2W from 2.90
Pi Zero, Zero W, Pi 1—not supported

For a boat, choose a Pi 4 or Pi 5. Victron's Venus OS Large page lists Raspberry Pi models among the devices that run Node-RED and Signal K, and both are resource-hungry; the faster Pi gives the same headroom argument as the Cerbo GX MK3. A CM4 with eMMC avoids the SD card altogether.


Installing Venus OS

  1. Download the .wic.gz image for your model from Victron's update server (updates.victronenergy.com/feeds/venus/release/images/; the default folder is raspberrypi2, with raspberrypi4 and raspberrypi5 beside it).
  2. Write it to a microSD card with balenaEtcher or Win32 Disk Imager.
  3. Insert the card, connect Ethernet to your router, and power up.
  4. Find it at http://venus.local, through VictronConnect, or by its IP address, and open the Remote Console in a browser.
  5. Register it on VRM like any GX device. Its VRM Portal ID is the Pi's Ethernet MAC address, lower case, without colons.

Updates come online or from a .swu file on a USB stick, keeping your settings. Victron notes that some version jumps need a fresh image instead, which resets settings — for example moving any Pi from 2.86 or later to 2.90~10 or later — so read the release notes before updating a Pi.

From here the Venus OS command-line guide applies as written: security profile, SSH, D-Bus and settings.


Matching the Cerbo GX, port by port

Cerbo GX hasOn a Raspberry Pi, add
3 VE.Direct portsone VE.Direct to USB cable per device
2 VE.Bus socketsan MK3-USB interface
VE.Can (two on the MK2 and MK3, one isolated)a CAN HAT or USB-CAN adapter — see below
2 relaysrelay 1 on GPIO 21 through a relay module; a second relay only with a community overlay
4 digital inputsGPIO 5, 6, 13, 19 and 26, through input protection
4 tank inputsa USB tank interface, NMEA 2000 tank senders or Bluetooth sensors
4 temperature inputsBluetooth sensors, or temperatures from the BMS and other devices
Bluetooth, WiFi, Ethernetbuilt into the Pi 3 B/B+, 4 and 5
8–70 V DC supply, 2.8 Wa 5 V supply: a DC-DC converter from the boat's battery
GX Touch screen optionthe official Raspberry Pi touchscreen, or Remote Console only
IP20 case for a dry lockera case or DIN-rail enclosure, in the same dry place

VE.Direct: Victron's USB cable

Each MPPT, SmartShunt or other VE.Direct product connects with Victron's VE.Direct to USB cable. Victron's wiki "strongly" advises against home-made VE.Direct cables, because of isolation. With more than three or four devices, use a powered USB hub, since the Pi's USB ports share its supply.

VE.Bus: the MK3-USB

A MultiPlus, Quattro or other VE.Bus inverter/charger connects through Victron's MK3-USB interface. The older MK2-USB isn't supported; until an MK3-USB is detected, the AC input shows as Unknown.

CAN: the board that matters most

On a boat, CAN carries NMEA 2000, a Victron Lynx Smart BMS, a managed battery's BMS-Can, VE.Can MPPTs and a motor controller. Venus OS recognises CAN interfaces on a Pi automatically, but Victron's list of what works comes with three warnings that shape the choice:

  1. Avoid MCP2515 HATs where you can. The MCP2515 controller "only has 2 RX buffers which is not enough to guarantee a loss-free CAN connection"; boards with the MCP2518 are better. Busy NMEA 2000 or BMS traffic is exactly where lost frames show.
  2. Don't use slcan adapters. USB-CAN adapters that speak the slcan protocol "don't work for VE.Can / NMEA2000"; use ones with gs_usb firmware.
  3. One CAN interface is reliable; several aren't. Linux numbers CAN interfaces in the order it finds them, and the order can change between boots. Venus OS fixes the names only for built-in CAN ports, which a Pi doesn't have.

The interfaces Victron lists as working:

InterfaceConnects byNotes from Victron's wiki
CANable with candleLight firmwareUSBflash the candleLight (gs_usb) firmware first
Peak PCAN-USB, also sold as Victron's CANUSB interfaceUSBdriver included; recognised automatically
Waveshare RS485 CAN HATGPIO header (SPI)MCP2515; needs lines added to /u-boot/config.txt
Waveshare 2-CH CAN HAT, isolatedGPIO header (SPI)MCP2515, two channels, 16 MHz crystal
PiCAN HATs, single and dual, some isolatedGPIO header (SPI)MCP2515

For a Waveshare single-channel HAT with a 12 MHz crystal, the wiki's lines at the end of /u-boot/config.txt are:

[all]
dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000

(With the older 8 MHz crystal: oscillator=8000000 and spimaxfrequency=1000000. The wiki gives the two-channel and PiCAN lines too.)

What that means on a boat. A USB adapter with gs_usb firmware, or the Peak/Victron CANUSB, avoids the MCP2515 problem. Prefer an isolated interface, as the Cerbo's VE.Can 1 is. And plan on one CAN bus. A Cerbo GX MK2 or MK3 runs VE.Can at 250 kbit/s and a managed battery's BMS-Can at 500 kbit/s on two separate ports — and Victron's rule is that the two "must not share the same bus". If your battery uses BMS-Can and you also need VE.Can or NMEA 2000, that's the strongest case for a real Cerbo. See Cerbo GX vs Cerbo GX MK2 and the DVCC guide.

Relays

Venus OS on a Pi defines one relay, on GPIO 21 (header pin 40). A GPIO pin gives 3.3 V and very little current, so drive a relay module — with its own transistor or opto-isolated input — rather than a relay coil directly, and choose contacts rated for what you switch. Relay 1 then behaves like the Cerbo's: alarm, generator start/stop, manual, and so on.

More relays need changes to /etc/venus/gpio_list. The wiki's notes on the community overlay that adds them: only two relays actually work, only the first is controlled by Venus OS functions, the second is manual only, and more than two make the system-calculation service crash.

Digital inputs

Five GPIOs are digital inputs: GPIO 5, 6, 13, 19 and 26 (header pins 29, 31, 33, 35 and 37). Use them for a bilge-pump switch, door contact or alarm, as on a Cerbo. Two things to know:

  • They're 3.3 V logic. A 12 V or 48 V signal needs an opto-isolator or level-shifting circuit in between, or it will damage the Pi.
  • Their idle state differs. The wiki notes that GPIO 5 and 6 read high with nothing attached and the other three read low, and Venus OS can't change the pull-ups. A community overlay changes that.

Tank levels

The Pi has no analogue inputs. Ways in that Venus OS understands:

  • NMEA 2000 tank senders on your CAN bus, sending Fluid Level (PGN 127505) with the device class and function Victron's manual lists.
  • Victron's GX Tank 140, a USB module for four 4–20 mA or 0–10 V senders, two of them powered at 24 V. Victron documents it for its own GX devices; the Pi wiki doesn't cover it, so check community reports before buying it for a Pi.
  • Mopeka ultrasonic Bluetooth sensors, read through the Pi's Bluetooth.
  • The VE.Can Resistive Tank Sender Adapter, for an existing resistive sender, on the CAN bus.

Temperatures

  • Ruuvi Bluetooth temperature sensors, read directly by Venus OS.
  • Temperatures already on the network: the BMS's cell temperatures, a SmartShunt's temperature sensor, MPPT and inverter/charger temperatures.

More inputs and outputs

Victron's GX IO-Extender 150 adds eight digital IOs, four PWM outputs, two latching relays and a solid-state switch over USB. Like the GX Tank 140, Victron documents it for its GX devices, not for the Pi.

Power

The Cerbo runs on 8–70 V straight from the battery and draws 2.8 W. A Pi needs a stable 5 V:

  • Raspberry Pi recommends a 5 V, 3 A supply for a Pi 4 and 5 V, 5 A for a Pi 5. With anything less than a 5 A supply, a Pi 5 limits its USB ports to 600 mA in total instead of 1.6 A — which matters once VE.Direct cables, an MK3-USB and a CAN adapter are plugged in.
  • On a boat, use a DC-DC converter from the house supply, fused at the battery end. On a 48 V propulsion boat that's usually a 48-to-12 V converter such as Victron's Orion-Tr Smart 48/12, then a 12-to-5 V USB-C converter.
  • Don't power it from an inverter's AC output. Victron's manual warns of a deadlock with a GX device powered from a Multi's output: neither can start without the other. The same applies to a Pi.

Display

The official Raspberry Pi 7-inch touchscreen works "more or less out of the box", per Victron's wiki; screen dimming and blanking need a community script. HDMI touchscreens may need display settings, and can't dim or blank. Many boats skip the screen and use Remote Console on a phone or MFD.

Storage and the clock

  • SD cards wear with constant writing. Use a high-endurance card, keep a spare imaged, and back up /data — or use a CM4 with eMMC. Victron's USB backup stick (venus-data-00-backup-data-partition.tgz, from the Signal K guide) works the same way.
  • Only the Pi 5 has a real-time clock. To keep time through a power cut it needs a backup battery on its J5 connector — Raspberry Pi specifies a rechargeable lithium-manganese cell. Other models take the time from the internet after each boot; offline, logs carry the wrong time until a connection returns.

A build list for a 48 V electric boat

PartWhy
Raspberry Pi 5 or Pi 4 (4 GB or more), or a CM4 with eMMCheadroom for Node-RED or Signal K
High-endurance microSD card, and a sparethe system disk
Peak PCAN-USB / Victron CANUSB, or an isolated gs_usb CAN adapterNMEA 2000 or a Lynx Smart BMS on one reliable bus
VE.Direct to USB cables, one per deviceMPPTs, SmartShunt
MK3-USBa MultiPlus or Quattro
Powered USB hubwhen the cables outnumber the Pi's ports
Relay module with an opto-isolated inputrelay 1 on GPIO 21
Opto-isolated input boarddigital inputs from 12 V or 48 V signals
DC-DC converters to 5 V, fusedpower from the house battery
Case or DIN-rail enclosuremounted somewhere dry

Everything else — Remote Console, VRM, DVCC, Node-RED, Signal K — is the same software as on a Cerbo, and this site's guides apply: VRM for boats, Node-RED, Signal K, VictronConnect Remote.


When a Cerbo GX is the better buy

  • You need two CAN buses — a BMS-Can battery plus VE.Can or NMEA 2000. A Pi gives you one reliable bus.
  • It coordinates your propulsion bank. DVCC and the BMS's limits run through the GX; a supported device with a known hardware design is worth more there than anywhere else.
  • You want tank and temperature inputs without extra modules, or a supply that runs straight from 8–70 V.
  • Someone else installs or insures the boat. An unsupported DIY controller is harder to hand over.

A Pi makes good sense as a second Venus OS device — a test bench, a Signal K or Node-RED box, a monitor for a separate house system — or on a small boat whose battery and chargers all fit on VE.Direct and one CAN bus.

Sources

Checked on 16 November 2026:

We are not affiliated with Victron Energy or Raspberry Pi Ltd.


Want exact numbers for your boat?

Use the configurator to generate a vendor-ready spec sheet.

Start the configurator
TPublished by TMHNovember 16, 2026
About & methodology