Fed up of having to remember to water your plant? or Worried your watering it to much or too little? If so follow the instructions below and never have to worry about it again.
This project will use an Arduino Uno but if you wanted to you could use any of the Arduino family. It will use an LCD to display at what moisture level the pump turns ON and how long the pump will stay ON for.
I used a generic moisture sensor but you could any moisture sensor you like. I used a cheap DC pump from Ebay they cost about £3 and you can find the one I used here. You will need to solder wires to the moisture sensor and you may also need to solder wires to the pump dependent on what one you use.
Below is the schematic of how to connect all the parts to the Arduino. The Arduino will have to be powered when being used so I used a USB power bank. (In the schematic I have forgotten to add a transistor for the motor so you will need to remember to add this)
Once everything is connected you will need to upload the code. connect your Arduino to a computer using a USB cable and open the code in the Arduino IDE and upload it to the Arduino. I am just learning to code so if there are any problems let me know.
After the Arduino is programmed you will want to protect the circuity from the elements to do this I used a plastic lunch box and drilled holes in the side for the wires for the sensor and motor to pass out of, I then sealed the hole using hot glue.
You can then power up your device using a battery and set the settings to match your requirements. Then seal up the box by snapping the lid in place and place your sensor into the soil. then connect a tube from one side of the pump and place it into a container of water and then connect another piece of tube to the other side of the pump and place it near to the plant you want to water.
Now once every thing is set up just wait and when the moisture level in the soil goes below your setting the pump will turn on and water the plant. You may need to experiment with the values of the setting to suit your needs.
AcknowledgementI thank PCBWay & LCSC Electronics for the partnership.
PCBWay Is a cheap reliable service where you can get your PCBs manufactured. All the PCBs are high quality and the engineers are very helpful and will resolve any problems you may have quickly. Sign up today and get a $5 welcome bonus. Check Out PCBWay Hackster page.
LCSC Electronics Is China's leading Electronic Components Distributor. LCSC sells a wide variety of high quality electronic components at low prices. With over 150, 000 parts in stock they should have the components you need for your next project. Sign up today and get $8 off on your first order.
WebsiteCheck out more of my other projects on my website.
Comments