Soil Tensiometer Sensor Network
-
My first post here. I am building a tensiometer sensor network. So far I've successfully built and calibrated a soil moisture measurement device (uses gypsum block sensors) which works on ATmega328 mini pro and supporting 4 sensor-blocks(on one node), measures soil moisture every 30 minutes. It's solar powered and also has a rechargeable battery.
While researching for different ways to create a network of these that can communicate wirelessly with a central console to log data, I came across 'MySensors' and cant seem to appreciate it enough! (No, Really.. Great Job!)
I was thinking of building my own console to communicate with the sensors (tensiometers - in my case) and log data, and after reading about "Vera" controllers, I am debating if I should use one of those instead. I could use some help with the following:
- Since I do not have any actuators in my project, (only passive data logging) is there an alternative way to communicate my data from the gateway to a computer terminal where I can log it? (instead of using of using a Vera Controller)
- If I do buy a Vera controller, can their GUI be customized at all? I am looking for ways to display the logged moisture data in graphs according to different sensor zones.
Appreciate any/all the help!
(P.S. Is this the right place to ask such a question?)
-
My first post here. I am building a tensiometer sensor network. So far I've successfully built and calibrated a soil moisture measurement device (uses gypsum block sensors) which works on ATmega328 mini pro and supporting 4 sensor-blocks(on one node), measures soil moisture every 30 minutes. It's solar powered and also has a rechargeable battery.
While researching for different ways to create a network of these that can communicate wirelessly with a central console to log data, I came across 'MySensors' and cant seem to appreciate it enough! (No, Really.. Great Job!)
I was thinking of building my own console to communicate with the sensors (tensiometers - in my case) and log data, and after reading about "Vera" controllers, I am debating if I should use one of those instead. I could use some help with the following:
- Since I do not have any actuators in my project, (only passive data logging) is there an alternative way to communicate my data from the gateway to a computer terminal where I can log it? (instead of using of using a Vera Controller)
- If I do buy a Vera controller, can their GUI be customized at all? I am looking for ways to display the logged moisture data in graphs according to different sensor zones.
Appreciate any/all the help!
(P.S. Is this the right place to ask such a question?)
This is a great place to present your project.
Will be interesting to hear more about the gypsum block sensor and how to to use it with arduino.You don't have to buy a vera to get started logging data. There are several open source controller options that has logging capabilities running on low-tech hardware.
-
My first post here. I am building a tensiometer sensor network. So far I've successfully built and calibrated a soil moisture measurement device (uses gypsum block sensors) which works on ATmega328 mini pro and supporting 4 sensor-blocks(on one node), measures soil moisture every 30 minutes. It's solar powered and also has a rechargeable battery.
While researching for different ways to create a network of these that can communicate wirelessly with a central console to log data, I came across 'MySensors' and cant seem to appreciate it enough! (No, Really.. Great Job!)
I was thinking of building my own console to communicate with the sensors (tensiometers - in my case) and log data, and after reading about "Vera" controllers, I am debating if I should use one of those instead. I could use some help with the following:
- Since I do not have any actuators in my project, (only passive data logging) is there an alternative way to communicate my data from the gateway to a computer terminal where I can log it? (instead of using of using a Vera Controller)
- If I do buy a Vera controller, can their GUI be customized at all? I am looking for ways to display the logged moisture data in graphs according to different sensor zones.
Appreciate any/all the help!
(P.S. Is this the right place to ask such a question?)
-
This is a great place to present your project.
Will be interesting to hear more about the gypsum block sensor and how to to use it with arduino.You don't have to buy a vera to get started logging data. There are several open source controller options that has logging capabilities running on low-tech hardware.
-
@hek From your knowledge and experience, is there a particular controller that you think is better suited for data logging and possibly displaying (PC interface) ?
Meanwhile I will investigate further into all the different controllers listed.
-
Hello,
It seems you are more advanced than me on the sensors, here i my project I've not yet completed and I would love to know how you did it:
soil-humidity-and-temperature-sensor-watermark-davis-granular-matrixRegarding data logging, I have made my own perl script to read the gateway and use the data, I put it in a file, but I post it on a graphing application too so I can have any value I want. I've done that for my gas sensors (more than 10 !).
-
Shamelessly self-promoting my post, but it really is cheap: http://forum.mysensors.org/topic/719/graphing-sensor-data/1
-
I plan to make around 20 more of these sensors, so I am still in the process of optimizing the circuitry, but so far this is what I've done for my prototype node:
Regarding Solar powered:
I used a solar charger module from Seeed Studio (Li-Po rider); its pretty neat, in that it switches power from solar to battery only when needed. Moreover, v1.2 supplies up-to 350mA. I connected a 3.7V 2000mA Li-Polymer rechargeable battery and a 5V 100mA solar panel to this Li-Po rider which sources my Atmega328. The battery continues to charge while the sensor node is sleeping. I logged the sensor data in the ATmega EEPROM every hour. (As itβs not wireless yet! - that's what brought me to 'MySensors')Regarding sensors:
After researching about the different options available, I bought a few different ones including a Watermark 200SS and Delmhorst GB-1. They are all based on the same principle β change in soil water tension β affecting resistance value. Watermark claims that their sensors do not dissolve. Their stainless steel jacket seems to gives it an increased life. I also created my own sensors, based on some information found on Van der Lee Vineyard blogsite. A simple series of resistance measurements from completely wet to completely dry for these sensors β home made as well as the ones I bought, helped me calibrate my home made sensors. I now feel comfortable using my own sensors and have acquired a reliable degree of accuracy and precision on my little tensiometer. Which is why I am ready to expand them into a network.Now:
- I'm looking for different ways to log this data and have it available on simple graphs. (Currently, studying various controllers mentioned here. Btw, it is possible at all to use EasyIoT directly on a PC instead of on a Raspberry Pi?)
- I've bought some nRF24L01 modules with PA and SMA antenna and will perhaps have to design a simple 3.3V regulator to source it directly from the the Lipo Rider board (since the pro mini wont be able to meet my current requirements(?) for a longer range - I want to be able use them on maximum power for long range.)
I will try to keep posting more updates as I have them.
Meanwhile, any help/ideas are appreciated.
-
@hek:
My radio communication using the MySensors library is now successful. I am able to transmit my soil moisture data from the prototype sensor node to a gateway - which I have connected to a computer. I am looking into building a basic windows app (using visual studio, C#) that will read from the serial port and log data into a database. Later this data can be made accessible via queries/graphs.
I think this should be doable given that serial protocol used by MySensors library is a semicolon separated string of values. Is this is a reasonable assumption?
From your experience(and expertise!) do you foresee any difficulties/incompatibilities in implementing this?P.S: I am also looking into using Vera - just bought a lite version off of Amazon - but if the Visual studio plan works out, I will return the Vera. Btw, Vera's customer service rep told me about this 'datamine' plugin that can log and display graphs. Thought you'd like to know.
-
@hek:
My radio communication using the MySensors library is now successful. I am able to transmit my soil moisture data from the prototype sensor node to a gateway - which I have connected to a computer. I am looking into building a basic windows app (using visual studio, C#) that will read from the serial port and log data into a database. Later this data can be made accessible via queries/graphs.
I think this should be doable given that serial protocol used by MySensors library is a semicolon separated string of values. Is this is a reasonable assumption?
From your experience(and expertise!) do you foresee any difficulties/incompatibilities in implementing this?P.S: I am also looking into using Vera - just bought a lite version off of Amazon - but if the Visual studio plan works out, I will return the Vera. Btw, Vera's customer service rep told me about this 'datamine' plugin that can log and display graphs. Thought you'd like to know.
-
I looked into this once. Those gypsum sensors are easy to use but not very accurate, not even the ones you buy. Plus, they do eventually fail, and how do you know when that has happened unless you dig them up every year to inspect them? Two failure modes:
- The gypsum (or granular matrix or whatever) dissolves away, exposing the electrode metal. Corrosion ensues, and accuracy plummets.
- Similar to 1, except sensor loses contact with the surrounding soil. This is why they tell you to dig them up every year and replant them. It's supposed to help ensure good sensor to soil contact.
Checking soil moisture levels using a circuit that measures capacitance seems like it would be more robust.
-
@NeverDie this looks like what Vinduino says.
are you using 3 sensors at one place ? are the sensor auto powered ?
-
good, yes Vinduino is the only ... and has been awarded for this !
How do you auto power ?
and how deep do you make each sensor ?
-
good, yes Vinduino is the only ... and has been awarded for this !
How do you auto power ?
and how deep do you make each sensor ?
@epierre said:
good, yes Vinduino is the only ... and has been awarded for this !
???
How do you auto power ?
Not sure what you mean by "auto power." Each soil moisture sensor runs from batteries.
and how deep do you make each sensor ?
2", 4", and 8" deep. I picked those depths because the purpose is to monitor the soil moisture content for my lawn. Probably 80%+ of the grass roots are within the top 8 inches or so of soil, so that's where most of the water gets absorbed and used by the grass to drive photosynthesis.
Here's a real-time plot:
https://plot.ly/~WhiteRabbit/997
As you can see, there's little change in soil moisture at night, when there's effectively no photosynthesis happening. -
@NeverDie auto-power I mean sustainable energy, solar pannel... nothing to change and dispose of batteries too fast...
I have the same issue with lawn, and I would like to have something to look for because it is not flat but that doesn't explain my problem in whole.
-
These look like they would be interesting sensors, but it would be expensive if the foundation for a large number of soil moisture sensors deployed in a home network:. http://www.vegetronix.com/Products/Soil-Moisture-Sensor-Probes.phtml I believe it may use some sort of high frequency capacitance measurement, in which case I wonder whether the Arduino's capsense library would yield results which are just as good? The high frequency apparently has some advantages.
Adafruit sells this: http://www.adafruit.com/products/1965?gclid=CjwKEAjw6IauBRCJ3KPXkNro1BoSJAAhXxpyN6VAQf445eQ7-3EGkxjcmui4-FUFiQGbd73y2PEBrxoCu_7w_wcB
which is meant to be hackable, and it's a lot more affordable too. However, it's not fully waterproof, like the vegetronix is, so that's a major negative. On the other hand, it is open source, and the details are here:
http://wemakethings.net/chirp/
It even gives Arduino code for reading it. It actually uses an attiny44 to do the capacitive measurement!
If you could make the entire thing waterproof (or at least the probe), wireless, and "auto power," then you'd have a very useful sensor!This document: http://dspace.library.colostate.edu/webclient/DeliveryManager/digitool_items/csu01_storage/2012/02/14/file_2/120523 compares a number of soil moisture sensors. It's worth noting that the watermark wasn't deemed accurate enough to simply use out of the box but instead required a correction factor to be developed. However, if you need to do that anyway, maybe make your own or use a different technology altogether--one that won't dissolve on you and require annual digging up and re-implanting.
It probably does make sense to get a tensiometer to calibrate whatever you end up buying or making. That's something I'd like to do, maybe next year.