Lab 1: Arudino Programming Basics

The code was created in sketchbook, using premade methods. In Scenario 1, the propellers were made to go through each command demonstrating the different uses of the command. In Scenario 2 the propellers were powered in such a way to create the Star Wars theme song. After writing the code for both scenarios, the team obtained a proper understanding of how basic locomotive commands work, as well as how an Arduino compiles and stores the code. The team also noted that performance of the electric motors are not perfect, for example, when told to accelerate some time is taken before the propeller began to rotate. Resistance is noted when the propeller moves at low speed.

Some error that appeared came in Scenario 2. In the first attempt of Scenario 2, goFor command was not used. This caused the pacing of the song to be off and did not last long enough, or in other cases too long. However, upon adding the goFor command, the team was able to complete both scenarios.