Reference articles on history, science, culture and more
Encyclopedia

ATtiny microcontroller comparison chart

Subfamily of 8-bit AVR microcontrollers

Image credit is listed at the end of this article.

ATtiny (also known as TinyAVR) is a subfamily of the popular 8-bit AVR microcontrollers, which typically has fewer features, fewer I/O pins, and less memory than other AVR series chips. The first members of this family were released in 1999 by Atmel (later acquired by Microchip Technology in 2016).

01Features

ATtiny microcontrollers specifically exclude various common features, such as: USB peripheral, DMA controller, crypto engine, or an external memory bus.

The following table summarizes common features of the ATtiny microcontrollers, for easy comparison. This table is not meant to be an unabridged feature list.

Device (family)Max
clock
(MHz)
Flash
(KiB)
SRAM
(bytes)
EEPROM
(bytes)
USART (UART)I²C
(TWI)
SPITimers 16/12/8
(bits)
ADC pinsGPIO pinsIC PackagesGCC arch IDPgm
Dbg
Refs
ATtiny11, ATtiny11L6, 21NoNoNoNoNo0 / 0 / 1No5DIP-8N, SO200-8avr1HVSP
ATtiny12, ATtiny12L, ATtiny12V8, 1.21No64NoNoNo0 / 0 / 1No5DIP-8N, SO200-8avr1ISP, HVSP
ATtiny15L1.61No64NoNoNo0 / 0 / 246DIP-8N, SO200-8avr1ISP, HVSP
ATtiny28L, ATtiny28V4, 1.22NoNoNoNoNo0 / 0 / 1No11DIP-28N, TQFP-32, QFN-32avr1HVPP
ATtiny22, ATtiny22L8, 42128128NoNoNo0 / 0 / 1No5DIP-8N, SO200-8avr2ISP, HVSP
ATtiny26, ATtiny26L16, 82128128USI*master, slave*master, slave*0 / 0 / 21116DIP-20N, SO300-20, QFN-32avr2ISP, HVPP
ATtiny13, ATtiny13V, ATtiny13A20, 1016464NoNoNo0 / 0 / 146DIP-8N, SO150-8, SO209-8, VQFN-10, WQFN-20avr25ISP, dW, HVSP
ATtiny24, ATtiny24V, ATtiny24A, ATtiny44, ATtiny44V, ATtiny44A, ATtiny84, ATtiny84V, ATtiny84A20, 102, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*1 / 0 / 1812DIP-14N, SO150-14, QFN-20, VQFN-20, UFBGA-15avr25ISP, dW, HVSP
ATtiny25, ATtiny25V, ATtiny45, ATtiny45V, ATtiny85, ATtiny85V20, 102, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*0 / 0 / 246DIP-8N, SO208-8, TSSOP-8, QFN-20avr25ISP, dW, HVSP
ATtiny43U8425664USI*master, slave*master, slave*0 / 0 / 2416SO300-20, QFN-20avr25ISP, dW, HVPP
ATtiny48, ATtiny88124, 8256, 51264Nomaster, slavemaster, slave1 / 0 / 1624DIP-28N, QFN-28avr25ISP, dW, HVPP
No master, slave master, slave 1 / 0 / 1 8 28 TQFP-32, QFN-32, UFBGA-32
ATtiny87, ATtiny167168, 16512512USI*, UART*Nomaster, slave1 / 0 / 11116SO300-20, TSSOP-20, VQFN-32avr25, avr35ISP, dW, HVPP
ATtiny261, ATtiny261A, ATtiny461, ATtiny461A, ATtiny861, ATtiny861A202, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*1 / 0 / 11116DIP-20N, SO300-20, TSSOP-20, QFN-32avr25ISP, dW, HVPP
ATtiny441, ATtiny841164, 8256, 512256, 5122 USART*slavemaster, slave2 / 0 / 11212SO150-14, QFN-20, VQFN-20avr25ISP, dW, HVSP
ATtiny828208512256USART*slavemaster, slave1 / 0 / 12828TQFP-32, QFN-32avr25ISP, dW, HVPP
ATtiny163412161024256USI*, 2 USART*slavemaster*1 / 0 / 11218SO300-20, QFN-20avr35ISP, dW, HVPP
ATtiny2313, ATtiny2313V, ATtiny2313A, ATtiny4313202, 4128, 256128, 256USI*, USART*master, slave*master, slave*1 / 0 / 1No18DIP-20N, SO300-20, VQFN-20avr25ISP, dW, HVPP
ATtiny4, ATtiny5, ATtiny9, ATtiny10120.5 / 132NoNoNoNo1 / 0 / 044SOT23-6, UDFN-8avrtinyTPI
ATtiny20122128NoNoslavemaster, slave1 / 0 / 1812SO150-14, TSSOP-14, VQFN-20, UFBGA-15, WLCSP-12avrtinyTPI
ATtiny40124256NoNoslavemaster, slave1 / 0 / 11218SO300-20, TSSOP-20, VQFN-20avrtinyTPI
ATtiny102(F)12132NoUSART*Nomaster*1 / 0 / 056SO150-8, UDFN-8avrtinyTPI
ATtiny104(F)12132NoUSART*Nomaster*1 / 0 / 0912SO150-14avrtinyTPI
ATtiny202, ATtiny402
(0-series)
202, 4128, 25664, 128USART*master, slavemaster, slave2 / 0 / 0
/ RTT
66SO150-8avrxmega3UPDI
ATtiny204, ATtiny404, ATtiny804, ATtiny1604
(0-series)
202, 4, 8, 16128, 256, 512, 102464, 128, 256USART*master, slavemaster, slave2 / 0 / 0
/ RTT
1012SO150-14avrxmega3UPDI
ATtiny406, ATtiny806, ATtiny1606
(0-series)
204, 8, 16256, 512, 1024128, 256USART*master, slavemaster, slave2 / 0 / 0
/ RTT
1218SO300-20, VQFN-20avrxmega3UPDI
ATtiny807, ATtiny1607
(0-series)
208, 16512, 1024128, 256USART*master, slavemaster, slave2 / 0 / 0
/ RTT
1222VQFN-24avrxmega3UPDI
ATtiny212, ATtiny412
(1-series)
202, 4128, 25664, 128USART*master, slavemaster, slave2 / 1 / 0
/ RTT
66SO150-8avrxmega3UPDI
ATtiny214, ATtiny414, ATtiny814, ATtiny1614
(1-series)
202, 4, 8, 16128, 256, 512, 204864, 128, 256USART*master, slavemaster, slave2 / 1 / 0
/ RTT
1012SO150-14avrxmega3UPDI
ATtiny416, ATtiny816, ATtiny1616, ATtiny3216
(1-series)
204, 8, 16, 32256, 512, 2048128, 256USART*master, slavemaster, slave2or3 / 1 / 0
/ RTT
1218SO300-20, QFN-20, VQFN-20avrxmega3UPDI
ATtiny417, ATtiny817, ATtiny1617, ATtiny3217
(1-series)
204, 8, 16, 32256, 512, 2048128, 256USART*master, slavemaster, slave2 / 1 / 0
/ RTT
1222VQFN-24, QFN-24avrxmega3UPDI
ATtiny424, ATtiny824, ATtiny1624, ATtiny3224
(2-series)
204, 8, 16, 32512, 1024, 2048, 3072128, 128, 256, 2562 USART*yesyes3 / 0 / 0
/ RTT
912SO-14, TSSOP-14avrxmega3UPDI
ATtiny426, ATtiny826, ATtiny1626, ATtiny3226
(2-series)
204, 8, 16, 32512, 1024, 2048, 3072128, 128, 256, 2562 USART*yesyes3 / 0 / 0
/ RTT
1518SO-20, SSTOP-20, VQFN-20avrxmega3UPDI
ATtiny427, ATtiny827, ATtiny1627, ATtiny3227
(2-series)
204, 8, 16, 32512, 1024, 2048, 3072128, 128, 256, 2562 USART*yesyes3 / 0 / 0
/ RTT
1522VQFN-24avrxmega3UPDI
Device (family)Max clock
(MHz)
Flash
(KiB)
SRAM
(bytes)
EEPROM
(bytes)
USART (UART)I²C
(TWI)
SPITimers 16/12/8/R
(bits)
ADC pinsGPIO pinsIC PackagesGCC arch IDPgm
Dbg
Refs
Notes

