Tuesday, April 14, 2009

Chapter 4

In chapter 4 it is all about reading sensors such as light, ultrasonic, and touch. One of the most important components of a robot is the sensor which helps the robot to communicate with its surroundings and perform action based on feedback's. Sensor reading is when a sensor is reading the intensity and translating it into a reading. The first is the touch sensor its where you press a button so that a circuit is completed and electricity flows. In the NXT there is a sensor block that has three states pressed, released, and bumped these are critical to the robot because it allows you to determine how the robot will react. The second is the light sensor which detects surrounding light and measures its intensity. Values depend on the intensity of light that hits the sensor at the time you read its value. The next sensor is ultrasonic sensor which uses sound waves to detect obstacle. It uses high frequency sounds which bounces off objects and is read by the sensor the time each pulse takes to bounce back determines how far the object is. It uses value to allow the robot to steer away or back up. Using light sensor I first have to use the threshold which will divide the light value and dark value and it is essential. The process for getting your robot to follow a line is first set a cut of point in your threshold so that the robot can sense light and dark value then program in such a way that when the robot senses dark it turns right and when the robot senses light it turns left.

No comments:

Post a Comment