The last couple of weeks I was spending my free time to understand and building a Hydroponic system to grow vegetables in my Apartment’s Balcony. I just don’t want to build a normal system that controlled by a timer, instead I want to build a system that I should be able to monitor even I am not at home, change watering schedule using my mobile device.
Before we jump into details, let me give you a brief about Hydroponic.
What is Hydroponics?
In simple terms, hydroponic is a system where you can grow vegetables without soil, mix the required nutrients in water and feed directly to plants. Advantage of this system is, we are feeding plants what they want, instead plant hunting for the nutrients from soil. Also less consumption of water as we reuse the water.
If you search in google you will get more details of Hydroponics. I am working on a subset of Hydroponic called Aeroponics, where plants grow vertically. I made the vertical growing tower based on the method described by Gunnar Shaffer.
Any Hydroponic system needs water circulation using a water pump, I used a submersible pump bought fromEbay for 225.00 INR. This pump should pump water in a periodical manner, say water for 15 mins then sleep for 60 mins and the cycle continues. We can use a timer to do that, it will cost from 1500 – 2500 INR. I decided to use one of the Raspberry pi lying in my table.
Why Raspberry pi?
As a programmer, this small brilliant device give me the flexibility of controlling the system with the programming language of my choice. For this system I used Node js platform to build the controller system. I spent a night to build the basic system that can turn on/off any device in a specific interval and some REST api’s through which mobile device can interact. Later I spent several nights to polish and enhancing my system.
For my testing I used a breadboard to turn off/on one LED. After I successfully controlled the LED, it’s the time to control the Electrical motor. I bought a 12v single channel Relay from ebay for 99.00 INR. It can control one electrical device, in my case the submersible water pump. This post will give you an idea about how to connect the Relay to your Raspberry pi.
After I completed the system running in Raspberry pi, I decided to write the application for the mobile device. Through which I can interact with the system. As of now the application can
Turn off the pump, in case of maintenance.
Schedule watering interval.
Turn on motor to water immediately.
The mobile application is written using Cordova platform, so that app can run on my Windows or Android devices.
Suggestion system for nutrient quantity based on the previous data.
Distributed cluster of Pi based Aeroponics blocks controlled by a server.
Connect Water level monitor to Rasp pi and notify if water level of the tank goes down.
My wife, for her support and encouragement, for all the crazy stuffs that I am experimenting with.
My father who guides and clarifies all my question related to Electrical devices and suggestions to improve the system for better performance.
Gardenguru for providing me with key information like measuring and controlling ph and EC level. I also bought the necessary items from them like Net Cups, Hydrotons, Nutrients, etc. They have a shop near to my home, I go there and spent time talking with them. They are very enthusiastic and provide with any info about Hydroponic to a newbie like me.