
This project consists of creating an automatic watering system for plants, which triggers a water supply only in case of need. Suitable for a single plant or a small plantation, this system can be replicated at different scales. It will allow you to maintain your plants in your absence, or to manage the growth of species particularly sensitive to moisture by setting fine adjustments.
This automatic watering device will provide an opportunity to study the use of an analog signal from a sensor to activate a fairly powerful actuator (here an electric pump) using a relay.
Located near the plant or plants to be monitored, the installation monitors the state of drought of the earth with the help of a dedicated sensor, characterizing the resistance of the earth between two electrodes. This information is then used to activate a 5V pump, driven by an Arduino board to supply plants with water.
To make the assembly, we can connect
For the soil moisture sensor:
For relay :
For the water pump:
Here is the program for the Arduino board connected to the automated parking system.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
int digitalPin = 4; // For relay int analogPin = A0; // For the soil moisture sensor int digitalVal; // digital readings int analogVal; //analog readings void setup() { pinMode(digitalPin, OUTPUT); digitalWrite(digitalPin, LOW); } void loop() { analogVal = analogRead(analogPin);//read the value returned by the moisture sensor if (analogVal<400){//if the humidity sensor returns a value<500 digitalWrite(digitalPin, HIGH);//The water pump waters the plant } else { // sinon digitalWrite(digitalPin, LOW);//Water pump stops watering } delay(100); } |
special 03-12-2222
You actually make it seem so easy with your presentation but I find this topic to be really something that I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!
tracfone coupon 29-11-2222
It's perfect time to make some plans for the longer term and it's time to be happy. I've read this post and if I could I desire to suggest you some attention-grabbing things or suggestions. Perhaps you can write next articles regarding this article. I desire to learn even more issues approximately it!
Krungle 24-08-2222
yeaaa fantastic robot
Phoebe 17-07-2222
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.
Ricky 17-07-2222
What's up, just wanted to say, I liked this post. It was helpful. Keep on posting!
Etsuko 17-07-2222
This information is worth everyone's attention. How can I find out more?
Star 07-07-2222
Excellent web site you have got here.. It's hard to find good quality writing like yours these days. I truly appreciate people like you! Take care!!
David 10-12-2121
Hello bro, i want to make color detector with a phone and a arduino for detect color of coffee beans, it is possible?