Water Level Sensor (High, Medium, Low)

0
3548
Water Level Sensor (High, Medium, Low)
My chicken watering bucket.

BACKGROUND

Ever have the need to see how much water’s in your 5-gallon bucket without cracking open the lid?  Well I do … mostly because I’m lazy.  I have chickens and use a large bucket to provide them water.  There are little poultry “nipples” on the bottom that they peck when they’re thirsty.  My dilema is that I want to make sure they have plenty of water before I head out the door to work, but don’t always have time to walk back to my coop and open up the lid.

THE SOLUTION

I’ve rigged up a set of red, yellow green LED lights positioned at the top of my kids old tree fort, which is easily visible from any of my back windows.  Only one LED lights up at a time, and as you might guess, it’s red when the bucket’s empty, yellow when it has less than 6″ of water, and green anything above that.

LED display mounted high-atop my kids’ old tree fort.

At the heart of this solution is an Arduino Uno, which as been in operation since 2012.  I don’t typically use Arduinos in my connected projects since Particle Photons are easier to set up (IMO).  That said, the basic functionality is the same, and you can’t argue with the stability of having a platform like this running continuously for nearly 5 years!

The sensor for this project is a 2-level float switch.  This basically means it has 2 on/off levels, one for the top sensor and one for the bottom.  With this combination of data points, my Arduino code can tell whether the water is above or below both floats, or somewhere in between.

Here’s the 2-level float switch

 

DEMO

 

HARDWARE

 

SOFTWARE / CLOUD SERVICES

I don’t currently have this device connected to the Internet, but if I did, I would use:

 

THE CODE

Coming soon

Help support my work via Patreon!

LEAVE A REPLY

Please enter your comment!
Please enter your name here