Make a Raspberry Pi Automated Gardener

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • See how we built it, including our materials, code, and supplemental instructions, on Hackster.io: www.hackster.i...
    With how busy our lives are, it's sometimes easy to forget to pay a little attention to your thirsty indoor plants until it's too late and you are left with a crusty pile of yellow carcasses. Instead of constantly replacing those plants, we'll show you how to make a compact, automated, raspberry pi powered gardener to water and light your plants. This gardener's memory is impeccable, and never forgets to water your plant.
    This project uses a Raspberry Pi Zero W to run the software. It doesn't use wifi, so you could also use the Raspberry Pi Zero. However, if you want to extend the functionality and make it connect to an IoT app, you'll want to use the Zero W.
    USEFUL LINKS:
    View our code on Github: github.com/Hac...
    Follow Hacker Shack on Instagram:
    / hackershackofficial
    Subscribe to Hacker Shack: goo.gl/qHjz4j
    Visit our website for parts and project updates: www.thehackers...
    MATERIALS
    Raspberry Pi Zero × 1
    Amazon Affiliate Link - goo.gl/Zsxm7k
    12v Peristaltic Pump × 1
    Amazon Affiliate Link - goo.gl/z6kbjw
    White SiliconeTubing, 1/8"ID, 3/16"OD × 1
    Amazon Affiliate Link - goo.gl/wkaR37
    5v Grow Light × 1
    Amazon Affiliate Link - goo.gl/VV9QU9
    IRLB8721PBF N-Channel MOSFET × 2
    Amazon Affiliate Link - goo.gl/kee48t
    Jumper wires (generic) × 1
    M4 Bolts + Nuts × 4
    M3 Bolts + Nuts × 2
    M2.5 Bolts + Nuts × 2
    Electrical Tape × 1
    12v Power Supply × 1
    MUSIC:
    Guggenz - / guggenz
    Disclaimer
    The methods shown in this video should be used
    as a guide only.
    HACKER SHACK ACCEPTS NO RESPONSIBILITY FOR
    ACCIDENTS OR INCIDENTS ARISING FROM INDIVIDUALS
    UNDERTAKING ANY OF THE TASKS DESCRIBED. IN
    PARTICULAR, IF UNSURE YOU SHOULD ALWAYS CONTACT
    A QUALIFIED TRADESMAN BEFORE PROCEEDING.

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

  • @hackershack
    @hackershack  7 ปีที่แล้ว +146

    Seems like there are a lot of requests for extra features (webcam, ph/moistness sensor, IoT app, etc.) If there is enough interest, we could make a follow-up video about how to add some of those features.

    • @AbishaiSingh
      @AbishaiSingh 7 ปีที่แล้ว +7

      Very nice project, but it could be better. I have few more ideas, along with the moisture sensor and the IoT app using a machine learning library to maximize plant growth with minimum resources would be a cool project.

    • @ilikemyrealname
      @ilikemyrealname 7 ปีที่แล้ว +1

      Hacker House another vote for this ^

    • @davidson2727what
      @davidson2727what 7 ปีที่แล้ว

      Hacker House yes, please do this.

    • @jsnmad
      @jsnmad 7 ปีที่แล้ว

      What did you use to design (for the 3D Printer) the housing?

    • @aswathgi6468
      @aswathgi6468 7 ปีที่แล้ว

      Yeah that would be great,but still I love this project👌✌

  • @offgridsweden
    @offgridsweden 7 ปีที่แล้ว +18

    Nice project. Add a moist sensor and a overflow sensor so you don't come home to water damage or a swimming plant.

  • @Joe-dt7wp
    @Joe-dt7wp 7 ปีที่แล้ว +68

    Next video: Automated weed farm?

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

      That is something I'm gonna do we I turn 18 and my parents don't get into trouble if I have weed on me, Thanks for the idea

    • @jesusgarciagutierrez7301
      @jesusgarciagutierrez7301 4 ปีที่แล้ว

      @@kalibrungamasala1720 Do not take drugs, you chemically destroy your brain

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

      @@jesusgarciagutierrez7301 better than destroying it with religion

  • @danon-theautisticmaker8112
    @danon-theautisticmaker8112 7 ปีที่แล้ว +1

    Yes please. Seeing the behind the seens, and the making of a project is cool. Even the goofs and mistakes. One, it helps others relate and two, over come our own mistakes & working out issues to bring a project to completion. Lol, not to mention seeing the bloopers might increase your viewer numbers too.

  • @Smooj
    @Smooj 7 ปีที่แล้ว +3

    Little known fact in the Pi community... there's something called a power MOSFET that you can use to switch much higher voltages than 5V... or use a relay and switch AC.

  • @69camzy
    @69camzy 7 ปีที่แล้ว +96

    this will be great for my weed farm

  • @TheBlondie81
    @TheBlondie81 7 ปีที่แล้ว +5

    To avoid algae building up inside the water container or tubes, try a non-transparent material or put everything inside some form of housing.

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

    This actually looks pretty neat. I think I might have to try this just for fun xD

  • @jamesbaucom9295
    @jamesbaucom9295 5 ปีที่แล้ว

    This actually gets me halfway to my end goal of an automated chameleon cage. The lights and water are covered. Next I need to set up a thermometer, and code that information to auto activate the heat lamp/cooling fan to maintain optimal temperature. As well as a humidity sensor set to activate the fogger below optimum humidity.

  • @ilikemyrealname
    @ilikemyrealname 7 ปีที่แล้ว +1

    Excellent video all around. The project was great and so was the video and editing. Well done!

  • @code-cave
    @code-cave 7 ปีที่แล้ว +1

    Nice project! I also made an automated garden, but wrote my code in C++ for an Arduino. It'd be pretty easy for you to make a simple voltage divider that measures the voltage drop across the soil for a quick and simple moisture probe if you plan to improve it. I really like the grow light and small pump!

  • @beni5154
    @beni5154 7 ปีที่แล้ว +11

    Just what i needed for my
    automated weed farm.
    much thanks

  • @salman2464
    @salman2464 7 ปีที่แล้ว +5

    Hey, that's a nice idea 💡Do upload behind the scenes, that's gonna be super helpful

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

      this help me to creat an autmomatic hemp gardener

  • @deeglik
    @deeglik 5 ปีที่แล้ว

    YES POST IT PLEASE, VERY INTERESTING CHANNEL! Great Job!

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

    You Guys are amazing

  • @DevinWeaver
    @DevinWeaver 4 ปีที่แล้ว

    Sorry to be a nitpick but you can schedule things on a Pi with Cron! Would make the code much smaller. A command for on off light and one for the pump. Add two entries to the crontab and done. No startup script needed.

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

    Very cool Aaron. Is there a way to power this using Alexa? That would be a cool skill to add. "Alexa, water my plants". Also think about how the water can be stored inside the potter so there is no need for the cup. You guys should patent "self watering pot" :-) Looking forward to future videos.

  • @socratesmarshall958
    @socratesmarshall958 7 ปีที่แล้ว

    Awesome build. Thank you.

  • @shrinidhij
    @shrinidhij 4 ปีที่แล้ว

    Hey! Good work folks! This is very informative!

  • @ParthBhat
    @ParthBhat 7 ปีที่แล้ว +41

    I was just wondering , why to use such a powerful processor for such a simple task , why didn't you use an Arduino, or Esp
    That would have made it so much more cheaper and simpler !

    • @jaredrobinson4558
      @jaredrobinson4558 7 ปีที่แล้ว +1

      Parth Bhat So true

    • @hackershack
      @hackershack  7 ปีที่แล้ว +13

      +Parth Bhat you could if you want. We thought it would be cool to use this with an IoT app like Blynk since the Zero W has built in WiFi. The zero is also only $10

    • @ParthBhat
      @ParthBhat 7 ปีที่แล้ว +3

      Hacker House yup fair enough , but I'd say its way to powerful for such a simple project , its like testing a 1.5v led on 120v Ac

    • @noelgallagher7887
      @noelgallagher7887 7 ปีที่แล้ว

      not even arduino microchip pic can be found for < 1$

    • @hackershack
      @hackershack  7 ปีที่แล้ว +3

      Good analogy. We'll try to keep that in mind for next time.

  • @NguyenieTheDrew
    @NguyenieTheDrew 7 ปีที่แล้ว

    Awesome video guys. Some behind the scenes content would be great!

  • @superriff
    @superriff 7 ปีที่แล้ว +1

    great for POT plants

  • @BitcoinBitz
    @BitcoinBitz 7 ปีที่แล้ว

    Cool Doc Brown type stuff!!

  •  7 ปีที่แล้ว

    Hello, You could solve the same issue with two timers, one link to the light and the other to the pump... However you have greate potential to do things like; humidity sensor for better watering, compensate outside light variations with the lamps, ph of soil for fertiliser, timelapse of the plant (with lamp on) and so on. This would bring real value to the project as the Raspberry Pi is well suited to solve this issues. Looking forward more developed project.

    • @hackershack
      @hackershack  7 ปีที่แล้ว

      +Loïc Rosset yep! That's why it's open source :)

  • @CezarCazan
    @CezarCazan 7 ปีที่แล้ว

    Super cool video. Thank you!

  • @andrewjohnson1628
    @andrewjohnson1628 7 ปีที่แล้ว

    yes please! i would love more videos even if its only in parts

  • @joshuawilson6909
    @joshuawilson6909 7 ปีที่แล้ว

    love the channel guys

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

    Robot, grow my weed. Ok human. Awesome!

  • @ColinsMatas
    @ColinsMatas 5 ปีที่แล้ว

    This project is awesome!!

  • @RavinderRam
    @RavinderRam 6 ปีที่แล้ว

    You are my inspiration bro

  • @circle4922
    @circle4922 6 ปีที่แล้ว +1

    This is reaaly cool, thanks for sharing.
    Could this be easily/reasonably upscaled for larger gardens? Indoor hyroponics or regular container gardening with larger plants/plant numbers?
    Thanks again.

  • @mndnf
    @mndnf 6 ปีที่แล้ว +1

    Perfect for growing weed

  • @Alfakatt
    @Alfakatt 4 ปีที่แล้ว

    Doesn't this still require you to fill up that glass every once in a while? Seems like if you're already having problems remembering to water your plants you'd probably have problems remembering to fill up that glass?

  • @aceldama
    @aceldama 7 ปีที่แล้ว

    nice! one suggestion though: in rclocal you may want to add an ampersand (&) at the end of the line so it runs as a daemon. that way you can still complete the boot if you're connected to a screen and log in, otherwise it will hang at startup.

    • @aceldama
      @aceldama 7 ปีที่แล้ว

      so that line will be:
      python /home/pi/Code/Automatic-Gardener-master/gardener.py &

    • @hackershack
      @hackershack  7 ปีที่แล้ว +1

      Added to the docs

    • @aceldama
      @aceldama 7 ปีที่แล้ว

      this is what makes open source great. keep up the good work. i look forward to seeing what you create. :)

  • @AbreuDan
    @AbreuDan 4 ปีที่แล้ว

    U know what I'm gonna plant.

  • @inhibited44
    @inhibited44 6 ปีที่แล้ว

    Do people have a limit to how much they spend for this type of thing to monitor and water a plant? Maybe it's not a question of money, but wanting to get it done.

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

    Can you customize this to work with my own 260W lights?

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

    nano* Would a raspberry 3 B+ have enough power draw from the usb port for the pump?

  • @matthewleewillis
    @matthewleewillis 7 ปีที่แล้ว

    Interested in bts for sure.

  • @HighTowerNL
    @HighTowerNL 7 ปีที่แล้ว

    Very nice, would it also be possible to check for PH and EC levels in the water and if needed add more PH- and/or nutrients?

  • @oSevenTV_
    @oSevenTV_ 7 ปีที่แล้ว

    Is it possible to control the brightness of the light with the homekit for the raspberry?

  • @xnmartinmx
    @xnmartinmx 7 ปีที่แล้ว

    Oh man, that's awesome

  • @Carltoffel
    @Carltoffel 7 ปีที่แล้ว

    Hi, nice project!
    I could try to wire everything exactly like you did, but I have no idea how to do this in own projects. Where can I learn this electronics stuff with MOSFET transistor and co? Could you please recommend me a book or an website so I can learn this by myself?

  • @athuljohan
    @athuljohan 7 ปีที่แล้ว +1

    Can u make a google lens with rasberry pi?

  • @kaioid
    @kaioid 5 ปีที่แล้ว

    well done !! is there anyway to know the time and quantity of lighting a plant does exactly need ? i dont know ... by using a camera raspberry and mesuring the quantity of smtg ?

  • @olawaleolatunde7600
    @olawaleolatunde7600 5 ปีที่แล้ว +1

    How does he connects the 12v powers supply to the raspberry pi, wouldn’t that fry it up. If anyone could help me out I would appreciate it

    • @vladimirelectronic
      @vladimirelectronic 5 ปีที่แล้ว

      In my project I connect pump with voltage 3-6 V. If you are interested link to video below.
      th-cam.com/video/G7vOe3zC9bw/w-d-xo.html

  • @Zylvian
    @Zylvian 6 ปีที่แล้ว

    Will I be able to bypass any adapters or packs by buying a 5v water pump instead of a 12v?

  • @sumertheory
    @sumertheory 6 ปีที่แล้ว

    can i water 20 plants ? 1 cpu per plant seems kinda wasteful. also if i could control the schedule and amount of water for each of the plants. :)

  • @len.whistler
    @len.whistler 7 ปีที่แล้ว +1

    Soil Moisture Sensor

  • @SumitSingh-pp3ck
    @SumitSingh-pp3ck 2 ปีที่แล้ว

    Wow

  • @kasvith
    @kasvith 6 ปีที่แล้ว

    You could use a NodeMCU with ESP8266 for such simple project(its lot cheaper)

  • @jacobobermeier9822
    @jacobobermeier9822 7 ปีที่แล้ว

    Are you going to finish the new bar you guys were working on?

  • @chlendimounir2834
    @chlendimounir2834 7 ปีที่แล้ว

    Nice soldering lol

  • @jeff5858
    @jeff5858 6 ปีที่แล้ว

    How would one go about building these to sell commercially?

  • @1412497129489rr
    @1412497129489rr 5 ปีที่แล้ว

    Ide buy this from whoever if it was completely ready to go out the box and cheap?

  • @davidson2727what
    @davidson2727what 7 ปีที่แล้ว +1

    Does the light only turn on while the pump is watering the plant?

    • @WayneJohnsonZastil
      @WayneJohnsonZastil 7 ปีที่แล้ว +1

      Saw the code set water and light separately in code.

  • @DerekTascarella
    @DerekTascarella 7 ปีที่แล้ว

    Where did you get the background from in your terminal?

  • @subbaianshankarkrishnaa2969
    @subbaianshankarkrishnaa2969 7 ปีที่แล้ว

    I love to work with these project but I don't know the basic linux and python codings .Can anyone recommend me any?

  • @vigneshyaadav6322
    @vigneshyaadav6322 7 ปีที่แล้ว +1

    Is that a TIP36 MOSFET

  • @InternetExpert
    @InternetExpert 4 ปีที่แล้ว

    How's it work for weed

  • @Eric-the-wise
    @Eric-the-wise 5 ปีที่แล้ว

    Can you share the 3D printer sketch?

  • @itisno1
    @itisno1 4 ปีที่แล้ว

    wait a minute. why are you using the pi to power your grow light? that's way too much draw & you're gonna ruin it. You should be using an interface circuit w/ a separate power source for that.

  • @JerkerMontelius
    @JerkerMontelius 4 ปีที่แล้ว

    You need a dark water bottle otherwise allege will start to grow there.

  • @chibanix1347
    @chibanix1347 7 ปีที่แล้ว +1

    super video could it be passible to add a ph prob ?

    • @savejeff15
      @savejeff15 7 ปีที่แล้ว

      weed grower right here

    • @chibanix1347
      @chibanix1347 7 ปีที่แล้ว +1

      yes and French on top , that s smell bad :-)
      by the way i use ph controlled water on all my indoor plants.

    • @savejeff15
      @savejeff15 7 ปีที่แล้ว +1

      did you ever use ph probes?
      i never found probes that could be constantly installed in a DIY system

    • @chibanix1347
      @chibanix1347 7 ปีที่แล้ว

      there is some you can buy at RS that can be immerse 24/24 and they cost like a 100 usd

    • @chibanix1347
      @chibanix1347 7 ปีที่แล้ว +1

      you can find them in many web site like RS i am using a cheap prob (actually a 10 usd ph tester that i interconnect with the system its tricky but it works i change the prob every 6month

  • @julieb6036
    @julieb6036 7 ปีที่แล้ว

    I'd love bts videos!

  • @JoseGonzalez-rt5fk
    @JoseGonzalez-rt5fk 7 ปีที่แล้ว

    Seems too big and bulky. Maybe hide everything within the plant and put the lights around the edge of the pot pointing towards the plant?

  • @id104335409
    @id104335409 4 ปีที่แล้ว

    Don't you just hate it when you walk in on your plant and IT IS ALREADY DEAD?!? CANT EVEN TURN YOUR BACK ON IT FOR A MINUTE!

  • @adnanshakeel4310
    @adnanshakeel4310 7 ปีที่แล้ว +1

    Hi

  • @Un_Pour_Tous
    @Un_Pour_Tous 5 ปีที่แล้ว

    This sounds like a advertising. And my ad blocker is not happy.

  • @zuroxtv2199
    @zuroxtv2199 7 ปีที่แล้ว

    Hi x2

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

    You've just reached new levels of laziness. XD

    • @hackershack
      @hackershack  7 ปีที่แล้ว

      +jared robinson Automate everything :)

  • @indogoUI
    @indogoUI 4 ปีที่แล้ว

    Just leave the glass of water and pipe, the plant will draw water from the glass. Seriously over engineering

  • @timhawkins6099
    @timhawkins6099 7 ปีที่แล้ว +3

    Do you have the design for the 3D printed part?

  • @jimmcgill1512
    @jimmcgill1512 6 ปีที่แล้ว +1

    Yeah, awesome project...but the Pi seems wasted on such basic functionality. I mean, these functions could be controlled by a simple timer. Would also like to see watering based on soil humidity, ambient temperature etc. Keep up the great work :)

  • @timhawkins6099
    @timhawkins6099 7 ปีที่แล้ว +3

    Add a moisture sensor

  • @raulontiveros8368
    @raulontiveros8368 7 ปีที่แล้ว

    Would you be able to post a video on how you made the 3d printed casing, I use Autodesk Inventor, I was wondering if that would be compatible to 3d print

  • @doctorbarrientos
    @doctorbarrientos 7 ปีที่แล้ว

    Beatiful video and channel, but how come you didn't use thermo retract seals instead of duct tape? Don't mean to bitch, but...
    Anyway, really nice setup

    • @hackershack
      @hackershack  7 ปีที่แล้ว

      +doctorbarrientos didn't have any. It's also electrical tape.

  • @temorob
    @temorob 7 ปีที่แล้ว

    Now that's a whole new level of lazy

  • @codezoo
    @codezoo 7 ปีที่แล้ว

    What model 3D printer do you use?