ATtiny microcontroller comparison chart

ATtiny (also known as TinyAVR) are 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 excludes 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)
UARTI²C
(TWI)
SPITimers 8/12/16
(bits)
PWM [lower-alpha 1]ADC pinsGPIO pinsIC PackagesGCC arch ID [3][4]Pgm
Dbg
Refs
ATtiny11, ATtiny11L6, 21NoNoNoNoNo1 / 0 / 0NoNo5DIP-8N, SO200-8avr1HVSP[5]
ATtiny12, ATtiny12L, ATtiny12V8, 1.21No64NoNoNo1 / 0 / 0NoNo5DIP-8N, SO200-8avr1ISP, HVSP[5]
ATtiny15L1.61No64NoNoNo2 / 0 / 0yes46DIP-8N, SO200-8avr1ISP, HVSP[6]
ATtiny28L, ATtiny28V4, 1.22NoNoNoNoNo1 / 0 / 01 x 1No11DIP-28N, TQFP-32, QFN-32avr1HVPP[7]
ATtiny22, ATtiny22L8, 42128128NoNoNo1 / 0 / 0NoNo5DIP-8N, SO200-8avr2ISP, HVSP[8]
ATtiny26, ATtiny26L16, 82128128USI*master, slave*master, slave*2 / 0 / 01 x 21116DIP-20N, SO300-20, QFN-32avr2ISP, HVPP[9]
ATtiny13, ATtiny13V, ATtiny13A20, 1016464NoNoNo1 / 0 / 01 x 246DIP-8N, SO150-8, SO209-8, VQFN-10, WQFN-20avr2.5ISP, dW, HVSP[10] [11] [12]
ATtiny24, ATtiny24V, ATtiny24A, ATtiny44, ATtiny44V, ATtiny44A, ATtiny84, ATtiny84V, ATtiny84A20, 102, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*1 / 0 / 12 x 2812DIP-14N, SO150-14, QFN-20, VQFN-20, UFBGA-15avr2.5ISP, dW, HVSP[13] [14] [15] [16] [17] [18]
ATtiny25, ATtiny25V, ATtiny45, ATtiny45V, ATtiny85, ATtiny85V20, 102, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*2 / 0 / 02 x 2 [lower-alpha 2]46DIP-8N, SO208-8, TSSOP-8, QFN-20avr2.5ISP, dW, HVSP[19] [20] [21]
ATtiny43U8425664USI*master, slave*master, slave*2 / 0 / 02 x 2416SO300-20, QFN-20avr2.5ISP, dW, HVPP[22]
ATtiny48, ATtiny88124, 8256, 51264Nomaster, slavemaster, slave1 / 0 / 11 x 26 / 824, 28DIP-28N, QFN-28, TQFP-32, QFN-32, UFBGA-32avr2.5ISP, dW, HVPP[23] [24]
ATtiny87, ATtiny167168, 16512512USI*, UART*Nomaster, slave1 / 0 / 11 x 11116SO300-20, TSSOP-20, VQFN-32avr2.5, avr35ISP, dW, HVPP[25] [26]
ATtiny261, ATtiny261A, ATtiny461, ATtiny461A, ATtiny861, ATtiny861A202, 4, 8128, 256, 512128, 256, 512USI*master, slave*master, slave*1 / 0 / 11 x 31116DIP-20N, SO300-20, TSSOP-20, QFN-32avr2.5ISP, dW, HVPP[27] [28] [29] [30] [31]
ATtiny441, ATtiny841164, 8256, 512256, 5122 USART*slavemaster, slave1 / 0 / 22 x 21212SO150-14, QFN-20, VQFN-20avr2.5ISP, dW, HVSP[32] [33]
ATtiny828208512256USART*slavemaster, slave1 / 0 / 12 x 22828TQFP-32, QFN-32avr2.5ISP, dW, HVPP[34]
ATtiny163412161024256USI*, 2 USART*slavemaster*1 / 0 / 12 x 21218SO300-20, QFN-20avr35ISP, dW, HVPP[35]
ATtiny2313, ATtiny2313V, ATtiny2313A, ATtiny4313202, 4128, 256128, 256USI*, USART*master, slave*master, slave*1 / 0 / 12 x 2No18DIP-20N, SO300-20, VQFN-20avr2.5ISP, dW, HVPP[36] [37] [38] [39]
ATtiny4, ATtiny5, ATtiny9, ATtiny10120.5 / 132NoNoNoNo0 / 0 / 11 x 24 [lower-alpha 3]4SOT23-6, UDFN-8avrtiny10TPI[40] [41] [42] [43]
ATtiny20122128NoNoslavemaster, slave1 / 0 / 12 x 2812SO150-14, TSSOP-14, VQFN-20, UFBGA-15, WLCSP-12avrtiny10TPI[44]
ATtiny40124256NoNoslavemaster, slave1 / 0 / 11 x 21218SO300-20, TSSOP-20, VQFN-20avrtiny10TPI[45]
ATtiny102(F)12132NoUSART*Nomaster*0 / 0 / 1yes56SO150-8, UDFN-8?TPI[46]
ATtiny104(F)12132NoUSART*Nomaster*0 / 0 / 1yes912SO150-14?TPI[47]
ATtiny202, ATtiny402 (0-series)202, 4128, 25664, 128USART*master, slavemaster, slave0 / 0 / 2 / Ryes66SO150-8avrxmega3UPDI[48] [49]
ATtiny204, ATtiny404, ATtiny804, ATtiny1604 (0-series)202, 4, 8, 16128, 256, 512, 102464, 128, 256USART*master, slavemaster, slave0 / 0 / 2 / Ryes1012SO150-14avrxmega3UPDI[50] [51] [52] [53]
ATtiny406, ATtiny806, ATtiny1606 (0-series)204, 8, 16256, 512, 1024128, 256USART*master, slavemaster, slave0 / 0 / 2 / Ryes1218SO300-20, VQFN-20avrxmega3UPDI[54] [55] [56]
ATtiny807, ATtiny1607 (0-series)208, 16512, 1024128, 256USART*master, slavemaster, slave0 / 0 / 2 / Ryes1222VQFN-24avrxmega3UPDI[57] [58]
ATtiny212, ATtiny412 (1-series)202, 4128, 25664, 128USART*master, slavemaster, slave0 / 1 / 2 / Ryes66SO150-8avrxmega3UPDI[59] [60]
ATtiny214, ATtiny414, ATtiny814, ATtiny1614 (1-series)202, 4, 8, 16128, 256, 512, 204864, 128, 256USART*master, slavemaster, slave0 / 1 / 2 / Ryes1012SO150-14avrxmega3UPDI[61] [62] [63] [64]
ATtiny416, ATtiny816, ATtiny1616, ATtiny3216 (1-series)204, 8, 16, 32256, 512, 2048128, 256USART*master, slavemaster, slave0 / 1 / 2or3 / Ryes1218SO300-20, QFN-20, VQFN-20avrxmega3UPDI[65] [66] [67] [68]
ATtiny417, ATtiny817, ATtiny1617, ATtiny3217 (1-series)204, 8, 16, 32256, 512, 2048128, 256USART*master, slavemaster, slave0 / 1 / 2 / Ryes1222VQFN-24, QFN-24avrxmega3UPDI[69] [70] [71] [72]
ATtiny1624 (2-series)201620482562 USART*yesyes0 / 0 / 3 / Ryes912SO-14, TSSOP-14?UPDI[73]
ATtiny1626 (2-series)201620482562 USART*yesyes0 / 0 / 3 / Ryes1518SO-20, SSTOP-20, VQFN-20?UPDI[74]
ATtiny1627 (2-series)201620482562 USART*yesyes0 / 0 / 3 / Ryes1522VQFN-24?UPDI[75]
Device (family)Max clock
(MHz)
Flash
(KiB)
SRAM
(bytes)
EEPROM
(bytes)
UARTI²C
(TWI)
SPITimers 8/12/16/R
(bits)
PWMADC pinsGPIO pinsIC PackagesGCC arch IDPgm
Dbg
Refs
Notes
  1. timers x waveform generators
  2. 4 pins are usable, but only 3 unique generators can be attached. The 4th pin would be the inverse of OC1B on the 3rd pin.
  3. ADC only on ATtiny5/10, and channels are 8 bits instead of 10
  • 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 - recent families add a 12-bit timer, plus a 16-bit Real Time Counter (RTC) that is driven by a 32.768KHz clock (feature designated with 'R' in the table).
  • ADC chans column - the total number of analog channels that are 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).[76]
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,[77] I²C[78][79] or UART[80] 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.

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

