Programmers

All on one SLOW page
Serial Port
Parallel Port
Smart Programmers
Serial Loaders

Projects

ATmega8 Serial LCD
ATtiny2313 Serial LCD
ATtiny4313 Serial LCD
ATmega328 SIRC
ATtiny2313 SIRC
40-pin Dev Board
28-pin Dev Board
AVR PS/2 Keyboard
AVR MAX232 RTS/CTS
AVR Dual RS232 Ports

Minimal Circuits

ATmega16
ATmega32
ATmega644
ATmega1284
ATmega8515
ATmega8535
ATmega8
ATmega48
ATmega88
ATmega168
ATmega328
ATmega162
ATmega128
ATtiny13
ATtiny2313
ATtiny4313
ATtiny24
ATtiny84
ATtiny25
ATtiny45
ATtiny85

Other Stuff

ATtiny13 vs ATtiny85
ATmega8 vs ATmega88
ATmega16 vs ATmega164
ISP and SPI
MAX232 Arduino
A small FAQ
Hardware Info

ATmega16A, ATmega32A, ATmega164P, ATmega324P, ATmega644P, and ATmega1284P Comparison

More in the series of comparisons between similar yet functionally different AVR microcontrollers, this is a look at the ATmega16/ATmega32 vs the ATmega164 and it's variations.

Atmel considers the ATmega164 family to be upgrades to the ATmega16 family. They are pin compatible and source code compatible, unless you use a feature of the ATmega16/ATmega32 that has been expanded on the ATmega164 family. The register names are changed to accomodate the new features. An example is the USART, which has registers named like UDR in the ATmega16 and ATmega32, but UDR0, and UDR1 in the ATmega1284, ATmega644, ATmega324 and ATmega164.

ATmega 40-pin Device Feature Table

DeviceATmega16AATmega32AATmega164PATmega324PATmega644PATmega1284P
Flash1638432768163843276865536131072
SRAM1024204810242048409616384
EEPROM5121024512102420484096
PWM446666
Ext Interrupts3332323232
Max Freq161620202020
SPI113333
USART112222
picoPowerNNYYYY
OC Chnls446666
VCC2.7 to 5.52.7 to 5.51.8 to 5.51.8 to 5.51.8 to 5.51.8 to 5.5
Price$3.40$4.48$3.93$5.03$5.76$5.82

Notes:

  1. Prices are typical US $ per single unit as of April, 2012.

ATtiny 40-pin Device Pinouts