loading

I've always wanted to make a little larger Arduino project from scratch.

Therefore i decided to make this grow box. This is maybe more like a ''look what I made'' instead of a Instructable, but i will try to make it like a Instructable so others can make this or steal some ideas.

First see the video !

What should the Grow Box do?

The Grow Box have many tasks.

Automatic watering

It shall ensure that the earth constantly keeps perfect moisture. It can also be adjusted so if I'm planting other plants that need drier or wetter soil.

Humidity and temperature

To ensure that the plants have a good environment, it is important to have the right temperature. Since I use a DHT11 that have both humidity and temperature sensor inside it is also possibility to monitor humidity.

Automatic lighting.

As everyone know, plants need light.(most of them) Therefore, I have used LED light to simulate daylight. I'm not sure that this will work the same in practice as in theory. I know that I could have use red and blue light to boost the plant growth, but didn't think it looked just as nice. These lights are controlled by a timer that will activate the light at 06:30 to 22:30 on Mon-Fri and 10:00 to 23:00 on Sat-Sun. (Sorry no AM/PM)

RGB

RGB led that is mounted in front of the box is an important part to monitor the plants and the box. I will set up a code that light the RGB when something is wrong or everything is OK.

Green light - Empty water tank

Red light - Too hot

Blue light - Too cold

White light - Everything OK

Here is it possible to add more codes and the RGB has many color left for use. It is possible that i'm also going to add a color for air humidity as well.


Before I start I want to say that i neither am a carpenter, welder, electrician, programmer or gardener. Everything is self-taught and I can therefore understand that others have easier and better solutions. I'm also Norwegian, so my English may not be the best. Hope you understand.

Step 1: Parts and Tools

Here I will try name all the parts and tools You may not need all the parts and tools, but this is what i used. I will definitely forget some, so just ask me if you have any questions.


Parts I used:

2x DC to DC converter 1,5A

1x DC to DC converter 5A

1x Timer

1x Arduino UNO

1x DHT11

6x 1w LED

3x TIP120 transistor

2x 5v Relay

2x Red LED

1x 12v pump

1x Water level switch

1x Plastic bucket

1x Prototype PCB

3x Diodes

1x 12v 2A Power Supply

1x ESP8266

1x Soil Moisture Sensor

20x Wire to Board terminals

1x Potentionmeter

2x M8 Steel Washer and Nut

150mm Threaded Steel M8

1m 6mm Hose

2m Hobby Plate 170mm x 12mm

1m Wood Trim 12mm x 12mm

1m Square Steel 30mm x 30mm

1,5m Steel Trim 20mm x 3mm

Metal plate 400m x 240mm x 3mm

Some Paint

Sanding Paper

Heatsink Pasta

Some female and male PCB headers

Resistor set

Screws

Solder Tin

Different wires 20, 18 and 16 AWG

Soil

Plastic

Plants

Seed

Tools I used :

Solder Iron

Super Glue

Wood Glue

Hot Glue

Dremel

Drill

TIG

Grinder

Miter Saw

Screwdrivers

PC with Arduino IDE

Multimeter

Step 2: Making the Box

In this step we will do some simple woodworking.

For this case, I just used an old hobby plate that I had lying around.

The first thing I did was to cut plates on 2 lengths of 40cm, with 45 degree angles at the ends. This will be the back and front plate. After this I cut 2 plates of 24cm. There I also made a 45-degree angle on the ends. This will be side plates. When you put together these plates it becomes a box.

Then i made a bottom plate that fits within the box and a middle plate that will be separate the soil from the electronics. As you can see in picture No. 4, I cut in half the back plate. The reason you see in picture No.1 where I use one part of the back plate and the bottom plate to make a tray.

To assemble the box I used wood glue and screws. I used some small woodtrim that I glued in the corners of the box. This made it easier to screw together the box. I also glued and screwed the middleplate.

The last thing before painting was to drill some holes.

Two holes in the middleplate, one where the hose comes through and one where the cable to the moisture sensor is coming through.

Three holes in the back plate on the lower part, two to assemble the steel structure to the box and one between them so the cables have a way to get inside the squere steel, to the top for lighting and humidity sensor

