Arduino Programming Basics
The goal of lab one was to familiarize the team with the Arduino software and associated commands, and the AEV controller and its parts. Scenario one focused on proper control of the AEV’s propellers in various conditions. This was accomplished by accelerating, reversing, and braking the motors at certain speeds for desired time intervals. The group completed this using the motorSpeed(), celerate(), reverse(), brake(), and goFor() commands.
Important takeaways were drawn from lab o1, including that:
- The five basic commands used in the Arduino code will allow the AEV to operate.
- The code used to control the AEV needs to be highly specific. Calling the incorrect motor in a command is ineffective.
- Battery: The battery cannot be plugged directly into the motors, as it can burn-out the motors.
- Lab Setup: The physical setup of the lab is imperative to completing the lab correctly.
Recent Comments