ATtiny microcontroller comparison chart

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).[1]

ATtiny2313 in 20-pin narrow dual in-line package (DIP-20N)

Features

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)[2]Max
clock
(MHz)
Flash
(KiB)
SRAM
(bytes)
EEPROM
(bytes)
USART (UART)I²C
(TWI)
SPITimers 16/12/8
(bits)
ADC pinsGPIO pinsIC PackagesGCC arch ID [3]Pgm
Dbg
Refs
ATtiny11, ATtiny11L6, 21NoNoNoNoNo0 / 0 / 1No5DIP-8N, SO200-8avr1HVSP[4]
ATtiny12, ATtiny12L, ATtiny12V8, 1.21No64NoNoNo0 / 0 / 1No5DIP-8N, SO200-8avr1ISP, HVSP[4]
ATtiny15L1.61No64NoNoNo0 / 0 / 246DIP-8N, SO200-8avr1ISP, HVSP[5]
ATtiny28L, ATtiny28V4, 1.22NoNoNoNoNo0 / 0 / 1No11DIP-28N, TQFP-32, QFN-32avr1HVPP[6]
ATtiny22, ATtiny22L8, 42128128NoNoNo0 / 0 / 1No5DIP-8N, SO200-8avr2ISP, HVSP[7]
ATtiny26, ATtiny26L16, 82128128USI*master, slave*master, slave*0 / 0 / 21116DIP-20N, SO300-20, QFN-32avr2ISP, HVPP[8]
ATtiny13, ATtiny13V, ATtiny13A20, 1016464NoNoNo0 / 0 / 146DIP-8N, SO150-8, SO209-8, VQFN-10, WQFN-20avr25ISP, dW, HVSP[9] [10] [11]
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[12] [13] [14] [15] [16] [17]
ATtiny25, ATtiny25V, ATtiny45, ATtiny45V, ATtiny85, ATtiny85V20, 102, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*0 / 0 / 2[a]46DIP-8N, SO208-8, TSSOP-8, QFN-20avr25ISP, dW, HVSP[18] [19] [20]
ATtiny43U8425664USI*master, slave*master, slave*0 / 0 / 2416SO300-20, QFN-20avr25ISP, dW, HVPP[21]
ATtiny48, ATtiny88124, 8256, 51264Nomaster, slavemaster, slave1 / 0 / 1624DIP-28N, QFN-28avr25ISP, dW, HVPP[22] [23]
Nomaster, slavemaster, slave1 / 0 / 1828TQFP-32, QFN-32, UFBGA-32
ATtiny87, ATtiny167168, 16512512USI*, UART*Nomaster, slave1 / 0 / 11116SO300-20, TSSOP-20, VQFN-32avr25, avr35ISP, dW, HVPP[24] [25]
ATtiny261, ATtiny261A, ATtiny461, ATtiny461A, ATtiny861, ATtiny861A202, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*1 / 0 / 1[b]1116DIP-20N, SO300-20, TSSOP-20, QFN-32avr25ISP, dW, HVPP[26] [27] [28] [29] [30]
ATtiny441, ATtiny841164, 8256, 512256, 5122 USART*slavemaster, slave2 / 0 / 11212SO150-14, QFN-20, VQFN-20avr25ISP, dW, HVSP[31] [32]
ATtiny828208512256USART*slavemaster, slave1 / 0 / 12828TQFP-32, QFN-32avr25ISP, dW, HVPP[33]
ATtiny163412161024256USI*, 2 USART*slavemaster*1 / 0 / 11218SO300-20, QFN-20avr35ISP, dW, HVPP[34]
ATtiny2313, ATtiny2313V, ATtiny2313A, ATtiny4313202, 4128, 256128, 256USI*, USART*master, slave*master, slave*1 / 0 / 1No18DIP-20N, SO300-20, VQFN-20avr25ISP, dW, HVPP[35] [36] [37] [38]
ATtiny4, ATtiny5, ATtiny9, ATtiny10120.5 / 132NoNoNoNo1 / 0 / 04 [c]4SOT23-6, UDFN-8avrtinyTPI[39] [40] [41] [42]
ATtiny20122128NoNoslavemaster, slave1 / 0 / 1812SO150-14, TSSOP-14, VQFN-20, UFBGA-15, WLCSP-12avrtinyTPI[43]
ATtiny40124256NoNoslavemaster, slave1 / 0 / 11218SO300-20, TSSOP-20, VQFN-20avrtinyTPI[44]
ATtiny102(F)12132NoUSART*Nomaster*1 / 0 / 056SO150-8, UDFN-8avrtinyTPI[45]
ATtiny104(F)12132NoUSART*Nomaster*1 / 0 / 0912SO150-14avrtinyTPI[46]
ATtiny202, ATtiny402
(0-series)
202, 4128, 25664, 128USART*master, slavemaster, slave2 / 0 / 0
/ RTT
66SO150-8avrxmega3UPDI[47] [48]
ATtiny204, ATtiny404, ATtiny804, ATtiny1604
(0-series)
202, 4, 8, 16128, 256, 512, 102464, 128, 256USART*master, slavemaster, slave2 / 0 / 0
/ RTT
1012SO150-14avrxmega3UPDI[49] [50] [51] [52]
ATtiny406, ATtiny806, ATtiny1606
(0-series)
204, 8, 16256, 512, 1024128, 256USART*master, slavemaster, slave2 / 0 / 0
/ RTT
1218SO300-20, VQFN-20avrxmega3UPDI[53] [54] [55]
ATtiny807, ATtiny1607
(0-series)
208, 16512, 1024128, 256USART*master, slavemaster, slave2 / 0 / 0
/ RTT
1222VQFN-24avrxmega3UPDI[56] [57]
ATtiny212, ATtiny412
(1-series)
202, 4128, 25664, 128USART*master, slavemaster, slave2 / 1 / 0
/ RTT
66SO150-8avrxmega3UPDI[58] [59]
ATtiny214, ATtiny414, ATtiny814, ATtiny1614
(1-series)
202, 4, 8, 16128, 256, 512, 204864, 128, 256USART*master, slavemaster, slave2 / 1 / 0
/ RTT
1012SO150-14avrxmega3UPDI[60] [61] [62] [63]
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[64][65][66][67]
ATtiny417, ATtiny817, ATtiny1617, ATtiny3217
(1-series)
204, 8, 16, 32256, 512, 2048128, 256USART*master, slavemaster, slave2 / 1 / 0
/ RTT
1222VQFN-24, QFN-24avrxmega3UPDI[68][69][70][71]
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[72][73]
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[74][75]
ATtiny427, ATtiny827, ATtiny1627, ATtiny3227
(2-series)
204, 8, 16, 32512, 1024, 2048, 3072128, 128, 256, 2562 USART*yesyes3 / 0 / 0
/ RTT
1522VQFN-24avrxmega3UPDI[76][77]
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
  • 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. 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).[78]
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,[79] I²C[80][81] or UART[82] interface. USART peripherals have more features than USI peripherals.

Timeline

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

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

Development boards

The following are ATtiny development boards sold by Microchip Technology:

See also

References

Further reading

ATtiny
  • tinyAVR Microcontroller Projects for the Evil Genius; 1st Ed; Dhananjay Gadre, Nehul Malhotra; McGraw-Hill/TAB; 272 pages; 2011; ISBN 978-0071744546.
AVR
  • AVR Programming: Learning to Write Software for Hardware; 1st Ed; Elliot Williams; Maker Media; 474 pages; 2014; ISBN 978-1449355784
  • Some Assembly Required: Assembly Language Programming with the AVR Microcontroller; 1st Ed; Timothy Margush; CRC Press; 643 pages; 2011; ISBN 978-1439820643
  • AVR Microcontroller and Embedded Systems: Using Assembly and C; 1st Ed; Muhammad Ali Mazidi, Sarmad Naimi, Sepehr Naimi; Pearson; 792 pages; 2010; ISBN 978-0138003319.

External links