Electronics Power Management System - Alex Strandberg

Опубликовано: 04 Август 2026
на канале: Alex Strandberg
505
9

Components: Raspberry Pi, a 12V 5A Power Supply, a 4-Channel Relay Board, a PowerSwitch Tail, and an MCP23017 I2C Port Expander

Controls up to 4 12V DC appliances such as network switches and USB hubs with a web interface and physical buttons.

The Raspberry Pi is powered by a separate 5V power supply.

A web server with MySQL and PHP runs on the Raspberry Pi. The I2C Port Expander handles button inputs, LED outputs, and relay states.

The 4 Channel Relay Board closes or opens the circuit for each appliance to turn the appliance on or off.

The PowerSwitch Tail turns the 12V power supply for the appliances on or off. It is also controlled by a hardware button and the web interface.

By either pressing a physical button or a button on the web interface, appliances can be turned on or off.

The code and other resources for this project are available at: https://github.com/alexstrandberg/Ele...