Monday, March 8, 2010

Putting In the Eyes, Ears and Nose (Sensors)

Putting the sensors was quite difficult because there weren't many place which were able to connect sensors to. The sensors used for my bot are a Ultrasonic Sensor,a Light Sensor and two Touch sensors.The ultrasonic sensor is used to display a low ptich for something in the distance and a high pitch for something closer.






The touch sensors are used as bumpers for the front and back and finally the light sensor is for displaying green until touch sensors are bumped which will then turn red.










Once the sensors where attached, I went back to my book to find out how to program the sensors to do what I just said.To program the ultrasonic sensor a lot of data plugs and variables where as for the bumpers where using a wait block and the light was using a lamp block.

No comments:

Post a Comment