Welcome to the Smart Plant Monitoring System repository! This project utilizes an ESP8266 microcontroller, a DHT11 sensor for temperature and humidity, and a soil moisture sensor. It communicates with the Blynk platform to monitor plant conditions and control a light indicator based on soil moisture levels. The following information will guide you through the project details and code.
-
File:
Smart Irrigation & Plant Monitoring.ino.txt
This Arduino sketch reads temperature and humidity values from the DHT11 sensor, soil moisture from the analog sensor, and controls a light indicator. It communicates with the Blynk app for real-time monitoring and notifications.
- ESP8266 Microcontroller
- DHT11 Sensor
- Soil Moisture Sensor
- LED (Light Indicator)
- Resistors
- Jumpers and Breadboard
- Blynk Setup:
- Replace
auth
with your Blynk authentication token. - Replace
ssid
andpass
with your WiFi network credentials.
- Replace
-
DHT11 Sensor:
DHTPIN
- Data pin connected to D1.
-
Soil Moisture Sensor:
A0
- Analog pin connected to the sensor.
-
LED (Light Indicator):
Light
- Control pin connected to D2.
-
Blynk App:
- Create a Blynk account and set up a new project.
- Add three Value Display widgets (V1 for humidity, V2 for temperature, V3 for soil moisture) and a Notification widget.
-
Hardware Setup:
- Connect the hardware components based on the provided pin configuration.
- Upload the code to your ESP8266 using the Arduino IDE.
-
Monitor:
- Open the Blynk app to monitor real-time temperature, humidity, and soil moisture.
- The LED light indicates the soil moisture status (on when moisture is low, off when moisture is sufficient).
-
Notifications:
- Receive Blynk notifications when soil moisture levels drop below or rise above set thresholds.
- Temperature and humidity values are read from the DHT11 sensor and displayed on the Blynk app.
- The soil moisture sensor determines soil moisture levels, and the LED light provides a visual indication.
- Notifications are sent to alert users when soil moisture conditions require attention.
Feel free to contribute to the project by improving the code, enhancing functionality, or adding features. Create a pull request with your changes.
If you encounter issues or have questions, please open an issue on GitHub.
Happy plant monitoring! 🌱📊