Using a hacked Polaroid sonar with a BS2
Archiver
Posts: 46,084
I am a student building a robot for my final project. I took the
transducer and circuit board out of an old Polaroid camera. But I am
having trouble writing the code to get it to work. What I want to do
is use it to measure the distance to an object while my bot is moving
and if an object is detected within say 15 feet, then the bot will
slow down. I am using PWM for speed control and it works great.
It's just getting the code to work. Any help would be greatly
appreciated. Thanks!
transducer and circuit board out of an old Polaroid camera. But I am
having trouble writing the code to get it to work. What I want to do
is use it to measure the distance to an object while my bot is moving
and if an object is detected within say 15 feet, then the bot will
slow down. I am using PWM for speed control and it works great.
It's just getting the code to work. Any help would be greatly
appreciated. Thanks!
Comments
http://www.acroname.com/robotics/parts/R93-SRF04.html
It has excellent resolution and range input. Acroname has code on their
website to interface it to the stamps also.
Jon Williams and myself both wrote articles about the sensor in N&V last
month. Apparently Jon was as impressed as I was with the sensor.
if you HAVE to use the poloroid sensor here is an article by seattle
robotics that may help you some.
http://www.seattlerobotics.org/encoder/200008/daniel.html
At 01:48 PM 4/30/02 -0000, you wrote:
>I am a student building a robot for my final project. I took the
>transducer and circuit board out of an old Polaroid camera. But I am
>having trouble writing the code to get it to work. What I want to do
>is use it to measure the distance to an object while my bot is moving
>and if an object is detected within say 15 feet, then the bot will
>slow down. I am using PWM for speed control and it works great.
>It's just getting the code to work. Any help would be greatly
>appreciated. Thanks!
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
Very respectfully, your obedient servant.
Kerry
Admin@M...
WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
Kerry Barlow
p.o. box 21
kirkwood ny
13795
607-775-1132
I could advise you on the code. E-Mail schematic to
skip.webb@h... Skip
Original Message
From: dougsmalley [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=jsviOQyrzroUEGDMZCCrq_bJprqQPtP_Bi9WgGs5ExbUcqToIiKu50uagYfkk-SAXmZWXHW-mrAAFezUEvw]dougsmalley@y...[/url
Sent: Tuesday, April 30, 2002 9:49 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Using a hacked Polaroid sonar with a BS2
I am a student building a robot for my final project. I took the
transducer and circuit board out of an old Polaroid camera. But I am
having trouble writing the code to get it to work. What I want to do
is use it to measure the distance to an object while my bot is moving
and if an object is detected within say 15 feet, then the bot will
slow down. I am using PWM for speed control and it works great.
It's just getting the code to work. Any help would be greatly
appreciated. Thanks!
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/