Hyduino Automated Hydroponics With An Arduino
Hyduino Automated Hydroponics With An Arduino
Table of Contents
Step 2: Building . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Step 3: Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Step 4: Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Step 5: Congratulations! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
Author:austinsimonson Facebook
"Things dont have to change the world to be important." Twitter: @PancakePatrol, Google+: Austin Simonson
Basically, hydroponics is growing plants without the use of a traditional dirt medium by using a nutrient rich water solution. Those mediums used to "plant" in range from
fiberglass to sand and from fired clay balls to nothing at all. Several branches of hydroponics include aeroponics, aquaponics, etc. But WHY would I want to take all this
extra time and effort to grow my plants in this "special water"? Well, hydroponically grown foods not only taste better and are more nutritional, you can change the
properties of your food, monitor what goes into your food and pollute less. You can also grow more in less space. This is especially great for those people that that
have limited areas in their backyard to grow in. With the right plant selection, you can also keep pests away; a citronella plant has oils that keep away mosquitoes and
other pests. Now if this wasn't enough for you to jump right in to hydroponics, listen to this: hydroponics uses 70 to 90 percent LESS water than conventional growing
does.
Remember, if you like this Instructable, please be sure to Favorite it, Subscribe, and vote for it in the Microcontroller Contest!
These aren't necessarily the cheapest places to get these items, so if you're not in a rush, consider searching on a place like dx.com or on other eBay listings (may or
may not be shippnig from China) to find the best possible deal.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
Image Notes
1. You actually need more than these...this was for the first version, which I
scrapped for a better way.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
Step 2: Building
What I ended up doing was constructing basically a "table" for the system to sit on. The weight of the water in the drain pipe makes it heavy enough for it to easily stay on
without a problem. The nice thing about this is that it can be easily scaled to almost any size and all the instructions stay the same (except for the actual construction of
the system of course) - there would be no need to change the code...maybe just things like adding more lights, fans, etc.
I don't have a digital copy of all the dimensions of the pipe if you're looking to make a replica of what I've done, but I'll try to get everything entered in within the next
couple of days.
For the reservoir, you'll need to drill two holes for the float sensors - one at the very lowest your water can be and one at the top - and also a hole for the solenoid to fit in
(which you will glue in). To connect a garden hose to the solenoid, I used 3/4" hose to pipe adapter made by Orbit (found at Home Depot) and a 3/4" to 1/2" reducer to
get it down to the right size.
Once you've constructed the frame, you'll want to wrap the entire thing in a transparent plastic, of which you'll have to cut out a couple holes for your fans. With the drain
pipe, you'll want to drill out about 3 1/2" or so holes with a hole saw so your pots will fit in. Cut a hole in each end of the drain pipe - one is where water is pumped in from
the reservoir, the other is where water drains out back in to the reservoir to be recirculated.
I never got finished with the container for everything to fit into, however, I'm sure that shouldn't be a problem for most of you to figure out. I took the cardboard that my
relay shield came in and am working on getting everything to fit in there, since that's a really easy way to put it all together, but you can use whatever you'd like.
Image Notes
1. Soooo much easier than a hacksaw!
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
Image Notes
1. The lights go up here.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
Image Notes
1. Waiting for the silicone to dry...
2. Taped it so I didn't have to hold it for hours!
Step 3: Wiring
Here is a list of the pins:
A1 - Photoresistor
A2 - pH Sensor
7 - Lower Float Sensor
8 - Upper Float Sensor
20/21 - RTC
43 - pH Min Peristaltic Pump (Relay)
45 - pH Plus Peristaltic Pump (Relay)
47 - Solenoid Valve (Relay)
48 - Grow Lights (Relay)
49 - Fans (Relay)
50 - Temperature/Humidity Sensor
53 - SD Card
For the float sensors, you're going to have to add in a resistor on each, as shown here, for it to work effectively with your Arduino.
Image Notes
1. Using one 12 VDC transformer to hook up 2 pumps since only one will be on at
a time.
2. Extension cord to hook up grow lights.
3. For the solenoid.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
Step 4: Code
Attached is the most current Arduino code for the project. It will be updated based on feedback given by others; I don't expect my way to always be the best way! I
haven't had weeks to test it "out in the real world" so there may still be a few kinks in it. Be sure to adjust the lux value for measuring the time for the supplemental
lights...the optimal value may vary depending upon your sensor. Also, if you're using a different pH sensor, the calculations may need to be changed to fit that particular
one. Big thanks to BillieBricks for working out a lot of the code.
File Downloads
Also, please vote for me in the Microcontroller Contest! It would be amazing to have any of those prizes that they're giving out! Thank you!
Related Instructables
Advertisements
Comments
36 comments Add Comment
I feel that there are many one who buy it with some plants with ethernet shield to control via internet.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
robbtoberfest says: Nov 16, 2014. 4:17 PM REPLY
Sweeet!!!!
One question though. In the pin numbers you mention pin 53 for SD chip select, but you use pin 51 and 52, which are used for communicating with the SD
card. Is this a typo or is this really true, cause if it is, you won't be able to use the SD card.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
rgonzo2 says: May 26, 2015. 5:24 AM REPLY
You're young; here's a lesson in life, your reputation is more valuable than what internet people think of you, stealing ideas and taking credit for them as your
own is a huge blow to your reputation and credibility. Especially having used your actual name with a picture attached.
http://forum.arduino.cc/index.php?topic=130344.0
http://forum.arduino.cc/index.php?topic=130344.0
https://www.youtube.com/watch?v=bbRGrWuBp-Y&feature=channel&list=UL
You shouldn't take credit for things that you didn't do.
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/
JamesNewton says: Nov 17, 2014. 2:55 PM REPLY
Great project! Love the design and documentation. I have one concern: How long that Ph sensor is going to last, or more importantly, how long it will give
accurate readings. Can you please check it and let us know how long it actually works?
http://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/