Building this Smart IoT Plant watering system is fun and easy! Just get the stuffs that you need to build these and follow the simple instructions on the YouTube video given here. The instructions are also provided here in this synopsis.
How to Build:
Refer the requirement section for what's required to build this project. Also by referring to Circuit Diagram, connect Particle Photon onto a breadboard and also connect 5V/3.3V regulated power supply. Connect the +5V of regulated power supply to VIN of Photon and GND of power supply to GND of photon.
The servo motor Power supply lines must also be connected to +5V and GND. Please select the power supply which can provide sufficient current for Servo motor to work.
Next to control the Servo motor, connect control pin to D0 Pin of Particle Photon. The servo motor accepts the angle from 0° to 180°, so writing these values to digital I/O D0 will make servo motor to make rotation accordingly.
Use Particle Photon IDE or go to Web IDE to program the Photon then. Copy the program given in the code attachment and first verify the program. Once successfully compiled, select the Photon and flash it. Please make sure that Particle Photon is connected to Power supply and internet if you are using Web IDE.