lab_2 Aa

docx

School

Oregon State University, Corvallis *

*We aren’t endorsed by this school

Course

351

Subject

Mechanical_engineering

Date

May 31, 2024

Type

docx

Pages

9

Uploaded by ColonelCobra727

Report
ME 351 - Introduction to Measurement Systems Lab 2 Report Aaroh Awasarmol
Lab 2 Report ME 351 - Introduction to Measurement Systems 2 1 L AB S IGN - OFFS (10 POINTS ) 1) Demonstrating your custom blink program. 2) Demonstrating your off button. 3) Demonstrating your button pressed message. 4) Demonstrating your button/LED toggling system.
Lab 2 Report ME 351 - Introduction to Measurement Systems 3 2 D ISCUSSION Q UESTIONS (15 POINTS ) DQ1: There are many useful tutorials on the official Arduino website (arduino.cc, hover over [Documentation] and select [Tutorials]). We will use the Blink tutorial which is a built-in example. The Arduino documentation (docs) is a good place to get more details about the built-in examples (arduino.cc/en/Tutorial/BuiltInExamples/Blink). Based on the Blink example documentation, what range of resistor values are acceptable for lighting an LED with the 5V power source we use in this lab? Which resistor do they suggest you use in the Blink example? Resistors up to 1k ohm may be used for lighting up the LED. In the example they suggest using a 220 ohm resistor. DQ2: The resistors in your kit have labels on the yellow paper that holds them together to indicate their resistor value. However, in the wild you may need to identify resistors through their color bands, so knowing where to learn to do that will be helpful. Find an online link to a resistor color chart or calculator. Using the calculator that you found, what resistance is a resistor with 4-bands in the order brown, red, brown, gold. Include the link and a screenshot of your calculation. https://www.digikey.com/en/resources/conversion-calculators/conversion- calculator-resistor-color-code DQ3: In the original Button example circuit, when the pushbutton is pressed, will
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Lab 2 Report ME 351 - Introduction to Measurement Systems 4 the pin read HIGH or LOW? You can determine this by seeing what the resistor is connected to in your circuit (ground or power), or by looking at the logic in the code. Briefly explain your reasoning and state if this is a pull-up or pull-down resistor. In the original example , the resistor is connected to power and therefore the pin will read HIGH when it is turned on. It is therefore a pull up resistor.
Lab 2 Report ME 351 - Introduction to Measurement Systems 5 3 P OST -L AB Q UESTIONS (15 POINTS ) PLQ1: Grounding a) What does ground on the Arduino represent in terms of voltage? On Arduino the ground is where the voltage is at 0V. b) In electronics, what is a common ground? 0V or a point of reference against which all other voltages are measured. c) Is the resistor in the button example connected to ground or supply voltage? The resistor is connected to ground. PLQ2: Polarity a) What is electronic polarity? The polarity of a component determines which way the current will flow in a circuit. b) What do we have to be careful about for polarized components? The circuit will not work if the components are not connected with proper polarity as current will not flow. c) What component(s) from this lab are polarized? On this lab only the LED is polarized.
Lab 2 Report ME 351 - Introduction to Measurement Systems 6 4 L AB C ODE (5 POINTS ) 4.1 Sign-off 1:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Lab 2 Report ME 351 - Introduction to Measurement Systems 7
Lab 2 Report ME 351 - Introduction to Measurement Systems 8 4.2 Sign-off 2:
Lab 2 Report ME 351 - Introduction to Measurement Systems 9
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help