Ultrasonic Distance Measurement Control Board HC-SR04


Onboard STM8S103 high-performance microprocessor
With digital display
Data can be output through the serial port
Effective measuring distance: 3cm - 400cm
Display unit: cm 
The biggest error: about 1%
Working voltage: 5V
Test Board size: 24.2x35.1mm
Interface Description:
VCC, GND: 5V power interface
2.54mm white socket: 5V power supply interface
TX: module serial port to send foot
RX: module serial port receive pin
NRST, SWIN: reserved STM8 program download port
Instructions for use:
Measurement distance can be displayed simultaneously through the digital tube and serial port
Digital display, directly plug in the ultrasonic module, access 5V power supply
Serial port output: plug in the ultrasonic module, the module's VCC, TX, RX, GND are connected to USB to TTL module 5V, RX, TX, GND, serial communication baud rate 9600, the output format: "D: XXX r n ", Where XXX represents the distance, the unit is CM
Ranging, the measured object area of not less than 0.5 square meters and should be as flat as possible and slightly stronger reflective ability, otherwise it will affect the test results.
Effective measuring distance 3cm-400cm, beyond this range may result in data is not allowed or display 000
An Ultrasonic Shortcut


Using Introduction:

  1. 1. The measurement distance can be displayed via a digital tube and serial port.
    Digital Tube Display: directly plug in the ultrasonic module, connect 5V power.
  2. Serial Port: plug-in ultrasonic module, VCC, TX, RX, GND respectively connects 5V, RX, TX, GND of USB to TTL module; serial port communication baud rate 9600, output format “D:XXXrn”; XXX represents distance, unit is cm.


  1. When measuring the distance, the area of a measured object should be no less than 0.5 square meters, and it should be smooth and has strong reflectivity; otherwise, it will affect the test result.
  2. Valid Measurement Distance: 3-400cm; if longer than this range, it will lead to incorrect data or 000 display.


  1. Onboard STM8S103 high-performance microprocessor.
  2. With digital tube display.
  3. Serial port data output.
  4. Valid Measurement Distance: 3-400cm.
  5. Display Unit: cm.
  6. Max Error: 5V.
  7. Board Size: 36 x 25 x 12 mm.
  8. VCC, GND: 5V power interface.
  9. 2.54mm White Socket: 5V power interface.
  10. TX: module serial port transmits pin.
  11. RX: module serial port receive pin.
  12. NRST, SWIN: preset STM8 program download port.

Kit include:

1 x Ultrasonic Distance Measurement Control Board

7 JD
In stock

Related Products

subscribe to our weekly newsletter