How the values that were assigned to the output to the led

Assignment Help Other Engineering
Reference no: EM131767208

Assignment: Microprocessor Systems Engineering

Lab: Using PWM to light an LED

Procedure:

• Watch the youtube video: "Tutorial 02 for Arduino: Buttons, PWM, and Functions"

• Construct the breadboard circuit and implement the program presented in the video and in Chapter 2 (pp. 29-35) of your textbook to control the brightness of the external LED via PWM.

Lab 2b:

Procedure:

• Design a circuit and Arduino program that accomplishes the following:

o Reads a press of a pushbutton once, and it cycles through all possible brightness values

o A press of the pushbutton a second time during the cycle, and it will "reset" the system by turning the LED off and setting the brightness value back to 0

o Another press of the pushbutton again, and it will then start the brightness cycle over again

• Include a video of your circuit in operation and any computer screenshots during its operation. Please include your Grantham ID number in the video to show your work.

• Send your code file (.ino) of the lab completed and operational as well for credit.

Analysis/Discussion:

• Explain the process you used in this lab to arrive at the final design of both the hardware portion and the software portion to achieve the design objectives.

• This lab introduced interfacing an external LED and a pushbutton switch to the Arduino. Describe some practical considerations that must be taken into account when interfacing each of these devices in order to achieve desired operation and component protection.

• PWM was used in this lab to "simulate" analog output from the Arduino. Measure the voltage associated with the minimum value of the analog output and the maximum value of the analog output. Take a picture of the measurements of the DMM display to confirm the voltages at analog output of 0, 127, and 255. What do you notice about these values regarding the relative brightness of the LED? Describe how the values that were assigned to the output to the LED establish the relative "brightness" of the LED.

• As a design engineer, describe the method you would use to ensure that devices interfaced to a microprocessor can be done so safely. That is, how would you determine the limitations on the current that can either be sourced or sunk by a microprocessor? Provide sample data for both the Atmel ATMega328 and the Intel i7 microprocessors in terms of maximum current ratings per pin and total current limits for each microprocessor. Include your answers with your code, screenshots and readings submitted.

Reference no: EM131767208

Questions Cloud

Provide an analysis of other advertising opportunities : Learners should provide an analysis of other advertising opportunities that the product or company could utilize.
What is the most likely effect of a stock split on par value : What is the most likely effect of a stock split on the par value per share and Additional Paid-in-Capital, respectively
Determining vertical equity and accounting for behavioral : Optimal income taxation for purposes of determining vertical equity and accounting for behavioral responses has the following condition
How much did fishbone pay for the bonds : Fishbone purchased the bonds to yield 11%. How much did Fishbone pay for the bonds
How the values that were assigned to the output to the led : Describe how the values that were assigned to the output to the LED establish the relative "brightness" of the LED.
Determine composition of the earth atmosphere : Ancient air The composition of the earth's atmosphere may have changed over time. To try to discover the nature of the atmosphere long ago.
Cash into your checking account : Suppose you deposit ?$1,300 cash into your checking account. By how much will checking deposits in the banking system increase as a result
Prepare the journal entries to record income tax expense : Prepare the journal entries to record income tax expense, deferred income taxes, and income taxes payable for 2010 and 2011
Explain one-sample t test in the setting : Paying high prices? A retailer entered into an exclusive agreement with a supplier who guaranteed to provide all products at competitive prices.

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd