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. Leaf Wetness

Leaf Wetness

Scheduled Pinned Locked Moved My Project
45 Posts 9 Posters 37.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.
  • E epierre

    so my 5000mAh lasted outside... 4 days... btw I didn't remove all leds from the comparator that could be an improvement and the outside weather is quite cold.

    I had a reading every 30 secs, way to quick surely...

    @hek is there a way to power the radio only when necessary ? I guess the gw.sleep could be a gw.sleep and a gw.wakeup and manage the delay outside ?

    H Offline
    H Offline
    hek
    Admin
    wrote on last edited by hek
    #19

    @epierre

    gw.sleep() sleeps the radio as well. What do you mean by power down radio? Like cutting power using digital pin?

    E 1 Reply Last reply
    0
    • H hek

      @epierre

      gw.sleep() sleeps the radio as well. What do you mean by power down radio? Like cutting power using digital pin?

      E Offline
      E Offline
      epierre
      Hero Member
      wrote on last edited by
      #20

      @hek said:

      @epierre

      gw.sleep() sleeps the radio as well. What do you mean by power down radio? Like cutting power using digital pin?
      yes, now you combine sleep for the radio and delay, what I mean is to have loop() run without radio, and if a transmission is needed to have a command that power it.

      If you have a long dry period, a device on battery will consume a lot of power having the radion on and off, if it is always off until a sensor finds something, that would save more power, no ?

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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RJ_Make
        Hero Member
        wrote on last edited by
        #21

        Wake only on interrupt?

        RJ_Make

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

          In my idea, a value above 0 would mean sending the info, an interrupt could be generated this way ?

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

          1 Reply Last reply
          0
          • E Offline
            E Offline
            elisavetgrig
            wrote on last edited by
            #23

            Hey,
            I am a newbie (in the forum) and in the arduino/sensors development. I bought the Leaf Wetness from cooking-hacks.com. Can I connected it to my Arduino via Analog input? Is it easy?

            S 1 Reply Last reply
            0
            • E elisavetgrig

              Hey,
              I am a newbie (in the forum) and in the arduino/sensors development. I bought the Leaf Wetness from cooking-hacks.com. Can I connected it to my Arduino via Analog input? Is it easy?

              S Offline
              S Offline
              Sparkman
              Hero Member
              wrote on last edited by
              #24

              @elisavetgrig Welcome to the forum. The answer is yes to both questions. Given that the sensor is a resistive element, you need to build a voltage divider. Google "voltage divider" Arduino and you'll find lots of examples.

              Cheers
              Al

              1 Reply Last reply
              0
              • F Offline
                F Offline
                FotoFieber
                Hardware Contributor
                wrote on last edited by
                #25

                Measuring the current with DC doesn't seem to be the ideal solution:
                thread

                S 1 Reply Last reply
                0
                • F FotoFieber

                  Measuring the current with DC doesn't seem to be the ideal solution:
                  thread

                  S Offline
                  S Offline
                  Sparkman
                  Hero Member
                  wrote on last edited by
                  #26

                  @FotoFieber That thread is regarding soil moisture measurements which is different than leaf wetness. For soil, capacitive is the best way to go IMHO.

                  Cheers
                  Al

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    FotoFieber
                    Hardware Contributor
                    wrote on last edited by
                    #27

                    AC Statement ☺

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      elisavetgrig
                      wrote on last edited by
                      #28

                      ok...Thank you... I will try the "voltage divider" and I will see what will happen!

                      1 Reply Last reply
                      0
                      • E Offline
                        E Offline
                        elisavetgrig
                        wrote on last edited by elisavetgrig
                        #29

                        assembly.jpg

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          elisavetgrig
                          wrote on last edited by
                          #30

                          Did you mean something like the figure above? Or I only need to connect one resistor to one wire and the other wire to another pin in the Arduino?

                          S 1 Reply Last reply
                          0
                          • E elisavetgrig

                            Did you mean something like the figure above? Or I only need to connect one resistor to one wire and the other wire to another pin in the Arduino?

                            S Offline
                            S Offline
                            Sparkman
                            Hero Member
                            wrote on last edited by
                            #31

                            @elisavetgrig You're missing the connections to a voltage source and ground. You also only need one resistor as the wetness sensor is the 2nd resistor in the voltage divider circuit. Take a look at this: http://homepage.cs.uri.edu/faculty/hamel/workshops/as220-sept-09/sensors-voltage-dividers.html.

                            Cheers
                            Al

                            1 Reply Last reply
                            0
                            • E Offline
                              E Offline
                              elisavetgrig
                              wrote on last edited by
                              #32

                              You are right! I thought that I missing something... always there are Data connection, VCC connection and GND.. and I had only one! I made another dummy scheme... Is that better?leaf wetness.jpg

                              S 1 Reply Last reply
                              0
                              • E elisavetgrig

                                You are right! I thought that I missing something... always there are Data connection, VCC connection and GND.. and I had only one! I made another dummy scheme... Is that better?leaf wetness.jpg

                                S Offline
                                S Offline
                                Sparkman
                                Hero Member
                                wrote on last edited by
                                #33

                                @elisavetgrig Take a look at the second diagram of the link I posted. Right now you show the GND pin connected to the Analog pin and Vcc is also connected to the same spot, so that's not going to work.

                                Cheers
                                Al

                                1 Reply Last reply
                                0
                                • E Offline
                                  E Offline
                                  elisavetgrig
                                  wrote on last edited by
                                  #34

                                  I based in the second diagram... i think that I understand it... resistorss-leaf wet.png

                                  S 1 Reply Last reply
                                  0
                                  • E elisavetgrig

                                    I based in the second diagram... i think that I understand it... resistorss-leaf wet.png

                                    S Offline
                                    S Offline
                                    Sparkman
                                    Hero Member
                                    wrote on last edited by
                                    #35

                                    @elisavetgrig As I mentioned a few posts ago and how it's shown in the diagram on that link, is that you only need one resistor. The leaf wetness sensor becomes the other resistor in the circuit. In your last diagram, you have both the terminals of the wetness sensor connected to ground. Think of the wetness sensor as a resistor, with each of the terminals representing one leg of a regular resistor.

                                    Cheers
                                    Al

                                    1 Reply Last reply
                                    0
                                    • E Offline
                                      E Offline
                                      elisavetgrig
                                      wrote on last edited by
                                      #36

                                      OK... So I need only one resister... I think that "Scheme 2" is closer to the solution... images ofs.jpg

                                      1 Reply Last reply
                                      0
                                      • 5546dug5 Offline
                                        5546dug5 Offline
                                        5546dug
                                        wrote on last edited by
                                        #37

                                        @epierre how is the gold plating holding out on the sensor?
                                        Is there pitting and would you'd recommend this over the style in the store?
                                        How is the battery life with this setup?

                                        Thanks

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

                                          Hello,

                                          gold plating is a must have for outdoor.

                                          I am now regarding to have something more robust in time , I'm waiting for a light with movement with solar pannel to modify it for it.

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

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          15

                                          Online

                                          12.0k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          Posts


                                          Copyright 2025 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