
StackLink
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

A bespoke home power management system built on a Raspberry Pi Zero W, optimised by edge AI and written in Rust.
Home power management is an open-source printed circuit board by EricAustinUK, from the EricAustinUK/home_power_management repository on GitHub, published under the MIT licence. It is a 2-layer board of 61.6 × 66.1 mm with 29 parts on 37 nets, routed with 181 tracks and 10 vias.
Its parts include 10 resistors and 2 connectors.
A bespoke home power management system built on a Raspberry Pi Zero W, optimised by edge AI and written in Rust. Predicts solar generation with an on-device ML model, then calculates and schedules battery and EV charging around a cheap energy tariff window via Home Assistant.
ml/): a compact regression model trained on historical weather and solar pv generation data predicts the next 24 hours of solar output. Inference runs locally on the Pi Zero W (ARMv6, 512 MB RAM).software/home_manager/weather_data.rs): hourly forecasts from the OpenMeteo API feed the model.control_panel.rs): a physical panel (currently on a breadboard) with three "appliance" toggle switches (though only one of these is currently configured, being the one representing the home being inhabited) that feed into the estimate for home energy consumption. Shows the state for each these appliances with an LED.The model and inference path were developed with the Pi Zero W's hardware limitations in mind.
| Metric | Value |
|---|---|
| Model size on disk | 282B |
| Model data size on disk | 99KB |
| Inference latency (Pi Zero W) | 1.51ms |
| RAM footprint | 3664KB |
.env.example to .env, filling in:
HASS_IP, HASS_PORT, HASS_TOKEN (long-lived access token obtained in Home Assistant developer settings)BATTERY_NAME, EV_NAME, EV_CHARGER_NAME - entity prefixes as they appear in Home Assistant. Current implementation is for an Ecoflow battery, a BYD EV and a VOLDT charger connected to SmartLife; using hass-byd-vehicle, hassio-ecoflow-cloud, HomeAssistant's official Tuya SmartLife integrationWEATHER_API_URL, PANEL_LATITUDE, PANEL_LONGITUDE - for the weather forecast and history. Currently only OpenMeteo is supportedMODEL_FILENAME, MODEL_DATA_FILENAME - trained model binary if training off the target is preferred (see ml/)cd software
cargo build --target arm-unknown-linux-musleabihf --releasearm-linux-gnueabihf-gcc linker)PI_USER and PI_HOST from .env):
set -a && source ../.env && set +a
scp target/arm-unknown-linux-musleabihf/release/home_assist $PI_USER@$PI_HOST:~/
ssh $PI_USER@$PI_HOST "chmod +x ~/home_assist && ~/home_assist".vscode/tasks.json)MIT, see LICENSE
| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | MountingHole_2.7mm_M2.5 | MountingHole:MountingHole_2.7mm_M2.5 | H1, H2, H3, H4/7, H5, H6, H8 |
| 5 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R4, R5 |
| 5 | 220 | Resistor_SMD:R_0603_1608Metric | R6, R7, R8, R9, R10 |
| 5 | LED | LED_SMD:LED_0805_2012Metric | APP_1, APP_2, APP_3, LAN1, PWR1 |
| 5 | SW_Push | Button_Switch_SMD:SW_SPST_PTS810 | SW_APP_1, SW_APP_2, SW_APP_3, SW_EV_N1, SW_EV_P1 |
| 1 | Conn_01x08_Pin | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J1 |
| 1 | PiZeroW_Bottom_Mount | Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_Vertical | J2 |

gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

OLIMEX/DIY-LAPTOP
Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop

UtilitechAS/amsreader-firmware
ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported


It measures 61.6 × 66.1 mm and has 2 copper layers, 1.6 mm thick.
29 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the EricAustinUK/home_power_management repository on GitHub, at the commit this page was made from: the board is kicad/project.kicad_pcb and its schematic kicad/control_panel.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).