Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HC-SR04 Ultrasonic Sensor without arduino

Status
Not open for further replies.

rajaram04

Advanced Member level 3
Joined
Jun 17, 2012
Messages
871
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,298
Location
earth
Activity points
7,687
Hello All

I want to design an ultrasonic sensor system with HC-SR04 Ultrasonic Sensor but without use of Arduino or any microcontroller !!
Is it possible ??

If yes then how ?? please help me with proper circuit configuration !! Thanks :):)
 

Yes you can use w/o a micro, but that complicates your design.

Describe the overall application you are trying to achieve, what you will do with
output data.

At its most basic level this is what its signals look like -

1620263040803.png



Out of curiosity why not use a micro ?

If you have not programmed you can do this with block programming -

1620264079298.png



Or use mBlock, another block programming language.


Regards, Dana.
 
Last edited:
I agree with Dana, a micro would be far better suited to this task. It doesn't have to be Arduino, almost any MCU can do it.

To do it purely in hardware you need an oscillator to produce the cycles within the burst, a timer (or monostable) to decide the length of the burst and an oscillator rapidly clocking a counter to find the time before the echo returned. There would also be some logic to coordinate these processes and read the the counter back so you can use it's value.

Brian.
 


The HC04 generates the pulse train on trigger.
Yes, the processor-less design involves basically a master oscillator, periodic trigger generation and time intervall measurement between trigger and echo pulse output. Just a handfull of CMOS logic devices.
 

Another block language you can use, mBlock 3.0. Note once you are
finished with blocks the Arduino code is generated for you as shown
in right hand window. Eg. mBlock generates the code from your block
layup.


1620315440950.png



Regards, Dana
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top