Design a circuit and arduino program that accomplishes

Assignment Help Other Engineering
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.

Reference no: EM131149755

Questions Cloud

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

Reviews

Write a Review

Other Engineering Questions & Answers

  Determine the variation of the power at the drive shaft

ENMIN 5140 Determine the rms torque and power for this system and determine the variation of the power at the drive shaft for this system assuming a constant radius of coiling of the rope on the drum

  Environmental engineeringquestion 1 analysis of the

environmental engineeringquestion 1 analysis of the movement of a tracer in a contaminated aquifer indicates that the

  Which elements are in series

Consider the circuit shown in Figure. Which elements are in series? Which elements are in parallel? Apply Ohm s and Kirchhoff s laws to solve for Vx.

  Determine the ammonium conversion in bioreactor

If ammonium conversion in bioreactor 1 is 70%, determine the ammonium conversion in bioreactor 2. determine whether the cell concentration in bioreactor I would be less than, equal to, or greater than the cell concentration in bioreactor 2

  Explain lzss compression and what are the improvements of

Explain LZSS compression and what are the improvements of LZSS on LZ77

  The u.s.system of volume measurement

In the U.S.system of volume measurement, a pint is 2 cups, a cup is 8 ounces, an ounce is 2 tablespoons, and a tablespoon is 3 teaspoon. Write a program that requests a volume in cups and that displays the equivalent volumes in pints,ounces,tables..

  Find the total fuel flow

Find the Total Fuel Flow to maintain Max endurance speed in Level flight at FL350 - What would the % thrust and % N1 setting be at Max Endurance Speed, FL350?

  Determining the fair value measurement

Should a reporting entity consider disposition costs in determining the fair value measurement in the principal (or most advantageous) market?

  Logical connectives

Logical connectives chapter complete explanation step by step with suitable examples

  Find the required current i and the power dissipation

It is required to design the sense amplifier of Fig. 16.24 to detect an input signal of 140 mV and provide a full output in 0.5 ns. If C = 50 fF and VDD = 1.2 V, find the required current I and the power dissipation.

  Questionnbsp - 1design problemnbspan ore body dips at 70deg

questionnbsp - 1design problemnbspan ore body dips at 70deg and has a vertical depth of 140m. the top of the ore body

  Find the value of the eak current

Consider theCMOSinverter of Fig. withQN and QP matched and with the input vI rising slowly from 0 to VDD. At what value of vI does the current flowing through QN and QP reach its peak? Give an expression for the peak current, neglecting λn and λp...

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