
This is an enclosure I’ve built for my electric boat.
It houses the electronics to read out the state of charge of my battery pack.
A STM32 uses ethernet to interface with a battery management system via modbus.
A rotary encoder is used to navigate through the menu’s. I havent posted the code to Github because the BMS is not very common.
The front-panel can house a SSH1106 OLED display which is squuezed againt the main box. You can slide a STM32F103C8T6 and a W5510 ethernet module in the main box.
The lid has a cutout for Ethernet port and the programming pins of the bluepill
It’s done a bit quick and dirty so check the measurements before printing. I also notice that the SSH1106 modules aren’t always the same size..
Openscad files are provided.
COMMENTS