And one hole in the front.,where the sanded plexiglas and RGB led will be placed.

As paint i used som dark brown stain. Be sure to remove all wood glue on the plates and the corners before paintng. If not the painting will not stick there.

See pictures or ask me for more help.

Step 3: Steel Construction

In this step we will look at the steel frame I made.

It will be as a roof over the box. It shall have the LED light, humidity and temperature sensor under the top. To create this I cut a plate about 24cm x 40cm and 3mm thick. Around the plate I made a frame that are 2cm wide to avoid the light to spread into the room and it also hides the electronics attached under the plate.

Then I made the stand that will hold up plate and frame. It is made of 3cm square steel. There are two lengths of 45 and 15 cm which are welded together with a 90 degree angle. Then I welded down the short lenght on top of the plate. It's a little hard to explain, but if you look at the pictures, I hope you understand.

I wanted to use square steel as a cable channel. Therefore I drilled one hole in the plate through the square steel. I also drilled a hole in the end where the cables go into the cabel channel from the box. For assemble the steel structure to the box I welded on two 4cm long M8 threaded steel.

Step 4: Wiring

Here I have attached the circuit diagram. Do not bother you about the fly that joined the scan. Out from the PCB I made, I have used wire to PCB connections. I'll try to explain a bit about each component in this step.

Step Down

I spent three stepdown converters. Two LM317 to power the Arduino and the pump. They have max amp at 1.5A. I first tried LM317 to drive the LED as well, but had trouble with the voltage regulator going to hot. For the LED I used an other DC to DC converter instead, that can give up to 5A.

Power Supply

To power the whole project I just used an 12v 2A power supply.

RGB

The RGB is just coming from the Arduino pins.

LED

To wire the LED's I took the wire through the square steel and up to the plate. I used six pcs 1w LED. I really do not believe it has great significance for the plants but thought it looked nice with light down onto the plants. LED's are controlled by an Arduino output through a TIP120 and a relay. The power comes from the DC to DC converter. The Arduino output is coded so the output from the '' homemade '' timer activates the LED. Se more about the timer in next step.

Moisture

For measurement of moisture in the soil, I used a moisture sensor bought from ebay. It also has a sensor board so we get a more stable analog signal. Two wires going from the sensor board to the moisture sensor. From sensor board to Arduino runs the 3 wires one to A0, one for ground and one to 3.3V. At the start of the project I drilled a hole through the middle plate. The cable for the moisture sensor is going trought there. Hot glued the hole afterwards so it gets tight. The moisturesensor is placed inside the soil when it is in place.

Humidity and Temperatur

To monitor humidity and temperatur I used a DHT11. Where i have used double sided tape and attached the sesnor to the top of the plate where the lights are. I was afraid that maybe the lights would affect the temperature when the sensor was so close. But it did not. The sonsor i connected to digital input, 3,3V and ground. The cable to the DHT11 also goes trough the square sttel, such as the wires to LED's.

Pump

The pump i use is a very simple and small aqvariumpump. It runs on 12v. The pump stands on the bottom of the tank and is secured with hot glue. It is powered by one of the DC to DC converters (stepdowns). From there it goes trough the relay that is controlled from the Arduino trough a TIP120. Although this is a 12v pump I schose to rubn it on 6v so the pressure doesn't get to high.

Level Switch

To keep track of whether the tank is empty or not, I used a simple levelswitch. It is glued on top of the pump and it is activated early enough so the pump can not pump air. The levelswitch simply just work as a switch and is connected from 5v to a digital input. To make sure we get the right signal i use a pulldown resistor. I used 10k.

ESP 8266

The WiFi module that I have added is intended to upgrade the box later on. I will try to get it as an IoT. But as I've wiried it now it works as a warning system when outputs from the Arduino is activated. For example, empty tank or too hot. As software I have used the Blynk app in previous project. But now have problem with the Blynk app does not work on my Andrioid phone anymore. Thing its just an update. For wiring simply follow the wiring diagram. I will come back to ESP8266 when I get the app up working. Remember to set SH_PD high. It is not drawn such in the wiring diagram.

