element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum I am not a smart person, but I do like performing a bit of science
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 21 replies
  • Subscribers 388 subscribers
  • Views 3713 views
  • Users 0 members are here
  • humidifier
  • water measurement
  • arduino
Related

I am not a smart person, but I do like performing a bit of science

cstanton
cstanton over 3 years ago

It's too warm in the United Kingdom, so I figured I'd invest in a fan/humidifier combo. 

image

The downside to this hardware, is that it will burn itself out. There's nothing detecting when the water reservoir doesn't have water in it. It's convenient enough, 3 modes to the fan, 3 levels of humidifier, battery, and USB rechargeable. 

So I figured, why not try to detect how much water is left in it with the hardware I have available? I couldn't wait for looking up too much detail or ordering parts from an online store.

I've no idea what I'm doing, so I figured, let's stick a couple of paperclips in there and connect it to an arduino uno.

image

So I read a bunch of values, do some buffering with an array, average them out. I get a very rough sine wave into the analog pin.

And then I notice the pattern, the water's low, the values are higher, the water's high, the values are lower. Setup some ranges, great.

Then I realise what I'm measuring when I turn off the humidifier, the paperclips are picking up the electrical noise from the humidifiers in the water

image


Not quite how I expected to measure if there's water left, but it appears if it's working harder, it's easier to pick up the noise, water isn't the best electrical conductor after all.

Still, I'm sure I should find a better method, but it is a small reservoir, I considered 3D printing something to be able to screw a bottle in to expand it a bit more though.

What do you think?

  • Sign in to reply
  • Cancel

Top Replies

  • fmilburn
    fmilburn over 3 years ago +6
    I suppose it will take a mechanical engineer to solve this :-) Make a capacitor by twisting about 600mm of 26 AWG insulated wire together for use as the sensor. Or whatever small diameter wire is at…
  • beacon_dave
    beacon_dave over 3 years ago in reply to cstanton +2
    I wouldn't have expected a steam based humidifier to be USB/battery powered. Some of the evaporative ones just blow air through a wicking filter or use ultrasonics or an impeller to create a mist that…
  • skruglewicz
    skruglewicz over 3 years ago +1
    Hi cstanton .. As we say in Boston Massachusetts USA, your "Wicked Smart" and your "Wicked PISSA" too .... Seriously I would have never thought of that. I found an easier way to measure water level…
Parents
  • Andrew J
    Andrew J over 3 years ago

    If you have an Arduino and a couple of pieces of hook up wire how about connecting one piece to a digital io with pull-up so it reads high, dangle the other end in the empty reservoir.  The other piece connect to a gnd pin and dangle the other end in the empty reservoir.  Slowly fill the reservoir and when the input pin goes low, water has reached the leads; conversely when it goes high, water level has dropped.  By varying the heights of the leads, and maybe using a 3rd input you could measure high/low levels.  I’ve not tried this by the way and I’m not sure it will work if the reservoir contains water from the dehumidifying process as thst maybe too clean to conduct.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to Andrew J
    Andrew J said:
    I’ve not tried this by the way and I’m not sure it will work if the reservoir contains water from the dehumidifying process as thst maybe too clean to conduct.

    Looks like it's a humidifier so the reservoir will likely contain tap water and empty as time goes on.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 3 years ago in reply to beacon_dave
    beacon_dave said:
    Looks like it's a humidifier so the reservoir will likely contain tap water and empty as time goes on.

    That's correct.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew J
    Andrew J over 3 years ago in reply to cstanton

    The principle still works though, right.  I know this approach is similar to the 'paperclip' approach you've tried but instead of using ADC conversions, you can treat it like an on/off switch.  Essentially, whilst the pin is LOW, there's water there and it doesn't matter if the humidifier is generating noise - unless of course that is peaking between TTL HIGH / LOW ranges!  You might then be looking at something like a Hall Sensor or a dedicated float sensor, like Dave suggests, but you're back to ordering parts if you don't have one on hand.  I still think you're on the right track with leads dipped into the water.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to Andrew J

    Perhaps use make use of the QTouch feature of the AVR ?

    Embedded World 2015: QTouch-Based Water Level Sensing
    https://www.youtube.com/watch?v=MY33xg83gnM

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 3 years ago in reply to beacon_dave

    Tap water is quite conductive.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • dougw
    dougw over 3 years ago in reply to beacon_dave

    Tap water is quite conductive.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube