Battery-Powered UPS System with Waveshare UPS 3S and Solar Charger
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit design that includes various components such as a Barrel Female connector, Jack connector, Li-ion batteries, a Waveshare UPS, a 12V power supply, a Solar Charger Power Bank, and an MRB045 module. The circuit is designed to manage power distribution and charging for a set of Li-ion batteries, with connections to external power sources and a microcontroller for control.
Component List
Barrel Female 5.5mm 2.1mm
- Pins: +, -, PWR IN+, PWR IN-
- Description: A barrel connector for power input.
Jack 2.1
- Pins: V+, V-, PWR OUT+, PWR OUT-
- Description: A jack connector for power output.
Li-ion battery 18650-2000mAh 3.7V 7.4WH
- Pins: +, -
- Description: A rechargeable Li-ion battery.
Waveshare UPS 3S
- Pins: 5V-, BAT+, BAT-, Input+, 5V+, Input-, Switch+, Switch-, -, +
- Description: An uninterruptible power supply module.
12V power supply
- Pins: +, -
- Description: A 12V power supply unit.
Solar Charger Power Bank
- Pins: +, -
- Description: A solar charger power bank.
MRB045
- Pins: + BAT, GND BAT, GND IN, + VIN
- Description: A power management module.
Wiring Details
Barrel Female 5.5mm 2.1mm
PWR IN+ is connected to:
- PWR OUT+ of Jack 2.1
- + of 12V power supply
PWR IN- is connected to:
- PWR OUT- of Jack 2.1
- - of 12V power supply
+ is connected to:
- Input+ of Waveshare UPS 3S
- is connected to:
- Input- of Waveshare UPS 3S
Jack 2.1
V+ is connected to:
- + BAT of MRB045
V- is connected to:
- GND BAT of MRB045
PWR OUT+ is connected to:
- PWR IN+ of Barrel Female 5.5mm 2.1mm
- + of 12V power supply
PWR OUT- is connected to:
- PWR IN- of Barrel Female 5.5mm 2.1mm
- - of 12V power supply
Li-ion battery 18650-2000mAh 3.7V 7.4WH
+ of one battery is connected to:
- + of Waveshare UPS 3S
- of one battery is connected to:
- - of Waveshare UPS 3S
- of another battery is connected to:
- - of another battery
- - of Waveshare UPS 3S
+ of another battery is connected to:
- + of Waveshare UPS 3S
Waveshare UPS 3S
Input+ is connected to:
- + of Barrel Female 5.5mm 2.1mm
Input- is connected to:
- - of Barrel Female 5.5mm 2.1mm
+ is connected to:
- + of Li-ion battery 18650-2000mAh 3.7V 7.4WH
- is connected to:
- - of Li-ion battery 18650-2000mAh 3.7V 7.4WH
12V power supply
+ is connected to:
- PWR IN+ of Barrel Female 5.5mm 2.1mm
- PWR OUT+ of Jack 2.1
- is connected to:
- PWR IN- of Barrel Female 5.5mm 2.1mm
- PWR OUT- of Jack 2.1
Solar Charger Power Bank
+ is connected to:
- + VIN of MRB045
- is connected to:
- GND IN of MRB045
MRB045
+ BAT is connected to:
- V+ of Jack 2.1
GND BAT is connected to:
- V- of Jack 2.1
GND IN is connected to:
- - of Solar Charger Power Bank
+ VIN is connected to:
- + of Solar Charger Power Bank
Documented Code
Waveshare UPS 3S Microcontroller Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Waveshare UPS 3S microcontroller, with setup and loop functions ready for further development.