ATmega8

8-bit AVR® microcontroller

PDF datasheet

    
(RESET) PC61 •28PC5 (ADC5/SDA)
(RXD) PD0227PC4 (ADC4/SCL)
(TXD) PD1326PC3 (ADC3)
(INT0) PD2425PC2 (ADC2)
(INT1) PD3524PC1 (ADC1)
(XCK/T0) PD4623PC0 (ADC0)
Vcc722GND
GND821AREF
(XTAL1/TOSC1) PB6920AVcc
(XTAL2/TOSC2) PB71019PB5 (SCK)
(T1) PD51118PB4 (MISO)
(AIN0) PD61217PB3 (MOSI/OC2)
(AIN1) PD71316PB2 (SS/OC1B)
(ICP1) PB01415PB1 (OC1A)
    
PinSymbolDescription
1(RESET) PC6reset (active low); port C
2(RXD) PD0UART receive; port D
3(TXD) PD1UART transmit; port D
4(INT0) PD2external interrupt 0; port D
5(INT1) PD3external interrupt 1; port D
6(XCK/T0) PD4port D
7Vccsupply voltage
8GNDground
9(XTAL1/TOSC1) PB6clock oscillator pin 1; port B
10(XTAL2/TOSC2) PB7clock oscillator pin 2; port B
11(T1) PD5port D
12(AIN0) PD6port D
13(AIN1) PD7port D
14(ICP1) PB0port B
15PB1 (OC1A)port B
16PB2 (SS/OC1B)SPI slave select; port B
17PB3 (MOSI/OC2)SPI master output/slave input; port B
18PB4 (MISO)SPI master input/slave output; port B
19PB5 (SCK)SPI master clock; port B
20AVccA/D converter supply voltage
21AREFanalog reference for A/D converter
22GNDground
23PC0 (ADC0)port C
24PC1 (ADC1)port C
25PC2 (ADC2)port C
26PC3 (ADC3)port C
27PC4 (ADC4/SCL)2-wire clock; port C
28PC5 (ADC5/SDA)2-wire data; port C

Specifications

(typical values under recommended operating conditions, unless specified)
ParameterValueUnit
Flash memory8Kbytes
Internal SRAM1Kbytes
EEPROM512bytes
Programmable I/O lines23
Maximum clock frequency16MHz

Note: Data is maintained by an independent source and accuracy is not guaranteed. Check with the manufacturer's datasheet for up-to-date information.