Saturday, May 3, 2008

Lego Robotics Project
The whole Lego robotics project consisted in first building five different robots and programming them in RoboLAB. The second part was to build the same five robots but this time we had to program them in Not Quite C. The final and most important part of the project was the final competition. In this last part of the project, we had to create a robot that would would clear out some rocks (Ping pong balls) and boulders (Tennis balls) from Mars (White mat).
The first five robots we built were:

Turning robot
This is the first robot we had build. Its main objective was to go forward and whenever it hit something, it would turn 90 degrees and then go forward again. In order to complete this job, we added a touch sensor on the front of the robot and built a bumper in front of it. For the sensor to be activated, it had to be pushed or it had to hit something.


Caged robot
Using the same base robot from the turning robot, we build this one and programmed it in RoboLAB and in Not quite C. The main purpose of this robot was to stay inside of a loop. To make sure it successfully complete the required task, we put a light sensor on the front; its job was to tell the robot to go in reverse and then turned wherever it sensed the black line the surrounded the loop.




Path Robot
This robot was very similar to the caged robot, in fact, we did not change anything but the program. instead of having to stay inside the black loop, this robot was supposed to follow that path, and go around it three times. To complete this assignment, we just changed the reading on the light sensor. Whenever it sensed white, it would turn a little, that way it stayed in the path.


Walking Robot
The main purpose of this robot was to walk 10 feet, stop and then play a song. To build a walking robot, we had to used both motors. We built some kind of legs with the Lego's that were connected to the motors. When the motors were on, the robot actually walked.

Carpet cleaner
for this part pf the project, we used the same model from the path robot. The purpose of this robot was to push 20 ping pong balls out of a white mat. To complete this objective, we used the program from the caged robot. The only thing we had to change was the color reading on the sensor since the mat we used for this one was brighter and it was also a different material. With this robot, we got a record of 42 seconds untils Kyle's group came with their huge robot and got away with a record of 12 seconds.

March 31
Today all the first five robots were due in NQC. One of the few problems we had with this one was that the caged robot wasn't staying inside the loop, but after modifying the program it worked out really good. We completed the first five today and should be ready for the final competition.