we should use all four sensors that we covered during the class, which are sound sensor, touch sensor, ultrasonic sensor and light sensor.
1. Begins with claping which will makes robot moves forward.
2. The robot stops in the box by using light sensor.
3. The robot moves forward and bumps to the wall. and change its direction to the right by using touch sensor and moves forward.
4. By using ultrasonic sensor the robot will detect the wall and change its direction to the right and moves forward again.
5. last but not least, the robot pass through the final line without touching the can.
Subscribe to:
Post Comments (Atom)
1 comment:
Hm.. Any planned programming ?
Post a Comment