Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools Display Modes
Old 23rd January 2004, 08:40 PM   #1 (permalink)
Default A simple ultrasonic range detector?????

Hey pepole!!! My teacher asked me to make him a ultrasonic range detector for backing up his turck. I wanted to know if there is any way (that anyone kinows of) for hoking up a Devantech SRF04 range sensor (or any others that range form ~1' to ~10') up to a lcd display WITHOUT using a stamp chip or any other expensive parts. Or if anyone knows of any kits that are compleat (sensors disply and whatever else you need). I would be verry happy if anyone could help me out on this!!! thanks!
You can e-mail me directly if you like at steven_first@hotmail.com
steven_first_2001 is offline  
Old 23rd January 2004, 09:30 PM   #2 (permalink)
Default Re: A simple ultrasonic range detector?????

Quote:
Originally Posted by steven_first_2001
Hey pepole!!! My teacher asked me to make him a ultrasonic range detector for backing up his turck. I wanted to know if there is any way (that anyone kinows of) for hoking up a Devantech SRF04 range sensor (or any others that range form ~1" to ~10") up to a lcd display WITHOUT using a stamp chip or any other expensive parts. Or if anyone knows of any kits that are compleat (sensors disply and whatever else you need). I would be verry happy if anyone could help me out on this!!! thanks!
You need a processor of some kind, STAMP's are expensive because it is a complete system, rather than just a PIC. A 16F628 (which is cheap) would interface them together easily, and require hardly anything extra - apart from writing the assembler software for it.
Nigel Goodwin is offline  
Old 23rd January 2004, 11:06 PM   #3 (permalink)
Default

Don't forget, you'll need a programmer to flash the chip. I've seen them on sale for as low as 30 bucks. Good luck!
lopesn1464 is offline  
Old 24th January 2004, 01:13 AM   #4 (permalink)
Default Try PSoC

There is an application note AN2048 available at http://www.cypress.com. It uses less components. Good luck

Pokiri
pokiri is offline  
Old 24th January 2004, 01:24 AM   #5 (permalink)
Default Re: A simple ultrasonic range detector?????

Quote:
Originally Posted by steven_first_2001
Hey pepole!!! My teacher asked me to make him a ultrasonic range detector for backing up his turck. I wanted to know if there is any way (that anyone kinows of) for hoking up a Devantech SRF04 range sensor (or any others that range form ~1" to ~10") up to a lcd display WITHOUT using a stamp chip or any other expensive parts. Or if anyone knows of any kits that are compleat (sensors disply and whatever else you need). I would be verry happy if anyone could help me out on this!!! thanks!
You can e-mail me directly if you like at steven_first@hotmail.com
The range you mentioned is 1 inch to 10 inches. Do you mean 1 ft to 10 ft? If so, I can show you how to do it without a microcontroller. The display would be a 10-LED bargraph. I'll design it for you if this is what you want. You'll have to build and test it yourself.
Roff is offline  
Old 24th January 2004, 02:10 AM   #6 (permalink)
Default Realy????????????

Hmmm.... A ten LED setup sounds realy good and easy to build! Please do show me how to build the thing!! I am only a junior in a vocatinal school so I know a lot but it's a bit early for microprocessors. I will gladly except the offer. Post it, send it to me, or what ever you want
steven_first_2001 is offline  
Old 24th January 2004, 01:29 PM   #7 (permalink)
Default

I agree with Ron: never seen ultrasonic circuit who can work under 25cm distance.For parking sonar need sometimes 2..3cm (in the city....).
Sebi is offline  
Old 24th January 2004, 04:41 PM   #8 (permalink)
Default

Quote:
Originally Posted by Sebi
I agree with Ron: never seen ultrasonic circuit who can work under 25cm distance.For parking sonar need sometimes 2..3cm (in the city....).
It's true. I have used this model before (with a micro though).
It works as advertised: 3 INCHES to 10 FEET

I'm pretty sure the transducers are those old polaroid camera types that were used for auto-focusing (hence 10' ability).

My experience was:
Getting _accurate_ range at 10 feet was tough..
Sensing small objects at 3 inches was tough..

BUT for your application, you don't need the accuracy I had some trouble with.
Optikon is offline  
Old 29th January 2004, 11:28 PM   #9 (permalink)
Default

Here is the schematic for the analog, non-microcontroller, ultrasonic distance monitor. It has 1 ft resolution, with a range of 1-10 feet.
U1 is connected as an astable multivibrator, providing a 20Hz trigger pulse to the SRF04. The width of the echo pulse from the SRF04 equals the round trip time for the ultrasonic pulse. Since the nominal speed of sound is 1100 ft/sec, the echo time for an object 1 ft away will be T=1*2/1100, or T=1.82 milliseconds.
Q1 and U6a form a current source which charges C9 with I~45ua, generating a ramp on C9 which rises at a rate of dv/dt=I/C9, or dv/dt=0.17v/millisec, which corresponds to dv/ds=0.17*1.82=303mv/ft.
At the end of the echo, the current to C9 is diverted to ground by analog switch U5a, which causes the voltage ramp on C9 to stop and be held. This voltage is buffered by voltage follower U6b. The trailing (falling) edge of echo is differentiated and inverted by C10-R8-U3d. This generates a positive pulse at the input to analog switch U5c, sampling and holding the stopped ramp voltage on C11. Thus a DC voltage proportional to distance is presented, via voltage follower U6c, to the input of U7, an LM3914, which is an LED bar graph driver. When the sample pulse ends, a logic "1" gets clocked into "D" flip-flop U4a. This turns on analog switch U5b, discharging capacitor C9. The flip-flop is reset by the arrival of the next echo pulse, releasing C9 to begin charging again.

Calibration:
The LM3914 can be used in bar or dot mode depending on the position of S1. If you use bar mode, be aware that the LEDs can draw as much as about 200ma from the 5 volt regulator (hence the heat sink and the 1 watt 10 ohm resistor). Dot mode is much lower power, but is probably more difficult to interpret.
For distance calibration, simply aim the transducer at a target which is 9.5ft away and adjust RV2 to where the 9th LED is turning off and the 10th LED is turning on. The reference voltage should ideally be 3.0v, but this can vary considerably due to component tolerances, altitude, atmospheric pressure, and air temperature.
The LED current, and hence brightness, can be adjusted with RV1 to a maximum of about 20ma for each LED.

I considered using a switching regulator, but decided they are less accessible to the average hobbyist. There are a number of other options available for the 5 volt regulator.
The TLV2404 is a quad op amp with picoamp input current, rail-to-rail input and output capability, and capable of running on a 5 volt supply. You can probably get it as a sample from TI, or you can buy it from Digikey.

I simulated parts of this, but I haven't built it, so there may be errors. If anyone builds it, let us know about your success or failure.

It would obviously be much simpler, hardware-wise, to do this with a microcontroller, but our OP, Steve, specifically requested a non-digital solution.

Edit 1/30/04:
I just noticed that in the schematic, I gave U3 the wrong part number. It has been corrected.
Edit 1/30/04:
In and Out were swapped on LM7805.
Attached Thumbnails
A simple ultrasonic range detector?????-srf04.jpg   A simple ultrasonic range detector?????-backup_monitor.gif  
Roff is offline  
Old 30th August 2007, 05:23 PM   #10 (permalink)
Default

This one will be the easyest one. It has 4 seven segments also.

http://www.best-microcontroller-proj...pic-sonar.html
pasanlaksiri is offline  
Old 30th August 2007, 06:12 PM   #11 (permalink)
Default

All range finders I have seen look for the first echo. Has anyone seen a range finder that looks for all the echoes. In this thread we have already talked about PIC + LCD display. I am thinking of a LCD display that will show multiple objects. Is there a reason why the second, third and forth echoes cannot be seen? (I know new thread.) I am still thinking of a back up display but with more information.
ronsimpson is online now  
Old 30th March 2008, 02:38 AM   #12 (permalink)
Default

fellaas please i need some help i am working o my final year project .design and implementation of an ultrasonic motion dector.i need help real quick,need materiasl for all the paper work ,and how to implement it thanks
thinkinggee is offline  
Old 19th March 2009, 05:08 PM   #13 (permalink)
Default Freebie SONAR

There's a freebie "Super Simple SONAR" here, which uses just six common components: Urban Ministry Live And Unplugged: Super Simple SONAR. This has a few metres'/yards' range, and can be used, among other things, as a parking SONAR, or for security applications.
scarboro is offline  
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT. The time now is 01:36 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker