Monday, November 10, 2008

Chapter 1 Understanding LEGO® Geometry

Before we learn LEGO, it's very important to have basic geometric properties of the LEGO bricks such as brick's different shapes and sizes. LEGO brick's size and shapes are based on the their measurement, which expressed with three different numbers, width, length, and height. This represented in coordinates form. In LEGO robotics, there is a brick that called TECHNIC brick, which has measurement of 1 x N (any number) and this brick can be connected by its hole which are inside of them, and this is called LEGO beam. We use Pythagorean theorem to figure out the number of hole that are required. Pythagorean theorem is A²+B²=C² where C is hypotenuse. For example, if a right-angled triangle has 6 holes as its opposite and 8 holes as its adjust, then we can use a beam which has 10 holes as a diagonal beam, it's because 6²+8² equals to 10². Although the the shape of liftarms differ in their shape, it also connect many LEGO part.

Field of View Experiment

The aim of this experiment was to figure out how far ultrasonic sensor can detect.

Materials: ruler, maker, can, tape, ultrasonic sensor, and the robot


Procedure

1. Materials are checked before the experiment was run.

2. Tape is attached in the middle of the white board and marked every 10 cm

3. The robot is place at the very end of the tape


4. The can was placed randomly near the robot in order to figure out the area that the robot can detect the can.

5. The place where the can was detected is marked with tape.

6. This process was repeated to figure out the area that robot detect

7. Marked point is measure in coordinates


8. Distance was recorded in paper.

Obstacle Course Chanllenge

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.