DIY Raspberry Pi Arduino Plant Watering System

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 มิ.ย. 2024
  • This project is an automatic plant watering system. Arduino controls the pump based on the soil moisture level read. Raspberry Pi shows you the soil moisture level through the Arduino IDE app. When the soil moisture drops below the threshold value (default 5), water is pumped through the tubing for 1 second.
    Code: github.com/carolinedunn/Plant...
    Materials:
    Your potted plant. I'm using this Bonsai Tree - amzn.to/2CUERV4
    (It is best to start this project with dry soil.)
    Arduino Uno - amzn.to/2VIyRW5
    9V snap connector kit - amzn.to/3gsXhur
    Battery and battery pack to power the pump (I'm using a 9V battery with snap-on connector and power supply module)
    Male-to-Male Jumper wires - amzn.to/2TIyXMj
    Male-to-Female Jumper wires - amzn.to/2TIyXMj
    Breadboard - amzn.to/2VKjJrd
    Plant watering kit: - amzn.to/31FSpht
    Relay Module
    Soil Moisture sensor (Please use a capacitive soil moisture sensor, NOT a resistive soil moisture sensor)
    Water pump & tubing
    Small screwdriver to unscrew the relay module
    Raspberry Pi 4 - amzn.to/2D4nm4J
    microSD card formatted with Raspberry Pi OS
    power supply for Raspberry Pi and Arduino (I'm using a USB-C power bank - amzn.to/2VZSitN )
    Container filled with water.
    Casing for electronics (protect from rain) I'm using a 12x12 scrapbook case - www.michaels.com/12in-x-12in-...
    Optional: Soldering iron, flux, and wire
    Tube holder - github.com/carolinedunn/Plant...
    github.com/carolinedunn/Plant...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 53

  • @Silicio
    @Silicio 2 ปีที่แล้ว +1

    I'm in love with your project, well done !

  • @anab8434
    @anab8434 3 ปีที่แล้ว +1

    Really nice project to try out! Thanks for the super detailed explanations

  • @petecapecod
    @petecapecod 3 ปีที่แล้ว

    So cool thanks for making this video! 😎👍It really helps to see you put it all together.

  • @henrytraining6507
    @henrytraining6507 2 ปีที่แล้ว +1

    This is unbelievable! Great video, thank you for the great content!

  • @pabloaguilar9151
    @pabloaguilar9151 2 ปีที่แล้ว

    This video is amazing! Super useful links and github. I am starting the project right now. Thanks so much for such great content.

  • @ApertureApex
    @ApertureApex 3 ปีที่แล้ว +2

    Awesome video! It's a must do DIY project. I'm definitely giving this a go :)

  • @Caroline
    @Caroline  3 ปีที่แล้ว +2

    I've updated this tutorial with inexpensive components here - th-cam.com/play/PL2vlFWOHEKMhwumt2Kk0zZYpPuQXhhZAD.html

  • @schoolofsa
    @schoolofsa 3 ปีที่แล้ว

    I love your projects!

  • @bennorris9935
    @bennorris9935 ปีที่แล้ว +4

    Absolutely wonderful! I am going to do this project myself, and actually bought some of the components before I watched your video. I really like that you went through the wiring and explained the components. This will be my very first project ever, so I'm a bit in the dark. I'm wondering a few things; what is the reason for having the extra relay between the pump and the relay? Is it possible to do this straight from the raspberry pi without an arduino? I guess it's not possible to get 5V out from the raspberry pi, so the battery is necessary? I'm also going to be using a LED grow light to turn on and off based on a cron job, so that's another component that I'll need to control. Is there a component that controls power-on/power-off to a different component?

  • @MarineThePlantMachine
    @MarineThePlantMachine 3 ปีที่แล้ว

    Wow very elaborate! Thanks for the tips!!

  • @tangodango8126
    @tangodango8126 3 ปีที่แล้ว +4

    This is awesome!!!! Great video and explanation. Is there any reason in particular you used an arduino as a medium between the rasperry pi and your components?

  • @warehouse1292
    @warehouse1292 3 ปีที่แล้ว +1

    thanks caroline, youre awesome

  • @peterruppert7856
    @peterruppert7856 3 ปีที่แล้ว +1

    Great video! Thank you!

  • @lola8447
    @lola8447 2 ปีที่แล้ว +1

    Great tutotial!

  • @samfenimore8868
    @samfenimore8868 3 ปีที่แล้ว +1

    Fantastic Video

  • @MiKom3
    @MiKom3 3 ปีที่แล้ว

    Great video. Thank you.

  • @gunyoda2356
    @gunyoda2356 3 ปีที่แล้ว +1

    How cool thank you!

  • @grantclarke4713
    @grantclarke4713 3 ปีที่แล้ว +1

    Thanks for sharing.

  • @KaceyMS666
    @KaceyMS666 2 ปีที่แล้ว +8

    I’m confused why both a RPi and an arduino need to be used? Wouldn’t an RPi suffice?

    • @babyfox205
      @babyfox205 หลายเดือนก่อน

      no because the sensor is analog and pi can only read digital so you would also need a ADC accessory for the pi. but yes, possible.

  • @rose1156
    @rose1156 2 ปีที่แล้ว +2

    Hi Caroline. This project will work great for my herb planter. I'm trying to run 4 pumps though, basically just adding on three additional pumps to what you already have. I've bough a board that supports 4 relays. Do you have any suggestions on powering up all 4 pumps? Should I use something other than 9V battery?

  • @haukemarquard
    @haukemarquard 3 ปีที่แล้ว +1

    Hi, that is an awesome project and I would like to build my own for the balconi. But at this point I want to ask you, if you had try it with more than one pump and/or sensor or if you know, if it is possible to do it

  • @micheleschenk2986
    @micheleschenk2986 3 ปีที่แล้ว +2

    Hello Caroline! I was wondering, how would I add two more pump systems to this? I assume I can use the one raspberry pi / arduino uno for all 3 pumps? (I'm a newb and LOVE this video!! This helps SO much! Thank you!! )

    • @timraz4566
      @timraz4566 2 ปีที่แล้ว

      I'm trying to do the same iv been able to run 4 sensors with 4 pumps iv been able to get this to work but the only issue being it runs through each sensor / pump separately causing a 20 min delay before it gets back to my sensor 1/pump 1 im more then willing to share my code if this is something that will help you
      I am trying to make it sense all sensors at once and trigger said pump if the sensor gets low i haven't been able to do this yet with out a delay but I'm still plugging away

  • @abc7297
    @abc7297 3 ปีที่แล้ว +2

    Perfect for persons like me which are too lazy to water their plants manually for few minutes and instead spend several hours of coding and testing for an automatad process ;)

    • @goku445
      @goku445 2 ปีที่แล้ว

      You need to look at your plant to care well for it. Unless it's a succulent ofc which you can just water big once a month.

  • @AK-zp4dj
    @AK-zp4dj 3 ปีที่แล้ว +4

    Do you need Arduino Uno if your using Raspberry Pi? I am guessing you may use GPIO pins of Raspberry Pi and connect to relay?

  • @babyfox205
    @babyfox205 หลายเดือนก่อน

    I want to connect many sensors like these across all garden, large area, what should I use for 20-25 sensors? multiple arduinos or is there some splitter that can be used for many sensors and converting their signals for the Pi digital? (an ADC with many many slots :D ) what would be best approach?

  • @josephtran1500
    @josephtran1500 2 ปีที่แล้ว

    You're awesome

  • @hangc10
    @hangc10 3 ปีที่แล้ว +2

    what if you have over 20 plants that you want to water? can you do a simple project on that?

  • @AadeshKulkarni
    @AadeshKulkarni 2 ปีที่แล้ว

    Hi Caroline! Great video! I'm trying to implement a similar project and I need your expert opinion. I've connected my RPi with Relay which will be connected to the water pump. If I power the relay from the main supply (instead of using the battery), would that be okay ? I'm too scared to try and don't want to burn down my house trying this experiment. I'm a newb at this and would appreciate your help. :)

  • @keviwang2010
    @keviwang2010 3 ปีที่แล้ว

    I have two questions: 1. Can the water pump use the Uno's 5V output instead of its own battery powered 5V? 2. Why does the relay use NC instead of NO? It seems to me it makes more sense when the power on, the default state should be pump off, not pump on.
    ok, I just read the previous discussion, and it seems to me the point is Uno's 5V output isn't enough to drive the water pump?

  • @xyd.learning
    @xyd.learning ปีที่แล้ว

    I followed the tutorial step by step, but seems my pump is always pump no matter what signal the arduino is send to the relay (HIGH or Low). how can I debug this ?

  • @andyroo_
    @andyroo_ 2 ปีที่แล้ว

    I keep getting a positive number even when out of water, are all my sensors broken?

  • @reviewchan9806
    @reviewchan9806 2 ปีที่แล้ว

    What's the breadboard 545043 ywrobot board used for? Why not just connect the battery directly to the relay?

  • @smartassist9700
    @smartassist9700 3 ปีที่แล้ว

    How many separate plants can I monitor and water separately? I am disabled. This will help me.

  • @ambientsoda106
    @ambientsoda106 ปีที่แล้ว

    do you have a video for doing this with a Raspberry pi?

  • @Draaack
    @Draaack 3 ปีที่แล้ว +1

    Rad!

  • @cristinatroccoliwilliams1389
    @cristinatroccoliwilliams1389 3 ปีที่แล้ว +1

    Why do you need the arduino?

  • @chuongnguyen4826
    @chuongnguyen4826 3 ปีที่แล้ว

    Hi Caroline, I was wondering why you keep the raspi attached? Shouldn't the code already be uploaded to arduino board? Overall, good video, thanks.

    • @nightcoder5k
      @nightcoder5k 3 ปีที่แล้ว

      She wanted to VNC in and continue to tweak things.

    • @MrJIMMYHIPPO
      @MrJIMMYHIPPO 3 ปีที่แล้ว

      @@nightcoder5k does it mean if I don't need the VNC function, I can detach the raspi after finishing the setup ? thanks

  • @jackh8145
    @jackh8145 2 ปีที่แล้ว

    Hi. Does this need to be on wifi?

  • @giovino7935
    @giovino7935 3 ปีที่แล้ว

    how reliable is the sensor?

  • @PERSISTENTxMF
    @PERSISTENTxMF 3 ปีที่แล้ว

    What was the point of using the addition of the rpi can do the same things? We’re you just more comfortable with c instead of python ?

    • @PERSISTENTxMF
      @PERSISTENTxMF 3 ปีที่แล้ว

      I have been wondering how to interact with both so I did love to see this! Thanks for sharing

  • @shadeo13
    @shadeo13 3 ปีที่แล้ว +1

    Is it possilbe just to juse the raspberryPi? Without the arduino?

    • @andyroo_
      @andyroo_ 3 ปีที่แล้ว

      You only need the Raspi for VNC

  • @salmans75
    @salmans75 2 ปีที่แล้ว

    Did u try using an old android phone instead of the rasberry pi or audruino

  • @johnwongtw1
    @johnwongtw1 3 ปีที่แล้ว +1

    ☝️☺👍

  • @andyroo_
    @andyroo_ 3 ปีที่แล้ว

    Can I connect multiple sensors????

  • @glennrebillard3840
    @glennrebillard3840 3 ปีที่แล้ว +1

    Really cool and interesting video, but for a single plant I'm not sure it's worth it. I chuckled a bit when you took it outside, and the entire system with all the gadgets and containers dwarfed the actual plant. Still though, this would be great to get working on an entire garden or greenhouse of plants with a single pi.

  • @humbleahmed8558
    @humbleahmed8558 ปีที่แล้ว

    Brroo, pi 4 !!!!
    It's a unnecessary expensive project