All YOU NEED TO KNOW ABOUT THIS PROJECT
In this project we want to measure the level in a diesel (or any other liquid holding) tank, without having to put something into the liquid itself. There for we will be using a Ultrasonic sensor, which can sense distance. This way we can convert the distance the sensor is measuring from the surface of the liquid, into a percentage of the liquid level. Once this is calculated, we will show the results on on a build in webpage. With this code you'll be able to measure the level in 2 different tanks, but on setup page in it's website, you will be able to enable or disable 1 or 2 tanks being shown.
Although I have been tinkering with this project for more than a year, I've never had enough time to finish it. The biggest problem was, that I didn't know how to use 2 sensors at the same time. Not the mention that I didn't know a thing about Arduino. 21-23 October 2012 I participated at the Arduino-Jam at Timelab in Ghent and this became one of the projects. (We ended up 2nd). So now the project has been finished, even better than I had imagined. One of my team members found out how to use 2 sensors at the same time, and he found out how to use the Xbee Explorer. Using the Xbee, one can now use the sensors remotely with a 1,5 km range. We even tested this with small solar panels and 2x 1F capacitors. This combination gave just enough juice to boot the BareBone Arduino, read 2 or 3 measurements and send them over to the main Arduino, after which it ran out of juice. But the whole process started all over again, as soon as the capacitors where at full capacity.
Thanks go to @ToonNelissen for organizing the Arduino-Jam and special thanks to Erik and Wim for being my team members and having solved a lot of problems. We had lot's of fun.
WHEN RUNNING THIS SKETCH FOR THE VERY FIRST TIME, GO TO THE CONFIG PAGE IN YOUR BROWSER AND PRESS "SUBMIT AND RESTART ARDUINO" ONCE. FROM NOW, ON ALL YOUR SETUP PARAMETERS WILL BE SAVED IN EEPROM AND WILL SURVIVE POWER FAILURE OR HARD RESET!!!
HARDWARE + SOFTWARE REQUIREDWired version
CIRCUIT OR SCHEMATIC
Wired version
PICTURESSCREENSHOTS
screenshots of version 2.0 For as long as I'm testing, this graphbuilder shows you the updates of my 2 sensors on cosm.com (mind you, this a testing setup)
![]() VIDEOLINKSThis project mentioned on Arduino-Jam 2nd edition: http://www.arduino-jam.org/arduino-jam-ii-2012/ The URM37 manual page: http://www.dfrobot.com/wiki/index.php?title=URM37_V3.2_Ultrasonic_Sensor_%28SKU:SEN0001%29 cosm.com (used to be know as pachube): https://cosm.com/ TextFinder: http://playground.arduino.cc/Code/TextFinder CHANGELOG
|
DUAL TANK LEVEL MEASURING
Selection | File type icon | File name | Description | Size | Revision | Time | User |
---|---|---|---|---|---|---|---|
ċ
|
Download |
10k | v. 1 | 27 Sep 2012, 06:23 | JO3RI Read Grab Share | ||
ċ
|
Download |
10k | v. 1 | 28 Sep 2012, 07:22 | JO3RI Read Grab Share | ||
ċ
|
Download |
11k | v. 1 | 2 Oct 2012, 07:19 | JO3RI Read Grab Share | ||
ċ
|
Download |
11k | v. 1 | 4 Oct 2012, 01:29 | JO3RI Read Grab Share | ||
ċ
|
Download |
13k | v. 1 | 4 Oct 2012, 04:37 | JO3RI Read Grab Share | ||
ċ
|
Download |
13k | v. 1 | 5 Oct 2012, 01:54 | JO3RI Read Grab Share | ||
ċ
|
Download |
13k | v. 1 | 5 Oct 2012, 05:29 | JO3RI Read Grab Share | ||
ċ
|
Download |
15k | v. 1 | 5 Oct 2012, 07:37 | JO3RI Read Grab Share | ||
ċ
|
Download |
15k | v. 1 | 12 Oct 2012, 06:55 | JO3RI Read Grab Share | ||
ċ
|
Download |
15k | v. 1 | 10 Jan 2013, 01:01 | JO3RI Read Grab Share | ||
ċ
|
Download |
15k | v. 1 | 4 Feb 2013, 04:30 | JO3RI Read Grab Share | ||
ċ
|
Download |
15k | v. 1 | 4 Feb 2013, 06:58 | JO3RI Read Grab Share | ||
ċ
|
Download |
15k | v. 1 | 4 Feb 2013, 07:54 | JO3RI Read Grab Share | ||
ċ
|
Download |
17k | v. 1 | 21 Mar 2013, 07:06 | JO3RI Read Grab Share |