Navigate by Visible Light

Light sensors are used in all kinds of robotics, industrial, and commercial applications.   Next, let's teach it to navigate by visible light.  By using a pair of small light sensors, called phototransistors, your ActivityBot can measure and compare the light levels on its right and its left.  Then, it can turn toward the brighter side as it navigates. This way, the ActivityBot can be programmed to follow a flashlight, or find its way out of a dark room to a bright doorway.

 

Get Acquainted with the Phototransistor

The Propeller C Simple Circuits tutorial has a page devoted to the same phototransistor that is included in your ActivityBot kit. 

Welcome back!

 

Before You Start: