11.07.2015 Views

Builders guide robot pacman.pdf

Builders guide robot pacman.pdf

Builders guide robot pacman.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 21. GP2D12However, it also has a significant drawback. The accurate sensing range isbetween 80cm to 10cm with the output gradually increasing as the obstacle getscloser. Once the distance is closer than 10cm, the output begins to drop. Thisposes a serious problem since our <strong>robot</strong> will not be able to distinguish between astraightaway (wall beyond 10 cm), and a wall 1cm away.After extensive research, we decided that a sensor design using a pair of CdSphoto-resistor and a LED is best suited for our needs. Figure 22 illustrates itsoperation and Figure 23 is the circuit drawing for the sensor.LEDpowerV15V+VD1LED1CdS10k 40%OutputR1100R247kFigure 22. Wall SensorFigure 23. Wall Sensor CircuitThe resistance of the CdS photoresistor is inversely related to the surroundinglight intensity. As the light intensity increases, the resistance of the CdS resistordrops. We therefore incorporate the photoresistor in a voltage divider, creating avarying voltage level at the output node as shown in Figure 23. As the sensorapproaches the wall, the LED lights up the wall surface. Depending on theamount of light reflected into the CdS cell, the output voltage gradually increasesas the sensor moves closer to the wall.17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!