Devices Menu


Log in Problems?
New User? Sign Up!


Availability: In production



The mega168 is a 16k variant of the mega48, which was allegedly designed to fill the need for an 1.8V mega8-like part. Its siblings are the mega48 and mega88; 4- and 8k flash variants of the same. The ATmega48, ATmega88 and ATmega168 differ only in memory sizes, boot loader support, and interrupt vector sizes. In ATmega88 and ATmega168, the Boot Loader Support provides a real Read-While- Write Self-Programming mechanism. NB! The PDIP-28 version has only 6 ADC channels, while the other packages has 8 channels.


  • pin and feature compatible with mega48, more memory.

Overview features

Flash EEPROM SRAM Speed Volts
16kB 512B 1024B 0 - 20MHz 2.7 - 5.5V



General package info

  32-pin TQFP 32-lead MLF 28-pin PDIP
Package Lead Code 32 32 28
Carrier Type TRAY   TUBE
Max Package Height 1.2 1  
Body Thickness 1.00   3.30
Body Width 7.00 5.00 7.62
Body Length 7.00 5.00 34.67
Units per Carrier 250 490 14
Carriers per Bag 10 10 20
Units per Bag 2500 4900 280
Quantity per Reel 2000 6000 0
Tape Pitch 12 8  
Tape Width 16 12  
Downloadable Files pdf Package Drawing
pdf Tube Tray Drawing
pdf Carrier Tape Drawing
pdf Reel Drawing
pdf Datasheet
pdf Package Drawing
pdf Tube Tray Drawing
pdf Carrier Tape Drawing
pdf Reel Drawing
pdf Package Drawing
pdf Tube Tray Drawing
Other features Tools
Flash Memory 16 kB
EEPROM Data Memory 512 B
SRAM Data Memory 1024 B
General Purpose Registers (Accumulators) 32
MCU Specific
Clock Frequency 0 - 20 MHz
Supply Voltage 2.7 - 5.5 V
Sleep Modes 5
Software Programmable Clock Divider 8
Hardware Multiplier Yes
I/O Pins 23
On Chip Oscillator Yes
Interrupts 26
Interrupts, External pins 26
Interrupt or Wake-up on Pin Change Yes
Brown-out Detection Yes
Power-on Reset Yes
Fully Static Operation Yes
DebugWIRE On-chip debug system Yes
Timers / Counters
Timer/Counters (8-bit) 2
Watchdog Timer with On-chip Oscillator 1
Real Time Counter 1
Timer/Counters (16-bit) 1
Pulse Width Modulator 6 ch
Analog I/O
Analog Comparator 1
Analog-to-Digital Converter (10-bit) 6 ch
Analog-to-Digital Converter (8-bit) 2 ch
Programming Modes
In-System Programming via SPI Port Yes
High Voltage Parallel Programming (12V) Yes
Self-Programming via on-chip Boot Program Yes
Serial I/O
Full Duplex Serial Peripheral Interface (SPI) Yes
2-wire Serial Interface (I2C compatible) Yes
Full Duplex USART Yes
Read-While-Write Flash memory Yes
Signature Byte 1e 92 05
EEPROM preserved through chip erase Yes
Reset disabled for IO usage Yes
Divide external clock by 8 Yes
SPM enable Yes
DebugWIRE Enable Yes
System Clock Prescaler Yes