Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use US-10 Ultra sonic sensor: Examples, Pinouts, and Specs

Image of US-10 Ultra sonic sensor
Cirkit Designer LogoDesign with US-10 Ultra sonic sensor in Cirkit Designer

Introduction

The US-10 ultrasonic sensor is a device that uses ultrasonic waves to measure distance. It emits a sound wave and calculates the time it takes for the echo to return, allowing it to determine the distance to an object. This sensor is widely used in robotics, automation, and IoT applications for tasks such as obstacle detection, distance measurement, and object tracking. Its reliability, ease of use, and affordability make it a popular choice for both hobbyists and professionals.

Explore Projects Built with US-10 Ultra sonic sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Based Ultrasonic Radar System with Servo Motor
Image of ultrasonic radar: A project utilizing US-10 Ultra sonic sensor in a practical application
This circuit is designed to function as an ultrasonic radar system, utilizing an Arduino UNO microcontroller, an HC-SR04 ultrasonic sensor, and an SG90 servo motor. The Arduino controls the servo to sweep the ultrasonic sensor through a range of angles, while the sensor measures the distance to any objects in its path. The system outputs the angle and distance measurements to the serial monitor and provides an indication when an obstacle is detected within 20 cm.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Ultrasonic Distance Sensor with OLED Display and SIM900A Communication
Image of SENSOR: A project utilizing US-10 Ultra sonic sensor in a practical application
This circuit is a distance measurement and communication system using an Arduino UNO, an ultrasonic sensor, an OLED display, and a SIM900A module. The ultrasonic sensor measures the distance to an object, which is then displayed on the OLED screen and transmitted via the SIM900A module. The system is powered by a 18650 Li-ion battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Robotic Vehicle with Ultrasonic and IR Sensors
Image of Copy of Circuit Diagram: A project utilizing US-10 Ultra sonic sensor in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an HC-SR04 Ultrasonic Sensor, two IR sensors, a servo motor, two DC motors, and an L298N motor driver. The Arduino controls the motors using the L298N driver, with the ability to move them forward or backward at variable speeds as defined in the embedded code. The ultrasonic sensor is used for distance measurement, the IR sensors likely for obstacle detection, and the servo for precise angular movement, all powered by 12V batteries.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Servo with Ultrasonic Sensor Activation
Image of Smart Dustbin: A project utilizing US-10 Ultra sonic sensor in a practical application
This circuit consists of an Arduino UNO microcontroller powered by a 9V battery, interfaced with an HC-SR04 ultrasonic sensor and a servo motor. The ultrasonic sensor is used to measure distance and, based on this measurement, the Arduino controls the position of the servo. The embedded code on the Arduino operates the servo to open when an object is detected within 10 cm and then close after a delay, suggesting a potential application in automatic lid opening systems.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with US-10 Ultra sonic sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ultrasonic radar: A project utilizing US-10 Ultra sonic sensor in a practical application
Arduino UNO Based Ultrasonic Radar System with Servo Motor
This circuit is designed to function as an ultrasonic radar system, utilizing an Arduino UNO microcontroller, an HC-SR04 ultrasonic sensor, and an SG90 servo motor. The Arduino controls the servo to sweep the ultrasonic sensor through a range of angles, while the sensor measures the distance to any objects in its path. The system outputs the angle and distance measurements to the serial monitor and provides an indication when an obstacle is detected within 20 cm.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SENSOR: A project utilizing US-10 Ultra sonic sensor in a practical application
Arduino UNO-Based Ultrasonic Distance Sensor with OLED Display and SIM900A Communication
This circuit is a distance measurement and communication system using an Arduino UNO, an ultrasonic sensor, an OLED display, and a SIM900A module. The ultrasonic sensor measures the distance to an object, which is then displayed on the OLED screen and transmitted via the SIM900A module. The system is powered by a 18650 Li-ion battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of Circuit Diagram: A project utilizing US-10 Ultra sonic sensor in a practical application
Arduino-Controlled Robotic Vehicle with Ultrasonic and IR Sensors
This circuit features an Arduino UNO microcontroller interfaced with an HC-SR04 Ultrasonic Sensor, two IR sensors, a servo motor, two DC motors, and an L298N motor driver. The Arduino controls the motors using the L298N driver, with the ability to move them forward or backward at variable speeds as defined in the embedded code. The ultrasonic sensor is used for distance measurement, the IR sensors likely for obstacle detection, and the servo for precise angular movement, all powered by 12V batteries.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Smart Dustbin: A project utilizing US-10 Ultra sonic sensor in a practical application
Arduino UNO Controlled Servo with Ultrasonic Sensor Activation
This circuit consists of an Arduino UNO microcontroller powered by a 9V battery, interfaced with an HC-SR04 ultrasonic sensor and a servo motor. The ultrasonic sensor is used to measure distance and, based on this measurement, the Arduino controls the position of the servo. The embedded code on the Arduino operates the servo to open when an object is detected within 10 cm and then close after a delay, suggesting a potential application in automatic lid opening systems.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Obstacle detection in robotics
  • Distance measurement in automation systems
  • Parking assistance systems
  • Liquid level measurement
  • Security and proximity sensing

