Can you provide detailed information about ultrasonic sensor HC-SR05 maximum detection range?

@boualleg sabrina I'm considering using an ultrasonic sensor HC-SR05 for distance measurements. I'm using it for water lever project, Can you provide detailed information about its maximum detection range and any factors that might influence its accuracy over distance?
17 Replies
boualleg sabrina
actually there is no specific HC-SR05 sensor
boualleg sabrina
you can use the hc-sr 04
boualleg sabrina
Operating Voltage: 5V DC Operating Current: 15 mA Measuring Range: 2 cm to 400 cm (approximately) Resolution: 1 cm Frequency: 40 kHz Trigger Pulse Width: 10 μs Echo Pulse Width: Variable (proportional to distance)
boualleg sabrina
these are specification of the sensor
boualleg sabrina
the way it works is very simple ,it emits an ultrasonic pulse (sound wave) from its transmitter (Trig pin),
boualleg sabrina
The pulse travels through the air and reflects off an object. then ,The pulse travels through the air and reflects off an object.
boualleg sabrina
The time taken for the pulse to travel to the object and back is measured. Using the speed of sound, the distance to the object is calculated.
boualleg sabrina
there is formula to calculate the distance
boualleg sabrina
Distance = Speed of Sound * (Time Taken / 2)
boualleg sabrina
Speed of sound in air is approximately 344 m/s.
boualleg sabrina
i'm not sure if I can share the arduino code example here , but if you need it I'll do it
aymen ammari
aymen ammari2mo ago
Very good..... About the sound wave does it get effected by water? I mean it won't be deformed by result it give me wrong measurements??
aymen ammari
aymen ammari2mo ago
Very good..... About the sound wave does it get effected by water? I mean it won't be deformed by result it give me wrong measurements??
boualleg sabrina
I think you can yeah
boualleg sabrina
you just have to keep it protected from water
Chimmuanya Okere
Yes it gets affected by water. It bounces back if it hits any liquid
aymen ammari
aymen ammari2mo ago
Like any surface it won't be a problem right?
Want results from more Discord servers?
Add your server
More Posts
Why you should consider .8mm PCBs over 1.6mm PCBs?Hello, I'm working on an article about why you should consider .8mm PCBs over 1.6mm PCBs (mostly in Do you think it's better to use a Raspberry Pi with an external ADC, or any other suggestions?@Petr Dvořák Do you think it's better to use a Raspberry Pi with an external ADC, or do you have anyany info on object detection and segmentation using raspberry pi 4 model B with USB cameraHi , Myself Dileep , can anyone provide me with information or video content on object detection andi need Zynq dev board with LVDS pins exposed, please suggest me boards ?Hey team i need Zynq dev board with LVDS pins exposed, please suggest me boards ? Thank you in advanI was publishing sunrise &sunset time but while using in code its not working. can anyone assist me?I am using MQTT for a small project where through openweather API and Node-red i am publishing surModern C Development EnvironmentThis article provides a comprehensive guide to setting up a modern development environment for C/C++How to Install and Secure the Mosquitto MQTT Messaging Broker on Ubuntu 18.04https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messagNEW ARM64 AIOT boards!!!As title, I made two boards base on ARM64 MPU with source code providinng, Yocto/Android/Ubuntu can Embedded Software Contract JobIf you are an Embedded software Engineer and have worked on Nordic SoC e.g nRF52xxx SoC. Just Identiobject detection with raspberry piHi , Myself Dileep , can anyone provide me with information or video content on object detection and