A watchdog timer (WDT, or simply a watchdog), sometimes called a computer operating properly timer (COP timer), is an electronic or software timer that is used to detect and recover from computer malfunctions. Watchdog timers are widely used in computers to facilitate automatic correction of temporary hardware faults, and to prevent errant or malevolent software from disrupting system operation.

During normal operation, the computer regularly restarts the watchdog timer to prevent it from elapsing, or timing out. If, due to a hardware fault or program error, the computer fails to restart the watchdog, the timer will elapse and generate a timeout signal. The timeout signal is used to initiate corrective actions. The corrective actions typically include placing the computer and associated hardware in a safe state and invoking a computer reboot.

Microcontrollers often include an integrated, on-chip watchdog. In other computers the watchdog may reside in a nearby chip that connects directly to the CPU, or it may be located on an external expansion card in the computer's chassis.

  • Package column - the number after the dash is the number of pins on the package. DIP packages in this table are 0.3 inches (7.62 mm) row-to-row. SOwww means SOIC package with a case width of 'www' in thousandth of an inch. Though some package types are known by more than one name, a common name was chosen to make it easier to compare packages.
  • UART/I²C/SPI columns - green cell means a dedicated peripheral, * yellow cell means a multi-feature peripheral that is chosen by setting configuration bits. Most USART peripherals support a minimum choice between UART or SPI, where as some might support additional choices, such as LIN, IrDA, RS-485.
  • Timers column - more recent families have wider timers and may allow chaining two 16-bit timers to do 32-bit capture. RTT is a 16-bit Real Time Timer that is driven by a 32.768KHz clock, though Microchip calls it RTC for Real Time Counter (easily confused to mean Real Time Clock).
  • ADC pins column - the total number of analog channels that are accessible via pins that multiplex into the ADC input. Most parts have one ADC, a few have two ADC.
  • Pgm/Dbg column - flash programming and debugging protocols: HVPP means High Voltage Parallel Programming 12V protocol, HVSP means High Voltage Serial Programming 12V protocol, ISP means In-System Programmable protocol, uses SPI to program the internal flash. TPI is Tiny Programming Interface. dW means debugWIRE protocol. UPDI means Unified Program and Debug Interface protocol (newest).
