Skip to main content

Project Based Engineering Instrumentation High Level Coding and Microcontrollers

Section 8.6 Assignment

For this specific project you must get your LED to turn on and off using buttons as well as software. The different scenarios are shown below and the grading rubric is presented after this list.
  1. Get your LED to turn on with the VOUT pin.
  2. Get your LED to turn on with the 3.3V pin.
  3. Get your LED to blink automatically using an analog pin on the CPX/CPB.
  4. Get your LED to turn on using a button on the breadboard.
  5. Get your LED to blink automatically by pressing a button on the CPX/CPB.
  1. Title page with name,title and date - 5%
  2. Introduction with wiring diagram of LED connected to VOUT - 5%
  3. All figures must have appropriate annotations, figure captions, figure labels and a paragraph of supporting text - 10%
  4. Include a photo of your circuit with your LED turned on using VOUT. Based on the forward voltage in your LED and the resistance in your circuit, what is the voltage drop across the resistor and current through the LED? Assuming your LED acted like a resistor, what would the resistance of your LED be? - 10%
  5. Include a photo of your circuit with your LED turned on using 3.3V. Based on the forward voltage in your LED and the resistance in your circuit, what is the voltage drop across the resistor and current through the LED? Assuming your LED acted like a resistor, what would the resistance of your LED be? - 10%
  6. The USB port from your computer is 5V. The DC to DC converter on the CPX/CPB converts that 5V to 3.3V. Compute the Gain (\(G\)) for this converter both in magnitude and in \(dB\text{.}\) - 10%
  7. Include a photo of your circuit with your LED turned on using a button on your breadboard - 10%
  8. Include a photo of your circuit with your LED turned on using an analog pin and then also include a screenshot (entire computer screen) of your Mu code showing the same analog pin used to blink your LED - 20%
  9. Include a photo of your circuit with your LED turned on by pressing a button on the CPX/CPB and then also include a screenshot (entire computer screen) of your Mu code showing the line of code used to read the button press and blink the LED. - 20%
  10. Appendix A - Video Details - Film yourself and your entire screen with the Serial Monitor open in Mu while you press and hold a button on the CPX/CPB and show the LED on your breadboard blink while you hold the button down
  11. Appendix B - Code used to take data and code used to plot in plain text (no screenshots) - Pass/Fail
  12. Appendix C - Screenshot of Excel or Sheets if applicable - Pass/Fail
  13. If you are asked to fix something in the Appendices such as missing content in your video or screenshots of your code, you will lose 10% of your grade everytime you submit an update after the deadline.