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. Hardware
  3. Leak detector cables.

Leak detector cables.

Scheduled Pinned Locked Moved Hardware
4 Posts 2 Posters 731 Views 2 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.
  • ErickSaintE Offline
    ErickSaintE Offline
    ErickSaint
    wrote on last edited by
    #1

    Re: Water Leak Detection

    I didn't really want to necropost but the forum gave me the option to start new. I picked up one of these Honeywell extension cables, mostly because the length is about perfect for my needs and not having a ton of extra sensors. When I hook up 5v to one of the black wires and the other to A0 I don't get values close to what this old thread describes. With power to it, and no water, the numbers are all over the place almost like it drifts with the breeze. I've only seen this cable referenced for arduino in two different places, and both were places that @TD22057 has posted. I've really hit a wall with this sensor. Anybody else using these? Or have some code examples for this cable?

    mfalkviddM 1 Reply Last reply
    0
    • ErickSaintE ErickSaint

      Re: Water Leak Detection

      I didn't really want to necropost but the forum gave me the option to start new. I picked up one of these Honeywell extension cables, mostly because the length is about perfect for my needs and not having a ton of extra sensors. When I hook up 5v to one of the black wires and the other to A0 I don't get values close to what this old thread describes. With power to it, and no water, the numbers are all over the place almost like it drifts with the breeze. I've only seen this cable referenced for arduino in two different places, and both were places that @TD22057 has posted. I've really hit a wall with this sensor. Anybody else using these? Or have some code examples for this cable?

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

      @ericksaint if I understand correctly, there is no connection to gnd? You'll need to connect a pulldown resistor between A0 and gnd, otherwise the pin will be floating.

      1 Reply Last reply
      0
      • ErickSaintE Offline
        ErickSaintE Offline
        ErickSaint
        wrote on last edited by
        #3

        Correct, at least it sure looks to be floating like crazy in the serial monitor. The only examples I found using this sensor just mentioned 5v to one of the black wires and the other going to A0. Guessing the voltage is jumped when water connects the two wires. Was mentioned in another forum that he had no/minimal changes with a resistor so I never tried it. I'll try adding one tonight when I get home. Super new to this and jumped right into my intended project after only trying a few very basic example files. Certainly have gotten ahead of myself. I have a mega as my project board, and an old Diecimila that I found at work in an old desk. I've been using that to test chunks of code for various parts of the project.

        Thanks for the nudge in the right direction.

        1 Reply Last reply
        0
        • ErickSaintE Offline
          ErickSaintE Offline
          ErickSaint
          wrote on last edited by
          #4

          Yup. Just as simple as that. With the pull down in place I get 0-4 on that pin when dry. And between around 50-300 when wet, depending on a few drops of water or cable fully submerged.

          Now I just need to piece everything together, both hardware and software. Trying to make a fail safe for my hydroponic system. The only way it can fail catastrophically, and flood my downstairs neighbors place, is if the drains fail and the pump keeps running. I'm using the leak sensor rope to go around my buckets and trigger a relay that will kill the pump at the first sign of any water under the buckets.

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


          21

          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