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

  Determination of a sized design layout

Requires the determination of a sized design layout of an aircraft concept to meet a given mission specification.

  The text signals and systems using matlab

Download and review the supplemental questions. Work the following homework problems below.

  Write down the motion model of the robot

Write down the motion model of the robot as a list or table of eight conditional probabilities of the form p(x'|x, u). Write down the sensor model of the robot as a list or table of four conditional probabilities of the form p(z|x)

  Sensitivity ranges of the objective function coefficients

Why do you think that occurs? Would eliminating this constraint increase risk? Why or why not?

  What is the corresponding prototype velocity

The maximum velocity on a 1-m-high model spillway is 2.2 m/s. If the prototype spillway has a height of 48 m, what is the corresponding prototype velocity?

  Draw the functional block diagram of the automatic volume

show the following signals: the desired volume as an input, the actual volume as an output, and voltages representing speed, desired volume, and actual volume.

  What is the dc voltage at the input

The feedback current amplifier in Fig. utilizes two identical NMOS transistors sized so that at ID = 0.2 Ma they operate at VOV = 0.2 V. Both devices have Vt = 0.5 V and VA = 10 V. If Is has zero dc component, show that both Q1 and Q2 are operating..

  How to prepare seminar on the topic mobile technologies

How to prepare seminar on the topic "Mobile Technologies"? Complete the paper which should be approximately 3500 words in length (excluding appendices, tables, diagrams). Include all the technologies has revolutionized the field of Mobile.

  Write an expression whose value equals the remainder

Assume that n has been declared and initialized as an int. Write an expression whose value equals the remainder of dividing n by 17.

  Problem regarding the comparative cost assessment

Perform a comparative cost assessment for both power plants by considering the energy resources. Perform a comparative environmental impact assessment for both power plants by considering the energy resources.

  Were the works depicting uniquely american scenes

How the Abstract Expressionist artist expressed themselves using this abstract style; what were they "saying?" or what was the message of their artwork? What influenced their work?

  What is the total vehicle delay two full cycles

The approach has a saturation flow rate of 1200 veh/h and an effective green of 20 seconds, and the cycle length is 40 seconds - What is the total vehicle delay two full cycles after the 800- veh/h arrival rate begins?

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