![]() A simplified diagram of how the robot works. If one light sensor detects more light than the other, one wheel will spin faster, which will make the robot turn.įigure 3. If both light sensors detect the same amount of light, the wheels spin at the same speed, so the robot goes straight. Figure 3 shows a simplified diagram of this process (continue reading for a more detailed description of the circuit). The motors are connected to the robot's wheels, which allow it to drive around. How exactly does this work? The robot uses a special electronic circuit to control the speed of two motors through the use of two light sensors. A diagram showing how the robot reacts to light. The same principles applys to the right side of the robot.įigure 2. ![]() A light closer to the left photoresistor will increase the speed of the right-side wheels of the robot causing it to turn towards the left. The robot's wheels receive power based on the level of light that each sensor receives. If a flashlight does not shine any light at the photoresistors the robot will not move. Two photoresistors are placed on the front of a robot chassis.
0 Comments
Leave a Reply. |