Reference no: EM131149755
Lab: Using PWM to light an LED
Introduction:
In this lab I will be learning about the use of buttons, PWM (pulse width modulation), and functions as the name of the lab suggests. There are two parts. The first part I will be watching a video and constructing the circuit as instructed on the video and writing the program to interact with it. This circuit will be using PWM to control the brightness of an LED. The second part I will be creating a program that will interact with the Arduino with the use of a button to control an LED.
Equipment/Components:
· Arduino Uno
· Small breadboard
· Jumper wires
· 10k? resistor (x1)
· 220? resistors (x3)
· USB cable
· Pushbutton
· 5mm single-color LED
· Digital Multimeter
Procedure:
1. Lab 2a: Procedure:
· Watch the video: Tutorial 02 for Arduino: Buttons, PWM, and Functions (https://www.youtube.com/watch?feature=player_embedded&v=_LCCGFSMOr4)
· 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.
2. Lab 2b: Procedure:
· Design a circuit and Arduino program that accomplishes the following:.
· Reads a press of a pushbutton once, and it cycles through all possible brightness values.
· 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.
· 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.
Estimate the modal damping ratio corresponding to circle
: The experimental Nyquist circle of a structure is shown in Fig. 10.47. Estimate the modal damping ratio corresponding to this circle.
|
Evaluate the external environment
: Read the article, "The Walt Disney Company: A Corporate Strategy Analysis." Evaluate the external environment (industry, market, and the general environment), and the internal situation (core competencies, brand reputation and loyalty, and customer..
|
Compare two sources of rights and fundamental principles
: Compare and contrast two of the sources of rights and fundamental principles found in the United States' legal system as outlined by the text.
|
Share stress reduction technique not yet shared
: Share a stress reduction technique not yet shared by a classmate that you use or have seen used. Does it work? Why or why not?
|
Design a circuit and arduino program that accomplishes
: Design a circuit and Arduino program that accomplishes the following. Reads a press of a pushbutton once, and it cycles through all possible brightness values.
|
Marketing report and company assignment
: Discuss its IT architecture - Describe its databases, data warehouse, and data mining.
|
Drive global air travel growth
: Explain the 4 categories of factors that drive global air travel growth. Choose a world region and discuss the most important factors that are expected to affect growth in that region over the next 20 years.
|
Annual manufacturing cost-annual savings from purchasing
: Brian Wilson, materials manager at B&L Inc. in Lancaster, Pennsylvania, was considering a proposal from his purchasing agent to outsource manufacturing for an outrigger bracket. It was the end of April and Mr. Wilson had to evaluate the proposal and ..
|
How does forbes differentiate itself from competitors
: How does Forbes differentiate itself from competitors in the similar market segment(s)? Compare segmentation and targeting strategies of these two companies
|