Ultrasonic Sensor

Br 700.00

  • The HC-SR04 is a popular, ultrasonic sensor for non-contact distance measurement, using sound waves to detect objects from 2cm to 80cm away, ideal for robotics and obstacle avoidance with microcontrollers like Arduino. It works by sending a 40kHz ultrasonic pulse (via its Trigger pin) and measuring the time (via its Echo pin) for the sound to bounce back, calculating distance using the speed of sound. It has four pins: VCC (5V), Trigger, Echo, and GND (Ground)
  • Operating voltage: 5V
  • Practical Measuring Distance: 2cm to 80cm
  • Accuracy: 3mm
  • Measuring angle covered: <15°
  • Operating Current: <15mA
  • Operating Frequency: 40Hz
  • HC-SR04 distance sensor is commonly used with both microcontroller and microprocessor platforms like Arduino, ARM, PIC, Raspberry Pie etc.
  • This sensor is a very popular sensor used in many applications where measuring distance or sensing objects are required.
  • The module has two eyes like projects in the front which forms the Ultrasonic transmitter and Receiver.
  • The Ultrasonic transmitter transmits an ultrasonic wave, this wave travels in air and when it gets objected by any material it gets reflected back toward the sensor this reflected wave is observed by the Ultrasonic receiver module.
  • Power the Sensor using a regulated 5V through the Vcc ad Ground pins of the sensor. The current consumed by the sensor is less than 15mA and hence can be directly powered by the on board 5V pins (If available). The Trigger and the Echo pins are both I/O pins and hence they can be connected to I/O pins of the microcontroller. To start the measurement, the trigger pin has to be made high for 10uS and then turned off. This action will trigger an ultrasonic wave at frequency of 40Hz from the transmitter and the receiver will wait for the wave to return. Once the wave is returned after it getting reflected by any object the Echo pin goes high for a particular amount of time which will be equal to the time taken for the wave to return back to the sensor.
  • The amount of time during which the Echo pin stays high is measured by the MCU/MPU as it gives the information about the time taken for the wave to return back to the Sensor.

Applications

  • Used to avoid and detect obstacles with robots like biped robot, obstacle avoider robot, path finding robot etc.
  • Used to measure the distance within a wide range of 2cm to 400cm
  • Can be used to map the objects surrounding the sensor by rotating it
  • Depth of certain places like wells, pits etc can be measured since the waves can penetrate through water

You may also like…