D
Danny T
Guest
What's the best (cheapest, quickest, easiest) way to detect obstacles
for a small robot? The book I have starts with infrared, and later
replaces them with ultrasonic. Infrared is way cheaper, but I don't full
understand how it works..
I've got some phototransistors here, that seem to work exaclty like
LDRs, they just change the resistance with the light - except they also
work with infrared (as well as normal light). I've seen infrared LEDs,
and infrared phototransistors - am I right in thinking these are simple
filtered to only detect IR, instead of normal light?
Would these be accurate enough to be able to get a range, or would it
simple be a yes/no if something's there? Ideally, I want to be able to
detect a) if there's anything within, say, 6 inches, and also if there's
anything within, say, 3 inches. That way, as things get near, I'll start
turning my robot, but if it doesn't turn quick enough, it'll increase
the turn when it gets closer.
Thanks,
--
Danny
for a small robot? The book I have starts with infrared, and later
replaces them with ultrasonic. Infrared is way cheaper, but I don't full
understand how it works..
I've got some phototransistors here, that seem to work exaclty like
LDRs, they just change the resistance with the light - except they also
work with infrared (as well as normal light). I've seen infrared LEDs,
and infrared phototransistors - am I right in thinking these are simple
filtered to only detect IR, instead of normal light?
Would these be accurate enough to be able to get a range, or would it
simple be a yes/no if something's there? Ideally, I want to be able to
detect a) if there's anything within, say, 6 inches, and also if there's
anything within, say, 3 inches. That way, as things get near, I'll start
turning my robot, but if it doesn't turn quick enough, it'll increase
the turn when it gets closer.
Thanks,
--
Danny