Home >
Integrated Circuits >
Microcontrollers >
Atmel
ATmega8L 28-Pin 8MHz 8kb Microcontroller Datasheet
Photograph

Features
- Advanced RISC Architecture
- High-performance and Low-power 8-bit RISC Architecture
- - 130 Instructions - Most Single Clock Cycle Execution
- - 32 x 8 General Purpose Working Registers
- - Up to 16 MIPS Throughput at 16MHz
- - Fully Static Operation
- - On-chip 2-cycle Multiplier
- Data and Nonvolatile Program Memory
- - 8k Bytes of In-System Self-Programmable Flash
- - Optional Boot Code Section with Independent Lock Bits
- - 512 Bytes EEPROM
- - 1K Bytes Internal SRAM
- - Programming Lock for Software Security
- Peripheral Features
- - On-chip Analog Comparator
- - Programmable Watchdog Timer with Separate On-chip Oscillator
- - Master/Slave SPI Serial Interface
- - Two 8-bit Timer/Counters with Separate Prescalar, Compare
- - One 16-bit Timer/Counter with Separate Prescaler, Compare and Capture mode
- - Real Time Counter with Separate Oscillator
- - Three PWM Channels
- - Programmable Serial USART
- - 6-channel, 10-bit ADC
- - Byte-oriented Two-wire Serial Interface
- Special Microcontroller Features
- - Power-on Reset and Programmable Brown-out Detection
- - Internal Calibrated RC Oscillator
- - External and Internal Interrupt Sources
- - Five Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down and Standby
- I/O and Packages
- - 23 Programmable I/O Lines
- - 28-pin PDIP, 32-lead TQFP, and 32-pad MLF
- Operating Voltages
- - 2.7-5.5V for ATmega8L
- Speed Grades
- - 0-8MHz for ATmega8L
- Power Consumption at 4 Mhz, 3V, 35 °C
- - Active: 3.6mA
- - Idle Mode: 10mA
- - Power-down Mode: < 0.5µA
Pin Layout

Pin Description
Pin Number | Description |
---|---|
1 | (RESET) Port C - PC6 |
2 | (RXD) Port D - PD0 |
3 | (TXD) Port D - PD1 |
4 | (INT0) Port D - PD2 |
5 | (INT1) Port D - PD3 |
6 | (XCK/T0) Port D - PD4 |
7 | Vcc - Positive Power Supply |
8 | GND - Ground |
9 | (XTAL1/TOSC1) Port B - PB6 |
10 | (XTAL2/TOSC2) Port B - PB7 |
11 | (T1)Port D - PD5 |
12 | (AIN0) Port D - PD6 |
13 | (AIN1) Port D - PD7 |
14 | (ICP1) Port B - PB0 |
15 | (OC1A) Port B - PB1 |
16 | (SS/OC1B) Port B - PB2 |
17 | (MOSI/OC2) Port B - PB3 |
18 | (MISO) Port B - PB4 |
19 | (SCK) Port B - PB5 |
20 | AVCC - Analog Power Supply |
21 | AREF - Analog Reference |
22 | GND - Ground |
23 | (ADC0) Port C - PC0 |
24 | (ADC1) Port C - PC1 |
25 | (ADC2) Port C - PC2 |
26 | (ADC3) Port C - PC3 |
27 | (ADC4/SDA) Port C - PC4 |
28 | (ADC5/SCL) Port C - PC5 |
Dimensional Drawing

Technical Data
Datasheet
Microchip Web Site - ATmega8L Datasheet |
![]() |
Application Notes
Microchip Web Site - ATmega8L Application Notes |
![]() |