HC-SR04 UltraSonic Sensor

-13% HC-SR04 UltraSonic Sensor

Ultrasonic sensor operating in the range of 2-200 cm. Powered by 5 V. The output is a signal whose duration is proportional to the measured distance.


  • Power supply: 5 V
  • Average power consumption: 15 mA
  • Measuring range: from 2 cm to 200 cm
  • Output: frequency signal
  • Operating frequency: 40 kHz
  • Dimensions: 45 x 20 x 15 mm


To start the measurement, a voltage pulse (high state 5V) must be given to the TRIG pin for 10 μs. The module measures distance by means of a 40 kHz sound wave. A signal is sent to the microcontroller  in which the distance depends on the duration of the high state and can be calculated from the formula:

test distance = (high level time × velocity of sound (340m / s) / 2


  • test distance - measured distance
  • high level time - duration of the high state 
  • velocity of sound - speed of sound wave propagation in the air - 340 m / s


In short, to get the result in cm you can use the formula:

distance [cm] = (high level time [us] * 34) / 1000/2



The measurement procedure is shown in the figure below.

Write a review

Note: HTML is not translated!
    Bad           Good
  • Views: 68
  • Product Code: Arduino Sensors
  • Availability: In Stock
  • Rs 150.00
  • Rs 130.00

Tags: ultrasonic sensor in pakistan

Arduino Uno R3 is a basic microcontroller board based on the Atmega328 microcontroller and also..
Rs 590.00
The 5V 2 Channel Relay Module in Pakistan Shield provides a solution for controlling high current de..
Rs 130.00 Rs 125.00
The PIR type sensor allows motion detection, used to detect the presence of people in rooms in alarm..
Rs 130.00 Rs 120.00
The module with the TCS3200D sensor enables color measurement (RGB components - Red, Green, Blue), w..
Rs 520.00 Rs 450.00
Offered Arduino UNO R3 Atmel is the most popular module on the market compatible with the ..
Rs 400.00 Rs 390.00
Digital 8-Bit TM1638 LED Module For Arduino PIC AVR contain eight 7-segment red LED digits, eight re..
Rs 350.00 Rs 320.00
Ultrasonic sensor operating in the range of 2-200 cm. Powered by 5 V. The output is a signal wh..
Rs 150.00 Rs 130.00