Electronics and water don’t usually mix – which is why liquid level sensing projects can be a little challenging. You can DIY a sensor but keeping it clean and un-oxidized can be a pain. The Optomax Digital liquid level switches are a clever solution for when you need a small sensor to detect liquid/water: super easy to use and very durable too!
Inside the plastic sensor casing is an infrared (IR) LED and matching photo transistor. When in the open air, the IR light bounces back to the sensor so you know its nice and dry. When the sensing tip is immersed in liquid, the IR light escapes, and the transistor turns off. The sensor can detect the presence or absence of almost any liquid type; oil or water based. It is insensitive to ambient light and is not affected by foam when in air or by small bubbles when in liquid.
The microcontroller-friendly logic level output is push-pull type, and can sink and source up to 100mA at a supply voltage range of 4.5 to 15.4VDC – so you can even use it to directly control a transistor or perhaps even a small relay.
Simply connect the Blue/Black wire to ground, the Red wire to 4.5-15.4VDC and look at the output with your multimeter or microcontroller. When dry the output is the same as the red wire. When wet, the output is 0V. Note they’re pretty sensitive, any liquid on the sensor (e.g. droplets on the surface) can trigger it.
Comes in a chemically resistant Polysulfone housing material – the standard choice for most applications – for external sensor mounting and for use in standard operating temperature ranges (-25 to 80°C).
Features:
Reverse polarity, ESD and transient over-voltage protected
Wide supply voltage range
Push-pull output, capable of sinking or sourcing up to 100mA, can directly drive small loads
Solid state, fully enclosed, so no moving parts to cause unreliability
Small in size so they can be installed in applications where space is limited
Can detect tiny amounts of liquid when positioned correctly, ideal for leak detection
Fast response time
Repeatable switching point
Built-in output delays available on request for applications where sloshing causes intermittent switching
Very robust permitting use in a wide range of fluids and chemicals
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.
Python for Microcontrollers — Python on Microcontrollers Newsletter: New Thonny and Git Versions, Plenty of Projects and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi