INDEX

MY EXPERIENCE IN AUTONOMOUS ROBOTICS  

Temperature Sensor-LM35
Light Sensors-LDR
LDR continued
Photo Diode
Photo Transistor
TSOP1738
Distance Measurement
Color Sensing
Angle Measurement
Sensor Links

 

 

 

 

DISTANCE MEASUREMENTS

For a small distance measurement we can use a photo diode or photo transistor, but only distance up to 5-7cm. You just connect the output to ADC or any comparator to measurement. Suppose if we use one LM324 for distance measurement, you can measure 1cm ,2cm,3cm,4cm. You just connect a 330 ohm in series with IR LED. At the other end use a photo diode in reverse region.

If you want a good distance then you should use 38Khz modulated IR with TSOP1738 detector. Use IC555 to generate 38Khz square wave. Better tutorials available in roboticsindia, see
http://www.roboticsindia.net/modules.php?name=News&file=article&sid=32&mode=&order=0&thold=0
http://www.roboticsindia.net/modules.php?name=News&file=article&sid=35&mode=&order=0&thold=0
You can get range about 1 Meter. If you want to measure various distance then you should vary Ra of the IC555. Suppose if you want to measure distance from a fixed point, then you have to vary the frequency of IC555. You can do it fixing Rb>Ra and vary Ra so that frequency will vary slightly
from some 36Khz to 40Khz and find corresponding reading. You can do it by using the following technique

Suppose if you want to measure distance from a fixed point. This is done by varying the frequency. When S1=1 then Raeq=R1//Ra1= R1Ra1/(Ra1+R1). So this will produce a different frequency some between 36 to 40Khz. When S2=1 Raeq=R1//Ra2. And when S1=S2=1 then Raeq=R1//Ra1//Ra2. By varying S1,S2 you can measure the distance from it. But this mostly require the need of some
circuitary. Better go for a microcontroller. Adjust Ra1,Ra2 so that desired frequencies are obtained.

 

Hosted by www.Geocities.ws

1