I'm planning a project which consists in using a wireless sensor network for performing irrigation. I have an idea of what i want but i'm having a hard time in choosing the appropriate hardware. The system should work as follows:
Sensors should measure the soil moisture levels and transmit it to another node, which is the gateway of the network. This gateway transmits the data gathered from all the sensors to the cloud. The cloud decides when irrigation is needed (based on the sensors measurements) and when that happens it informs the gateway of the network, which will order an actuator node to perform the irrigation. The sensor/actuator nodes should used zigbee or 802.15.4 to transmit the data to the gateway node. The gateway node should use zigbee as well as other long range communication, for example GRPS.
All this wirelessly.
So my doubts are the following:
I've been searching for a sensor/actuator node and i found the ecoduino. Could this suit to my project? Can I make the changes to work as I need? Is there a better solution than using ecoduino?
If not using the ecoduino, what hardware do i need for watering? I'ld need a board like arduino uno and then what kind of hardware do I need to water?
For my gateway node I need a board with 2 communication interfaces. What do you think is the best hardware for doing this?
All nodes should be battery powered. What do you think its best for me?
don't know the ecoduino (from my head and too lazy to google;) , do you have a link?
If it is Arduino based you can modify it
yes, there is always a better solution (depends heavily on how you define better
depends, how many hoses do you want to control, how many sensors, how many valves Can you post a drawing of your ideas.
For the gateway you might consider a Mega as it has more HW serial ports to talk to zigbee/gprs (but that also depends on HW chosen
big batteries Learn how to work with zigbees in sleep mode to extend the live of the batteries. IIRC zigbees can measure the battery voltage so include that in your program that they also send the battery status besides the soil moisture level.
This will probably trigger more questions, so shoot
I'll only have an actuator per node. I'am not sure if i'll have a sensor and an actuator in the same node. It depends on the distance i can have between the nodes. However, at maximum, a node will have an actuator and a sensor. I've seen a few actuators but i'm not sure which one is the best (e.g. an immersible pump, a solenoid valve...) and what more hardware do i need to perform the watering.
I've found the Gboard (http://imall.iteadstudio.com/im120411004.html) to act as the gateway node, but for what i've seen the 2 communication interfaces (zigbee and GPRS) cannot perform at the same time... that may be an issue... but do you think a mega board is better for my case?
So i probably have to choose first the hardware and then choose the best power options right?
Ok! I’ll try to explain how the system works.
The measurements collected are soil moisture measurements only. These measurements are collected by a soil moisture sensor in a period of about 1/30min. The sensors are connected to a board, which composes a sensor node. When collected, each sensor node sends the measurements (in bytes) to the gateway of the network (a board e.g. mega or gboard). The gateway node forwards the data to a cloud platform which will save the data and process it in order to decide wether to irrigate or not. When irrigation is needed, the cloud platform informs sends an irrigation order to the gateway node. The gateway node forwards it to an actuator node (a board with an actuator e.g. immersible pump) in order to perform the irrigation. The actuator is controlled and powered by the board. Please note that all the components of my project need to work wirelessly only.
Nfds talked in his second post about doing a 5-8 network nodes, isn't it too expensive for working with gprs for such network?
You talked about pumps and solenoids, what kind of them do you have selected for this project?
Related with previous question, what kind and maximum charge of batteries have you choosen?
And one last question, could you tell us what type of sprinkler will you use?
And a little help.
This network seems to be enough for a home garden, so I think it would be better a wifi wireless system, with enough range for transmitting data, also bidirectional communication. Moreover you can send all data to cloud from your gateway with only one interface.
Gboard seems to be a complete system to work as you want, but if you only want to send data messages there are more cheaper devices, or even arduino shields to this function.
For the low voltage valve actuators, have you looked at magnetic latching solenoids? I found some that seem to be universal replacements for most sprinkler valves in the US. $10 each at Home Depot These solenoids need 13VDC for 20ms and they latch open, so no power needed to hold them open. Reversing polarity (possibly using an H bridge) for the 20MS will force them to close. Here is the HD link:http://www.homedepot.com/p/Orbit-Solenoid-for-Battery-Operated-Timer-57861/203151515#.UgrFppjR1FI
I am trying to figure out how to get the Arduino to handle the multiple H-Bridges.
Eric