- A project that automatically waters a plant based on its soil moisture level.
- It also displays the temperature, humidity and sunlight the plant is recieving.
- I made this project long back for fun but thought it would be good idea to put it up on github.
- The project works with an Arduino UNO, a microcontroller as brain and some C++ code(availabe at main.py). The project also uses a soil moisture sensor, a temperature sensor, a humidity sensor and a photoresistor.
- The projects uses the data from these sensors and turns a servo motor(you could easily alter the code to make it fit with anything else like a relay) to water the plant. It also displays some of the other data on a LCD screen.
- The data from the sensor is processed by the Arduino and the servos and lcd do the appropriate result.
- What you need
- An Arduino
- A Soil moisture Sensor
- A Humidity Sensor ----
- A Temperature Sensor --I used a DH11 instead
- A Photoresistor
- A LCD screen
- Some resistors
- Follow the circuit diagram (I have not added this yet but will do soon.)
- Build a setup depending on your case. For me I had attached the servo to a plastic bottle with holes in its cap which turned and watered the plant.
- Connect the Arudino to a computer.
- Copy the code to the Arduino IDE (please install it if you don't have it)
- Upload the code to the Arduino.
- You may have to optimize the code and other things to fit your case.
I will try to make better documentation soon
THANK YOU