Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

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.

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M92575891
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Other Engineering

Engineering analysis assignment -for every problem provide

Engineering Analysis Assignment - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Plot the function f(t) = (x+5) 2 /(4+3x 2 ) for -3 ≤ x ≤ 5. using plot command. Use the ar ...

1 online discussion forum - post your proposed topic and

1. Online Discussion forum - Post your proposed topic and chosen data set as well as a short plan for the project. This is required for approval of the topic. As discussed, students must select unique topics, therefore i ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Conceptual design of forced-free-mixed convection

Conceptual Design of Forced-Free-Mixed Convection Experiment This assessment is to be completed individually. 1. Learning Outcomes: - Develop a basic ability to conceptually design an experimental apparatus - Use theory ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Mine safety amp environmental engineeringpart 1 questions1

Mine Safety & Environmental Engineering Part 1. Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the following terms ...

Assignment 11 what is the purpose of ore reserve and

ASSIGNMENT 1 1. What is the purpose of ore reserve and resource estimation? Why are resource and reserve estimates important to the mining industry? 2. What is meant by ore? What is meant by the term waste? How is the di ...

Question 1 define rock mechanics discuss the main

Question 1 . Define rock mechanics. Discuss the main objectives of the application of rock mechanics in mining. Question 2. Define stress. Draw a diagram and define the normal and shear stress by resolving the resultant ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As