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

rajaram04

Advanced Member level 3
Joined
Jun 17, 2012
Messages
866
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,298
Location
earth
Activity points
7,644
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 :):)
 

danadakk

Advanced Member level 3
Joined
Mar 26, 2018
Messages
998
Helped
194
Reputation
392
Reaction score
206
Trophy points
43
Activity points
4,680
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:

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,921
Helped
4,874
Reputation
9,766
Reaction score
4,661
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
126,953
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.
 

danadakk

Advanced Member level 3
Joined
Mar 26, 2018
Messages
998
Helped
194
Reputation
392
Reaction score
206
Trophy points
43
Activity points
4,680

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,396
Helped
14,251
Reputation
28,763
Reaction score
12,937
Trophy points
1,393
Location
Bochum, Germany
Activity points
280,075
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.
 

danadakk

Advanced Member level 3
Joined
Mar 26, 2018
Messages
998
Helped
194
Reputation
392
Reaction score
206
Trophy points
43
Activity points
4,680
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
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top