IR Distance Sensor (not a sharp! wahoo) for my xmos project
September 6, 2009
So I had an idea (because i i like building my own stuff) of an IR range finder very similar in fact to odbots attempt at a laser rangefinder combined with CtC's ir beacon. So a narrow beam IR LED is mounted on a servo or stepper (or several if more power is needed). A IR transistor (one of those TV remote receivers) is mounted next to it at a known distance inside a tube similar to that in CtC's design. The servo or stepper scans from pointing towards the sensor (near perpendicularly) outwards near parallel while the led is being pulsed at the appropriate frequency. When the sensor detects an IR signal the servo or stepper stops swinging. Because this angle is known because of the use of the servo, and the distance between the sensor and the led is known the simple math of distance/cos(angle) the distance from the sensor to the object can be detected. the reason for the tube around the sensor is to only allow the IR signal to reach the sensor when the light from the led is directly in front of the sensor. This was a bit confusing. Time for a picture
What do you think?