Step 5: Timer

The timer function in the project I was going to code, but after a while i understood that it was very difficult without an additional module. For example, the DS3231SN, Real Time Clock for Arduino But I did't have any when I started my project so I looked for other solutions. The solution was to go to a hardware store and buy a timer for house outlet. Like the one in the picture. So began the project to find a signal in the timer I could use on a input to Arduino. And after some disassembly and testing I found it. Then I drew a diagram of the timer and made an Arduino shield since I began to run out of space. See the wiring diagram to understand how the timer works.

Step 6: Arduino Code

In this step I put the program to the grow box. I also made the code so that I got the opportunity to open the serial monitor and look at different values. This made it easier to troubleshoot when I started programming. See the picture.

As I said at the start of this project, I do not have much experience in programming, so I can understand that others have better solutions. The comments are on Norwegian in the program.

Step 7: Planting

Then the planting. First thing I did was to seal the space between the middle plate and the walls, then between the hose and the cable and the middle plate with some silicone. After that I got hold of thick plastic that I cut and stapled it to the walls. See pictures. Before I had some soil in the box I made holes several places on the hose and cut it to right length.

Then I filled the soil halfway full before I lay the hose over and placed the moisture sensor between the soil. When everything was in place it was just the planting that remained. Since this is a bit wrong season to plant on it was hard to find seeds in the store. Therefore I bought two Hyacinth and planted. Also had some lettuce seeds laying around that I planted between them. They haven't grown up up yet.

Step 8: The Result

I'm pretty happy with my project. The goal was to learn more about Arduino and make a cool project.

It works very well now and the plants grow. Going to add a picture later where you can see progress.

Something that I want to do later is to get the box an IoT with ESP8266. I hope the Blynk app is up running soon.

This is my first Instructable, I have also learned a lot about making Instructables. Next time I make project I'll try to take more important images. I see now I could have taken pictures that showed the process better. But all in all I'm satisfied.

Please let me know what you think about my grow box in the comment section below

Hope you like my project!

Feel free to vote for me in the contest if you feel this project is a worthy winner.

Peder Ward

