ultrasonic sensor without arduino
555 timer IC Arduino Arduino based projects Electronics tutorial

Ultrasonic Sensor Without Arduino using 555 timer

Hey folks, have you used an ultrasonic sensor in your projects! Do you know how it works? In this project, we will use an ultrasonic sensor without Arduino for object detection. We will interface ultrasonic sensor with a 555 timer to control a DC motor.

How ultrasonic sensors work?

HC 04 Ultrasonic Sensor module

As the name suggests an ultrasonic sensor works on ultrasonic frequencies. Ultrasonic frequencies are those frequencies to which we humans cannot listen. These are the beyond 20k Hertz frequencies.

We are using HC-04 ultrasonic sensor. It is a module you can buy from the market in one or two dollars.

It has both ultrasonic sender and receiver built on the same module. So it can send as well as receive ultrasonic waves. Ultrasonic waves are also used by bats for navigation.

Ultrasonic Sensor working

HC-04 module has 4 pins namely Vcc, ground, Trigger, and Echo. Add Trigger pin we give a high-frequency square wave. Depending upon the distance of the object from ultrasonic sensor output at the Echo pin changes. Output at echo pin is a rectangle wave with a variable duty cycle.

Ultrasonic sensor 555 timer

Ultrasonic Sensor Without Arduino circuit diagram:

This circuit can also be called an object detection circuit.

Components required:

  • HC – 04 ultrasonic sensor module
  • 555 timer IC
  • Capacitor 1uf, 1nf, and 10uf
  • Resistor 1kΩ, 10kΩ, and 20kΩ
  • DC motor
  • Transistor BC547
Ultrasonic sensor 555 timer
A circuit diagram of the ultrasonic sensor using 555 timer

Working of ultrasonic sensor circuit:

As shown in the circuit diagram, the 555 timer works in a stable multivibrator mode. It generates continuous Trigger pulses which are given to the ultrasonic sensor.

The ultrasonic sensor module emits ultrasonic waves at 40k Hertz. These waves travel through the air and when they collide with an obstacle they return back. Depending upon the time taken for the wave to come we determine the distance of the object. But to do that we need a microcontroller and here we are not doing that we only want to control the motor. Also, we want to use Ultrasonic Sensor Without Arduino or any other expensive microcontroller.

The ultrasonic sensor gives output at its Echo pin which is a rectangle wave with a variable duty cycle. This output creates a varying average voltage. This output is used to turn on the transistor switch.

When the distance of the object (like our hands) increases from the ultrasonic sensor its output voltage starts increasing. As we move closer to the ultrasonic sensor output voltage starts reducing. Eventually, it becomes so small that it cannot turn on the transistor thus the motor Stops rotating.

This is how the circuit works. Comment down if you have any questions.

Applications of ultrasonic sensor circuit:

Here are some applications of this circuit.

  • As an ultrasonic switch
  • As an object detection system
  • water level detector
  • In-car park system

 

14 Replies to “Ultrasonic Sensor Without Arduino using 555 timer

  1. hello I would like to use this assembly as a simple minimum level detector so I only need a fixed voltage at a certain level which will trigger a buzer. Could you adapt your montage to do this job? thank you

  2. Sound interesting on your ideas.
    If I want the output from the ultrasonic module to on relay, what should I do.

  3. Hi Abhishek, i am interested in making this circuit in my school project but can I ask is it possible for you to assemble this circuit via TinkerCad through a shared link ?

  4. Hi bro, thank you so much for your reply but can you resend the link again I am not able to access it.

Leave a Reply

Your email address will not be published. Required fields are marked *