Development boards

The following are ATtiny development boards sold by Microchip Technology:

See also

References

  1. "Atmel Product Guide September 1999" (PDF). Atmel. September 1999. Archived (PDF) from the original on October 6, 2018. Retrieved October 6, 2018.
  2. 8-bit AVR microcontrollers; Microchip.com
  3. AVR compiler options; gcc.gnu.org
  4. Machine-specific compiler options for the AVR; nongnu.org
  5. "ATtiny11/ATtiny12 datasheet" (PDF). Microchip Technology. Retrieved July 9, 2018.
  6. "ATtiny15L datasheet" (PDF). Microchip Technology. Retrieved July 9, 2018.
  7. "ATtiny28 webpage". Microchip Technology. Retrieved July 7, 2018.
  8. "ATtiny22 datasheet" (PDF). Microchip Technology. Retrieved July 16, 2018.
  9. "ATtiny26 webpage". Microchip Technology. Retrieved July 7, 2018.
  10. "ATtiny13 webpage". Microchip Technology. Retrieved July 7, 2018.
  11. "ATtiny13A webpage". Microchip Technology. Retrieved July 7, 2018.
  12. "AppNote AVR520 - Migrating from ATtiny13 to ATtiny13A" (PDF). Microchip Technology. Retrieved July 7, 2018.
  13. "ATtiny24 webpage". Microchip Technology. Retrieved July 7, 2018.
  14. "ATtiny44 webpage". Microchip Technology. Retrieved July 7, 2018.
  15. "ATtiny84 webpage". Microchip Technology. Retrieved July 7, 2018.
  16. "ATtiny24A webpage". Microchip Technology. Retrieved July 7, 2018.
  17. "ATtiny44A webpage". Microchip Technology. Retrieved July 7, 2018.
  18. "ATtiny84A webpage". Microchip Technology. Retrieved July 7, 2018.
  19. "ATtiny25 webpage". Microchip Technology. Retrieved July 7, 2018.
  20. "ATtiny45 webpage". Microchip Technology. Retrieved July 7, 2018.
  21. "ATtiny85 webpage". Microchip Technology. Retrieved July 7, 2018.
  22. "ATtiny43U webpage". Microchip Technology. Retrieved July 7, 2018.
  23. "ATtiny48 webpage". Microchip Technology. Retrieved July 9, 2018.
  24. "ATtiny88 webpage". Microchip Technology. Retrieved July 9, 2018.
  25. "ATtiny87 webpage". Microchip Technology. Retrieved July 9, 2018.
  26. "ATtiny167 webpage". Microchip Technology. Retrieved July 9, 2018.
  27. "ATtiny261A webpage". Microchip Technology. Retrieved July 9, 2018.
  28. "ATtiny461 webpage". Microchip Technology. Retrieved July 9, 2018.
  29. "ATtiny461A webpage". Microchip Technology. Retrieved July 9, 2018.
  30. "ATtiny861 webpage". Microchip Technology. Retrieved July 9, 2018.
  31. "ATtiny861A webpage". Microchip Technology. Retrieved July 9, 2018.
  32. "ATtiny441 webpage". Microchip Technology. Retrieved July 9, 2018.
  33. "ATtiny841 webpage". Microchip Technology. Retrieved July 9, 2018.
  34. "ATtiny828 webpage". Microchip Technology. Retrieved July 9, 2018.
  35. "ATtiny1634 webpage". Microchip Technology. Retrieved July 9, 2018.
  36. "ATtiny2313 webpage". Microchip Technology. Retrieved July 7, 2018.
  37. "ATtiny2313A webpage". Microchip Technology. Retrieved July 7, 2018.
  38. "ATtiny4313 webpage". Microchip Technology. Retrieved July 7, 2018.
  39. "AppNote AVR533 - Migrating from ATtiny2313 to ATtiny2313A" (PDF). Microchip Technology. Retrieved July 7, 2018.
  40. "ATtiny4 webpage". Microchip Technology. Retrieved July 7, 2018.
  41. "ATtiny5 webpage". Microchip Technology. Retrieved July 7, 2018.
  42. "ATtiny9 webpage". Microchip Technology. Retrieved July 7, 2018.
  43. "ATtiny10 webpage". Microchip Technology. Retrieved July 7, 2018.
  44. "ATtiny20 webpage". Microchip Technology. Retrieved July 7, 2018.
  45. "ATtiny40 webpage". Microchip Technology. Retrieved July 7, 2018.
  46. "ATtiny102 webpage". Microchip Technology. Retrieved July 7, 2018.
  47. "ATtiny104 webpage". Microchip Technology. Retrieved July 7, 2018.
  48. "ATtiny202 webpage". Microchip Technology. Retrieved July 7, 2018.
  49. "ATtiny402 webpage". Microchip Technology. Retrieved July 7, 2018.
  50. "ATtiny204 webpage". Microchip Technology. Retrieved July 7, 2018.
  51. "ATtiny404 webpage". Microchip Technology. Retrieved July 7, 2018.
  52. "ATtiny804 webpage". Microchip Technology. Retrieved July 7, 2018.
  53. "ATtiny1604 webpage". Microchip Technology. Retrieved July 7, 2018.
  54. "ATtiny406 webpage". Microchip Technology. Retrieved July 7, 2018.
  55. "ATtiny806 webpage". Microchip Technology. Retrieved July 7, 2018.
  56. "ATtiny1606 webpage". Microchip Technology. Retrieved July 7, 2018.
  57. "ATtiny807 webpage". Microchip Technology. Retrieved July 7, 2018.
  58. "ATtiny1607 webpage". Microchip Technology. Retrieved July 7, 2018.
  59. "ATtiny212 webpage". Microchip Technology. Retrieved July 7, 2018.
  60. "ATtiny412 webpage". Microchip Technology. Retrieved July 7, 2018.
  61. "ATtiny214 webpage". Microchip Technology. Retrieved July 7, 2018.
  62. "ATtiny414 webpage". Microchip Technology. Retrieved July 7, 2018.
  63. "ATtiny814 webpage". Microchip Technology. Retrieved July 7, 2018.
  64. "ATtiny1614 webpage". Microchip Technology. Retrieved July 7, 2018.
  65. "ATtiny416 webpage". Microchip Technology. Retrieved July 7, 2018.
  66. "ATtiny816 webpage". Microchip Technology. Retrieved July 7, 2018.
  67. "ATtiny1616 webpage". Microchip Technology. Retrieved July 7, 2018.
  68. "ATtiny3216 webpage". Microchip Technology. Retrieved July 7, 2018.
  69. "ATtiny417 webpage". Microchip Technology. Retrieved July 7, 2018.
  70. "ATtiny817 webpage". Microchip Technology. Retrieved July 7, 2018.
  71. "ATtiny1617 webpage". Microchip Technology. Retrieved July 7, 2018.
  72. "ATtiny3217 webpage". Microchip Technology. Retrieved July 7, 2018.
  73. ATtiny1624; Microchip.
  74. ATtiny1626; Microchip.
  75. ATtiny1627; Microchip.
  76. Atmel Studio Release Notes; Microchip.com
  77. "AVR319: Using the USI module for SPI communication" (PDF). Atmel. 2004. Retrieved 10 June 2014.
  78. "Atmel AVR310: Using the USI Module as a I2C Master" (PDF). Atmel. 2013. Retrieved 10 June 2014.
  79. "AVR312: Using the USI module as a I2C slave" (PDF). Atmel. 2005. Retrieved 10 June 2014.
  80. "AVR307: Half Duplex UART Using the USI Module" (PDF). Atmel. 2003. Retrieved 10 June 2014.

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.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.