<p><strong>Feel free to vote for me in the contests if you feel this project is a worthy winner. Going for indoor gardening :)</strong></p><p><em>Thanks for all the comments. Realy help me to do more since this is my first project.</em></p>
<p>Great looking grow box! With an adjustable arm to raise/lower the light hood it could double as a seed-starter. Nice work, something you have a right to be proud of.</p>
Thanks Bruce. I thought about installing some sort of adjustment to the light hood, but it would have taken more space and I didn't have a plan to get it look so nice.
<p>HI, I was looking for something like this to grow veg and salads in a van. Looks like it would work as it doesn't require daylight, also the temperature and humidity in a vehicle changes dramatically, so the sensors should fix that. The box is also good as I could find space for it and possibly have a stack of them.</p>
<p>Sorry for late answare, didn't get any notification. Yeah, just steal me idea, glad you liked it :)</p>
<p>Hey! Very cool project, I'm gonna try it! I have a few doubts though.. what library did you use for the DHT? The one I found doesn't have the same functions.. oh, and the Vcc pin is connected to both the relay and the 5V pin on Arduino?</p><p>Thanks!</p>
<p>nice and clever project </p>
<p>Thank you KostasK8 :)</p>
<p>congrats on becoming a winner on the tech contest.!!</p>
<p>Thanks :)</p>
<p>Nicely done. About the probes: head over to hackaday.com and look up the Vinduino project here: </p><p><a href="https://hackaday.io/project/6444-vinduino-a-wine-growers-water-saving-project" rel="nofollow">https://hackaday.io/project/6444-vinduino-a-wine-g...</a></p><p>Scroll way down the page and you'll see how he makes moisture sensors out of gypsum for pennies.</p>
<p>Thanks !</p><p>I couldn't find what you are linking to.</p>
<p>Hmm. Try here: </p><p><a href="http://vanderleevineyard.com/1/post/2013/12/gypsum-sensor-casting.html" rel="nofollow">http://vanderleevineyard.com/1/post/2013/12/gypsum...</a></p><p>That's what the project page itself links to.</p>
<p>Yeah, that's well made probes !</p>
<p>AWSEOME</p>
<p>Thank You !</p>
<p>Really great project.</p>
<p>Thanks Elecrow ! </p>
<p>Now when the flowers have bloomed it's absolutely fantastic walking in the room. The good smell of summer and the nice color of the flowers really paid of this project ! <strong>Make you one !</strong></p>
<p>Great project. I would definitely think about modifying it to have an adjustable height to accommodate different plants. </p>
<p>This was only a test project with this plants. I will get some plants that won't get so high and looks cool. I just didn't though the plant would get so big! </p><p>But it would be doable to make something like a old fashion telescope adjustment. Then I could just adjusted the roof by pulling it up and tighten with a set screw or something.</p><p>Thanks ! :)</p>
<p>That is exactly what I was thinking. Simple, easy, and in expensive. </p>
very cool, should consider selling the components assembled I'd consider buying<br>
<p>Thank You Trevor :)</p><p>Have considering that, but don't know where to start ...</p>
maybe check with an extruded aluminum housing that would house all the electronics and a user could wire it up just like you do a car stereo amplifier. that would allow a user to have some creative liberty with the box design but the electronics are protected and safely done.
<p>your English is just fine!</p>
<p>I struggled to read though, but it doesn't matter! :) Cool project!</p>
<p>Yeah, I think someone will do that. Sorry... Hope you understood though :)</p><p>Thanks !</p>
<p>Haha, thanks ! :D</p><p>I hope everyone understand me.</p>
This is how big the plants are now. I may get a problem with the hight... haha. They have grown so fast and it's look like the light works very well. Have the same plant in another room, that plant haven't grown the half of this plants yet.
<p>I have an idea about the height problem.You can try to make auto lifting lights with custom stepper motor system or actuator with some ultrasonic sensors.</p>
<p>This was only a test project with this plants. I will get some plants that won't get so high and looks cool. Anyone have a suggestion ? :)</p><p>Nice idea though !</p>
<p>you have my votes bro! it's a good project, soon I will move to Sweden, and to grow up flowers during Winter, this is perfect, so in Spring are ready to go...Thanks</p>
<p>Thank You ! </p><p>I live in Norway and love this box now. The plant are growing very fast, and I'm positive the lighting are working well to !</p>
<p>Anyone want to make this and sell it? If so, let me know! Great idea!!</p>
<p>Thank You :)</p><p> How much do you think a box like this is worth ? </p>
Peder-<br><br>Well, I would start with the cost of the parts involved and come up with an hourly rate (labor). I seriously love the concept!
<p>I can see what I can do.</p><p>Thanks again :)</p>
<p>cool project but... How much did the whole thing cost for you? How much do you think it will cost for me if I want to buy all of the stuff</p>
<p>Components around 50$. The wood and steel was something I had laying around so I cant say the exact price. Other components was things that i found home, bucket, hose etc. Maybe around 70$ for everything.</p>
nice Job man, I was making the same thing, but using an old acquarium instead a box....most of the job was did it.
<p>Thanks Charlie !</p><p>Excited to see your project here on Instructables.</p>
<p>Cool Instructable</p>
<p>Thanks Jonathan ! :)</p>
<p>This is amazing! you got my vote !!</p>
<p>Thanks ! :) </p><p>Mean a lot !</p>
<p>bellissimo, ti invidio positivamente</p>
<p>Grazie ! :)</p>
<p>what did this cost to make? Because I want one.</p>
<p>Components around 50$. The wood and steel was something I had laying around so I cant say the exact price. Other components was things that i found home, bucket, hose etc.</p><p>Feel free to make on. It's was a very fun project to do.</p>

About This Instructable

51,233views

882favorites

License:

Bio: Expert in nothing, interested in everything.
More by Peder Ward:DIY Pokémon PSA card stand with RGB light from Arduino DIY Hot Beverage Monitor - using the DS18B20 and Arduino Nano DIY Arduino Automatic Grow Box 
Add instructable to: