Solar-Powered UPS with Dual Step-Down Converters and ESP32 Control
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit described in the provided information is a power management system that integrates a solar panel, a battery, and various power converters to supply stable power to an ESP32 Devkit V1 microcontroller. The system includes a solar charge controller to manage the charging of a 12V battery from the solar panel, a UPS module to provide uninterrupted power supply, and two step-down converters to regulate the voltage to 5V for the microcontroller.
Component List
Switching Power Supply
- Pins: AC, GND, -V, +V
- Description: Converts AC power to a regulated DC output.
Solar Panel
- Pins: +, -
- Description: Converts sunlight into electrical energy.
UPS Module
- Pins: DC-, DC+, BAT+, BAT-, OUT+, OUT-
- Description: Provides backup power and voltage regulation.
12V to 5V Step Down Power Converter
- Pins: VIN 9v-36v, VIN+, VIN-, USB OUTPUT 5V, 5v OUTPUT, GND
- Description: Steps down voltage from 12V to 5V.
Solar Charge Controller
- Pins: Solar Cell +, Solar Cell -, Battery +, Battery -, Load +, Load -
- Description: Manages the charging of the battery from the solar panel and provides load output.
12V 7Ah Battery
- Pins: 12v +, 12v -
- Description: Stores electrical energy for use by the circuit.
ESP32 Devkit V1
- Pins: 3V3, GND, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, VIN
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
Wiring Details
Switching Power Supply
- -V connected to UPS Module DC-
- +V connected to UPS Module DC+
Solar Panel
- + connected to Solar Charge Controller Solar Cell +
- - connected to Solar Charge Controller Solar Cell -
UPS Module
- DC- connected to Switching Power Supply -V
- DC+ connected to Switching Power Supply +V
- BAT+ connected to Solar Charge Controller Battery + and 12V 7Ah Battery 12v +
- BAT- connected to Solar Charge Controller Battery - and 12V 7Ah Battery 12v -
- OUT+ connected to both 12V to 5V Step Down Power Converters VIN+
- OUT- connected to both 12V to 5V Step Down Power Converters VIN-
12V to 5V Step Down Power Converter
- VIN+ connected to UPS Module OUT+
- VIN- connected to UPS Module OUT-
- 5v OUTPUT connected to ESP32 Devkit V1 VIN
- GND connected to ESP32 Devkit V1 GND
Solar Charge Controller
- Solar Cell + connected to Solar Panel +
- Solar Cell - connected to Solar Panel -
- Battery + connected to 12V 7Ah Battery 12v + and UPS Module BAT+
- Battery - connected to 12V 7Ah Battery 12v - and UPS Module BAT-
12V 7Ah Battery
- 12v + connected to Solar Charge Controller Battery + and UPS Module BAT+
- 12v - connected to Solar Charge Controller Battery - and UPS Module BAT-
ESP32 Devkit V1
- VIN connected to 12V to 5V Step Down Power Converter 5v OUTPUT
- GND connected to 12V to 5V Step Down Power Converter GND
Documented Code
No code has been provided for the ESP32 Devkit V1 or any other microcontrollers in the circuit. When code becomes available, it should be documented here with explanations for each function and routine, as well as the overall program structure and logic.