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. Solar Powered Soil Moisture Sensor

Solar Powered Soil Moisture Sensor

Scheduled Pinned Locked Moved My Project
79 Posts 19 Posters 38.0k Views 35 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.
  • F Offline
    F Offline
    flopp
    wrote on last edited by flopp
    #7

    Do not let it run out of battery. I had to disconnect the power from solar panel to step-up and charge it(sun)for a few hours to get it to work again, or you could use some kind of connectors to disconnect. I was "smart" and solder it directly to step-up.

    martinhjelmareM 1 Reply Last reply
    0
    • F flopp

      Do not let it run out of battery. I had to disconnect the power from solar panel to step-up and charge it(sun)for a few hours to get it to work again, or you could use some kind of connectors to disconnect. I was "smart" and solder it directly to step-up.

      martinhjelmareM Offline
      martinhjelmareM Offline
      martinhjelmare
      Plugin Developer
      wrote on last edited by
      #8

      @flopp

      I like this design. Do you think it will survive the Swedish winter days with their limited sun hours?

      F 1 Reply Last reply
      0
      • martinhjelmareM martinhjelmare

        @flopp

        I like this design. Do you think it will survive the Swedish winter days with their limited sun hours?

        F Offline
        F Offline
        flopp
        wrote on last edited by
        #9

        @martinhjelmare said:

        @flopp

        I like this design. Do you think it will survive the Swedish winter days with their limited sun hours?

        Yes, I think so. Today I send data every 10 seconds so if I send it once an hour it should not be a problem during winter. It will test to simulate rain and see if it is sealed enough.

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

          What kind of soil moisture sensor is it?

          1 Reply Last reply
          0
          • mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by mfalkvidd
            #11

            It is just a simple pitchfork, like this http://www.aliexpress.com/item/10pcs-Soil-Hygrometer-Detection-Module-Soil-Moisture-Sensor-Probes/2051713873.html

            NeverDieN 1 Reply Last reply
            1
            • dbemowskD Offline
              dbemowskD Offline
              dbemowsk
              wrote on last edited by
              #12

              I love this concept. This kind of setup could be used for outdoor temp, light, humidity, and other things and not having to worry about power with it being solar. It also keeps the arduino shielded from weather and such also which is nice. I may use this design for some of my new sensors.

              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

              F 1 Reply Last reply
              0
              • dbemowskD dbemowsk

                I love this concept. This kind of setup could be used for outdoor temp, light, humidity, and other things and not having to worry about power with it being solar. It also keeps the arduino shielded from weather and such also which is nice. I may use this design for some of my new sensors.

                F Offline
                F Offline
                flopp
                wrote on last edited by
                #13

                @dbemowsk
                If you have the solar in the sun and the sensors in the shadow and protected from rain that will work.
                My idea is to use a solar for all my outdoor sensors but have a bigger solar panel and a bigger(more mah) that feeds my nodes, rain, temp, hum, pressure, light, UV and in future lightning.

                breimannB 1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  It is just a simple pitchfork, like this http://www.aliexpress.com/item/10pcs-Soil-Hygrometer-Detection-Module-Soil-Moisture-Sensor-Probes/2051713873.html

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

                  @mfalkvidd
                  Thanks for posting that link! Even though I don't believe in these types of sensors, I used your link to buy some anyway just because they're so darn cheap!

                  1 Reply Last reply
                  0
                  • mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by mfalkvidd
                    #15

                    @NeverDie
                    If you just want to know when it is time to water regular home plants (0.5-2 times per week normally) , they are more than good enough.

                    If you want to maximize growth in a farming situation, you'll probably need to go for more advanced measurement methods.

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

                      Good to know! I'll give it a try--I guess two months from now after they arrive. :wink: My wife has two dozen house plants, and so it would be nice if I could automate the monitoring.

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        flopp
                        wrote on last edited by flopp
                        #17

                        I have noisy measurement on analog input for battery voltage.

                        Anyone that know how I can solve that?

                        All pictures during night so there shouldn't be any sun that create power. See schematic above how it is connected.

                        First Node
                        No cap. Measures every 10 seconds, picture is 5 minute average.
                        0_1465806103475_volt.png

                        Second Node.
                        10uF electrolyte cap between GND and A0. Measure every 30 minute. Picture is 5 min average.
                        0_1465806108764_volt2.png

                        Third Node
                        No cap. Measure every 30 minute. Picture is 5 min average.
                        0_1465806821657_volt3.png

                        I see a slightly better measurement on Seconds Node but can it be better? This is power directly from the battery and I think the battery should be more stable than this. I have other nodes were I measure the VCC on Arduino and that measurement is extremely stable. Maybe the analog input isn't better than what I get in the pictures?

                        AWIA 1 Reply Last reply
                        0
                        • HuczasH Offline
                          HuczasH Offline
                          Huczas
                          wrote on last edited by
                          #18

                          Could you show better scetch how you connect electicaly everything? how you sending data from arduino pro mini to Domoticz?

                          In your scetch I see only power->battery->step-up->MCU

                          F 1 Reply Last reply
                          0
                          • F flopp

                            I have noisy measurement on analog input for battery voltage.

                            Anyone that know how I can solve that?

                            All pictures during night so there shouldn't be any sun that create power. See schematic above how it is connected.

                            First Node
                            No cap. Measures every 10 seconds, picture is 5 minute average.
                            0_1465806103475_volt.png

                            Second Node.
                            10uF electrolyte cap between GND and A0. Measure every 30 minute. Picture is 5 min average.
                            0_1465806108764_volt2.png

                            Third Node
                            No cap. Measure every 30 minute. Picture is 5 min average.
                            0_1465806821657_volt3.png

                            I see a slightly better measurement on Seconds Node but can it be better? This is power directly from the battery and I think the battery should be more stable than this. I have other nodes were I measure the VCC on Arduino and that measurement is extremely stable. Maybe the analog input isn't better than what I get in the pictures?

                            AWIA Offline
                            AWIA Offline
                            AWI
                            Hero Member
                            wrote on last edited by
                            #19

                            @flopp I had exactly the same problem with a solar powered node. I solved it by moving the battery measurement around in the sketch. The analog measurement is sensitive..

                            F 2 Replies Last reply
                            0
                            • HuczasH Huczas

                              Could you show better scetch how you connect electicaly everything? how you sending data from arduino pro mini to Domoticz?

                              In your scetch I see only power->battery->step-up->MCU

                              F Offline
                              F Offline
                              flopp
                              wrote on last edited by
                              #20

                              @Huczas said:

                              Could you show better scetch how you connect electicaly everything? how you sending data from arduino pro mini to Domoticz?

                              In your scetch I see only power->battery->step-up->MCU

                              Electric connection as the attached schematic and NRF you connect according to MySensors instruction.
                              Data is sent through the NRF with attached sketch

                              1 Reply Last reply
                              0
                              • AWIA AWI

                                @flopp I had exactly the same problem with a solar powered node. I solved it by moving the battery measurement around in the sketch. The analog measurement is sensitive..

                                F Offline
                                F Offline
                                flopp
                                wrote on last edited by
                                #21

                                @AWI
                                Ok I will try to put it somewhere else and also with some delay before reading analog.
                                Thanks

                                1 Reply Last reply
                                0
                                • AWIA AWI

                                  @flopp I had exactly the same problem with a solar powered node. I solved it by moving the battery measurement around in the sketch. The analog measurement is sensitive..

                                  F Offline
                                  F Offline
                                  flopp
                                  wrote on last edited by
                                  #22

                                  @AWI said:

                                  @flopp I had exactly the same problem with a solar powered node. I solved it by moving the battery measurement around in the sketch. The analog measurement is sensitive..
                                  Do you use voltage divider or direct from battery to analog input?
                                  I use direct from battery.

                                  AWIA 1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    flopp
                                    wrote on last edited by
                                    #23

                                    Updated electric sketch with Connectors. This is useful if the battery gets empty then you need to disconnect Arduino so the battery can get charged.

                                    P 1 Reply Last reply
                                    0
                                    • F flopp

                                      @AWI said:

                                      @flopp I had exactly the same problem with a solar powered node. I solved it by moving the battery measurement around in the sketch. The analog measurement is sensitive..
                                      Do you use voltage divider or direct from battery to analog input?
                                      I use direct from battery.

                                      AWIA Offline
                                      AWIA Offline
                                      AWI
                                      Hero Member
                                      wrote on last edited by
                                      #24

                                      @flopp a voltage divider as I use a rechargeable Li -cell (3.7 v)

                                      1 Reply Last reply
                                      0
                                      • F flopp

                                        Updated electric sketch with Connectors. This is useful if the battery gets empty then you need to disconnect Arduino so the battery can get charged.

                                        P Offline
                                        P Offline
                                        pettib
                                        wrote on last edited by
                                        #25

                                        @flopp Maybe i miss something but I think the connector should be mounted between the battery and the Vin on the step-up. You mounted it on the A0, it´s just the voltage check port.

                                        In the original lamp there was what i think is a charge regulator between the solar cell and the batteri, did you keep that one or you just put the solar cell to the battery ?

                                        Thanks for a nice idé to use this lamp.

                                        F 1 Reply Last reply
                                        0
                                        • P pettib

                                          @flopp Maybe i miss something but I think the connector should be mounted between the battery and the Vin on the step-up. You mounted it on the A0, it´s just the voltage check port.

                                          In the original lamp there was what i think is a charge regulator between the solar cell and the batteri, did you keep that one or you just put the solar cell to the battery ?

                                          Thanks for a nice idé to use this lamp.

                                          F Offline
                                          F Offline
                                          flopp
                                          wrote on last edited by
                                          #26

                                          @pettib said:

                                          @flopp Maybe i miss something but I think the connector should be mounted between the battery and the Vin on the step-up. You mounted it on the A0, it´s just the voltage check port.

                                          Thanks, I was to quick when adding the connectors

                                          In the original lamp there was what i think is a charge regulator between the solar cell and the batteri, did you keep that one or you just put the solar cell to the battery ?

                                          I removed the small IC, YX8108. Below is a schematic for YX8108
                                          0_1465929144673_yx8108.png

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


                                          15

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          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