Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Solar-Powered ESP32 Environmental Monitoring System

Image of Solar-Powered ESP32 Environmental Monitoring System

Circuit Documentation

Summary

This circuit is designed to monitor environmental parameters such as soil moisture and temperature/humidity using an ESP32 microcontroller, capacitive soil moisture sensors, and a DHT22 temperature and humidity sensor. The ESP32 reads sensor data and can potentially transmit this information for further processing or display. Power management is handled by a combination of a solar panel, a TP5100 charging module, and 18650 battery holders. A buck converter steps down the voltage to power the ESP32, and rocker switches are used to control the power flow in the circuit.

Component List

Microcontroller

  • ESP32 (30 pin): A microcontroller with Wi-Fi and Bluetooth capabilities, featuring a variety of digital and analog I/O pins.

Sensors

  • Capacitive Soil Moisture Sensor V1.2: Measures the moisture level in the soil via capacitive sensing rather than resistive sensing.
  • DHT22: A sensor that measures ambient temperature and humidity.

Power Management

  • 24/12v Buck Converter: Steps down voltage to a lower level, suitable for powering the ESP32 and sensors.
  • 18650 Battery Holder: Holds 18650 type batteries to provide power to the circuit.
  • Solar Panel: Provides power from solar energy, used to charge the batteries.
  • TP5100: A charging module designed for charging single or dual-cell lithium batteries from a USB power source or solar panel.

Switches

  • Rocker Switch: A simple on/off switch to control the power flow in the circuit.

Wiring Details

ESP32 (30 pin)

  • 3V3: Connected to the VCC of DHT22 and Capacitive Soil Moisture Sensor V1.2.
  • GND: Common ground with DHT22, Capacitive Soil Moisture Sensor V1.2, and 24/12v Buck Converter.
  • Vin: Connected to the output of the rocker switch (57b94e99).
  • D4: Connected to the Out pin of DHT22.
  • D34: Connected to the AOUT pin of Capacitive Soil Moisture Sensor V1.2 (ba8bca66).

Capacitive Soil Moisture Sensor V1.2

  • VCC: Connected to 3V3 on ESP32.
  • GND: Connected to GND on ESP32.
  • AOUT: Connected to D34 on ESP32.

DHT22

  • +: Connected to 3V3 on ESP32.
  • Out: Connected to D4 on ESP32.
  • -: Connected to GND on ESP32.

24/12v Buck Converter

  • VIN+: Connected to VCC of 18650 battery holder (5b4ff5a3).
  • VIN-: Connected to GND of 18650 battery holder (3625af78).
  • 5V: Connected to the input of rocker switch (57b94e99).
  • GND: Connected to GND on ESP32.

Rocker Switch (57b94e99)

  • input: Connected to 5V on 24/12v Buck Converter.
  • output: Connected to Vin on ESP32.

Rocker Switch (36af23e5)

  • input: Connected to + on Solar Panel.
  • output: Connected to IN+ on TP5100.

18650 Battery Holder

  • VCC: Connected to VIN+ on 24/12v Buck Converter and B+ on TP5100.
  • GND: Connected to VIN- on 24/12v Buck Converter and B- on TP5100.

Solar Panel

  • +: Connected to input on rocker switch (36af23e5).
  • -: Connected to IN- on TP5100.

TP5100

  • B-: Connected to GND on 18650 battery holder (5b4ff5a3).
  • B+: Connected to VCC on 18650 battery holder (3625af78).
  • IN-: Connected to - on Solar Panel.
  • IN+: Connected to output on rocker switch (36af23e5).

Documented Code

No code has been provided for the microcontroller. The documentation of the code would typically include information about the setup and loop functions, libraries used, and descriptions of the functionality implemented in the code. Since no code is available, this section cannot be completed.