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. OpenHardware.io
  3. 💬 Capacitive Soil Moisture Sensor

💬 Capacitive Soil Moisture Sensor

Scheduled Pinned Locked Moved OpenHardware.io
mysensorssoil moisturecapacitive soil moisturenrf24l01+atmega328p
12 Posts 7 Posters 152 Views 5 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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/8250/Capacitive-Soil-Moisture-Sensor

    1 Reply Last reply
    1
    • AnticimexA Offline
      AnticimexA Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #2

      Beautiful work 👍

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

      1 Reply Last reply
      1
      • Puneit ThukralP Offline
        Puneit ThukralP Offline
        Puneit Thukral
        wrote on last edited by
        #3

        Hi great design... If I can suggest one improvement, it would be to burn a minicore bootloader and set BOD to 1.8V so that the batteries can last longer.

        RonR AnticimexA 2 Replies Last reply
        0
        • Puneit ThukralP Puneit Thukral

          Hi great design... If I can suggest one improvement, it would be to burn a minicore bootloader and set BOD to 1.8V so that the batteries can last longer.

          RonR Offline
          RonR Offline
          Ron
          wrote on last edited by
          #4

          @Puneit-Thukral Thanks. I am not quite sure, so correct me please if I am wrong, but I think I am already using the MiniCore bootloader with platformIO. Or do I need to configure to explicitly use the MiniCore bootloaders? Also I have set BOD to disabled as I read somewhere that no BOD can also save battery.

          1 Reply Last reply
          0
          • Puneit ThukralP Puneit Thukral

            Hi great design... If I can suggest one improvement, it would be to burn a minicore bootloader and set BOD to 1.8V so that the batteries can last longer.

            AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by
            #5

            @Puneit-Thukral but will the peripherals still work at that level? No use to lower the BOD if radio/security/sensors stop working at a higher voltage.

            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

            RonR 1 Reply Last reply
            0
            • AnticimexA Anticimex

              @Puneit-Thukral but will the peripherals still work at that level? No use to lower the BOD if radio/security/sensors stop working at a higher voltage.

              RonR Offline
              RonR Offline
              Ron
              wrote on last edited by
              #6

              @Anticimex That was also my thinking behind that. According to the datasheet the ATmega328P works reliably down to 2.4V when using 8MHz.

              Puneit ThukralP 1 Reply Last reply
              0
              • RonR Ron

                @Anticimex That was also my thinking behind that. According to the datasheet the ATmega328P works reliably down to 2.4V when using 8MHz.

                Puneit ThukralP Offline
                Puneit ThukralP Offline
                Puneit Thukral
                wrote on last edited by
                #7

                @Ron @Anticimex The radio stops at 1.9V.. so I think its fair to do a BOD of 1.8V.

                I used arduinoAsISP to burn bootloader and this is my platformio.ini

                [env:program_via_ArduinoISP]
                platform = atmelavr
                framework = arduino
                ;  Serial bootloader protocol
                upload_protocol = custom
                ; Serial upload port
                upload_port = /dev/cu.*
                ; Get upload baud rate defined in the fuses_bootloader environment
                upload_speed = 19200
                board_build.f_cpu = 8000000L
                board_hardware.oscillator = internal
                board_hardware.uart = uart0
                board_hardware.bod = 1.8v
                board_hardware.eesave = yes
                board_hardware.ckout = no
                upload_flags =
                    -C
                    ; use "tool-avrdude-megaavr" for the atmelmegaavr platform
                    /Users/puneit/Nextcloud/PlatformIO/bootloader/tool-avrdude/avrdude2.conf
                    -p
                    $BOARD_MCU
                    -P
                    $UPLOAD_PORT
                    -b
                    $UPLOAD_SPEED
                    -c
                    stk500
                upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
                
                AnticimexA skywatchS 2 Replies Last reply
                0
                • Puneit ThukralP Puneit Thukral

                  @Ron @Anticimex The radio stops at 1.9V.. so I think its fair to do a BOD of 1.8V.

                  I used arduinoAsISP to burn bootloader and this is my platformio.ini

                  [env:program_via_ArduinoISP]
                  platform = atmelavr
                  framework = arduino
                  ;  Serial bootloader protocol
                  upload_protocol = custom
                  ; Serial upload port
                  upload_port = /dev/cu.*
                  ; Get upload baud rate defined in the fuses_bootloader environment
                  upload_speed = 19200
                  board_build.f_cpu = 8000000L
                  board_hardware.oscillator = internal
                  board_hardware.uart = uart0
                  board_hardware.bod = 1.8v
                  board_hardware.eesave = yes
                  board_hardware.ckout = no
                  upload_flags =
                      -C
                      ; use "tool-avrdude-megaavr" for the atmelmegaavr platform
                      /Users/puneit/Nextcloud/PlatformIO/bootloader/tool-avrdude/avrdude2.conf
                      -p
                      $BOARD_MCU
                      -P
                      $UPLOAD_PORT
                      -b
                      $UPLOAD_SPEED
                      -c
                      stk500
                  upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
                  
                  AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by
                  #8

                  @Puneit-Thukral yes but for full/specified function, atsha, atmega and any sensor circuitry also need to be operational at that level.

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                  1 Reply Last reply
                  1
                  • Puneit ThukralP Puneit Thukral

                    @Ron @Anticimex The radio stops at 1.9V.. so I think its fair to do a BOD of 1.8V.

                    I used arduinoAsISP to burn bootloader and this is my platformio.ini

                    [env:program_via_ArduinoISP]
                    platform = atmelavr
                    framework = arduino
                    ;  Serial bootloader protocol
                    upload_protocol = custom
                    ; Serial upload port
                    upload_port = /dev/cu.*
                    ; Get upload baud rate defined in the fuses_bootloader environment
                    upload_speed = 19200
                    board_build.f_cpu = 8000000L
                    board_hardware.oscillator = internal
                    board_hardware.uart = uart0
                    board_hardware.bod = 1.8v
                    board_hardware.eesave = yes
                    board_hardware.ckout = no
                    upload_flags =
                        -C
                        ; use "tool-avrdude-megaavr" for the atmelmegaavr platform
                        /Users/puneit/Nextcloud/PlatformIO/bootloader/tool-avrdude/avrdude2.conf
                        -p
                        $BOARD_MCU
                        -P
                        $UPLOAD_PORT
                        -b
                        $UPLOAD_SPEED
                        -c
                        stk500
                    upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
                    
                    skywatchS Offline
                    skywatchS Offline
                    skywatch
                    wrote on last edited by
                    #9

                    @Puneit-Thukral When I tested a recent node the radio was presenting to the GW all the way down to 1.64V - so it is always worth trying to see if it works for you or not (ebyte red module).

                    1 Reply Last reply
                    0
                    • sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by
                      #10

                      Nice work @Ron . Thinking about getting some of these for my plants.
                      Any experienced issues, or the PCB and components works good?

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      RonR 1 Reply Last reply
                      0
                      • sundberg84S sundberg84

                        Nice work @Ron . Thinking about getting some of these for my plants.
                        Any experienced issues, or the PCB and components works good?

                        RonR Offline
                        RonR Offline
                        Ron
                        wrote on last edited by Ron
                        #11

                        @sundberg84 said in 💬 Capacitive Soil Moisture Sensor:

                        Nice work @Ron . Thinking about getting some of these for my plants.
                        Any experienced issues, or the PCB and components works good?

                        I had the first prototype running for about 2-3 months and did not experience any issues. The next thing on my todo list is to get an estimation on the total battery lifetime. I would assume that it will be quite good as I did not notice any significant drop in battery voltage over that time. I will post my measurements in the corresponding GitHub question as soon as I have some time. :)

                        1 Reply Last reply
                        1
                        • don alexD Offline
                          don alexD Offline
                          don alex
                          wrote on last edited by
                          #12

                          @Ron said in 💬 Capacitive Soil Moisture Sensor:

                          @Puneit-Thukral Thanks. I am not quite sure, so correct me please if I am wrong, but I think I am already using the MiniCore bootloader with platformIO. Or do I need to configure to explicitly use the MiniCore bootloaders? Also I have set BOD to disabled as I read somewhere that no BOD can also save battery.

                          hi

                          I'm not sure, but I believe I'm already using the MiniCore bootloader with platformIO. Please tell me if I'm incorrect. Is it necessary to set the MiniCore bootloaders explicitly?

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


                          10

                          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