Describe how values that were assigned to the output to led

Assignment Help Other Engineering
Reference no: EM131070418

Lab a:

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.

Lab b:

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.

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: EM131070418

Questions Cloud

How you would envision the arduino enabling each feature : What are some other products and features of those products for which the Arduino would be a possible candidate as that product's microcontroller? Describe the products, features and how you would envision the Arduino enabling each feature/functio..
Describe the basic tenets of that theory : A number of theories have collective behavior have been reviewed in chapter 11 of our textbook. Pick one of the following theories. Describe the basic tenets of that theory. Finally, compare the role that larger, social-structural conditions play ..
Microsociological and macrosociological perspectives : Please answer the following discussion questions.  Each answer must be atleast 200 words and follow APA format. Part A: 1. Compare and contrast microsociological and macrosociological perspectives.
Discuss some ways that we can code more efficient functions : Discuss some ways that we can code more efficient functions and procedures. What is the difference between using a procedure versus a function and when should we use each?
Describe how values that were assigned to the output to led : 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.
Effect of swardspeak in filipino society : What are the cause and effect of swardspeak in filipino society?
View of anti-psychiatrists : The view of anti-psychiatrists like Scheff was that mental illness was:
Calculate maximum torque and corresponding speed : The volts/hertz ratio, which corresponds to the rated voltage and rated frequency, is maintained constant. Calculate the maximum torque and the corresponding speed for 60Hz and 30Hz.
What are its input parameters and its output : 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.

Reviews

Write a Review

Other Engineering Questions & Answers

  Find the current ir owing through the resistor

Consider the circuit shown in Figure. Find the current iR owing through the resistor. Find the power for each element in the circuit. Which elements are absorbing power?

  Determine the airflows in each branch

Determine the airflows in each branch and what are the flows and pressure drops in each of the branches? Remove the restrictions from the previous question.

  Perfectly fitting pot and its lid often stick

A perfectly fitting pot and its lid often stick after cooking, and it becomes very difficult to open the lid when the pot cools down. Explain why this happens and what you would do to open the lid.

  Describe the purpose of streams

Describe the purpose of streams

  If the water at this state is a vapor determine the pressure

Four kg of water at 100°C fills a closed container having a volume of 1 m3. If the water at this state is a vapor, determine the pressure, in bar. If the water is a two-phase liquid-vapor mixture, determine the quality.

  How can the magnifications be obtained

What would their fractographic appearances be, at 2× and 2000× magnification? How can these magnifications be obtained?

  Determine the amount of energy consumed by the motor

A person gets into an elevator at the lobby level of a hotel together with his 30-kg suitcase, and gets out at the 10th floor 35 m above. Determine the amount of energy consumed by the motor of the elevator that is now stored in the suitcase.

  Calculate the pinion wear surface durability

Calculate the pinion wear surface durability and fatigue strength by using the BS 436 and AGMA standards and give comments from the calculated values.

  Determine the turbine power output

Consider the ammonia Rankine-cycle power plant shown in, a plant that was designed to operate in a location where the ocean water temperature is 25°C near the surface and 5°C at some greater depth. a. Determine the turbine power output and the pum..

  Read the scenario below and answer the following

read the scenario below and answer the following questionsyou are working on an office automation project in the

  The seminal vesicles

The seminal vesicles: A) are located in the abdominal cavity. B) are in the scrotum.

  Environmental issues on usage of pesticides

Describe the function(s) of the organisation and data justifying the need for the Initiative.

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