Skip to content
  • MySensors
  • 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. Office plant monitoring

Office plant monitoring

Scheduled Pinned Locked Moved My Project
223 Posts 39 Posters 131.7k Views 42 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.
  • NetRapN Offline
    NetRapN Offline
    NetRap
    wrote on last edited by
    #134

    This sort of sensor is not good, because the electrolyticeffect.
    You always should use soil sensors, which are based on the capacitive effect.

    Like this one:
    https://forum.mysensors.org/topic/4474/capacitive-soilsensor-for-measurement-the-humidity-of-flowers

    Best regards,
    NetRap

    mfalkviddM 1 Reply Last reply
    0
    • Fat FlyF Offline
      Fat FlyF Offline
      Fat Fly
      wrote on last edited by
      #135

      My sensors is not good yes. I do not understand what is soil moisture % really. :( My pepper was overwatering. Very wet and moisture was 80% only.

      1 Reply Last reply
      0
      • NetRapN NetRap

        This sort of sensor is not good, because the electrolyticeffect.
        You always should use soil sensors, which are based on the capacitive effect.

        Like this one:
        https://forum.mysensors.org/topic/4474/capacitive-soilsensor-for-measurement-the-humidity-of-flowers

        Best regards,
        NetRap

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #136

        @NetRap there are downsides but "no good" is incorrect. I have used these sensors successfully for almost a year.

        1 Reply Last reply
        0
        • NetRapN Offline
          NetRapN Offline
          NetRap
          wrote on last edited by
          #137

          The problem is, that your design is based on conductivity.
          This means, that the electrodes will be destroyed over time
          and the produced metal salts are in your flower,garden,...

          I don't will have metal salts in my tomatoes !!! ;-)

          mfalkviddM 1 Reply Last reply
          0
          • NetRapN NetRap

            The problem is, that your design is based on conductivity.
            This means, that the electrodes will be destroyed over time
            and the produced metal salts are in your flower,garden,...

            I don't will have metal salts in my tomatoes !!! ;-)

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by mfalkvidd
            #138

            @NetRap I doubt that one second of 3V electric power every hour (0.03% duty cycle) will produce measurable amount of salt but yes, for food production capacitive measurements are probably better. The topic of this thread is "office plant monitoring" though and I hope you don't have to live off your office plants :)

            1 Reply Last reply
            0
            • m26872M Offline
              m26872M Offline
              m26872
              Hardware Contributor
              wrote on last edited by m26872
              #139

              "Metal salts" doesn't sound very dangerous unless you're more specific. I prefer some NaCl on my tomatoes.

              How about some gold- or silver plated electrodes if you're of the worrying kind?

              1 Reply Last reply
              0
              • Fat FlyF Offline
                Fat FlyF Offline
                Fat Fly
                wrote on last edited by
                #140

                I want to try electrodes from stainless steel.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Lars65
                  wrote on last edited by
                  #141

                  Normaly when you use eletricity and water, you need to sacrify something. For an example, when you cool a boat engine with water, you normaly use zinkanodes. I guess this is also the same when we want to messure humidity for an plant.
                  So, if you should use copper anodes for messuring, you could paint them with a zink color.
                  What it effects the resistance, I don't know.

                  1 Reply Last reply
                  0
                  • Fat FlyF Offline
                    Fat FlyF Offline
                    Fat Fly
                    wrote on last edited by
                    #142

                    Maybe in scketch needed change measure time? Maybe need use function round ?

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      LastSamurai
                      Hardware Contributor
                      wrote on last edited by
                      #143

                      @mfalkvidd Short question concerning battery life: I am using a custom board with an atmega328 and an nrf powered directly by a coin cell. When measuring temp/hum with something like an SHT21 the voltage drops are minimal (less than 100mV in more than a month). Using your sketch from post 25 here and connecting the fork to pins A1 and 2 (changed that in the sketch) I get a much higher power consumption. Any ideas why?
                      I guess the measuring takes too long or something? It also reports lots of 1% changes to my domoticz server... which is kind of strange. Shouldn't the threshold take care of that? Perhaps I have to use a higher value here...

                      mfalkviddM 1 Reply Last reply
                      0
                      • L LastSamurai

                        @mfalkvidd Short question concerning battery life: I am using a custom board with an atmega328 and an nrf powered directly by a coin cell. When measuring temp/hum with something like an SHT21 the voltage drops are minimal (less than 100mV in more than a month). Using your sketch from post 25 here and connecting the fork to pins A1 and 2 (changed that in the sketch) I get a much higher power consumption. Any ideas why?
                        I guess the measuring takes too long or something? It also reports lots of 1% changes to my domoticz server... which is kind of strange. Shouldn't the threshold take care of that? Perhaps I have to use a higher value here...

                        mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by
                        #144

                        @LastSamurai are you using the same sketch on both nodes?

                        The sketch in post 25 sends the moisture value every 10 minutes. There are no thresholds and no comparison to previous value.

                        Do the 1% changes look like a square wave? If so, the reason is probably that the pullup resistors differ from pin to min, even on the same atmega. A newer version of the sketch takes care of that, but I am still using the old version in my oldest node.

                        As we discussed around post 79, my node is dropping very slowly. It is currently at 3.117 V after approximately 9 months on the same 2xAA. The node started at 3.187V so that is a drop of 70mV, less than 10mV per month.

                        1 Reply Last reply
                        0
                        • Fat FlyF Offline
                          Fat FlyF Offline
                          Fat Fly
                          wrote on last edited by
                          #145

                          Good morning people.
                          Can somebody help add to this moisture sensing sketch relay ?

                          1 Reply Last reply
                          0
                          • cattooC Offline
                            cattooC Offline
                            cattoo
                            wrote on last edited by
                            #146

                            So does this work with 2.0?

                            mfalkviddM 1 Reply Last reply
                            0
                            • cattooC cattoo

                              So does this work with 2.0?

                              mfalkviddM Offline
                              mfalkviddM Offline
                              mfalkvidd
                              Mod
                              wrote on last edited by
                              #147

                              @cattoo yes if it is converted.

                              1 Reply Last reply
                              0
                              • cattooC Offline
                                cattooC Offline
                                cattoo
                                wrote on last edited by
                                #148

                                What needs to be added/edited so its converted?

                                mfalkviddM 1 Reply Last reply
                                0
                                • cattooC cattoo

                                  What needs to be added/edited so its converted?

                                  mfalkviddM Offline
                                  mfalkviddM Offline
                                  mfalkvidd
                                  Mod
                                  wrote on last edited by
                                  #149

                                  @cattoo that is described in the instructions I linked to :)

                                  1 Reply Last reply
                                  0
                                  • cattooC Offline
                                    cattooC Offline
                                    cattoo
                                    wrote on last edited by
                                    #150

                                    Its driving me crazy! Could you not convert this mfalkvidd! Its better to have your sketch on the front instead of that one there is there now.

                                    mfalkviddM 1 Reply Last reply
                                    0
                                    • cattooC cattoo

                                      Its driving me crazy! Could you not convert this mfalkvidd! Its better to have your sketch on the front instead of that one there is there now.

                                      mfalkviddM Offline
                                      mfalkviddM Offline
                                      mfalkvidd
                                      Mod
                                      wrote on last edited by mfalkvidd
                                      #151

                                      @cattoo I won't convert it in the near future. I have too many projects that are more fun and more useful. My current setup works great, upgrading everything to 2.0 would mean a lot of work and no gain.

                                      1 Reply Last reply
                                      0
                                      • Martin TellblomM Offline
                                        Martin TellblomM Offline
                                        Martin Tellblom
                                        wrote on last edited by
                                        #152

                                        After my other failed attempt I needed to try this.
                                        I have a 5V Mini using A4 and A5 and a fork YL-69 and I get these result:

                                        Direction: 1
                                        Moist: 171
                                        Direction: 0
                                        Moist: 23
                                        Direction: 1
                                        Moist: 172
                                        Direction: 0
                                        Moist: 0
                                        Direction: 1
                                        Moist: 164
                                        Direction: 0
                                        Moist: 0
                                        Direction: 1
                                        Moist: 156
                                        Direction: 0
                                        Moist: 0
                                        Direction: 1
                                        Moist: 144
                                        Direction: 0
                                        Moist: 0

                                        This is not the percentage value , its this value I print: moistureLevel = (1023 - analogRead(SENSOR_ANALOG_PINS[direction]));

                                        Any Ideas?

                                        MySensors MQTT Client Gateway, Openhab, Dashing, Razberry, 1-wire

                                        mfalkviddM 1 Reply Last reply
                                        0
                                        • Martin TellblomM Martin Tellblom

                                          After my other failed attempt I needed to try this.
                                          I have a 5V Mini using A4 and A5 and a fork YL-69 and I get these result:

                                          Direction: 1
                                          Moist: 171
                                          Direction: 0
                                          Moist: 23
                                          Direction: 1
                                          Moist: 172
                                          Direction: 0
                                          Moist: 0
                                          Direction: 1
                                          Moist: 164
                                          Direction: 0
                                          Moist: 0
                                          Direction: 1
                                          Moist: 156
                                          Direction: 0
                                          Moist: 0
                                          Direction: 1
                                          Moist: 144
                                          Direction: 0
                                          Moist: 0

                                          This is not the percentage value , its this value I print: moistureLevel = (1023 - analogRead(SENSOR_ANALOG_PINS[direction]));

                                          Any Ideas?

                                          mfalkviddM Offline
                                          mfalkviddM Offline
                                          mfalkvidd
                                          Mod
                                          wrote on last edited by
                                          #153

                                          @Martin-Tellblom could you describe what an YL-69 is?

                                          How much time do you let the measurement settle after switching directions?
                                          Which of the code versions are you using? There have been many revisions in this thread and they all work slightly different.

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


                                          12

                                          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
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular