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.

47 G<br />

V DD = 5 VDC<br />

R<br />

74HC14<br />

47 G<br />

4.7K<br />

R<br />

470K<br />

SW0<br />

47 G<br />

0.1 uF<br />

R<br />

ATmega16<br />

47 G<br />

R<br />

1-(TO) PB0<br />

2-(T1) PB1<br />

3-(AIN0) PB2<br />

4-(AIN1) PB3<br />

5-(SS) PB4<br />

47 G<br />

R<br />

47 G<br />

VDD<br />

R<br />

47 G<br />

R<br />

47 G<br />

PA0 (ADC0)-40<br />

PA1 (ADC1)-39<br />

PA2 (ADC2)-38<br />

PA3 (ADC3)-37<br />

PA4 (ADC4)-36<br />

PA5 (ADC5)-35<br />

PA6 (ADC6)-34<br />

PA7 (ADC7)-33<br />

AREF-32<br />

AGND-31<br />

AVCC-30<br />

PC7 (TOSC2)-29<br />

PC6 (TOSC1)-28<br />

PC5-27<br />

PC4-26<br />

PC3-25<br />

PC2-24<br />

PC1-23<br />

PC0-22<br />

PD7 (OC2)-21<br />

PORTA<br />

PORTB<br />

6-(MOSI) PB5<br />

7-(MISO) PB6<br />

8-(SCK) PB7<br />

9-RESET<br />

10-Vcc<br />

11-GND<br />

12-XTAL2<br />

13-XTAL1<br />

14-(RXD) PD0<br />

15-(TXD) PD1<br />

16-(INT0) PD2<br />

17-(INT1) PD3<br />

18-(OC1B) PD4<br />

19-(OC1A) PD5<br />

20-(ICP) PD6<br />

Figure 7.13: Hardware Testbench equipped <strong>with</strong> an LCD.<br />

V DD = 5 VDC<br />

74HC14<br />

4.7K<br />

sys reset<br />

1M<br />

VDD<br />

1.0 uF<br />

470K<br />

SW7<br />

0.1 uF<br />

PORTD<br />

PORTC<br />

8<br />

R<br />

enable<br />

ZTT 10MHz<br />

resonator<br />

7.4. OUTPUT DEVICES 205<br />

command/data<br />

Vcc<br />

Vcc<br />

data<br />

2N2222<br />

-<br />

+<br />

LM324 2N2907<br />

Vcc<br />

10K<br />

3.0 K<br />

8<br />

GND-1<br />

VDD-2<br />

Vo-3<br />

RS-4<br />

R/W-5<br />

E-6<br />

DB0-7<br />

DB1-8<br />

DB2-9<br />

DB3-10<br />

DB4-11<br />

DB5-12<br />

DB6-13<br />

DB7-14<br />

3.0 K<br />

AND671GST<br />

line1 line2

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

Saved successfully!

Ooh no, something went wrong!