Boards¶
On this page: the supported boards and where to buy them, adding new boards, what each board has and lacks, power options and the pin assignments the firmware uses. For choosing between them, see Choose hardware and build.
Supported boards¶
The firmware currently works on the boards below, both from Waveshare. Buy them from the manufacturer:
- ESP32-S3-POE-ETH-8DI-8DO: product page at Waveshare
- ESP32-S3-RS485-CAN: product page at Waveshare
The firmware is built separately for each board; a box refuses firmware for the other board. See Builds.
New boards¶
Lutra is open to adding new boards. Boards with an ESP32-S3 and PSRAM are preferred, because the firmware is built for that chip. If you find a board you would like to use with Lutra, let us know through lutrapool.com. We would like to receive two units of the board to test it and adapt the firmware.
Comparison¶
| ESP32-S3-POE-ETH-8DI-8DO | ESP32-S3-RS485-CAN | |
|---|---|---|
| Firmware board name | poe_8di8do |
rs485_can |
| Role | Pilot board, the only board for the switching build | Series candidate, read build only |
| MCU | ESP32-S3 (module ESP32-S3-WROOM-1U-N16R8), 16 MB flash, 8 MB PSRAM, external antenna (U.FL) | ESP32-S3R8, 16 MB flash, 8 MB PSRAM |
| Network | Ethernet (W5500, 10/100) and Wi-Fi | Wi-Fi only |
| Power | 7 to 36 V on the screw terminal, or PoE (802.3af), or 5 V via USB-C | 7 to 36 V; do not power via USB at the same time |
| RS485 | Isolated, 120 ohm termination jumper | Isolated |
| CAN | Isolated (not used by Lutra) | Isolated (not used by Lutra) |
| Digital inputs | 8, optically isolated, passive and active | none |
| Digital outputs | 8, Darlington open collector, optically isolated, max 500 mA sink, flyback diode | none |
| Real-time clock | PCF85063 | PCF85063 |
| Status LED | RGB LED driven by the firmware, see LED and BOOT button | No LED the firmware can drive (only PWR, RS485 and CAN hardware LEDs) |
| BOOT button | Accessible | Inside the enclosure |
| Enclosure | DIN rail | DIN rail, 23 mm wide |
Two SKUs exist of the RS485-CAN board; they differ only in the antenna: SKU 32154 with the antenna on the board, SKU 34781 (-U) with an external antenna.
Never connect a load directly to the DO terminals
The DO outputs of the 8DI-8DO board are Darlington open-collector (sink) outputs, rated at most 500 mA, with a flyback diode. They may only drive the coil of an interposing relay or a contactor coil on a low-voltage supply, never a pump, valve, heater or any mains load directly.
The board's factory firmware switches the outputs (all outputs on at start-up, inputs mirrored to outputs). Until Lutra firmware is on the board, connect nothing to the DO terminals. The Lutra read build never switches an output.
Pins used by the firmware¶
8DI-8DO board:
| Function | Pins |
|---|---|
| Ethernet W5500 (SPI) | INT 12, MOSI 13, MISO 14, SCLK 15, CS 16, RST 39 |
| RS485 | TX 17, RX 18, RTS 21 (direction via UART RTS) |
| CAN | TX 2, RX 3 |
| DI1 to DI8 | GPIO 4 to 11 |
| DO1 to DO8 | Via I/O expander TCA9554 (I2C address 0x20), bits 0 to 7; bit low (0) = output on |
| RTC PCF85063 | I2C address 0x51, SCL 41, SDA 42, INT 40 |
| SD card (1-bit) | D0 45, CMD 47, SCK 48 |
| RGB LED | 38 |
| Buzzer | 46 |
| BOOT button | 0 (strapping pin: held at reset = download mode) |
| Pin header | IO1, IO0, RXD, TXD, SDA, SCL, GND, VCC; IO1 is free |
RS485-CAN board:
| Function | Pins |
|---|---|
| RS485 | TX 17, RX 18, RTS 21 (same as the 8DI-8DO board) |
| CAN | TX 15, RX 16 |
| RTC PCF85063 | I2C address 0x51, SCL 38, SDA 39, INT 40 |
| Free on the SH1.0 connector | GPIO 1, 2 |
The SDA/SCL bus carries the RTC and the output expander. Never connect external devices to it.
Inputs (8DI-8DO)¶
The inputs are optocoupler inputs for contacts. An open input reads 1 (pull-up); a contact closed to the
GND of the input block reads 0. They are not suitable for data signals (for example a DS18B20 sensor).
To be confirmed
The voltage range for active (powered) input signals has not been measured yet. Until it is, use potential-free contacts between DIx and the input block's GND.
Factory state of new boards¶
A new board from Waveshare runs the factory demo firmware. That firmware sets all outputs on at start-up and lets the inputs drive the outputs directly. Flash Lutra firmware before connecting anything to the outputs. See Web flasher.
Related pages¶
Last reviewed: 2026-11-24. Applies to Lutra Lite 0.4.1.