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

  Discuss ramifications of opposing objectives on the project

Critically outline the pros and cons of both strategies described above. Which strategy do you favour?Justify your answer with relevant theory.

  Disc profiles in order to get job

Part 1: Write a brief essay describing two ways you would effectively use the DiSC profiles in order to get job.

  Determine how many units of each product to produce

Determine how many units of each product to produce so as to maximize profit. For each unit of product 1, 1 unit of frame parts and 2 units of electrical components are required.

  Constant pressure expansion determine

Problem 1: 10 moles of an ideal gas with Cp = 32J/mol.K expands abiabatically from 340K and 5 atm to a final state where its volume doubles. For a constant pressure expansion determine

  Carnot cycle heat engine

Water is used as the working fluid in a Carnot cycle heat engine, where it changes from saturated liquid to saturated vapor at 200?C as heat is added. Heat is rejected in a constant pressure process

  Write a program to find the sum of the elements of an array

Write a program to find the sum of the elements of an array called list1. The size of list1 is four bytes. The values of list1 are $FF, $1, $FE, and $02. To check your work, the sum should become $0200

  Find the values of ra and rb

Using a 680-pF capacitor, design the astable circuit of Fig. to obtain a square wave with a 20-kHz frequency and an 80% duty cycle. Specify the values of RA and RB.

  Did your calculated and measured values match

Did your calculated and measured values match? If not, why? Does the multimeter give you the peak, peak-to-peak, or rms measurement?

  Calculate the volumetric flow rate

Calculate the volumetric flow rate and the mass flow rate and determine the average flow velocity of the air and the air quantity flowing

  Wide applications of power electronics

What would be the future of power electronics? Please be brief for this part.

  What is the objective for which you are striving

How will it make me feel about myself? Will it make me proud? Would I feel good if my decision were published in the newspaper? Would I feel good if my family knew about it?

  What does it mean to conduct a fatigue test

1) What does it mean to conduct a fatigue test with R = -0.5? 2) If you have a material that is initially hard and strong, would you expect it to cyclically harden or soften? What would be a way of characterizing how strong it must be initially to..

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