ESP32-Based Solar-Powered Environmental Monitoring Station with TFT Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates various components including an ESP32 microcontroller, a ST7735 TFT display, multiple pushbuttons, a solar panel, a power monitor (INA 3221), a DHT22 temperature and humidity sensor, a solar panel regulator, resistors, a Peltier module, a DC to DC boost converter, and a dual 18650 Li-ion battery setup. The circuit is designed to monitor and control power, display information, and interact with the user through pushbuttons. It likely serves a purpose in an environment where solar power management and temperature monitoring are essential.
Component List
ESP32
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
ST7735 128x128 1.44" TFT I2C Color Display
- Description: A small color display with an SPI interface.
- Pins: BL, C5, DC, RES, SDA, SCL, GND, VCC
Pushbutton
- Description: A simple pushbutton switch.
- Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
Solar Panel
- Description: A photovoltaic panel for converting solar energy into electrical power.
- Pins: +, -
INA 3221 Power Monitor
- Description: A triple-channel, high-side current and bus voltage monitor with an I2C interface.
- Pins: TC, WAR, CRI, PV, SDA, SCL, GND, VS, VPU, POW, GND CH1, CH1, GND CH2, CH2, GND CH3, CH3
DHT22
- Description: A sensor for measuring temperature and humidity.
- Pins: GND, VCC, DAT
Solar Panel Regulator 5A MPPT Controller Battery Charging 9V/12V/24V/Auto Switch
- Description: A maximum power point tracking solar charge controller.
- Pins: +Vin, Ground, battery (-), battery(+)
Resistor
- Description: A passive two-terminal electrical component that implements electrical resistance.
- Properties: Resistance: 1 Ohm
Peltier Module
- Description: A solid-state active heat pump which transfers heat from one side of the device to the other.
- Pins: Negative, Positive
DC to DC Boost Converter
- Description: A power converter that steps up voltage from its input to its output.
- Pins: vin-, vin+, out+, out-
18650 Li-ion Battery x 2
- Description: A standard size for lithium-ion battery cells.
- Pins: +, -
Wiring Details
ESP32
- EN connected to Pushbutton (Pin 3 (out))
- D14 connected to DHT22 (DAT)
- D12 connected to Pushbutton (Pin 3 (out))
- D13 connected to Pushbutton (Pin 3 (out))
- GND connected to Pushbutton (Pin 1 (in)), DHT22 (GND), Pushbutton (Pin 1 (in)), Pushbutton (Pin 1 (in))
- 3V3 connected to DHT22 (VCC), ST7735 Display (VCC), INA 3221 Power Monitor (VS)
- D2 connected to ST7735 Display (DC)
- D4 connected to ST7735 Display (RES)
- D5 connected to ST7735 Display (C5)
- D18 connected to ST7735 Display (SCL)
- D21 connected to INA 3221 Power Monitor (SDA)
- D22 connected to INA 3221 Power Monitor (SCL)
- D23 connected to ST7735 Display (SDA)
ST7735 128x128 1.44" TFT I2C Color Display
- BL (no connection specified)
- C5 connected to ESP32 (D5)
- DC connected to ESP32 (D2)
- RES connected to ESP32 (D4)
- SDA connected to ESP32 (D23)
- SCL connected to ESP32 (D18)
- GND connected to ESP32 (GND)
- VCC connected to ESP32 (3V3)
Pushbutton
- Pin 3 (out) connected to ESP32 (EN), ESP32 (D12), ESP32 (D13)
- Pin 4 (out) (no connection specified)
- Pin 1 (in) connected to ESP32 (GND)
- Pin 2 (in) (no connection specified)
Solar Panel
-
- connected to Resistor (pin1), Solar Panel Regulator (Vin+)
-
- connected to Peltier Module (Negative), INA 3221 Power Monitor (GND), INA 3221 Power Monitor (CH2), INA 3221 Power Monitor (CH3), DC to DC Boost Converter (vin-), Solar Panel Regulator (Ground)
INA 3221 Power Monitor
- TC, WAR, CRI, PV, VPU, POW (no connection specified)
- SDA connected to ESP32 (D21)
- SCL connected to ESP32 (D22)
- GND connected to ESP32 (GND), Peltier Module (Negative), Solar Panel (-), DC to DC Boost Converter (vin-), Solar Panel Regulator (Ground)
- VS connected to ESP32 (3V3)
- GND CH1 (no connection specified)
- CH1 (no connection specified)
- GND CH2 connected to Resistor (pin2)
- CH2 connected to Peltier Module (Negative)
- GND CH3 connected to Resistor (pin2)
- CH3 connected to Peltier Module (Negative)
DHT22
- GND connected to ESP32 (GND)
- VCC connected to ESP32 (3V3)
- DAT connected to ESP32 (D14)
Solar Panel Regulator 5A MPPT Controller Battery Charging 9V/12V/24V/Auto Switch
- +Vin connected to Solar Panel (+)
- Ground connected to Solar Panel (-)
- battery (-) connected to 18650 Li-ion Battery x 2 (-), DC to DC Boost Converter (out-)
- battery(+) connected to 18650 Li-ion Battery x 2 (+), DC to DC Boost Converter (out+)
Resistor
- pin1 connected to Solar Panel (+), Peltier Module (Positive), DC to DC Boost Converter (vin+)
- pin2 connected to INA 3221 Power Monitor (GND CH2), INA 3221 Power Monitor (GND CH3)
Peltier Module
- Negative connected to Solar Panel (-), INA 3221 Power Monitor (CH2), INA 3221 Power Monitor (CH3)
- Positive connected to Resistor (pin1), DC to DC Boost Converter (vin+)
DC to DC Boost Converter
- vin- connected to Solar Panel (-)
- vin+ connected to Peltier Module (Positive)
- out+ connected to 18650 Li-ion Battery x 2 (+), Solar Panel Regulator (battery(+))
- out- connected to 18650 Li-ion Battery x 2 (-), Solar Panel Regulator (battery(-))
18650 Li-ion Battery x 2
-
- connected to DC to DC Boost Converter (out+), Solar Panel Regulator (battery(+))
-
- connected to DC to DC Boost Converter (out-), Solar Panel Regulator (battery(-))
Documented Code
There is no code provided for the microcontroller(s) in this circuit. If code is later provided, it should be documented here with explanations of how it interacts with the hardware components and implements the desired functionality.