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

  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