Beijing Ultrasonic

  • Products
  • Contact Us
  • No products in cart.
  • EnglishEnglish
    • Español Español
    • Français Français
    • Deutsch Deutsch
    • Italiano Italiano
    • Português Português
    • Українська Українська
    • Русский Русский
    • Türkçe Türkçe
    • Polski Polski
    • Nederlands Nederlands
    • Čeština Čeština
    • Svenska Svenska
    • עברית עברית
    • العربية العربية
    • فارسی فارسی
    • 简体中文 简体中文
    • 日本語 日本語
    • 한국어 한국어
    • हिन्दी हिन्दी
    • Melayu Melayu
    • Indonesia Indonesia
    • Tiếng Việt Tiếng Việt
  • Home
  • Blog
  • Ultrasonic Technology
  • How to use ultrasonic sensor without microcontroller

How to use ultrasonic sensor without microcontroller

by Jessie Wong / Saturday, 22 April 2023 / Published in Ultrasonic Technology

Ultrasonic sensors are incredibly versatile devices used for distance measurement, object detection, and level sensing in various applications. Typically, they are paired with microcontrollers for precise control and data processing. However, in certain scenarios, it is possible to use an ultrasonic sensor without a microcontroller, enabling simpler and cost-effective solutions. This article delves into how to achieve that while maintaining functionality and reliability.

1. Understanding the Ultrasonic Sensor Components

An ultrasonic sensor, such as the popular HC-SR04 or those from Beijing Ultrasonic, operates by emitting ultrasonic waves and measuring the time it takes for the waves to bounce back after hitting an object. The key components of an ultrasonic sensor are:

  • Transmitter: Emits ultrasonic sound waves.
  • Receiver: Detects the reflected sound waves (echo).
  • Trigger Input: Accepts a signal to initiate the transmission of ultrasonic waves.
  • Echo Output: Produces a signal proportional to the time taken for the sound waves to return.

When used without a microcontroller, the challenge lies in manually triggering the sensor and interpreting the Echo output to calculate distance.


2. Tools and Materials Required

To use an ultrasonic sensor without a microcontroller, you need the following materials:

Component/Tool Purpose
Ultrasonic Sensor (e.g., Beijing Ultrasonic HC-SR04) The core device for distance measurement.
555 Timer IC Used to generate the required trigger pulse.
Oscilloscope (optional) For monitoring output signals during testing.
Resistors and Capacitors To build circuits for triggering and signal processing.
LED/Buzzer (optional) Used to create a visual or audible alert system.
Power Supply (5V DC) To power the ultrasonic sensor and other components.

3. Generating the Trigger Signal Without a Microcontroller

The ultrasonic sensor requires a precise 10-microsecond pulse on its Trigger pin to start the measurement process. Without a microcontroller, a 555 Timer IC can be used in monostable mode to generate this pulse.

  1. Circuit Design:

    • Configure the 555 Timer in monostable mode.
    • Connect a push button to the 555 IC to manually trigger the circuit.
    • Use a resistor-capacitor (RC) network to set the pulse width to approximately 10 microseconds.
  2. Calculation of RC Values:

    • The pulse width (T) is determined by the formula:
      T = 1.1 × R × C
    • For a 10-microsecond pulse, select R and C values accordingly (e.g., R = 1kΩ, C = 10nF).
  3. Connecting the Trigger Pin:

    • Feed the output from the 555 Timer IC to the Trigger pin of the ultrasonic sensor.
    • Activate the push button to initiate the ultrasonic signal.

4. Processing the Echo Signal

The Echo pin of the ultrasonic sensor outputs a HIGH signal, the duration of which is proportional to the time taken for the ultrasonic wave to return. This signal needs to be processed to calculate distance.

  1. Understanding the Echo Output:

    • The duration of the HIGH signal represents the round-trip time of the ultrasonic wave.
    • Distance can be calculated using the formula:
      Distance (cm) = (Time (µs) × Speed of Sound (343 m/s)) / 2 / 10000
  2. Using a Display or Alert Mechanism:
    Instead of a microcontroller, a direct display or alert system can be used:

    • LED/Buzzer Alert: Connect the Echo pin to a simple RC circuit and transistor to activate an LED or buzzer when an object is detected within a predefined range.
    • Analog Voltmeter: Use an analog voltmeter to measure the output voltage from the Echo pin. The voltage can be correlated to distance based on calibration.
  3. Using a Timer or Oscilloscope:

    • A manual timer or an oscilloscope can measure the duration of the HIGH signal.
    • Calculate the distance using the measured time and the formula above.

5. Example Circuit for Object Detection

Below is a simple example of using an ultrasonic sensor for object detection without a microcontroller:

Component Connection
Trigger Pin Connected to the 555 Timer output.
Echo Pin Connected to an LED via a transistor for visual alert.
Power Supply 5V DC connected to VCC and GND of the ultrasonic sensor and 555 Timer.

Working:

  • Press the push button to send a trigger pulse.
  • The ultrasonic sensor emits sound waves and waits for the echo.
  • If an object is detected, the Echo pin outputs a HIGH signal that turns on the LED or buzzer.

