Raspberry Pi Automated Plant Watering with Website

  Рет қаралды 70,873

Ben Eagan

Ben Eagan

Күн бұрын

Пікірлер: 99
@johnniewalker4212
@johnniewalker4212 5 жыл бұрын
This is the most well thought out ghetto ass setup ive ever seen
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Come on, don't all autonomous/connected watering setups depend on a bike pump and tape?
@johnniewalker4212
@johnniewalker4212 5 жыл бұрын
@@BenjaminEagan haha if not then they should
@aparnabhalavi4674
@aparnabhalavi4674 3 жыл бұрын
@@BenjaminEagan of
@pidge8408
@pidge8408 3 жыл бұрын
fr lmaoo
@circle4922
@circle4922 5 жыл бұрын
People who take the time to share this kind of information are great. Thanks.
@sjoerdv92
@sjoerdv92 6 жыл бұрын
Great video! Hoping to do a project like this with plant-moisture sensor, water reservoir sensor, pump for water and possibly light-sensor with plant lamp! To top it off, if it works, I'd hope to build it with a Pi Zero and make the project as esthetic as possible. Thanks again for the video and inspiration!
@thaddeuspearson8952
@thaddeuspearson8952 5 жыл бұрын
absolutely amazing 100% COOLEST use of a pie and flask I have ever seen. Well done man you should get some kind of award.
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Thanks Thaddeus! You're appreciation is my award :D
@itisno1
@itisno1 4 жыл бұрын
im guessing since u used a relay that ur using a 120v water pump. I am using DC pump so am making a circuit incorporating a pnp transistor so i can use a different power source other than the pi. when the base lead of the transistor is excited by current via 3v3 the circuit is then allowed to flow through the collector and emitter
@GaryMcKinnonUFO
@GaryMcKinnonUFO 5 жыл бұрын
Cool, i like the HUD you seem to have on the mirror!?
@GaryMcKinnonUFO
@GaryMcKinnonUFO 5 жыл бұрын
Best to use capacitive moisture-sensors as the 2-prong models corrode after a few weeks.
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Agreed! You can extend the life by only adding current when measuring, but it still gives a lifespan of ~months.
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Thanks, you've spotted my smart mirror - lots of videos on my channel about how to make it! Nice weekend project if you have the supplies.
@smartassist9700
@smartassist9700 5 жыл бұрын
I need 7 sensor/waterers auto water reported by PI 3B+. Each named by type of plant. Can that be done easily?
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
I would suggest using this relay instead: amzn.to/2LFJd4V - each pump can be controlled by a specific relay. Then you would have 7 moisture sensors connected directly to the pi (which has 20+ GPIO pins, so enough for 7 sensors and 7 relays to control)
@benrobinzon7256
@benrobinzon7256 3 жыл бұрын
Hi, thanks for the video. I saw you mentioned that it can only be done via PI 3, I have 4 and it doesn't work from the early stage of testing the pump, can you please explain why only pi 3 should be used?...
@BenjaminEagan
@BenjaminEagan 3 жыл бұрын
Hi Ben, this depends on GPIO so makes some strong assumptions about the purpose of the pins. It’s very likely the GPIO pin layout between 3 and 4 has changed.
@guddijain6818
@guddijain6818 4 жыл бұрын
Well can we do as such that even we don't use this laptop rpi automatically perform auto plant irrigation and website is controlled by us from any where in the world
@GordonjSmith1
@GordonjSmith1 6 жыл бұрын
Nice. Looking forward to building it myself. Question, how tricky, apart from more relays, pumps etc, would it be to add more plants? (E.g. 6 different plant pots)
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Really simple, you should be able to scale this up until you run out of sensor pins.
@sumertheory
@sumertheory 6 жыл бұрын
can you extend this to water more than one plant with one cpu and one pump
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Definitely, for that you'd need some actuated valves which are opened when a plant is thirsty. Then when the pump pushes water, it only comes out the open bits.
@SvenSommerJr
@SvenSommerJr 7 жыл бұрын
Hey Ben, thanks for the inspiring video and the detailed tutorial. I really like the nature of your videos. Time to show the watering status of your plants on your Smart Mirror!
@BenjaminEagan
@BenjaminEagan 7 жыл бұрын
Some smart mirror integration for the plant watering is an awesome suggestion, I've been looking for an excuse to write an add on to MagicMirror as well. Thanks for the suggestion and kind words, it's much appreciated!
@NIBricks
@NIBricks 6 жыл бұрын
Hey Ben, great video ! can I ask could this be run with multiple sensors and pumps from one raspberry Pi? thank you
@ljohnso16
@ljohnso16 4 жыл бұрын
how do you get the multiple plants working
@mal798
@mal798 5 жыл бұрын
Could it be calibrated to keep soil moist without flooding?
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Yeah for sure. Just a matter of a little trial and error.
@mrjb_8032
@mrjb_8032 4 жыл бұрын
I have the same 4 pin sensor but on the cyber-omelette, it only shows the 3 pins where does it go then pls help
@kansasnutt
@kansasnutt 6 жыл бұрын
CAN YOU CONTOL THIS FROM ANYWHERE...OR JUST THE LAN AT YOUR HOUSE?
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
EDIT: had my videos confused, this is only over LAN... Sorry for the mix up
@myanpatel9379
@myanpatel9379 4 жыл бұрын
Did you use jumper wires to connect everything?
@sarabjitbedi4705
@sarabjitbedi4705 4 жыл бұрын
what pump did you use
@myanpatel9379
@myanpatel9379 4 жыл бұрын
And did you extend the wire of the pump?
@moglimogify
@moglimogify 5 жыл бұрын
How do you host the website? Directly on the pi?
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Yes, flask server on the pi. it's also only accessible from your LAN, unless you setup port forwarding for the raspberry pi's IP.
@hangc10
@hangc10 4 жыл бұрын
do you need multiple pi to water multiple plants?
@danyka2888
@danyka2888 6 жыл бұрын
Was this complex enough to keep the plant alive? What about non-uniform moisture across the pot?
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
I killed my plant repotting, but it did keep two plants happy for about 6 weeks. I positioned the hose to be right in the middle and it seemed to distribute moisture well enough.
@xxThat90sGuyxx
@xxThat90sGuyxx 5 жыл бұрын
Is the relay necessary? I figured one could just hook both the pump and the sensor up to the pi, pi takes a reading, activates a 3v pump... Am I missing something important?
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
I have heard if you draw too much current for a motor or pump you can easily fry your Pi, so the recommendation is always to power externally. So I'd take this approach at your own risk. (Here's a thread on the topic: www.raspberrypi.org/forums/viewtopic.php?t=15688)
@jaret217
@jaret217 6 жыл бұрын
"I hope you were able to grow from this experience." Yeah, I see what you did there
@CosminCI
@CosminCI 4 жыл бұрын
Hi, I am new to raspberry, where do I put the files, when I try to run the water. pi it tells me that the RPi. GPIO is missing
@CosminCI
@CosminCI 4 жыл бұрын
I did install it
@cristianteixeira8307
@cristianteixeira8307 5 жыл бұрын
I have a project for my final assignment in lecture about raspberry pi . I made automatic watering like you did and to display data on the web im using mysql database , i have problem connection to mysql database and displaying it to web , can you help me please ?
@JeremyCook
@JeremyCook 4 жыл бұрын
Looking good today! Said the mirror. Thanks for putting that up, was looking for something similar.
@bilanoob8104
@bilanoob8104 6 жыл бұрын
Hi sir, what is the command use to start the program? i using python auto_water.py to start my program and my water pump straight working non stop. It cannot function well when i place my sensor into water or out of the water and my water pump keep switch on. Besides that,when i run python auto_water.py it only show (Here we go! Press CTRL+C to exit). It does not show the getting readings that sir show in video. Sir do u have any ideas or suggestion to solve it.
@hidayahramli1588
@hidayahramli1588 5 жыл бұрын
sir,it is okay to use 12V 4 Channel Relay Module with Optocoupler Isolation Supports High Low Trigger
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
You have my permission, on the condition you make sure it gets a 12v power supply
@BVMBLOG
@BVMBLOG 5 жыл бұрын
this code is not working import water >>> water.get_status() >>> water.pump_on()
@TheDiabeticWay
@TheDiabeticWay 5 жыл бұрын
The device here could be very good for T1's to know when he needs insulin instead of water! :-) great video and project! :-)
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Very cool idea, are there any medical devices that already do this?
@TheDiabeticWay
@TheDiabeticWay 5 жыл бұрын
@@BenjaminEaganEagan there is! but not sure how they work or do it do it! like you :-) there is 1: OMNIPOD - kzbin.info/www/bejne/Zp22aGdup9WfZs0 2: iLet - kzbin.info/www/bejne/mIu7npmKrclqb7M 3: Medtronic 670G INSULIN PUMP SYSTEM - kzbin.info/www/bejne/eKHFZYmhdrKJpsk and a few others
@nickthenab1
@nickthenab1 4 жыл бұрын
Hi. I’ve wired everything up exactly as you had on your page. My soil sensor when submerged is saying the plant needs water. Any idea what is going on? I used the sparkfun one from your site as well that you had linked.
@nickthenab1
@nickthenab1 4 жыл бұрын
Never mind I fixed it. For anyone using the new red sparkfun sensor it’s readings are reversed what his sensor is. I had to switch the values for auto watering. 1 is wet and 0 is dry.
@semeradstephan
@semeradstephan 6 жыл бұрын
Alright, I immediatly subscribed! :) Been looking to do this forever!
@casinomann
@casinomann 6 жыл бұрын
How did you figure what size tubing to use?
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Honestly just guessed, it's not quite a perfect fit on the pump, but as it's submerged anyway a little leaking isn't an issue.
@casinomann
@casinomann 6 жыл бұрын
@@BenjaminEagan Got it. I was lucky enough to find thr perfect wire for mine locally. How did you position the pump how you wanted it in relation to the plant?
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Sorry, I'm not sure I understand the question... Just placed it in a jar beside the plant
@casinomann
@casinomann 6 жыл бұрын
haha shit, I mixed up the type of pump you have. I have a perastiltic pump myself so I need somewhere to have it. My bad!
@shumakriss
@shumakriss 6 жыл бұрын
Can you do a follow up on how your plants are doing?
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Haha, good questkon. About a month after this I repotted them and they didn't survive. Hoping to build a cleaner version of this soon and try again.
@hayura5848
@hayura5848 6 жыл бұрын
Btw, how do you determine how many soil moisture sensors to use in a garden? Is one enough? Thank you :)
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Iona Saneda depends on the size, but I'd say one every sq meter. I'm not a garden pro though.
@hayura5848
@hayura5848 6 жыл бұрын
Oh thank you so much :)
@emaanrad1624
@emaanrad1624 3 жыл бұрын
Nice Work ^^ but Why u don't use ThinkSpeak Cloud
@BenjaminEagan
@BenjaminEagan 3 жыл бұрын
Never heard of it, and there’s something satisfying about rolling your own solution end to end
@pidge8408
@pidge8408 3 жыл бұрын
interesting setup
@allendavecatucag6931
@allendavecatucag6931 6 жыл бұрын
Good Day sir! i'm currently working like this project t then i add only water flow sensor, but the problem is that when i run the automated irrigation and water flow sensor the valve will close then only the water flow sensor will continue to run, what is the problem of this kind of problem sir? as a raspbe master :)
@hayura5848
@hayura5848 7 жыл бұрын
hi i want to use firebase as my database how do i do this using your code above? thank you
@BenjaminEagan
@BenjaminEagan 7 жыл бұрын
I have no idea. Sounds like you have a DIY project on your hands :-)
@larfanformersalat0220
@larfanformersalat0220 5 жыл бұрын
I unfortunately do not understand the code....
@itisno1
@itisno1 4 жыл бұрын
The problem is that the soil will be constantly wet, cause root rot & kill the plant. The roots need to be able to breathe.
@BenjaminEagan
@BenjaminEagan 4 жыл бұрын
the beauty of building this, is the can change how they work. No reason you couldn't set a 24hr delay for example before watering.
@itisno1
@itisno1 4 жыл бұрын
@@BenjaminEagan it's true. I think time is already imported. I didn't use this script for mine though.
@itisno1
@itisno1 4 жыл бұрын
@@BenjaminEagan & I'ma be using circuit python soon as I get a trinket M0 so I'll probably have to rewrite it again
@BVMBLOG
@BVMBLOG 5 жыл бұрын
this is the error: water.get_status() Traceback (most recent call last): File "", line 1, in AttributeError: module 'water' has no attribute 'get_status'
@sangramrout7657
@sangramrout7657 5 жыл бұрын
Code plz
@BenjaminEagan
@BenjaminEagan 5 жыл бұрын
Check the description
@firekid801gaming4
@firekid801gaming4 7 жыл бұрын
Hey know what's weird about your name is my name is Egan and my friends name is Ben
@BenjaminEagan
@BenjaminEagan 7 жыл бұрын
Very strange indeed, when you guys hang out together you can pretend you're me.
@ryanbuck4569
@ryanbuck4569 7 жыл бұрын
Technology is amazing
@Ombib1
@Ombib1 6 жыл бұрын
nice
@thevabhas7225
@thevabhas7225 3 жыл бұрын
It's working online
@chasebledsoe7449
@chasebledsoe7449 6 жыл бұрын
THANK YOU!!!
@kungsensei3393
@kungsensei3393 6 жыл бұрын
Does he know he's facing back? Lol Good video though
@erxvlog
@erxvlog 5 жыл бұрын
Good stuff.
@shaunramkelawon
@shaunramkelawon 6 жыл бұрын
Cool magic mirror
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
Thanks Shaun!
@shaunramkelawon
@shaunramkelawon 6 жыл бұрын
@@BenjaminEagan do you have any vids on your mirror?
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
@@shaunramkelawon yeah man, lots of them! Here my playlist for it... Smart Mirror DIY: kzbin.info/aero/PLt3p83v43FhScp2VHiVXwrx5dmY9N1-rO
@shaunramkelawon
@shaunramkelawon 6 жыл бұрын
@@BenjaminEaganexcellent work 👌 I shall be attempting some of your stuff 😄
@BenjaminEagan
@BenjaminEagan 6 жыл бұрын
@@shaunramkelawon Nice, hope it goes smoothly. Let me know if you get stuck anywhere.
@hiraiex5060
@hiraiex5060 5 жыл бұрын
dude your project is awesome. thumbs up and kudos to your project and hard work
Preventing Plant Death With Technology
14:00
Emilostuff
Рет қаралды 143 М.
Raspberry Pi Plant Watering (& Time Lapse)
23:41
ExplainingComputers
Рет қаралды 340 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Internet of Farming: Arduino-based, backyard aquaponics
18:27
Kirsten Dirksen
Рет қаралды 1,5 МЛН
This tiny computer changes EVERYTHING
15:57
Jeff Geerling
Рет қаралды 864 М.
DIY Raspberry Pi Arduino Plant Watering System
17:46
Caroline Dunn
Рет қаралды 46 М.
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 597 М.
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 505 М.
FarmBot: open-source backyard robot for automated gardening
31:44
Kirsten Dirksen
Рет қаралды 704 М.
#207 Why most Arduino Soil Moisture Sensors suck (incl. solution)
10:59