Abbreviations
  • TWI: Many of Atmels microcontrollers contain built-in support for interfacing to a two-wire bus, called Two-Wire Interface. This is essentially the same thing as the I²C interface by Philips, but that term is avoided in Atmel's documentation due to trademark issues.
  • USI: Universal Serial Interface (not to be confused with USB). The USI is a multi-purpose hardware communication module. With appropriate software support, it can be used to implement an SPI, I²C or UART interface. USART peripherals have more features than USI peripherals.
Newer parts use this naming convention
Newer parts use this naming convention

02Timeline

The following table lists each ATtiny microcontroller by the first release date of each datasheet.

Year Device (family)
1999 ATtiny11, ATtiny11L, ATtiny12, ATtiny12L, ATtiny12V, ATtiny22, ATtiny22L
2002 ATtiny15L, ATtiny26, ATtiny26L, ATtiny28L, ATtiny28V
2003 ATtiny13, ATtiny13V, ATtiny2313, ATtiny2313V, ATtiny4313
2005 ATtiny24, ATtiny24V, ATtiny25, ATtiny25V, ATtiny44, ATtiny44V, ATtiny45, ATtiny45V, ATtiny84, ATtiny84V, ATtiny85, ATtiny85V
2006 ATtiny261, ATtiny461, ATtiny861
2008 ATtiny13A, ATtiny24A, ATtiny44A, ATtiny48, ATtiny84A, ATtiny88
2009 ATtiny4, ATtiny5, ATtiny9, ATtiny10, ATtiny43U, ATtiny261A, ATtiny461A, ATtiny861A, ATtiny2313A
2010 ATtiny20, ATtiny40, ATtiny87, ATtiny167
2011 ATtiny1634
2012 ATtiny441, ATtiny841, ATtiny828
2016 ATtiny102(F), ATtiny104(F), ATtiny417, ATtiny817
2017 ATtiny212, ATtiny412, ATtiny214, ATtiny414, ATtiny814, ATtiny416, ATtiny816
2018 ATtiny202, ATtiny402, ATtiny204, ATtiny404, ATtiny804, ATtiny1604, ATtiny406, ATtiny806, ATtiny1606, ATtiny807, ATtiny1607, ATtiny1614, ATtiny1616, ATtiny3216, ATtiny1617, ATtiny3217
2020 ATtiny1624, ATtiny1626, ATtiny1627
2021 ATtiny424, ATtiny824, ATtiny426, ATtiny826, ATtiny427, ATtiny827

03Development boards

The following are ATtiny development boards sold by Microchip Technology:

  • ATtiny104 Xplained Nano
  • ATtiny416 Xplained Nano
  • ATtiny817 AVR Parrot
  • ATtiny817 Xplained Mini
  • ATtiny817 Xplained Pro
  • ATtiny3217 Xplained Pro
Watch videos about ATtiny microcontroller comparison chartExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article ATtiny microcontroller comparison chart, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.