Brenden Cavaco
Engineering .1 - Period A
October 3, 2016
The past month, my classmates and I have been learning the concept of flow charts and algorithms. We have been learning how to write them efficient and understandable. We have been doing multiple activities in order to get a good grasp on the topic. Using lucid charts and writing an engineer notebook the correct way has helped me learn the topic. We have done small assignments by solving riddles or making hot chocolates through an algorithm. On the other hand, we have worked on an algorithm and flowchart to solve mazes. Everything we have learned has lead up to this class project with the LEGO robots.
In the LEGO robot project, we had to use a program to perform certain steps in the most efficient way. My partners and I had to design a robot to go straight for a meter. Stop. Drive backwards 1 meter. Turn around. Next, we had to make the robot drive in a square, with side distances of 30 centimeters. The square had to be performed four times. Next the robot had to perform a circle with diameter of a meter. Finally, we are designing our own robot. The robot needs to determine color through a camera and use sound.
Before finding the solutions of the steps, my partners and I had to experiment with the program. We found the correct program to do the steps, but we had to adjust speed of tires and amount of rotations. If the robot went to fast, the angle of the robot leaned to the left or right. Below is an efficient way to perform the first steps of traveling forward, stopping, going backwards, and turning around.
Turning in a square every 30 centimeters was difficult finding an efficient way of doing it four times. My partners and I used a similar step to perform the square as the previous one. The program was not the most efficient because we ended up coping and pasting the steps to complete four squares. We had the robot go straight for 30 cm and turn at a 90 degree angle. If the speed of the robot is too fast, it can lead to a crooked square. Repeating the steps was not the most efficient, but it still got the job done. We were looking through the step called a loop. However, we were not able to learn how to use it. I feel that step could have been the most efficient way. Below is part of the steps we used to perform the action.
Making the robot turn in a circle with a diameter of a meter was not that challenging. It only took one step for the robot to complete the circle. Since the robot was turning, we had to control the speed of each tire. We made the left tire travel slower than the right tire so it could turn. After adjusting the speed, we had to determine the correct number of rotations the robot needed to travel. Below is the program for a robot to go in a circle:
Working in this project has allowed my classmates to work hands on and collaborate. I need to learn how to design an algorithm for turning in a square more efficiently. Taking from this class experiment is that as an engineer I will be trying and experimenting many ideas. Finding what will be more efficient and understandable for the robot will make me more successful. When I start to design and build more complex things, the steps have to be even more efficient. Experimenting and getting more experience with these types of projects will help my classmates and I.
No comments:
Post a Comment