So after researching online which node I would use for the sensors/actuators network, I first had a look at the Jeenodes as they are quite popular and cheap. The main issue today is that they are using a RFM12B radio module from HopeRF, and this part number have been phased out last year. The replacement unit is the RFM69W, which is not yet supported by Jeenodes. So far, the best developments made around the RFM69W/HW and Arduino comes from Felix Rusu of LowPowerLab: the Moteino.
As it was designed to be a wireless node, the RFM69W is directly soldered on the Moteino pcb and there are different options for antennas (no antenna, 1/4 wavelength wire, SMA connectors, etc.)
There is no FTDI chip on it to save space and also costs.
For the gateway, you need a Moteino USB as this one has to be permanently powered, the USB connectivity & power feed is a better solution.
I also took a Power Shield as it drives & charge a LiPo battery and provide juice for the node. Once assembled with a cheap HK$45 LiPo pack from Sham Shui Po, it looks nice !
Now the tests. Once the library installed, there is an exemple for the node, and one for the gateway. The gateway still plugged to the computer, and you open the Serial monitor inside Arduino IDE, and the strings start to be transmitted.
The range is more than what is needed, but it will help to have a wireless connection between the sensors (pH, Water Temperature, Air Temperature, Humidity, Light, EC, etc), the actuators (pH up, pH down, Nutrients A, Nutrients B, Water), and the controller (Raspberry Pi with IoT software).
Grow your own vegetables on your balcony. A geek experience at the 38th floor !
Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts
Tuesday, November 4, 2014
Sunday, November 2, 2014
Installing the perilstatic pumps
I've bought 5 perilstatic pumps on Taobao from Kamoer (KPP-S06-DG-C0). They are quite cheap and the only drawback is, like all perilstatic pumps, the tube has to be changed every 6 months or so. You better order some silicon tubing at the same time.
The big clear IKEA Trofast container that was helping algae to develop will now be used as the solutions storage. An additional small Trofast will get the pumps.

I've drilled 5 holes (30mm diameter) in zig-zag (4 cm far from each center, the two lines are 2cm far from each other).
5 holes will be drilled for the silicon tubes to reach the bottles stored underneath. And one more for the wiring. I'll put the electronic board with the TIP120 transistors and the Arduino in that level too. You'll need another hole to reach the motor poles.
I've selected 12V pumps because I'll have the solar panels feeding a 12V battery system, so it's much simpler that way.
The system can add pH+, pH-, nutrients A, nutrients B solutions to the circuit. One water jar will be added to the system to flush or add water to the circuit.
The flow of each pump need to be calibrated as it depends on the section of the silicon tube. So for the water jar, you better have a bigger section (-S10).
The big clear IKEA Trofast container that was helping algae to develop will now be used as the solutions storage. An additional small Trofast will get the pumps.

I've drilled 5 holes (30mm diameter) in zig-zag (4 cm far from each center, the two lines are 2cm far from each other).
5 holes will be drilled for the silicon tubes to reach the bottles stored underneath. And one more for the wiring. I'll put the electronic board with the TIP120 transistors and the Arduino in that level too. You'll need another hole to reach the motor poles.
I've selected 12V pumps because I'll have the solar panels feeding a 12V battery system, so it's much simpler that way.
The system can add pH+, pH-, nutrients A, nutrients B solutions to the circuit. One water jar will be added to the system to flush or add water to the circuit.
The flow of each pump need to be calibrated as it depends on the section of the silicon tube. So for the water jar, you better have a bigger section (-S10).
Maybe I'll add the batteries for the solar panels in that tank too.
Tuesday, October 14, 2014
Calibrating the perilstatic pump
So I received the pumps ordered on Taobao. As many forums gave various feedback on these pumps I decided to calibrate them.
In fact, for the experience, I added a cooking scale under the receiving tank and measure the water weight... as 1cc = 1 gram, it is quite easy to measure !
I ran some tests and finally, 60s equal 30cc. Easy, eh ?
To drive the pump, it is quite easy: a single TIP120, a 1K to 3.3K resistor and a power supply. Schematics & explanation can be found here.

Using a simple diagram to drive them with the Arduino, I ran the pump for a minute and measure the amount of water that have been moved from one container to another.
In fact, for the experience, I added a cooking scale under the receiving tank and measure the water weight... as 1cc = 1 gram, it is quite easy to measure !
I ran some tests and finally, 60s equal 30cc. Easy, eh ?
To drive the pump, it is quite easy: a single TIP120, a 1K to 3.3K resistor and a power supply. Schematics & explanation can be found here.

Using a simple diagram to drive them with the Arduino, I ran the pump for a minute and measure the amount of water that have been moved from one container to another.
Thursday, August 21, 2014
Why hydroponics ?
We live in Hong Kong, Kowloon side... on the 38th Floor of a tower, and we're lucky to have a balcony. So I thought we could plant some vegetables and herbs for cooking and fun too... but then I realised that I would have to bring soil (heavy), build a structure like these raised growing beds to bring the plants to get some sun, and water them quite often... and this balcony doesn't have water, not electricity...
So, I looked for an alternative where the amount of water would be limited, more or less a closed circuit and also a system that work in a hot and humid environment...
Hydroponics !
But, I can't build a weed grow chamber on my balcony ;) ... so it has to be light, easy to build and easy to disassemble if needed. Then I found the Eliooo book. It describes techniques and setups that can be done using IKEA articles. As IKEA is available in Hong Kong, and pretty cheap, let's give a try.... and if it doesn't work, then my kid can store his toys in the Trofast buckets :)
Here is the shopping list:
- Trofast Storage box (the water tank) black as the algae will develop in the clear version. IKEA# 902.525.74 Qty: 1
- Trofast Storage box (grow beds), green, because it is opaque. IKEA# 201.416.69 Qty: 3
- Trofast Lids. IKEA# 701.362.03 Qty: 4 (at least)
- Aquarium Water pump (got one with 3m elevation, 430gph) & 16mm tube
- Aquarium Air pump & 5mm tube & Air Stone
- Net pots
In the book, they also use clear aquarium tubes, which is good for air distribution, but not for water...
The wood plank and shelves are not available in Hong Kong, and I was worried of the wind we can get in Hong Kong during Typhoons, especially on the 38th Floor. So a big wood plank flying on my balcony didn't inspired me much... so I changed my design to a lighter structure made of PVC, as many Hydroponic DIY project.
Libellés :
Arduino,
DIY,
Hydroponics,
Raspberry Pi,
Solar Panels
Subscribe to:
Posts (Atom)









