21.08.2013 Views

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

from<br />

micro<br />

10K<br />

Vcc = 5 VDC<br />

220<br />

buzzer, 3850 Hz<br />

5 VDC, 3-14 mA<br />

2N2222<br />

a) 5 VDC buzzer interface<br />

Figure 7.25: Sonalert, beepers, buzzers.<br />

7.8 SUMMARY<br />

from<br />

micro<br />

10K<br />

7.8. SUMMARY 231<br />

Vcc = 12 VDC<br />

220<br />

annunciator<br />

12 VDC, 8 mA<br />

2N2222<br />

a) 12 VDC annunciator<br />

In this chapter, we discussed <strong>the</strong> voltage and current operating parameters for <strong>the</strong> <strong>Atmel</strong> HC CMOS<br />

type microcontroller. We discussed how this information may be applied to properly design an<br />

interface for common input and output circuits. It must be emphasized, a properly designed interface<br />

allows <strong>the</strong> microcontroller to operate properly <strong>with</strong>in its parameter envelope.If due to a poor interface<br />

design, a microcontroller is used outside its prescribed operating parameter values, spurious and<br />

incorrect logic values will result. We provided interface information for a wide range of input and<br />

output devices. We also discussed <strong>the</strong> concept of interfacing a motor to a microcontroller using<br />

PWM techniques coupled <strong>with</strong> high power MOSFET or SSR switching devices.<br />

7.9 CHAPTER PROBLEMS<br />

7.1. What will happen if a microcontroller is used outside of its prescribed operating envelope?<br />

7.2. Discuss <strong>the</strong> difference between <strong>the</strong> terms “sink” and “source” as related to current loading<br />

of a microcontroller.<br />

7.3. Can an LED <strong>with</strong> a series limiting resistor be directly driven by <strong>the</strong> <strong>Atmel</strong> microcontroller?<br />

Explain.<br />

7.4. In your own words, provide a brief description of each of <strong>the</strong> microcontroller electrical<br />

parameters.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!