

The SH-U09C5 is a compact, high-performance ultrasonic sensor module manufactured by DSD TECH. It is designed for accurate distance measurement and object detection. The module operates by emitting ultrasonic waves and calculating the time taken for the echo to return, allowing it to determine the distance to an object. Its reliability and precision make it ideal for a wide range of applications, including robotics, automation, obstacle detection, and smart systems.








The SH-U09C5 ultrasonic sensor module is designed for ease of use and high performance. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Operating Current | ≤ 15 mA |
| Measuring Range | 2 cm to 400 cm |
| Accuracy | ± 3 mm |
| Operating Frequency | 40 kHz |
| Trigger Input Signal | 10 µs TTL pulse |
| Echo Output Signal | TTL pulse width proportional |
| Dimensions | 45 mm x 20 mm x 15 mm |
| Operating Temperature | -15°C to 70°C |
The SH-U09C5 module has a 4-pin interface for easy integration into circuits. Below is the pinout description:
| Pin Name | Pin Number | Description |
|---|---|---|
| VCC | 1 | Power supply input (5V DC) |
| TRIG | 2 | Trigger pin: Input a 10 µs TTL pulse to initiate |
| ECHO | 3 | Echo pin: Outputs a TTL pulse proportional to |
| GND | 4 | Ground connection |
The SH-U09C5 ultrasonic sensor is straightforward to use in a circuit. Follow the steps below to integrate and operate the module:
Below is an example Arduino sketch to use the SH-U09C5 for distance measurement:
// Define pins for the SH-U09C5 ultrasonic sensor
const int trigPin = 9; // TRIG pin connected to digital pin 9
const int echoPin = 10; // ECHO pin connected to digital pin 10
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
// Set TRIG pin as output and ECHO pin as input
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
// Send a 10 µs pulse to the TRIG pin to initiate measurement
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
// Measure the duration of the ECHO pulse
long duration = pulseIn(echoPin, HIGH);
// Calculate the distance in centimeters
// Speed of sound = 343 m/s or 0.0343 cm/µs
// Distance = (duration / 2) * 0.0343
float distance = (duration / 2.0) * 0.0343;
// Print the distance to the Serial Monitor
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
// Wait for a short period before the next measurement
delay(100);
}
pulseIn() function measures the time for which the ECHO pin remains HIGH.No Output or Incorrect Distance Readings
Unstable or Fluctuating Readings
Sensor Not Responding
Limited Range or Accuracy
Can the SH-U09C5 measure distances below 2 cm?
What is the maximum range of the SH-U09C5?
Can I use the SH-U09C5 with a 3.3V microcontroller?
Is the SH-U09C5 waterproof?
By following this documentation, you can effectively integrate and use the SH-U09C5 ultrasonic sensor in your projects.