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/14 15:48] – [part3] stostan2notes: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 112: Line 112:
  
 </blockquote> </blockquote>
 +
 +https://youtu.be/nE6sX5U6sz4
 +
 ====part3==== ====part3====
 When moving the joystick around the light changes color and when any of the values hit their max one of the single led's will turn on. When moving the joystick around the light changes color and when any of the values hit their max one of the single led's will turn on.
Line 140: Line 143:
 </blockquote> </blockquote>
  
 +https://www.youtube.com/playlist?list=PLpR-bDNsxP5swtO5DQ5bhKbo7tLxqU75V
 =====clovell3===== =====clovell3=====
 ====premise==== ====premise====
Line 210: Line 214:
  
 ====part3==== ====part3====
-description of finished project details (not full source code), but present your finished product+For the finished product, I have a seven segment display that shows a hexadecimal counter that can be slowed down or sped back up to regular speed. Pressing the blue button slows the counter down the more you press it. Pressing the red button sets the speed at which it counts back to normal. These two buttons can be used to slow or speed up the counter in a way, without having to worry about a negative delay happening. 
 + 
 +{{:notes:c4eng:fall2023:projects:screen_shot_2023-11-15_at_5.12.52_pm.png?400|}}
  
 =====lrogers3===== =====lrogers3=====
Line 333: Line 339:
  
 ====part3==== ====part3====
-description of finished project details (not full source code), but present your finished product+===video=== 
 +https://youtu.be/0KfVitGQHjw 
 + 
 +===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.   
 + 
 +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 359: 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=====
Line 388: Line 415:
 ====part3==== ====part3====
 My finished product consist of the ultrasonic Ranger, 3 LEDs and a buzzer. The LEDs turn on and off with certain distances. So the red will do 0-25, blue 26-50 and green 51-100. When the distance reads over 50 centimeters, the buzzer will begin to BUZZ! Using if and else statements for my lights and buzzer made this whole thing possible. My finished product consist of the ultrasonic Ranger, 3 LEDs and a buzzer. The LEDs turn on and off with certain distances. So the red will do 0-25, blue 26-50 and green 51-100. When the distance reads over 50 centimeters, the buzzer will begin to BUZZ! Using if and else statements for my lights and buzzer made this whole thing possible.
 +{{:notes:c4eng:fall2023:projects:img-7732.jpg?400|}}
 =====wjohns11===== =====wjohns11=====
 ====premise==== ====premise====
notes/c4eng/fall2023/projects/eapx.1699976927.txt.gz · Last modified: 2023/11/14 15:48 by stostan2