This project automates watering for indoor gardens using the ESP8266 and Adafruit ADS1015 sensor, monitoring soil moisture and watering plants as needed.
- ESP8266 Microcontroller
- Adafruit ADS1015 Analog-to-Digital Converter
- Soil Moisture Sensors
- Relay Modules
- Wires and Connectors
- WiFi connectivity to send data to a server.
- Real-time soil moisture monitoring.
- Automatic watering based on moisture thresholds.
- WiFi Configuration: Define your WiFi credentials in
secrets.h. - Server Configuration: Set your server's URL in the code.
- Sensor and Relay Setup: Connect your moisture sensors and relay modules to the ESP8266.
The system reads soil moisture levels using the ADS1015 sensor. It starts watering if the moisture level drops below 15% and stops once it reaches 60%.
engageWatering(int channel, int pinNum): Manages watering based on the sensor input from a specified channel.moisturePrint(int channel, int moisture): Outputs the moisture level to the serial monitor.
Moisture levels are displayed as "Moisture Level ADC Value pin X: Y%".
Refer to the system documentation and Adafruit's ADS1015 datasheet for detailed setup and deployment instructions.