Quote:
|
Originally Posted by Alan Anderson
A photoresistor is a good option. You'll need to mount it so that it has a "view", like putting it at one end of a tube with the other end open and pointing away. It'll act something like a one-pixel camera. If you place the tube on a servo you'll be able to scan the scene in various directions before deciding which way to turn the robot. If you mount it solidly to the robot you'll have to turn the whole thing to look for light and dark.
Multiple sensors with different "views" can make it easier to decide which direction to move at any given moment.
|
wouldn't that not work becuase doesn't a photoresistor measure the light touching it?