Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Ultrasonic Sensor HC-SR04


Best Answer JerseyTechGuy, 27 March 2013 - 12:07 PM

Yes, these ping type sensors will send an ultrasonic wave that does reflect off of water.  You will of course need to pre-program some know values to do the calculations.  For instance... if the sensor is placed on the top of a container facing the bottom it will give you a reading of how far away the water is from the top of the container where the sensor is.  In order to measure the water level you would then need to know how far the bottom of the container is from the sensor and do the math (ContainerHeight - PingReading = WaterHeight).

 

At the same time, if what you are measuring is the inside of the container, you can of course calculate out the volume of the container and be able to read back how many litres / gallons, etc are in the container by doing the volumetric math.

 

Welcome to the forums and good luck with your project!

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 Etnic

Etnic

    New Member

  • Members
  • Pip
  • 5 posts

Posted 27 March 2013 - 10:38 AM

Hello,

 

I have a quastion....Can I meassure water level with [color=rgb(55,72,83);font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;font-weight:bold;]Ultrasonic Sensor HC-SR04 ?[/color]

 

[color=rgb(55,72,83);font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;font-weight:bold;]Thanks[/color]



#2 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 27 March 2013 - 12:07 PM   Best Answer

Yes, these ping type sensors will send an ultrasonic wave that does reflect off of water.  You will of course need to pre-program some know values to do the calculations.  For instance... if the sensor is placed on the top of a container facing the bottom it will give you a reading of how far away the water is from the top of the container where the sensor is.  In order to measure the water level you would then need to know how far the bottom of the container is from the sensor and do the math (ContainerHeight - PingReading = WaterHeight).

 

At the same time, if what you are measuring is the inside of the container, you can of course calculate out the volume of the container and be able to read back how many litres / gallons, etc are in the container by doing the volumetric math.

 

Welcome to the forums and good luck with your project!



#3 Etnic

Etnic

    New Member

  • Members
  • Pip
  • 5 posts

Posted 27 March 2013 - 05:48 PM

thanks for your post. Yes, I found on internet some project. I hope they will be working.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.