Ultrasonic distance sensor HC-SR04 2-200cm + mounting bracket

Bestseller
47398208
21 GEL
  • Brand Botland
  • Shipping from Poland
  • Post delivery June 19
  • Shipping cost for orders to Georgia from GEL 187

Properties

Voltage To
5.0 V
Voltage From
5.0 V
Датчик - расстояние от
2.0 cm

Design

Connection
Digital I / O

General characteristics

Датчик - расстояние до
200 см

Other features

Brand
Botland

Description

Description

Ultrasonic sensorHC-SR04operating in the range from 2 cm to 200 cm with aspecial bracket for mounting. It is powered with the voltage of 5 V. The output is a signal whose duration is proportional to the measured distance.

 

The product is compatible with Arduino and Raspberry Pi

  • User guide for Arduino
  • Library for Arduino

 

Specification
  • Supply voltage: 5 V
  • Average current consumption: 15 mA
  • Measuring range: from 2 cm to 200 cm
  • Output: frequency signal
  • Working frequency: 40 kHz
  • The kit includes the mounting bracket
  • Dimensions: 45 x 20 x 15 mm

 

Details inthe documentation.

 

Video Method of application

To begin the measurement, you must specify the voltage pulse on the TRIG pin (5V high status) during 10 us. The module measures distance using sound waves with a frequency of 40 kHz. To the microcontroller sent is a signal which distance depends on the duration of high status and it can be calculated using the formula: 

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

where:

  • test distance - the measured distance
  • high level time - duration of the high status
  • velocity of sound - velocity of propagation of sound waves in air is 340 m/sec

 

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

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

 

 

The measurement procedure is shown in the figure below.

 

Useful links
  • Example of connecting to Arduino
  • Videotutorial
  • NewPing library for Arduino with a sample program
  • Example of project for Arduino
  • Documentation of the HC-SR04 sensor