This project allows you to monitor the level of 2 containers filled with liquid. The levels can be shown on a website. The example below has one sensor connected by wire, and another sensor connected wirelessly by XBee.

The website allow you to configure the minimum and maximum levels (for a full and empty tank), so the level can be shown in percentage. Also the tcp/ip settings can be configured.

This project was created at the second Belgian Arduino Jam Gent by:

- Jo3ri  C (http://www.jo3ri.be/) Check this site for more information about the included webserver
- Erik DC
- Wim DB


Step 1: Main module

The main module is composed of an Aduino Ethernet board (or an arduino with Ethernet shield).

Directly attached is the URM37 ultrasonic sensor from DFRobot (ethernet cable is used as extension lead). The URM37 is used in TTL mode, so only 4 wires are need (2 for power + 2 for data)

Also on the main board is the XBee Explorer (https://www.sparkfun.com/products/9132), that takes care of the 3.3 to 5V conversion, and receives the data from the wireless sensor.

<p>In this project it was both fun and educational. I just made Ultrasonic measurement part and added LEDs to show level. + very good idea and can be used in many places</p>
<p>hello all, good project and well explianed thanks. I stumbled on this whilst researching something for my own project. I've built a similar thing to this on the raspberry pi. It would have saved me quite a bit of time if i'd have found this instructable first. However maybe our paths cross at the right point. My next aim is to make mine non intrusive thus the ultrasonic transducers are clamped glued or magnetitcally attached to the tank. My theory is it is still tof but ignore the first few reflections off the metal tank wall. However this is where i get stuck (thus the research). Have you tried to do somethign like this ? </p><p>Note to get rid of wave on the liquid interfering with the readings just average out over a set of readings. For me the level change is very slow so I can easily do an average of 100 readings. Thanks agian</p>
<p>I am using this to fill overhead tank of my home, the only problem I find is it becomes tricky when the water moves inside the tank. The waves / ripples inside the tank will send in incorrect readings. Especially when the pump is on and its filling the water tank.</p><p>The ultrasonic sensor is very cheap costs around $2 so replacing the damaged sensor is not a hassle.</p>
<p>I have a question. The ultrasonic sensors may get damaged due to moisture inside the overhead tank. What solution do you suggest for this problem? </p>
<p>we have 24 over head tanks and we would want min # and cost of sensors to deal with auto start and auto on of motor pump that starts as and when any tank is low on water and shuts complete when all water tanks are filled. Can we get this solution with your work ? tanks are on above 2nd floor of houses and motor pump on ground floor.</p>
<p>Hi,</p><p>This is brilliant, really want to make one, please can you share the magic. Can you send me a link to download the code.</p><p>Web interface is great :)</p><p>Well done Dans</p>
Great project <br>
Great project guys! And congrats with the 2nd place ;-) <br>In my eyes, this was a winner! It has a wide field of potential uses. We can't say that about the bike-project, however it was a nice one too :) <br> <br>Just one question: <br>What if the liquids container goes conical or rounded to the bottom? <br>It would be a nice extra if those variables are integrated in the setup (measuring) section to get an accurate readout of the remaining liquid.
Well, for most containers it doesn't really matter that much, but one could go with different calculations, mind you, they would be different for every container.
That last statement was my point... and the challenge ;-) But I'm thinking outside the project, so never mind ;-)
Being a member of the team on the arduino-jam, I continue this project on my own website. For now I finished a wired version, with wired only sensors. Later on you will be able to set this up in the config page. Go have a look <a href="http://www.jo3ri.be/a/jo3ri.be/jo3ri/arduino/projects/tank-level-measuring-basic" rel="nofollow">http://www.jo3ri.be/a/jo3ri.be/jo3ri/arduino/projects/tank-level-measuring-basic</a>
nice, what was your reason for designing this interface? What do you think the accuracy of these ultrasonic sensors is?
The main reason was to monitor 2 Diesel containers locked away in the cellar.
You mean the webinterface ? <br> <br>We already had the website from another project, so we decided to re-use it for this purpose. <br> <br>It is accurate to at least 1cm. for the purpose of measuring liquid levels in big containers this is plenty... <br> <br>The biggest advantage of ultrasonic measuring is that it is not invasive, it does not touch the liquid, and it has no moving (or corroding) parts. <br> <br>Erik

About This Instructable


67 favorites


More by xperimental_erik: Arduino dual ultrasonic liquid level meter with integrated website
Add instructable to: