Ultrasonic parking alert using basic stamp
fearfactorymetal
Posts: 1
Hello.· im new to basic stamps.· Im wanting to use the basic stamp with ultrasonic sensors to sense a wall.· when the sensor senses the wall about 3 meters out i want a speaker to have a pulsed chirp.· the closer the object the faster the chirps.·· has anyone experimented with this type of setup?· any information would be greatly appreciated...
thanks
vic
thanks
vic
Comments
·http://www.savagecircuits.com/forums/content.php?126-Garage-Parking-Assistant
Jim
http://cgi.ebay.com/Ultrasound-Motion-Sensor-for-Robotic-Basic-Stamp-New_W0QQitemZ110511230652QQcmdZ
I just ordered one. It has a digital output (normally high, active low) when triggered. You can adjust the range to·one of 16 distances .3-10 M. There is a different ·version with a range from .3 to 3 M.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Somewhere nearby is my recent post about a problem I was having with multiple inputs.· It has all the code necessary for my distance sensor, although the code for a Stamp chip used in a PLC is a bit different that if used with a Stamp motherboard and A/D converter.The title is "Does progarm section order make a difference?"
Of course, using a Ping and other A/D converter may be cheaper.· But you certainly should be able to work out how to translate the output voltage level from the US sensor to a change in beep tones.
A guy might be able to do it with just the Ping, two 555 timers, a transistor and a speaker..... with assorted resistors, caps and a voltage regulator.... Maybe $40? The idea I have in mind would give you more of a variable frequency "static" or ticks than an actual tone.
Erco's link seems the best bet though, unless this is just an excuse to build something with the stamp [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
In the mean time, Guys, "Build it (with Stamps and genuine Parallax parts) and they will come!"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."