Discuss use of polling in microcontroller based systems

Assignment Help Other Engineering
Reference no: EM131210095

Part 1

1. Research SN74HC595N

Conduct an internet search for the datasheet for the SN74HC595N shift register DIP IC. Include proper APA citation for all sources referenced.

Include the following:

• Explanation of how this device "extends" the I/O capabilities of an Arduino or any other microcontroller.

• Explanation of what the Function Table is on the datasheet and how it is used to write programs with the Arduino interfaced to this shift register.

• Describe two applications for which an Arduino based system would benefit from utilizing a shift register.

Part 2

• Differences in Interrupts and Polling

Discuss differences between the use of interrupts and polling in microcontroller based systems. Include examples of applications for which each one would be the preferred method.

Part 3

1. Using Shift Registers with the Arduino

Lab a:

Procedure:

• Read the section:

o Chapter 12: Building and Testing a Hardware-Debounce Button Interrupt Circuit

Construct the breadboard circuit and implement the program presented as in Chapter 12 (pp.262-269).

Lab b:

Procedure:

Read the section:

o Chapter 7: Shifting Serial Data from the Arduino

Construct the breadboard circuit and implement the program presented as Bar Graph Distance Control in Chapter 7 (pp.147-152).

Lab c:

Procedure:

Applying the principles in Lab 7a and 7b, design the following circuit and code:

Modify the Bar Graph Distance Control circuit and program to using a photoresistor input instead of an IR distance sensor in Chapter 3 (pp. 56- 59). Modify the program to represent an illumination LED bar graph circuit. In other words, when the photoresistor detects maximum light, all of the eight LEDS light. As you dim the amount to the photoresistor, the LEDS start to turn off from right to left.

Send your code file (.ino) of the lab completed and operational as well for credit.

Analysis/Discussion:

Explain what you did in the program to reverse the display of the bar graph, making the bar graph illuminate with the LEDS on and turning off as you dimmed the light.

The 74HC595 shift register is essential converting 3 inputs to 8 outputs. In your own words, how does this work?

With your answers, please submit your code, a video of your circuit and any computer screenshots during its operation. Please include your Grantham ID number in the video to show your work.

Reference no: EM131210095

Questions Cloud

Difference between securities broker and a securities dealer : What is the difference between a securities broker and a securities dealer? - What roles do brokers and dealers play in the fi nancial system?
Internet business model discussed in the unit readings : Recall the e-commerce Internet business model discussed in the unit readings. Identify three different businesses that use this model and their successful descriptions for solutions to information systems (minimum 75 words in length)
Project cost is deviating from the planned budget : What measures can be taken if it is found that the project cost is deviating from the planned budget? What measures can be taken if it is found that the product quality is deviating from the expected quality level?
How does a hedge fund differ from a traditional mutual fund : How does a hedge fund differ from a traditional mutual fund? - What are the two types of hedge funds and how are their requirements for participation different?
Discuss use of polling in microcontroller based systems : Discuss differences between the use of interrupts and polling in microcontroller based systems. Include examples of applications for which each one would be the preferred method.
What does this mean in terms of managing crm : What does this mean in terms of managing CRM. How is this related to the concept of Customer Lifetime Value?
Spread between the bid and asked price widens : The spread between the bid and asked price widens. - What does this mean about the securities?
Professional golf association : A PGA (Professional Golf Association) tournament organizer is attempting to determine whether hole (pin) placement has a significant impact on the average number of strokes for the 13th hole on a given golf course.
How can you measure progress of a task : What attributes of a software project are considered for monitoring and control? Explain what you understand by resource leveling. How can you measure progress of a task? What measures can be taken if it is found that the project schedule is devia..

Reviews

Write a Review

Other Engineering Questions & Answers

  Find low-frequency value of overall differential gain

The amplifier is fed in a symmetrical fashion with a source resistance of 10 kΩ in series with each of the two input terminals. Sketch the differential half-circuit and its high-frequency equivalent circuit.

  Mechanical behavior of materials celebration of learning 02

mechanical behavior of materials celebration of learning 02 20 june 2014this is a take-home celebration of

  To learn how to use the rom program space for data

To become familiar with enabling internal pull-up resistors and reading an input port. To learn how to wait for a pushbutton press

  Anatomical and functional divisions of the nervous system

Evaluate and distinguish between the anatomical and functional divisions of the nervous system.

  What is the electronic translator

How can an electronic translator used by tourists when they are travelling abroad assist them and what is the electronic translator?

  Find the low-frequency gain am

Consider a bipolar cascode amplifier biased at a current of 1 mA. The transistors used have β = 100, ro = 100 KΩ , Cπ =10 pF, Cμ =2 pF, Ccs =0, and rx =50Ω. The amplifier is fed with a signal source having Rsig = 5 kΩ. The load resistance RL = 2 k..

  Highest possible final grade in nighttime conditions

What is the highest possible final grade in nighttime conditions? (Note: Be careful of units of A, and ignore the cross-sectional width of the overpass.)

  What was the students associated perception

If the student was traveling at 55 mi/h when the sign was first spotted, what was the student's associated perception/reaction time (use practical stopping distance)?

  What transistor biasings importance to transistor circuit

Discuss what "transistor biasing" means and its importance to transistor circuit design. Choose one type of biasing, and explain either how it works or its advantages and disadvantages.

  Calculate the radius of the beam assuming a gaussian profile

What is the focal length of the lens? What is the wavelength resolution for the spectrometer and calculate the radius of the beam assuming a Gaussian profile.

  Building a wind farm - preliminary investigation

Estimate the values of capacity factor and annual energy delivered using average wind speed and turbine data supplied by the manufacturer. Compare the estimated values with the corresponding results found in step 4 and determine the errors in perc..

  Describe what mib is

1. List all standards of IEEE 802.11 from a to z. Describe each of them briey in a sentence or two. 2. Compare and contrast OFDM, DSSS and FHSS in terms of various metrics. Explain the current technology with IEEE 802.11a/b/g/n/ac (i.e., tell if t..

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