Arduino Programming Basics
The purpose of this lab was to become familiar with the automatic control system hardware components. In order to do so, the team setup the AEV software and began programming basic function command calls in controlling the AEV. The group learned that it is important to make sure that the light stops blinking before unplugging the cable from the Arduino signaling that the program has been uploaded. Once running the code, the performance of the electric motors was good and the propellers acted as programmed. The main take away from this lab was that when they program called for a break in the motors, there was a delay. Basic function calls are explained under the glossary section of group E.
Figure 4: Lab and AEV parts assembled (taken from MC&R deliverable)
PROGRESS REPORT Q&A:
- Both motors run smoothly and the arduino code transfered to the board with ease. when the code ran, the motors accelerated correctly followeing scenario 1 line one and 2 however in line 3 when it says to brake motor one, both the motors instead of just motor one. The group then decided to unplug the cord connected to the board from the front of the computer to the back. The group then uploaded the code to the board once again and the computer represented an error message.
AEV CODE USED:
Compiled by Madison Geiger