Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Soil Tensiometer Sensor Network
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Soil Tensiometer Sensor Network

Scheduled Pinned Locked Moved My Project
arduinomysensor 1.4nrf24l01+pa+lna
39 Posts 12 Posters 23.1k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aur
    wrote on last edited by aur
    #1

    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?)

    hekH O 2 Replies Last reply
    0
    • A aur

      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?)

      hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      @aur

      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.

      A 1 Reply Last reply
      0
      • A aur

        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?)

        O Offline
        O Offline
        olaeke
        wrote on last edited by
        #3

        @aur I don't think Vera is the ultimate controller for your project, I would have take a look an all open source controllers listed on the Controller page

        1 Reply Last reply
        0
        • hekH hek

          @aur

          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.

          A Offline
          A Offline
          aur
          wrote on last edited by
          #4

          @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.

          hekH 1 Reply Last reply
          0
          • korttomaK Offline
            korttomaK Offline
            korttoma
            Hero Member
            wrote on last edited by
            #5

            We need pictures of your sensors and some more details about how you set this up:

            @aur said:

            solar powered and also has a rechargeable battery

            • Tomas
            1 Reply Last reply
            0
            • A aur

              @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.

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #6

              @aur

              I wouldn't be much of a help here sine I haven't tried them all. Vera (which I run) is generally bad at logging data out of the box.

              Maybe someone else here could recommend a system with good logging capabilities.

              1 Reply Last reply
              0
              • tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #7

                a perl/python script picking up the messages from the serial gw, and dumping them into a database, could be enough for what you want. And then some graphing engine to pull out the data for a nice view.

                1 Reply Last reply
                0
                • epierreE Offline
                  epierreE Offline
                  epierre
                  Hero Member
                  wrote on last edited by
                  #8

                  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-matrix

                  Regarding 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 !).

                  z-wave - Vera -> Domoticz
                  rfx - Domoticz <- MyDomoAtHome <- Imperihome
                  mysensors -> mysensors-gw -> Domoticz

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pete1450
                    wrote on last edited by
                    #9

                    Shamelessly self-promoting my post, but it really is cheap: http://forum.mysensors.org/topic/719/graphing-sensor-data/1

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      aur
                      wrote on last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        aur
                        wrote on last edited by
                        #11

                        @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.

                        hekH 1 Reply Last reply
                        0
                        • A aur

                          @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.

                          hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #12

                          @aur said:

                          From your experience(and expertise!) do you foresee any difficulties/incompatibilities in implementing this?

                          Nope

                          1 Reply Last reply
                          0
                          • epierreE Offline
                            epierreE Offline
                            epierre
                            Hero Member
                            wrote on last edited by
                            #13

                            @aur how is your project by now ? anything to share ?

                            z-wave - Vera -> Domoticz
                            rfx - Domoticz <- MyDomoAtHome <- Imperihome
                            mysensors -> mysensors-gw -> Domoticz

                            1 Reply Last reply
                            0
                            • NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #14

                              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:

                              1. The gypsum (or granular matrix or whatever) dissolves away, exposing the electrode metal. Corrosion ensues, and accuracy plummets.
                              2. 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.

                              1 Reply Last reply
                              0
                              • epierreE Offline
                                epierreE Offline
                                epierre
                                Hero Member
                                wrote on last edited by
                                #15

                                @NeverDie this looks like what Vinduino says.

                                are you using 3 sensors at one place ? are the sensor auto powered ?

                                z-wave - Vera -> Domoticz
                                rfx - Domoticz <- MyDomoAtHome <- Imperihome
                                mysensors -> mysensors-gw -> Domoticz

                                NeverDieN 1 Reply Last reply
                                0
                                • epierreE epierre

                                  @NeverDie this looks like what Vinduino says.

                                  are you using 3 sensors at one place ? are the sensor auto powered ?

                                  NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #16

                                  @epierre said:

                                  @NeverDie this looks like what Vinduino says.

                                  that's the first II can remember hearing about it.

                                  are you using 3 sensors at one place ?

                                  yes

                                  are the sensor auto powered ?

                                  yes

                                  1 Reply Last reply
                                  0
                                  • epierreE Offline
                                    epierreE Offline
                                    epierre
                                    Hero Member
                                    wrote on last edited by
                                    #17

                                    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 ?

                                    z-wave - Vera -> Domoticz
                                    rfx - Domoticz <- MyDomoAtHome <- Imperihome
                                    mysensors -> mysensors-gw -> Domoticz

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • epierreE epierre

                                      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 ?

                                      NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #18

                                      @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.

                                      1 Reply Last reply
                                      0
                                      • epierreE Offline
                                        epierreE Offline
                                        epierre
                                        Hero Member
                                        wrote on last edited by
                                        #19

                                        @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.

                                        z-wave - Vera -> Domoticz
                                        rfx - Domoticz <- MyDomoAtHome <- Imperihome
                                        mysensors -> mysensors-gw -> Domoticz

                                        1 Reply Last reply
                                        0
                                        • NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by NeverDie
                                          #20

                                          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.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          5

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular