Piezo Sensor-Based Energy Harvesting System with ESP32 and Battery Backup
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to utilize multiple piezo sensors to generate AC voltage, which is then rectified and boosted to power an ESP32 microcontroller and a bulb. The circuit also includes a current sensor to monitor the current flow.
Component List
Piezo Sensor
- Description: Converts mechanical energy into electrical energy.
- Pins: +, -
Bridge Rectifier
- Description: Converts AC voltage to DC voltage.
- Pins: AC input +, AC input -, +, -
1000uf/25V Capacitor
- Description: Smooths the rectified DC voltage.
- Pins: +, -
DC-DC Boost Converter
- Description: Boosts the DC voltage to a higher level.
- Pins: VIN-, VIN+, VOUT+, VOUT-
18650 Li-ion Battery x 2
- Description: Provides power to the circuit.
- Pins: +, -
ESP32 (30 pin)
- Description: Microcontroller for processing and control.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
Current Sensor 5A
- Description: Measures the current flowing through the circuit.
- Pins: 1, 2, GND, OUT, VCC
Bulb
- Description: Indicates the presence of power.
- Pins: +, -
Wiring Details
Piezo Sensors
- + Pins: Connected to the AC input + pin of the Bridge Rectifier.
- - Pins: Connected to the AC input - pin of the Bridge Rectifier.
Bridge Rectifier
- AC input +: Connected to the + pins of all Piezo Sensors.
- AC input -: Connected to the - pins of all Piezo Sensors.
- + Pin: Connected to the VIN+ pin of the DC-DC Boost Converter and the + pin of the 1000uf/25V Capacitor.
- - Pin: Connected to the VIN- pin of the DC-DC Boost Converter and the - pin of the 1000uf/25V Capacitor.
1000uf/25V Capacitor
- + Pin: Connected to the + pin of the Bridge Rectifier and the VIN+ pin of the DC-DC Boost Converter.
- - Pin: Connected to the - pin of the Bridge Rectifier and the VIN- pin of the DC-DC Boost Converter.
DC-DC Boost Converter
- VIN+: Connected to the + pin of the Bridge Rectifier and the + pin of the 1000uf/25V Capacitor.
- VIN-: Connected to the - pin of the Bridge Rectifier and the - pin of the 1000uf/25V Capacitor.
- VOUT+: Connected to the Vin pin of the ESP32, the + pin of the 18650 Li-ion Battery, and the + pin of the Bulb.
- VOUT-: Connected to the - pin of the 18650 Li-ion Battery and the 2 pin of the Current Sensor.
18650 Li-ion Battery x 2
- + Pin: Connected to the VOUT+ pin of the DC-DC Boost Converter, the Vin pin of the ESP32, and the + pin of the Bulb.
- - Pin: Connected to the VOUT- pin of the DC-DC Boost Converter and the 2 pin of the Current Sensor.
ESP32 (30 pin)
- GND Pin: Connected to the GND pin of the Current Sensor.
- Vin Pin: Connected to the VOUT+ pin of the DC-DC Boost Converter and the + pin of the 18650 Li-ion Battery.
- 3V3 Pin: Connected to the VCC pin of the Current Sensor.
- D34 Pin: Connected to the OUT pin of the Current Sensor.
Current Sensor 5A
- 1 Pin: Connected to the - pin of the Bulb.
- 2 Pin: Connected to the - pin of the 18650 Li-ion Battery and the VOUT- pin of the DC-DC Boost Converter.
- GND Pin: Connected to the GND pin of the ESP32.
- OUT Pin: Connected to the D34 pin of the ESP32.
- VCC Pin: Connected to the 3V3 pin of the ESP32.
Bulb
- + Pin: Connected to the VOUT+ pin of the DC-DC Boost Converter and the + pin of the 18650 Li-ion Battery.
- - Pin: Connected to the 1 pin of the Current Sensor.
Documented Code
ESP32 Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)