Offline
Jr. Member
Karma: 0
Posts: 57
|
 |
« on: August 23, 2012, 03:57:50 am » |
If I keep the ultrasonic sensors (40KHZ/25KHZ) in a sealed plastic container, will they still measure the distance? I want to measure the water level in a tank about 10ft depth and I don’t have the water proof ultrasonic sensors available at my place. Any suggestions are welcome.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 9
Posts: 1000
|
 |
« Reply #1 on: August 23, 2012, 07:13:49 pm » |
I think that will block the ultrasonic sound.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #2 on: August 23, 2012, 08:26:20 pm » |
Yes, won't work. You might look into analog IR sensors, they might work through a transparent cover. Sharp makes some but you have to watch that the minimum and maximum ranges match your application.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Toledo, OH
Offline
Sr. Member
Karma: 16
Posts: 407
|
 |
« Reply #3 on: August 24, 2012, 12:52:02 pm » |
If I keep the ultrasonic sensors (40KHZ/25KHZ) in a sealed plastic container, will they still measure the distance? I want to measure the water level in a tank about 10ft depth and I don’t have the water proof ultrasonic sensors available at my place. Any suggestions are welcome.
I don't know your exact usage, but maybe instead of measuring the depth of the water from the surface down, you could measure the distance from above the surface to the water's surface. Then, with a known surface level and depth, you could easily calculate the depth. In other words, put the ultrasonic sensor let's say 1 foot above the surface of the water. The sensor would measure the distance as 12 inches. You then measure the distance from the sensor to the bottom of the tank, lets say it's 132 inches. So, when the sensor reads 12 inches, you would do 132-12=120 inch water depth. When the sensor reads 15 inches, 132-15=117 inch water depth. While the ultrasonic sensor won't work under water, the ping will reflect off the water's surface. Not knowing your exact usage maybe this won't work. But, if it's a tank, it has a static depth and probably a place to mount the sensor above water. If you do choose to use an ultrasonic sensor, may I suggest the NewPing library which has a ping_median method that would work nicely to filter out noise and get an accurate measurement with something like this that's probably not moving quickly. Tim
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 57
|
 |
« Reply #4 on: August 25, 2012, 05:51:45 am » |
Thanks All for your responses!
@Tim, Thanks for your suggestion!. Its a closed underground tank and I can mount the sensors above the water surface without any difficulty. But there will be lot of moisture inside the tank and I read some where that the moisture inside the tank can damage the sensors.Not sure if its true, that's why I was looking for the water proof sensors, but unfortunately those are not available here.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
|
 |
« Reply #5 on: August 25, 2012, 05:54:32 am » |
.Not sure if its true, that's why I was looking for the water proof sensors, but unfortunately those are not available here. what about automotive sensors?
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 28
|
 |
« Reply #6 on: August 25, 2012, 08:37:25 am » |
Hello from France,
Even if you find an ultrasonic sensor to put in the water, the speed of sound if a lot more high in water than in air, so it could be difficult to work with.
May be you can use a pressure sensor. You just have to put it at the bottom and read the pressure : about 14.5 PSI for 33 feets of water depth.
|
|
|
|
|
Logged
|
Stone age was not finished due to a lack of stones
|
|
|
|
Europe
Offline
Full Member
Karma: 0
Posts: 104
|
 |
« Reply #7 on: August 26, 2012, 08:07:40 am » |
.Not sure if its true, that's why I was looking for the water proof sensors, but unfortunately those are not available here. what about automotive sensors? From one of my sensorics classes: Automotive sensors (older versions, and maybe even some new ones), are essentially created from the floating part and the resistor wire... The floating part is sliding on the resistor wire, giving us the exact volume of the liquid inside the tank (like a pot meter)... Older car models had a 12V system, so if you hit something, and +12 and GND shorted, well the car would blew up... My teacher had the opportunity to open one of cars tank, and he found out that the wires, and the connectors of the sensor were so badly insulated, and that every petrol car is essentially a time bomb (imagine riding over bumpy roads)... So if your liquid won't blow up, you could use the existing car sensors.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
|
 |
« Reply #8 on: August 26, 2012, 08:53:42 am » |
No, I meant automotive ultrasonic parking sensors. It seems to me they'd have to be at least a little moisture resistant.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Europe
Offline
Full Member
Karma: 0
Posts: 104
|
 |
« Reply #9 on: August 26, 2012, 09:06:17 am » |
No, I meant automotive ultrasonic parking sensors. It seems to me they'd have to be at least a little moisture resistant.
there are 2 types of commercial parking sensors: ultrasonic sensors --> made from "speakers" and they have no big protection (because any significant protection would block the sound) and IR sensors (IR diode, and IR reciever) can be behind a glass or plastic --> and that thin plastic layer makes them "moisture resistant"... but, if the moisture blurs the thin plastic layer, the sensor will stop working, and you will have to wipe the thin plastic in order to get it working again
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
|
 |
« Reply #10 on: August 26, 2012, 09:13:38 am » |
My car has both front and rear ultrasonic sensors. I would have thought that they'd be at least IP65 to withstand rain hitting them at over 160 kph.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
|
|
Toledo, OH
Offline
Sr. Member
Karma: 16
Posts: 407
|
 |
« Reply #12 on: August 26, 2012, 10:50:13 pm » |
My car has both front and rear ultrasonic sensors. I would have thought that they'd be at least IP65 to withstand rain hitting them at over 160 kph.
The issue is not if a sensor that can withstand rain (obviously, they can as weatherproof ultrasonic sensors exist). The issue is will it actually work while submerged. Put your car under water, back up, and see if the sensors works. I would guess they won't. The ability for the sensor to withstand rain at 160kph is meaningless in this context. Will it work underwater is the question, and your car sensors I'm sure wouldn't. But, I would suggest trying, just to be sure ;-) Tim
|
|
|
|
« Last Edit: August 27, 2012, 04:31:16 pm by teckel »
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 61
|
 |
« Reply #13 on: August 27, 2012, 03:52:44 pm » |
How can you acces the tank? You can measure -the weight of the tank -measure the distance from the top untill water/fluid comes (watersensor with steppermotor). -as posted before the pressure at the bottom with good knowledge of the tanks properties you could add led+lightsensors in certain distances at the inner walls... ===== about the waterresistant ultrasonic sensors. In generall the speed in water is ~4times higher than in air. As far as i know also your range will decrease drastically but i guess with the right sensors/amplifier thats not a problem. But we wont measure under water? Im not sure if mounted at the bottom these will measure the top of the water as it doesnt reflect. And a swimmer to measure the bottom distance isnt the easiest too. => but for cars there are sensors that work in air and are water resistant. http://futurlec.com/Ultrasonic_Sensors.shtml"Waterproof Ultrasonic Sensor II Waterproof Ultrasonic Sensor for use outdoor and in high-humidity areas. Excellent for alarm systems" http://arduino.cc/forum/index.php?topic=94244.0
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
|
 |
« Reply #14 on: August 27, 2012, 03:58:21 pm » |
Will it work underwater is the question, and your car sensors I'm sure wouldn't. I thought we'd moved away from that, and were measuring the void above the liquid surface, where the worst we could expect would be vapour or condensation.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
|