HC-SR04 Distance Measuring Module

From B-Wiki
Jump to navigation Jump to search


HC-SR04 Distance Measuring Module



HC-SR04 Distance Measuring Module
HC-SR04 Distance Measuring Module Schematic
  • Working Voltage : 5V(DC)
  • Static Current: Less than 2mA.
  • Output Signal: Electric frequency signal, high level 5V, low level 0V.
  • Sensor Angle: Not more than 15 degrees.
  • Detection Distance: 2cm-450cm.
  • High Precision: Up to 0.3cm
  • Input Trigger Signal: 10us TTL impulse
  • Echo Signal : output TTL PWL signal

Mode of connection

VCC trig(T) echo(R) GND

Use method

Supply module with 5V, the output will be 5V while obstacle in range, or 0V if not.The out pin of this module is used as a switching output when anti-theft module, and without the feet when ranging modules.

Note : the module should be inserted in the circuit before been power, which avoid producing high level of misoperation;if not, then power again.

Module Working Principle

  1. Adopt IO trigger through supplying at least 10us sequence of high level signal.
  2. The module automatically send eight 40khz square wave and automatically detect whether receive

the returning pulse signal.

  1. If there is signals returning, through outputting high level and the time of high level continuing is

the time of that from the ultrasonic transmitting to receiving. Test distance =(high level time * sound velocity (340M/S) / 2.


This module is not suitable to connect with electric power, if you need to connect this module with electronic power,then let the GND terminal of this module to be connected first,otherwise, it will affect the normal work of the module.


Parameter Value
Module Size 43mm(length)*21mm(width)
Stock 10pcs


HC-SR04 Distance Measuring
HC-SR04 Distance Measuring
Pin Mapping
To edit table: File:HC-SR04.tgn

Link to buy