Arduino Function Call Glossary:
- The motor (m) accelerates over the time (t) from the beginning speed (p1) to the final speed (p2).
- Set the motor (m) to the speed (p).
- Keep the previous command going for the time (t).
- Stop the motor (m).
- Reverse the spinning of the propellers for motor (m).
- Keep the motors going until
The purpose of the reflectance sensors is to communicate how far the AEV has traveled across the track by keeping track of how many times the wheels spin. This distance is measured in marks and helps the team create code that results in high consistency.
Designs 1, 2, 3, and 4, respectively.
Design 1 was created with stability in mind. The balance and construction of the design add to the stability by lessening the rocking of the vehicle as it traverses across the track.
Design 2’s main focus was to optimize the aerodynamic abilities of the AEV. The body of the AEV is built in a sleek pointed construction that allows the vehicle to move with little wind resistance. The simplicity of the design would also result in a smaller amount of money being spent, therefore being budget friendly.
Design 3 was also built taking aerodynamics into consideration. The body of the AEV is in a smooth bullet-like shape that lessens the wind resistance. The AEV design also results in a lighter builder that would require less energy to use, therefore also being cost efficient.
Design 4 was yet again another AEV designed to be very aerodynamic. The thin frame of the AEV was intended to decrease the surface area of the AEV being slowed by air resistance. The symmetrical design of the vehicle also adds to the balance and stability so the AEV does not fall off the track or excessively rock.
Final Team Concept Sketch:
The focus of the combined group sketch was to optimize the AEV in more areas than just one in order to have the most cost and energy efficient vehicle. The AEV was designed wit minimal parts in order to make the chassis very light. It is also designed in a vertical orientation to incorporate aerodynamic qualities. Lastly, the arduino and battery are situated on opposite sides of the vertical arm in order to balance out the AEV and contribute to the overall stability.
For the first three seconds, the motors are accelerating. After that, the motors continue on the tracks at a constant speed for 1 second. Next, the motors are ran at a constant speed for two seconds, the motors are reversed, and the motors continue at a constant speed for another 2 seconds. Lastly, all the motors are brakes and the AEV comes to rest.
Exercise 4 Code: CSS1
// Reverse all motors for initial orientation
// Accelerate all motors from start to 25% in 3 seconds.
// Run all motors at a constant speed for 1 second.
// Run all motors at 20% power for 2 seconds.
// Reverse all motors.
// Run all motors at a constant speed for 2 seconds.
// Brake all motors.
The following are the criteria on which the designs are based on equally.
Stability – AEV must have a decent center of gravity and cannot place too much weight on small parts
Blockage – AEV must not interfere with the track that is it on
Maintenance – AEV must be set up quickly when taken out of box
Durability – AEV must be structurally sound
Safety – AEV must not easily fall of the track or fall apart
The group’s has decided to minimize weight and drag by creating a vertical design. The weight of all necessary parts will be evenly distributed.