9

I have a swamp cooler that does not turn off automatically when the water level evaporates below the safe level, and if I fail to turn it off even once I could damage it.

The sensor simply needs to know if it is A) covered in liquid or B) not covered in liquid. I am not interested in how much liquid is left in the swamp cooler.

I have heard that people have used sensors with the Arduino to measure the frequency of bubbles by using a sensor to detect liquid.

What options are available for the RPi?

The first result from Google is a eTape Liquid Level for $40 which can measure how much water remains in the swamp cooler. This would be interesting, but its $40 and I would be paying for a feature I do not need.

This project on Fritzing looks cool and very cheap. It requires the construction of a homemade sensor using copper. I was however hoping to purchase a sensor, but I'll default to this option if necessary.

Matthew Moisen
  • 745
  • 5
  • 11
  • 25
  • I wonder if the simple Fritzing solution would change state too late, after damage had been done. – joan Oct 05 '14 at 18:52
  • @joan What do you mean? Why would it not change state as soon as the water level dropped below the copper pieces? – Matthew Moisen Oct 05 '14 at 19:08
  • That rather depends on how you plan to build and fit the sensor. As described it would be on the floor. – joan Oct 05 '14 at 19:24
  • @joan The swamp cooler I own has a line that indicates the level which the water should never go below while the unit is running. I thought I could hang it exactly at that line. – Matthew Moisen Oct 05 '14 at 19:54
  • 3
    You are way over-thinking this... just use a simple float switch. – Tyson Oct 06 '14 at 14:36
  • Agreed with tysons. You can use sonar, capaticitive, resistive sensors but muck will block sensors over time and the circuits are complex. Use a toilet float like Kamil describes. You can use 2, one on either side as a failsafe. But these things lasts.. well, I have never seen a faulty one yet... – Piotr Kula Nov 05 '14 at 20:27

4 Answers4

5

I found this Raspberry Pi water level meter - should answer the question is there water or not , but also a level indicator , like a measuring cup.

12" eTape Liquid Level Sensor https://www.adafruit.com/product/464

sbayercisco
  • 51
  • 1
  • 1
3

I found this project on Reddit you can modify for your purpose:

http://www.reddit.com/r/raspberry_pi/comments/28byvk/raspisump_sump_pit_water_level_monitoring_with/

It uses the ultrasonic sensor HC-SR04 and I think it's the simplest system you can use.

JJimbo
  • 31
  • 1
3

If you have the room I recommend using an off the shelf Bilge Pump Float Sensor that is designed to trigger a bilge pump in a boat. They are often high quality (if it fails, it could sink your boat) and cheap (walmart). They are essentially single pole switches which are closed when the water level is higher than it, and open when the water level is below it. Many of these use magnetic reed switches that never touch the water even when fully submerged. (it's tough)

Bilge Pump Float Sensor

Pros:

  • cheap
  • reliable
  • simple to interface

Cons:

  • Size (maybe)
  • Has to touch the water

enter image description here

instantchow
  • 131
  • 2
2

What about something like this?

enter image description here

This is simplified drawing to show you idea.

Maybe you should build something like toilet reservoir valve:

enter image description here

(image source: link)

If you need digital signal (when specyfic level is reached) - you can use simple switch. If you need analog value - use potentiometer.

Kamil
  • 396
  • 1
  • 3
  • 13
  • This is actually a very robust way, a bit bulky but its simple. I have seen these used to cut off pumps in ground water pumps in Africa. Virtually maintenance free. – Piotr Kula Nov 05 '14 at 20:25