User Tools

Site Tools


notes:c4eng:fall2023:projects:eapx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:c4eng:fall2023:projects:eapx [2023/11/16 00:29] – [part3] mwinter4notes:c4eng:fall2023:projects:eapx [2023/11/16 01:26] (current) – [part3] acuno
Line 18: Line 18:
 {{:notes:c4eng:fall2023:projects:20231108_204827.jpg?400|}} {{:notes:c4eng:fall2023:projects:20231108_204827.jpg?400|}}
 ====part3==== ====part3====
-description of finished project details (not full source code)but present your finished product +The stepper motor system works well. There are two buttons. When one of the buttons is pressedthe motor rotates clockwise. When the other button is pressed, the motor rotates counterclockwise. The amount that the motor rotates is set within the program. 
 +{{:notes:c4eng:fall2023:projects:20231108_204902.jpg?linkonly|}}
 =====cgaffne1===== =====cgaffne1=====
 ====premise==== ====premise====
Line 342: Line 342:
 https://youtu.be/0KfVitGQHjw https://youtu.be/0KfVitGQHjw
  
-===description of finished project details===+===finished project details===
  
 As shown in the video above, all of the electronics are attached to a glider, with the main components (Arduino Nano, MPU6050, breadboard, etc.) stored in the fuselage. Wires have been ran under the red material on the wings from the "brain" in the fuselage to each aileron servo.  As seen in the video, there are also wires wrapped around the black rod (arrow shaft) reaching to the servos on the tail.   As shown in the video above, all of the electronics are attached to a glider, with the main components (Arduino Nano, MPU6050, breadboard, etc.) stored in the fuselage. Wires have been ran under the red material on the wings from the "brain" in the fuselage to each aileron servo.  As seen in the video, there are also wires wrapped around the black rod (arrow shaft) reaching to the servos on the tail.  
 +
 +There are two servos on the tail, one for the elevator and the other for the rudder. The rudder (yaw) is the "X-axis" as described in the code, but this is due to the mpu6050 being setup in an atypical way. That is to say, the relative orientation of the mpu6050 was arbitrarily chosen and the axes were programmed for that perspective. 
 +
 +The servos on the ailerons both function using the "Y-axis" (roll), and the elevator servo uses the "Z-axis." 
 +
 +The glider is set on a flat surface before receiving power. As soon as the microcontroller, our Arduino Nano, receives power, the code starts. When the Arduino Nano turns on and supplies power to the MPU6050, the whole system calibrates itself to the orientation it currently sits at. This is why we need to make the glider level before supplying power. 
 +
 +Once the glider is calibrated, it can be freely moved wherever it needs to be moved before launching. Each of the servos will attempt to maintain a neutral position of all control surfaces. This results in a glider that maintains stabilization and heads straight (no rudder/aileron movement for turning). 
 +
 +The factors used to maintain these angles are described extensively in part 2. 
 +
 +This was a really fun project that I was more than happy to take part in. There are so many features that I imagine for future iterations that were beyond the scope, like having the glider follow a GPS-based path for a true "autopilot" system. 
 =====nbutler5===== =====nbutler5=====
 ====premise==== ====premise====
Line 369: Line 381:
  
 ====part3==== ====part3====
-description of finished project details (not full source code)but present your finished product+ 
 +eap2 is the finished programwhere the lcd module outputs the pi's CPU temperature and the time stamp associated with the temp readout. The temperature output is in Celsius and was 2 decimal places XX.XX. The program for the CPU temp updates every second, so I added a blinking led program for whenever the LCD display updates, giving a visual indicator.      
 + 
 +{{:notes:c4eng:fall2023:projects:lcd_circuit.png?nolink&400 |}} 
 +{{:notes:c4eng:fall2023:projects:led_circuit_.png?nolink&400 |}} 
  
 =====rford5===== =====rford5=====
notes/c4eng/fall2023/projects/eapx.1700094581.txt.gz · Last modified: 2023/11/16 00:29 by mwinter4