Automated Indoor Garden (The Garden Project ep. 1)

In the long run I want to make an automated garden setup indoors, with hydroponics and wireless data logging. In this first part I’m beginning it all by creating a little automated watering system for seeds using an arduino and some moisture sensors. I’ll try to grow some herbs as the first test.

Gardening With Cody series:

Music by Epidemic Sound. Want a 30-day free trial? Check it:

Our Patreon:

Schematic: Coming soon
Code: Coming soon

– Grow Light LED Strip:
– Submersible pump:
– Moisture Sensors:
– Arduino:
– 8mm tubing:
– Breadboard:
– Jumper wires:

Website –
Facebook –
Instagram –
Twitter –


  1. Black Beard Projects on December 11, 2020 at 9:30 pm

    Haha!! I knew it!! Seriously I immediately thought about Cody when I saw your post about this on instagram 🙂 Well done as always!

  2. Rara Avis on December 11, 2020 at 9:30 pm

    Hm…not a hydroponic expert, but I wouldn’t be surprised if you got problems with mold if you water from above and keep moist earth covered like that. Again, not an expert, but I think that’s why you’re supposed to water from below and keep the crust dry by making sure there’s enough airflow.

  3. Chris on December 11, 2020 at 9:31 pm

    Now I know exactly why you needed that secret room😉🌿

  4. good goat on December 11, 2020 at 9:32 pm

    Putting the water container and pump on the same level or higher than the delivery tubes would take some stress off of the pump and possibly extend the life of it. There are also inexpensive spray nozzles available on Amazon which might work with the flexible tubing but would work for sure if pvc pipe were to be substituted. A similar concept would work if the system were to be aeroponic and the electronics could be simplified. Great idea with the arduino and sensors, nice inexpensive project.

  5. tazztone on December 11, 2020 at 9:35 pm

    you need to use some better LEDs. even CFL lamps work better than these "blurple". best deal i could find are bridgelux vesta modules. they can even be used for photography /video work because they are CRI90

  6. Mateusz Kowalczyk on December 11, 2020 at 9:35 pm

    Your soil moisture sensors will get corroded very quickly due to the electrolysis if you measure it as often, as presented in the video.

  7. UpAndUps on December 11, 2020 at 9:40 pm

    Love the videos

  8. Tekcor FPV on December 11, 2020 at 9:41 pm

    you have the code for this project

  9. garden ramsey on December 11, 2020 at 9:42 pm

    Plants need space…you have deprived them of that…you nerded it all up its supposed to be simple

  10. basil katakuzinos on December 11, 2020 at 9:42 pm

    I really want to get started with little projects like this, i just dont know what arduino to use, any advice

  11. Nur Afiqah on December 11, 2020 at 9:43 pm

    What is the wavelength spectrum light for the grow light you’ve used?

  12. ciencia freak on December 11, 2020 at 9:45 pm


  13. Dave Tremblay on December 11, 2020 at 9:46 pm

    Hey your schematics and code are still "coming soon"… Can you please update that? Thanks!

  14. Li-Chun CHEN on December 11, 2020 at 9:46 pm

    This is an inspiring idea for self-sustainability, Keep it up! It’s Ligit!

  15. Tossa2000 on December 11, 2020 at 9:47 pm

    is there natural light in the room? plants need that to grow:)

  16. Fortnite CLAN on December 11, 2020 at 9:48 pm

    Er du norsk ?

  17. Gardenisto on December 11, 2020 at 9:50 pm

    I’ve been watching some nerdforge videos, and like what you guys are doing. From experience, I think you will have some future issues with corrosion and bad readings on the soil moisture sensors. There are methods to prevent that, but not with the sensors you are using. Also you can save the hassle/issues by switching to hydroponics, and ebb flow, or just spray/drip system on a timer. I recently posted a diy mini aquaponcs ebb flow system with free 3d print files. I think you could tweak and utilize.

    Here are some links similar to your project, or may be helpful.

    One last note, I don’t see any Lumens output specs on the LEDs you are linking to, but that height, plus the unknown lumen and saturation/light angle, could cause your plants to sprout in a weak and spindly sort of way, if they are sufficient at all. I learned that with anything over 3" using 1watt per channel rgb LEDs here:

    Maybe I am late to the game and just missed the update. If not, I hope you post an update, revisit, and make the improvements with the ESP mcu you mentioned. Looking forward to seeing more on this.

  18. Kelly Smith on December 11, 2020 at 9:51 pm

    You are going to want to replace those clear tubes and containers with something opaque or you will be constantly cleaning them. Algae will grow anywhere the light is able to get in, including the tubing.

  19. Tarik Kadić on December 11, 2020 at 9:51 pm

    Great video. Do you have Garden Project ep. 2 ? All the best

  20. Miz Boom on December 11, 2020 at 9:52 pm

    “Vegetables”. Sure.

  21. Mr Hernandez on December 11, 2020 at 9:52 pm

    I’m building something really similar right now, came to this idea independently of this video… i didn’t think about running the hose along the side, great idea!!

  22. Breiner Cuello on December 11, 2020 at 9:53 pm

    Can i do dis without any processor?

  23. mrman991 on December 11, 2020 at 9:55 pm

    So what happened with this?

  24. Vegvisir on December 11, 2020 at 9:57 pm


  25. Chips on December 11, 2020 at 9:59 pm


  26. Sara Angel on December 11, 2020 at 10:00 pm

    For some reason I thought you were making an automated DOOR…. Guess I need to read better hahahahahaha!

  27. NathanBrutal on December 11, 2020 at 10:00 pm

    That’s ridiculously awesome!! I’m not gonna attempt it but still amazing job!

  28. j w Russell on December 11, 2020 at 10:01 pm

    Nice first attempt. Two comments.
    1. The moisture sensors you are using die rather quickly.
    2. LED strips are rather an inefficient way of controlling LEDs because of all the resistors included. If you don’t want to waste so much electricity, you can make your own strips with no resistors and include a voltage regulator. You’ll have to work out how to connect all the LEDs together (Usually done by a PCB) and use a voltage regulator (Both are quite cheap).

  29. Ollie's Acoustics on December 11, 2020 at 10:02 pm

    Wow I just stumbled on this vid, but really interesting to see your process! Great work man 🤘 thanks for sharing it with us 🔥🔥💪

  30. V B on December 11, 2020 at 10:02 pm

    hm.. why you need 3 sensors if you don’t control each box individually ?

  31. mkcrew225 on December 11, 2020 at 10:06 pm

    You need to increase the light (By a lot) and uncover the soil. It defeats the purpose of having an auto-waterer if you dont have any evaporation from the soil. With it covered it will get moldy very quickly, and that is a sure way to kill seeds and seedlings.

    I would also add a fan that blows periodically throughout the day.

  32. Philip Egger on December 11, 2020 at 10:06 pm

    You wont be happy with these sensors for long. Thres’s a steady current flowing between the two electrodes, so electrolysis will slowly eat them up and produce not-so-healthy metal salts which then will be spreadet in your soil…

  33. cool story bro on December 11, 2020 at 10:08 pm

    nice grow house boyeee

  34. BeerOverFlow on December 11, 2020 at 10:10 pm

    Did you use i3 ?

  35. Ed19601 on December 11, 2020 at 10:12 pm

    Nice, but I fear your soilsensor did not last long

  36. CrankyCoder on December 11, 2020 at 10:14 pm

    I like it. simple and very effective!

  37. Ed19601 on December 11, 2020 at 10:15 pm

    3 years down the line you probably found out these sensors are total crap

  38. Chris Douglas on December 11, 2020 at 10:17 pm

    *_I already have one and I love it I am getting another one now love these>>>_****_  . They are very easy to set up and to maintain they are fantastic ._*

  39. Baka Pierre on December 11, 2020 at 10:18 pm

    where is the update? or has it not been done yet? I wanna see some growth. get your mind out of the gutter

  40. Geneva Tungate on December 11, 2020 at 10:19 pm

    Guess it’s safe to say you aren’t really going to put the schematics and code any time soon.

  41. Chibi Girl on December 11, 2020 at 10:21 pm

    Drainage holes?

  42. Guus te Woerd on December 11, 2020 at 10:21 pm

    Wich relay do You user?

  43. +Tec on December 11, 2020 at 10:21 pm

    Great idea. I really like this project. That’s what you’d think if you read natural nerd.

  44. ksm109 on December 11, 2020 at 10:23 pm

    You should isolate each box to avoid over watering or introduce an electronic valve system to route the water to the boxes individually. If Box 1 is too dry but Box 2 and 3 are at the proper levels, the sensor will trigger the pump (unless your code says otherwise) and then water would be pumped through the entire system and could possibly over water the other boxes. Great video!

  45. Donovan Gregg on December 11, 2020 at 10:24 pm

    I would suggest adding some gravel in the bottom of the containers and some holes to allow water to drain out. Otherwise, you just built a really cheap mold growing machine. Also, maybe do a single pump per box you are monitoring in case there is a different plant that needs a different watering schedule or water saturation. The way you have it setup now is that the lowest common denominator will trigger watering for the whole system. You may have the other two containers over watered, or worse, overflowing with water if one of the sensors fails or reads below the triggering event.

  46. Tessa Rooker on December 11, 2020 at 10:25 pm

    Is this a minecraft tutorial

  47. cmdraftbrn on December 11, 2020 at 10:26 pm

    interesting idea

  48. Jeffrey Jr Chia on December 11, 2020 at 10:26 pm

    Hello @nerdforge 😁 can i get the coding ?

  49. bdbgh on December 11, 2020 at 10:26 pm

    Good to know that you’re a fellow fan of cody

  50. Markus Szögi on December 11, 2020 at 10:27 pm

    Just ordered components, want to do the same, just the code is still missing… Please!!!

Leave a Comment