ESP8266-Based Smart Garden Monitoring System with Soil Moisture, Water Level, and Environmental Sensors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed to monitor environmental conditions using various sensors and an ESP8266 NodeMCU microcontroller. The circuit includes a soil moisture sensor, a DHT11 temperature and humidity sensor, a water level sensor, an LDR module for light detection, and a buzzer for alerts. The ESP8266 NodeMCU serves as the central controller, interfacing with all sensors and the buzzer.
Component List
SparkFun Soil Moisture Sensor
- Pins: VCC, GND, SIG
- Description: Measures the moisture level in the soil.
- Purpose: To monitor soil moisture levels.
DHT11
- Pins: VCC, GND, DATA
- Description: Measures temperature and humidity.
- Purpose: To monitor environmental temperature and humidity.
Buzzer
- Pins: PIN, GND
- Description: Emits sound alerts.
- Purpose: To provide audible alerts based on sensor readings.
Module LDR
- Pins: VCC, GND, DO, AO
- Description: Light-dependent resistor module for light detection.
- Purpose: To monitor ambient light levels.
Water Level Sensor
- Pins: SIG, VCC, GND
- Description: Measures water level.
- Purpose: To monitor water levels.
ESP8266 NodeMCU
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
- Description: Wi-Fi enabled microcontroller.
- Purpose: To control and interface with all sensors and the buzzer.
Wiring Details
SparkFun Soil Moisture Sensor
- VCC connected to 3V3 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
- SIG connected to A0 of ESP8266 NodeMCU
DHT11
- VCC connected to 3V3 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
- DATA connected to D0 of ESP8266 NodeMCU
Buzzer
- PIN connected to D1 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
Module LDR
- VCC connected to 3V3 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
- AO connected to A0 of ESP8266 NodeMCU
Water Level Sensor
- SIG connected to A0 of ESP8266 NodeMCU
- VCC connected to 3V3 of ESP8266 NodeMCU
- GND connected to GND of ESP8266 NodeMCU
ESP8266 NodeMCU
- 3V3 connected to VCC of SparkFun Soil Moisture Sensor, DHT11, Module LDR, and Water Level Sensor
- GND connected to GND of SparkFun Soil Moisture Sensor, DHT11, Module LDR, Water Level Sensor, and Buzzer
- A0 connected to SIG of SparkFun Soil Moisture Sensor, AO of Module LDR, and SIG of Water Level Sensor
- D0 connected to DATA of DHT11
- D1 connected to PIN of Buzzer
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. The circuit is designed to monitor various environmental conditions and provide alerts using a buzzer. The ESP8266 NodeMCU serves as the central controller, interfacing with all sensors and the buzzer.