Introduction: Arduino Automatic Watering System
First of hopefully many DIY arduino projects. I will show you how to build an automatic watering system. It will water plants for you when you not there. Although project is based on Arduino Nano there is no problem to build it with Arduino UNO.
Step 1: Watch the Video
Watch whole video. It will take you through nearly the whole project. You will find additional resources in the following steps.
Step 2: Complete Parts
These are necessary parts and sample links where to get them.
Parts List:
Parts List:
Arduino Nano v3.0 https://www.ebay.com/itm/201601613488?rmvSB=true
SoilWatch 10 - soil moisture sensor https://pino-tech.eu/sw10
1602 LCD with I2C interface https://www.ebay.com/itm/221439853893?rmvSB=true
12V Peristaltic pump https://www.ebay.com/itm/272166574249?rmvSB=true
1/8inch or 3mm internal diameter PVC tubing https://www.ebay.com/itm/231044249185?rmvSB=true
1/8inch or 3mm connector https://www.ebay.com/itm/391461040363?rmvSB=true
IRLZ44N Transistor
breadboard - optional
7x9cm perfboard
2x100nF ceramic capacitor
1x100uF electrolytic capacitor
3x100k ohm resistor
DC Socket 5.5mm/2.1mm https://www.ebay.com/itm/322340611476?rmvSB=true
2x tact switches https://www.ebay.com/itm/112173300502?rmvSB=true
female/female jump wires
straight pin headers
some wires
Terminal Block Screw Connector 2-way
Terminal Block Screw Connector 3-way
9V power supply - at least 1A
box 100x80x40mm cotton buds/swabs - check locally first. this may work but I can't guarantee https://www.ebay.com/itm/122848573824?rmvSB=true
Step 3: Assemble
See attached schematics and pictures of assembled boards. If you are not comfortable with soldering build just breadboard version of the project.
Step 4: Upload Code
Upload sketch plant_saver.ino to your Arduino board. Don't forget to install a LiquidCrystal_I2C library.
Schematics available in Fritzing format but breadboard part is not done.
SoilWatch 10 part for Fritzing.
Step 5: Enjoy Your Automatic Watering System
Play, modify and adapt to your needs. You can tweak Arduino sketch to suit your plant, soil type and pot size. Hope you enjoyed the project.
Check out my Youtube channel: http://www.youtube.com/user/pinolec
14 Comments
3 years ago
Hi,i have a probem with the code.On the laptop goes, it loads the arduino without problems but on the serial monitor it does not display anything... Can you help me? What could be the problem?
Reply 3 years ago
Hi, The example shown here does not use serial communication. You would need the LCD to print the results.
If you try to use example code from the sensor listing then make sure you set the correct baud rate.
Question 4 years ago
hi there can I use tis sensor?
https://www.pishop.co.za/store/soil-hygrometer-humidity-detection-moisture-sensor?keyword=moisture%20sensor&category_id=0
Question 4 years ago
hi there can I use a moisture sensor like this one.
https://www.pishop.co.za/store/soil-hygrometer-humidity-detection-moisture-sensor?keyword=moisture%20sensor&category_id=0
Question 4 years ago on Introduction
HELLO SIR
MY SENSOR SHOWING IS 100 PERCENT IN DRY SOIL AND WHEN I PUT INTO WET SOIL IT STARTS DECREASING AND GIVES AROUND 45 PERCENT
Answer 4 years ago
Please use contact form at https://pino-tech.eu/contact/ Your sensor doesn't work as it should. It may be faulty.
Question 4 years ago
Hello
I would like to know how to calibrate the sensor for different types of soil?
Reply 4 years ago
You can find detailed instruction on how to calibrate the sensor here: https://pino-tech.eu/forum/soilwatch-10/soil-specific-calibration/
Question 5 years ago
Hello,
Google Translate!
good work! I would like to extend the sketch with another sensor and another pump.
I managed to the extent that the 2nd sensor works and is also adjustable. runtime pump adjustable via 2 more buttons.
I can not get it that I can assign a pump to a sensor. currently it is so that both pumps start, no matter which sensor I pull out of the earth.Bin beginners in things arduino. would be glad if you can help me on.
Answer 5 years ago
Show what you have done so far and we will sort this out. Paste your sketch here.
Question 5 years ago on Introduction
Does the arduino connect to 12V on a jack or need a special 5V?
Reply 5 years ago
If you use Arduino Uno then just connect to 9-12V to jack. Arduino has an onboard 5V regulator so it will make required 5V. For Arduino Nano connect 9-12V to VIN and it has 5V onboard regulator as well.
5 years ago
Hi, cool project. I've got the Soilwatch Sensors and will start now with my project. could you please update the schematic file in the fritzing format?
Regards, Marcel
Reply 5 years ago
Thanks :) Just uploaded schematics in fritzing format. Breadboard part isn't done just the schematics.
regards, Piotr