1 / 78

Colorado Space Grant Consortium

Gateway To Space ASEN 1400 / ASTR 2500 Class #13. T-53. Colorado Space Grant Consortium. Today:. Announcements Next Time One Minute Report Questions Arduino Part 3: Sensors and SD Cards. Announcements:. Everyone bring HW #4 and #5 hardware? USB cables? Arduino Unos ? Laptop?.

Télécharger la présentation

Colorado Space Grant Consortium

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Gateway To Space ASEN 1400 / ASTR 2500 Class #13 T-53 Colorado Space Grant Consortium

  2. Today: • Announcements • Next Time • One Minute Report Questions • Arduino Part 3: Sensors and SD Cards

  3. Announcements: • Everyone bring HW #4 and #5 hardware? • USB cables? • Arduino Unos? • Laptop?

  4. Announcements: • Review Syllabus changes… • Considering special session for finishing Arduino • See how today goes

  5. One Minute Reports: • Where is the Arduino Cheat Sheet? • Do we just program to keep the sensors on the entire flight? • Do you know any good websites with Arduino tutorials? • Can we go over what the code means? int, map, etc? • How many commands are there? • What programming languages does the Arduino understand? • Would we be able to hook a speaker to the Uno so it plays a beep every second? • What sort of boards do other satellites have? • How is a potentiometer be relevant to our mission?

  6. One Minute Reports: • How do we store data to look at later? • Why are we using 2 Arduinos for our BalloonSat? • Is there a limit to the amount code we can put on the Uno? • Examples of Arduino Code? • What things define our grades and how are they weighted?

  7. Next Time… Rocket History Colorado Space Grant Consortium

  8. Arduino Overview: - Now let’s modify our sketch to add an analog input - Let’s use the potentiometer from HW #4

  9. Arduino Overview: - Connect the Red wire to +5V, Black to GND, and White to A0

  10. Arduino Overview: - Leave the LED connected to pin 9 but it won’t blink

  11. Arduino Overview: - Potentiometer is acting like an analog sensor - We can now hook up any analog sensor and see its value (at least through serial) - What other sensors can we hook up? - Let’s add some… - But first let’s add the Protoshield

  12. Arduino Overview: - Take out the Protoshield your team built in HW#4

  13. Arduino Overview: - Carefully connect it with your unpowered Uno

  14. Arduino Overview: - Carefully connect it with your unpowered Uno

  15. Arduino Overview: - Carefully connect it with your unpowered Uno

  16. Arduino Overview: - Carefully connect it with your unpowered Uno

  17. Arduino Overview: - Reconnect Uno to laptopand verify all is working - Activate Serial Monitor

  18. Arduino Overview: - Disconnect LED Breadboard and connect wire from pin 9 to JC3 on ProtoShield - Activate Serial Monitor

  19. Arduino Overview: - Carefully move wire to JC3 to JC2…

  20. Arduino Overview: - Add the Temperature Sensor to the Breadboard

  21. Arduino Overview: - Connect Pin 1 to 5V

  22. Arduino Overview: - Connect Pin 3 to GND

  23. Arduino Overview: - Connect Pin 2 to A5

  24. Arduino Overview: - Modify your sketch to add the following variable

  25. Arduino Overview: - Modify your sketch to add the following lines in loop

  26. Arduino Overview: - Compile and Upload - Activate Serial Monitor - Test by putting your finger on the sensor - Do you see a change?

  27. Arduino Overview: - Convert to Voltage and display on Serial Monitor

  28. Arduino Overview: - Should see this…

  29. Arduino Overview: - Use spec sheet to convert to degrees C - 10 mV/C - Look for offset

  30. Arduino Overview: - 0.5 V offset

  31. Arduino Overview: - Modify your sketch

  32. Arduino Overview: - Should see this…

  33. Arduino Overview: - Data make sense? - How would you calibrate this sensor?

  34. Arduino Overview: - Add the Humidity Sensor to the Breadboard

  35. Arduino Overview: - Connect 5 V from Temp Sensor

  36. Arduino Overview: - Connect GND from Temp Sensor

  37. Arduino Overview: - Connect Out to A4

  38. Arduino Overview: - Modify Sketch

  39. Arduino Overview: - Should get…

  40. Arduino Overview: - Convert to voltage and understandable units from data sheet - Algebra

  41. Arduino Overview: - Modify Sketch

  42. Arduino Overview: - Should get…

  43. Arduino Overview: - Data make sense? - How would you calibrate this sensor?

  44. Arduino Overview: - Add the Accelerometer to the Breadboard

  45. Arduino Overview: - Connect 3.3V to Vcc from UNO

  46. Arduino Overview: - Connect GND to GND from Humidity Sensor

  47. Arduino Overview: - Connect ZOUT to A3 on UNO

  48. Arduino Overview: - Connect YOUT to A2 on UNO

  49. Arduino Overview: - Connect XOUT to A1 on UNO

  50. Arduino Overview: - Accelerometer has a few other settings we need address from the Data Sheet

More Related