Technical Specifications

The US-10 ultrasonic sensor operates by emitting ultrasonic waves at a frequency of 40 kHz and measuring the time it takes for the echo to return. Below are the key technical details:

Parameter Value
Operating Voltage 5V DC
Operating Current < 15 mA
Operating Frequency 40 kHz
Measuring Range 2 cm to 400 cm
Accuracy ±3 mm
Trigger Input Signal 10 µs TTL pulse
Echo Output Signal TTL pulse proportional to distance
Dimensions 45 mm x 20 mm x 15 mm

Pin Configuration

The US-10 ultrasonic sensor has four pins, as described in the table below:

Pin Name Description
1 VCC Power supply pin (5V DC)
2 Trig Trigger pin: Sends a 10 µs pulse to initiate measurement
3 Echo Echo pin: Outputs a pulse width proportional to distance
4 GND Ground pin

Usage Instructions

How to Use the US-10 Ultrasonic Sensor in a Circuit

  1. Power the Sensor: Connect the VCC pin to a 5V power source and the GND pin to ground.
  2. Trigger the Sensor: Send a 10 µs HIGH pulse to the Trig pin to initiate a measurement.
  3. Read the Echo: Measure the duration of the HIGH pulse on the Echo pin. The duration is proportional to the distance of the object.
  4. Calculate Distance: Use the formula below to calculate the distance: [ \text{Distance (cm)} = \frac{\text{Pulse Duration (µs)}}{58} ] The factor 58 accounts for the speed of sound in air (343 m/s).

Important Considerations

  • Ensure the sensor is mounted securely and aligned properly for accurate measurements.
  • Avoid placing the sensor near ultrasonic noise sources, as this may interfere with readings.
  • The sensor may not work reliably on soft or sound-absorbing surfaces (e.g., fabric or foam).
  • Use a pull-down resistor on the Echo pin if the signal is unstable.

Example Code for Arduino UNO

Below is an example of how to use the US-10 ultrasonic sensor with an Arduino UNO:

// Define pins for the US-10 ultrasonic sensor
const int trigPin = 9;  // Trigger 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 pin modes for the sensor
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
}

void loop() {
  // Send a 10 µs HIGH pulse to the Trig pin
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);

  // Measure the duration of the HIGH pulse on the Echo pin
  long duration = pulseIn(echoPin, HIGH);

  // Calculate the distance in centimeters
  float distance = duration / 58.0;

  // Print the distance to the Serial Monitor
  Serial.print("Distance: ");
  Serial.print(distance);
  Serial.println(" cm");

  // Wait before taking the next measurement
  delay(500);
}

Best Practices

  • Use short, shielded wires to minimize noise and signal loss.
  • Add a capacitor (e.g., 10 µF) across the VCC and GND pins to stabilize the power supply.
  • Test the sensor in a controlled environment before deploying it in a real-world application.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output from the Echo Pin

    • Cause: The Trig pin is not receiving a proper HIGH pulse.
    • Solution: Verify the Trig pin connection and ensure the pulse duration is exactly 10 µs.
  2. Inaccurate Distance Measurements

    • Cause: The sensor is misaligned or the target surface is not reflective.
    • Solution: Align the sensor properly and test with a flat, hard surface.
  3. Unstable Readings

    • Cause: Electrical noise or insufficient power supply.
    • Solution: Use a decoupling capacitor and ensure a stable 5V power source.
  4. Sensor Not Working at All

    • Cause: Incorrect wiring or damaged sensor.
    • Solution: Double-check the wiring and test the sensor with a multimeter.

FAQs

Q: Can the US-10 sensor detect transparent objects?
A: The sensor may struggle with transparent or sound-absorbing materials. Use alternative sensors like infrared for such cases.

Q: What is the maximum range of the US-10 sensor?
A: The maximum range is 400 cm, but accuracy decreases at longer distances.

Q: Can I use the US-10 sensor with a 3.3V microcontroller?
A: The US-10 requires 5V for operation. Use a level shifter to interface with 3.3V systems.

Q: How do I improve measurement accuracy?
A: Use averaging by taking multiple readings and calculating the mean value.

This concludes the documentation for the US-10 ultrasonic sensor.