6. Advantages and Limitations

Advantages:

  • No need for complex programming or microcontroller boards.
  • Simple and cost-effective for basic proximity sensing applications.

Limitations:

  • Lack of precision due to manual timing and limited processing capability.
  • Not suitable for dynamic or high-speed environments.

Using an ultrasonic sensor without a microcontroller is a feasible approach for basic applications where simplicity and low cost are priorities. By leveraging components like the 555 Timer IC for triggering and simple circuits for processing the Echo signal, you can create functional systems for distance measurement or object detection. While this setup may lack the accuracy and flexibility of microcontroller-based systems, it remains a valuable solution for specific use cases. For reliable ultrasonic sensors, brands like Beijing Ultrasonic provide high-quality options to ensure dependable performance in your projects.

What you can read next

DIY humidifier kit
What-Is-Ultrasonic-Cavitation
The Principles of Ultrasonic Cleaning
How-to-Choose-the-Right-Ultrasonic-Cleaning-Solution
The Importance of Degassing Ultrasonic Cleaning Solution

Product categories

  • Piezoceramics
    • Piezoceramic Ball/Hemisphere
    • Piezoceramic Cylinder
    • Piezoceramic Discs
    • Piezoceramic Rings
    • Piezoceramic Square/Rectangular
    • Piezoceramic Tube
  • Ultrasonic Cleaner
    • 120kHz Digital Ultrasonic Cleaner
    • 40kHz Digital Ultrasonic Cleaner
    • 80kHz Digital Ultrasonic Cleaner
    • Dual Frequency Digital Ultrasonic Cleaner
    • Immersible Ultrasonic Transducer
    • Industrial Ultrasonic Cleaner
    • Mechanical Ultrasonic Cleaner
    • Power Adjustable Digital Ultrasonic Cleaner
  • Ultrasonic Generator
    • [100-120V] Ultrasonic Transducer Driver Circuit & Transducer Bundles
    • [100-120V/200-240V] Ultrasonic Transducer Driver Circuit & Transducer Bundles
    • [200-240V] Ultrasonic Transducer Driver Circuit & Transducer Bundles
    • Digital Ultrasonic Generator
    • Digital Ultrasonic Transducer Driver Circuit & Transducer Bundles
    • Ultrasonic Transducer Driver Circuit
  • Ultrasonic Humidifier
  • Ultrasonic Meter
  • Ultrasonic Processor
    • Ultrasonic Biodiesel Reactor
    • Ultrasonic Homogenizer
  • Ultrasonic Transducer
  • Ultrasonic Welder

Recent Posts

  • 2L Mechanical Ultrasonic Cleaner Time Temperature-05

    A Comprehensive Guide to Wholesale Ultrasonic Cleaners

    Ultrasonic cleaning technology has revolutioniz...
  • The Benefits of Combining Disruption and Homogenization in a Single Instrument

    Combining disruption and homogenization capabil...
  • Ensuring Cleanroom Compatibility: Ultrasonic Welding in Electronics Manufacturing

    The electronics industry demands manufacturing ...
  • Ultrasonic Welding: A Boon for Innovation in Consumer Goods

    Ultrasonic welding has emerged as a pivotal tec...
  • 5000ML Fog Water Fountain Ultrasonic Cool Mist Humidifier (2)

    The Science of Moisture: How Ultrasonic Humidifiers Add Humidity to Your Air

    Ultrasonic humidifiers have become a popular ch...
  • Beyond Heat and Glue: The Science Behind Ultrasonic Bonds

    The realm of manufacturing and assembly is cons...
  • Ultrasonic Sensors

    From Bumpers to Brakes: Piezoceramic Sensors in Automotive Applications

    Piezoceramic sensors have become indispensable ...
  • From Tough Tissues to Delicate Cells: The Power of Ultrasonic Homogenization for Diverse Samples

    Ultrasonic homogenization, a technique employin...
  • Ultrasonic Cell Disruptor Homogenizer Transducer (4)

    Streamlining Workflows in Microbiology: Ultrasonic Homogenization for Faster Sample Prep

    In the fast-paced world of microbiology, effici...
  • The Future of Sound: How Ultrasonic Generators are Shaping Diverse Industries

    The world of sound extends far beyond what the ...

Customer Care

  • My Account
  • About Us
  • Return Policy
  • Privacy Policy
  • Terms & Conditions
  • Resource Center
  • Blog & News
  • China Public Holiday
  • Sitemap

Technical Info

  • Ultrasonic Cleaner Overview
  • Ultrasonic Cleaner FAQs
  • Ultrasonic Generator Overview
  • Ultrasonic Generator FAQs
  • Ultrasonic Transducer Overview
  • Ultrasonic Transducer FAQs
  • Piezoceramics Overview
  • Piezoceramic FAQs

Product Catalog

Beijing-Ultrasonic-Product-Catalog

Secure Payment

Buy now with PayPal
  • GET SOCIAL

© 2011 - 2026 Beijing Ultrasonic. All Rights Reserved.

TOP