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

ESP32-Based Environmental Monitoring System

Image of ESP32-Based Environmental Monitoring System

Circuit Documentation

Summary of the Circuit

This circuit integrates various sensors with an ESP32 Devkit V1 microcontroller to monitor environmental conditions. The sensors include a PIR sensor for motion detection, a DHT11 for temperature and humidity readings, a Soil Moisture Sensor for detecting the moisture level in soil, a RAIN SENSOR for detecting rainfall, and a Water Level Sensor for measuring the level of water. The ESP32 Devkit V1 serves as the central processing unit, reading data from the sensors and potentially acting upon that data. The circuit is designed for applications such as weather stations, smart agriculture, or home automation systems.

Component List

ESP32 Devkit V1

  • Microcontroller with WiFi and Bluetooth capabilities.
  • 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.

PIR Sensor

  • Motion detection sensor.
  • Pins: VDD, SIG, GND.

DHT11

  • Temperature and humidity sensor.
  • Pins: DATA, GND, VCC.

Soil Moisture Sensor

  • Sensor for detecting moisture level in soil.
  • Pins: VCC, GND, SIG.

RAIN SENSOR

  • Sensor for detecting rainfall.
  • Pins: AO, DO, GRD, VCC.

Water Level Sensor

  • Sensor for measuring the level of water.
  • Pins: SIG, VCC, GND.

Wiring Details

ESP32 Devkit V1

  • GND connected to the ground pins of RAIN SENSOR, Soil Moisture Sensor, Water Level Sensor, DHT11, and PIR sensor.
  • VIN connected to the VCC pins of RAIN SENSOR, Soil Moisture Sensor, DHT11, Water Level Sensor, and the VDD pin of PIR sensor.
  • D15 connected to the DATA pin of DHT11.
  • D34 connected to the SIG pin of Soil Moisture Sensor.
  • D32 connected to the SIG pin of Water Level Sensor.
  • D12 connected to the DO pin of RAIN SENSOR.
  • D13 connected to the SIG pin of PIR sensor.

PIR Sensor

  • VDD connected to VIN of ESP32 Devkit V1.
  • SIG connected to D13 of ESP32 Devkit V1.
  • GND connected to GND of ESP32 Devkit V1.

DHT11

  • DATA connected to D15 of ESP32 Devkit V1.
  • VCC connected to VIN of ESP32 Devkit V1.
  • GND connected to GND of ESP32 Devkit V1.

Soil Moisture Sensor

  • VCC connected to VIN of ESP32 Devkit V1.
  • GND connected to GND of ESP32 Devkit V1.
  • SIG connected to D34 of ESP32 Devkit V1.

RAIN SENSOR

  • VCC connected to VIN of ESP32 Devkit V1.
  • DO connected to D12 of ESP32 Devkit V1.
  • GRD connected to GND of ESP32 Devkit V1.

Water Level Sensor

  • VCC connected to VIN of ESP32 Devkit V1.
  • SIG connected to D32 of ESP32 Devkit V1.
  • GND connected to GND of ESP32 Devkit V1.

Documented Code

No code has been provided for the microcontroller. The documentation of the code would typically include a description of the functionality, setup, and loop functions, as well as any functions or libraries used to interface with the sensors. Since no code is available, this section cannot be completed at this time.