ATtiny microcontroller comparison chart

From Wikipedia, the free encyclopedia
  (Redirected from Atmel AVR ATtiny comparison chart)
Jump to navigation Jump to search
ATtiny2313 in 20-pin narrow dual in-line package (DIP-20N)

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 release in 1999 by Atmel (later acquired by Microchip Technology in 2016).[1]

Features[edit]

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)
UART I²C
(TWI)
SPI Timers 8/12/16
(bits)
PWM [a] ADC chans GPIO pins IC Packages GCC arch ID [3][4] Pgm
Dbg
Refs
ATtiny11, ATtiny11L 6, 2 1 No No No No No 1 / 0 / 0 No No 5 DIP-8N, SO200-8 avr1 HVSP [5]
ATtiny12, ATtiny12L, ATtiny12V 8, 1.2 1 No 64 No No No 1 / 0 / 0 No No 5 DIP-8N, SO200-8 avr1 ISP, HVSP [5]
ATtiny15L 1.6 1 No 64 No No No 2 / 0 / 0 yes 4 6 DIP-8N, SO200-8 avr1 ISP, HVSP [6]
ATtiny28L, ATtiny28V 4, 1.2 2 32 No No No No 1 / 0 / 0 1 x 1 No 11 DIP-28N, TQFP-32, QFN-32 avr1 HVPP [7]
ATtiny22, ATtiny22L 8, 4 2 128 128 No No No 1 / 0 / 0 No No 5 DIP-8N, SO200-8 avr2 ISP, HVSP [8]
ATtiny26, ATtiny26L 16, 8 2 128 128 USI* master, slave* master, slave* 2 / 0 / 0 1 x 2 11 16 DIP-20N, SO300-20, QFN-32 avr2 ISP, HVPP [9]
ATtiny13, ATtiny13V, ATtiny13A 20, 10 1 64 64 No No No 1 / 0 / 0 1 x 2 4 6 DIP-8N, SO150-8, SO209-8, VQFN-10, WQFN-20 avr2.5 ISP, dW, HVSP [10] [11] [12]
ATtiny24, ATtiny24V, ATtiny24A, ATtiny44, ATtiny44V, ATtiny44A, ATtiny84, ATtiny84V, ATtiny84A 20, 10 2, 4, 8 128, 256, 512 128, 256, 512 USI* master, slave* master, slave* 1 / 0 / 1 2 x 2 8 12 DIP-14N, SO150-14, QFN-20, VQFN-20, UFBGA-15 avr2.5 ISP, dW, HVSP [13] [14] [15] [16] [17] [18]
ATtiny25, ATtiny25V, ATtiny45, ATtiny45V, ATtiny85, ATtiny85V 20, 10 2, 4, 8 128, 256, 512 128, 256, 512 USI* master, slave* master, slave* 2 / 0 / 0 2 x 2 [b] 4 6 DIP-8N, SO208-8, TSSOP-8, QFN-20 avr2.5 ISP, dW, HVSP [19] [20] [21]
ATtiny43U 8 4 256 64 USI* master, slave* master, slave* 2 / 0 / 0 2 x 2 4 16 SO300-20, QFN-20 avr2.5 ISP, dW, HVPP [22]
ATtiny48, ATtiny88 12 4, 8 256, 512 64 No master, slave master, slave 1 / 0 / 1 1 x 2 6 / 8 24, 28 DIP-28N, QFN-28, TQFP-32, QFN-32, UFBGA-32 avr2.5 ISP, dW, HVPP [23] [24]
ATtiny87, ATtiny167 16 8, 16 512 512 USI*, UART* No master, slave 1 / 0 / 1 1 x 1 11 16 SO300-20, TSSOP-20, VQFN-32 avr2.5, avr35 ISP, dW, HVPP [25] [26]
ATtiny261, ATtiny261A, ATtiny461, ATtiny461A, ATtiny861, ATtiny861A 20 2, 4, 8 128, 256, 512 128, 256, 512 USI* master, slave* master, slave* 1 / 0 / 1 1 x 3 11 16 DIP-20N, SO300-20, TSSOP-20, QFN-32 avr2.5 ISP, dW, HVPP [27] [28] [29] [30] [31]
ATtiny441, ATtiny841 16 4, 8 256, 512 256, 512 2 USART* slave master, slave 1 / 0 / 2 2 x 2 17 12 SO150-14, QFN-20, VQFN-20 avr2.5 ISP, dW, HVSP [32] [33]
ATtiny828 20 8 512 256 USART* slave master, slave 1 / 0 / 1 2 x 2 28 28 TQFP-32, QFN-32 avr2.5 ISP, dW, HVPP [34]
ATtiny1634 12 16 1024 256 USI*, 2 USART* slave master* 1 / 0 / 1 2 x 2 12 18 SO300-20, QFN-20 avr35 ISP, dW, HVPP [35]
ATtiny2313, ATtiny2313V, ATtiny2313A, ATtiny4313 20 2, 4 128, 256 128, 256 USI*, USART* master, slave* master, slave* 1 / 0 / 1 1 x 4 No 18 DIP-20N, SO300-20, VQFN-20 avr2.5 ISP, dW, HVPP [36] [37] [38] [39]
ATtiny4, ATtiny5, ATtiny9, ATtiny10 12 0.5 / 1 32 No No No No 0 / 0 / 1 1 x 2 4 [c] 4 SOT23-6, UDFN-8 avrtiny10 TPI [40] [41] [42] [43]
ATtiny20 12 2 128 No No slave master, slave 1 / 0 / 1 2 x 2 8 12 SO150-14, TSSOP-14, VQFN-20, UFBGA-15, WLCSP-12 avrtiny10 TPI [44]
ATtiny40 12 4 256 No No slave master, slave 1 / 0 / 1 1 x 2 12 18 SO300-20, TSSOP-20, VQFN-20 avrtiny10 TPI [45]
ATtiny102(F) 12 1 32 No USART* No master* 0 / 0 / 1 yes 5 6 SO150-8, UDFN-8 ? TPI [46]
ATtiny104(F) 12 1 32 No USART* No master* 0 / 0 / 1 yes 9 12 SO150-14 ? TPI [47]
ATtiny202, ATtiny402 20 2, 4 128, 256 64, 128 USART* master, slave master, slave 0 / 0 / 2 / R yes 6 6 SO150-8 avrxmega3 UPDI [48] [49]
ATtiny204, ATtiny404, ATtiny804, ATtiny1604 20 2, 4, 8, 16 128, 256, 512, 1024 64, 128, 256 USART* master, slave master, slave 0 / 0 / 2 / R yes 10 12 SO150-14 avrxmega3 UPDI [50] [51] [52] [53]
ATtiny406, ATtiny806, ATtiny1606 20 4, 8, 16 256, 512, 1024 128, 256 USART* master, slave master, slave 0 / 0 / 2 / R yes 12 18 SO300-20, VQFN-20 avrxmega3 UPDI [54] [55] [56]
ATtiny807, ATtiny1607 20 8, 16 512, 1024 128, 256 USART* master, slave master, slave 0 / 0 / 2 / R yes 12 22 VQFN-24 avrxmega3 UPDI [57] [58]
ATtiny212, ATtiny412 20 2, 4 128, 256 64, 128 USART* master, slave master, slave 0 / 1 / 2 / R yes 6 6 SO150-8 avrxmega3 UPDI [59] [60]
ATtiny214, ATtiny414, ATtiny814, ATtiny1614 20 2, 4, 8, 16 128, 256, 512, 2048 64, 128, 256 USART* master, slave master, slave 0 / 1 / 2 / R yes 10 12 SO150-14 avrxmega3 UPDI [61] [62] [63] [64]
ATtiny416, ATtiny816, ATtiny1616, ATtiny3216 20 4, 8, 16, 32 256, 512, 2048 128, 256 USART* master, slave master, slave 0 / 1 / 2or3 / R yes 12 18 SO300-20, QFN-20, VQFN-20 avrxmega3 UPDI [65] [66] [67] [68]
ATtiny417, ATtiny817, ATtiny1617, ATtiny3217 20 4, 8, 16, 32 256, 512, 2048 128, 256 USART* master, slave master, slave 0 / 1 / 2 / R yes 12 22 VQFN-24, QFN-24 avrxmega3 UPDI [69] [70] [71] [72]
Device (family) Max clock
(MHz)
Flash
(KiB)
SRAM
(bytes)
EEPROM
(bytes)
UART I²C
(TWI)
SPI Timers 8/12/16/R
(bits)
PWM ADC chans GPIO pins IC Packages GCC arch ID Pgm
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).[73]
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,[74] I²C[75][76] or UART[77] interface. It should be noted that USART peripherals have more features than USI peripherals.

Timeline[edit]

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[edit]

The following are ATtiny development boards sold by Microchip Technology:

See also[edit]

References[edit]

  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. ^ a b "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. ^ Atmel Studio Release Notes; Microchip.com
  74. ^ "AVR319: Using the USI module for SPI communication" (PDF). Atmel. 2004. Retrieved 10 June 2014.
  75. ^ "Atmel AVR310: Using the USI Module as a I2C Master" (PDF). Atmel. 2013. Retrieved 10 June 2014.
  76. ^ "AVR312: Using the USI module as a I2C slave" (PDF). Atmel. 2005. Retrieved 10 June 2014.
  77. ^ "AVR307: Half Duplex UART Using the USI Module" (PDF). Atmel. 2003. Retrieved 10 June 2014.

Further reading[edit]

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

External links[edit]