0

Which microcontroller do I need to use with a liquid sensor
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Which microcontroller do I need to use with a liquid sensor

by benjibritt on Fri Mar 26, 2021 12:06 pm

I'm wanting to turn a bilge pump into an automatic bilge pump. My plan is to use the Optomax Digital Liquid Level Sensor (https://www.adafruit.com/product/3397) and the Controllable Four Outlet Power Relay Module version 2 (https://www.adafruit.com/product/2935) to automatically turn the pump on when the water reaches a certain level (about 1/4 inch). I've tried to figure out which board I need to control this, but I'm getting overwhelmed with details. I'm not an expert at this, but I've done a few coding projects and this seems like something that should be really easy to do, I'm just trying to create an automatic puddle pump to take care of occasional water in my basement. I need something able to accept the correct signal from the water sensor and then send the correct signal to the power relay, but there are so many options and most of them seem to have too many features (and too high a price) to justify for this simple project.

Also, I know that automatic bilge pumps already exist, but I cannot find one that works in shallow water. Every automatic pump I've found requires at least an inch of water to begin pumping, and every pump that can start pumping at super shallow depths is not automatic.

For reference, I'm planning to use the WAYNE WWB WaterBUG Submersible Pump from Amazon for this project.
(https://www.amazon.com/WWB-WaterBUG-Submersible-Multi-Flo-Technology/dp/B018LRUDUU/ref=sr_1_6?dchild=1&keywords=shallow%2Bwater%2Bpump&qid=1616769162&sr=8-6&th=1)

Thank you for reading, I hope this isn't a stupid inquiry, please forgive me if is!

benjibritt
 
Posts: 1
Joined: Fri Dec 28, 2018 1:59 am

Re: Which microcontroller do I need to use with a liquid sen

by adafruit_support_bill on Fri Mar 26, 2021 12:22 pm

Most any microcontroller can handle that. The Metro is an easy one to get started with:
https://www.adafruit.com/product/2488

There is a Mini version also if size is a concern:
https://www.adafruit.com/product/2590

adafruit_support_bill
 
Posts: 81296
Joined: Sat Feb 07, 2009 10:11 am

Re: Which microcontroller do I need to use with a liquid sen

by WillemX on Thu Apr 01, 2021 5:51 am

Why use a microcontroller. The relay module has a low voltage control input. You only have to connect it to the liquid sensor. All you need is a small power supply for the sensor.
BTW, altough in this case the software/microcontroller is easy, it is less easy to make it really reliable. You should add a watchdog and a brown out detector which are usually omitted in DIY projects. And believe me, a microcontoller running 24/7 will go wrong after a few weeks or months and you wouldn’t notice.

WillemX
 
Posts: 1
Joined: Thu Apr 01, 2021 5:32 am

Please be positive and constructive with your questions and comments.