{{Short description|Subfamily of 8-bit AVR microcontrollers}} [[File:ATtiny2313.png|thumb|right|ATtiny2313 in 20-pin narrow dual in-line package (DIP-20N)]]

'''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).<ref>{{cite web |title=Atmel Product Guide September 1999 |url=http://ebook.pldworld.com/_semiconductors/Atmel/Databook%20CDROM/Atmel/acrobat/doc0031.pdf |website=Atmel |accessdate=October 6, 2018 |archiveurl=https://web.archive.org/web/20181006055656/http://ebook.pldworld.com/_semiconductors/Atmel/Databook%20CDROM/Atmel/acrobat/doc0031.pdf |archivedate=October 6, 2018 |date=September 1999 |url-status=live}}</ref>

==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.

{{sticky header}} {| class="wikitable sortable sticky-header" style="text-align: center;" ! Device (family)<ref>[http://www.microchip.com/design-centers/8-bit/avr-mcus 8-bit AVR microcontrollers; Microchip.com]</ref> !! data-sort-type="number" | Max<br/>clock<br/>(MHz) !! data-sort-type="number" | Flash<br/>(KiB) !! data-sort-type="number" | SRAM<br/>(bytes) !! data-sort-type="number" | EEPROM<br/>(bytes) !! USART (UART) !! I²C<br/>({{abbr|TWI|Two-wire interface}}) !! SPI !! Timers 16/12/8<br/>(bits) !! data-sort-type="number" | ADC pins !! data-sort-type="number" | GPIO pins !! IC Packages !! GCC arch ID <ref>[https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html AVR compiler options; gcc.gnu.org]</ref> !! Pgm<br/>Dbg !! class="unsortable" | Refs

|- | ATtiny11, ATtiny11L || 6, 2 || 1 || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || 0 / 0 / 1 || {{No}} || 5 || {{Nowrap|DIP-8N,}} {{Nowrap|SO200-8}} || avr1 || HVSP || <ref name=ATtiny11-12-datasheet>{{cite web |title=ATtiny11/ATtiny12 datasheet |url=https://ww1.microchip.com/downloads/en/DeviceDoc/1006S.pdf |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny12, ATtiny12L, ATtiny12V || 8, 1.2 || 1 || {{No}} || 64 || {{No}} || {{No}} || {{No}} || 0 / 0 / 1 || {{No}} || 5 || {{Nowrap|DIP-8N,}} {{Nowrap|SO200-8}} || avr1 || ISP, HVSP || <ref name=ATtiny11-12-datasheet/>

|- | ATtiny15L || 1.6 || 1 || {{No}} || 64 || {{No}} || {{No}} || {{No}} || 0 / 0 / 2 || 4 || 6 || {{Nowrap|DIP-8N,}} {{Nowrap|SO200-8}} || avr1 || ISP, HVSP || <ref>{{cite web |title=ATtiny15L datasheet |url=https://ww1.microchip.com/downloads/en/DeviceDoc/doc1187.pdf |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny28L, ATtiny28V || 4, 1.2 || 2 || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || 0 / 0 / 1 || {{No}} || 11 || {{Nowrap|DIP-28N,}} {{Nowrap|TQFP-32,}} {{Nowrap|QFN-32}} || avr1 || HVPP || <ref>{{cite web |title=ATtiny28 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny28L |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} <!-- NOTE - grouping divider -->

|- | ATtiny22, ATtiny22L || 8, 4 || 2 || 128 || 128 || {{No}} || {{No}} || {{No}} || 0 / 0 / 1 || {{No}} || 5 || {{Nowrap|DIP-8N,}} {{Nowrap|SO200-8}} || avr2 || ISP, HVSP || <ref>{{cite web |title=ATtiny22 datasheet |url=http://www.romservice.ru/datashee/Tiny22.pdf |publisher=Microchip Technology |accessdate=July 16, 2018}}</ref><!-- NOTE from User:Sbmeirow - In July 2018, the ATtiny22 was the only webpage or datasheet that I couldn't find on the microchip.com website, thus is why I had to link to a 3rd party website. -->

|- | ATtiny26, ATtiny26L || 16, 8 || 2 || 128 || 128 || {{Maybe|USI}}* || {{Maybe|master, slave}}* || {{Maybe|master, slave}}* || 0 / 0 / 2 || 11 || 16 || {{Nowrap|DIP-20N,}} {{Nowrap|SO300-20,}} {{Nowrap|QFN-32}} || avr2 || ISP, HVPP || <ref>{{cite web |title=ATtiny26 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny26 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} <!-- NOTE - grouping divider -->

|- | ATtiny13, ATtiny13V, ATtiny13A || 20, 10 || 1 || 64 || 64 || {{No}} || {{No}} || {{No}} || 0 / 0 / 1 || 4 || 6 || {{Nowrap|DIP-8N,}} {{Nowrap|SO150-8,}} {{Nowrap|SO209-8,}} {{Nowrap|VQFN-10,}} {{Nowrap|WQFN-20}} || avr25 || ISP, dW, HVSP || <ref>{{cite web |title=ATtiny13 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny13 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny13A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny13A |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=AppNote AVR520 - Migrating from ATtiny13 to ATtiny13A |url=https://ww1.microchip.com/downloads/en/AppNotes/doc8157.pdf |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny24, ATtiny24V, ATtiny24A, ATtiny44, ATtiny44V, ATtiny44A, ATtiny84, ATtiny84V, ATtiny84A || 20, 10 || 2, 4, 8 || 128, 256, 512 || 128, 256, 512 || {{Maybe|USI}}* || {{Maybe|master, slave}}* || {{Maybe|master, slave}}* || 1 / 0 / 1 || 8 || 12 || {{Nowrap|DIP-14N,}} {{Nowrap|SO150-14,}} {{Nowrap|QFN-20,}} {{Nowrap|VQFN-20,}} {{Nowrap|UFBGA-15}} || avr25 || ISP, dW, HVSP || <ref>{{cite web |title=ATtiny24 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny24 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny44 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny44 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny84 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny84 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny24A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny24A |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny44A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny44A |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny84A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny84A |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny25, ATtiny25V, ATtiny45, ATtiny45V, ATtiny85, ATtiny85V || 20, 10 || 2, 4, 8 || 128, 256, 512 || 128, 256, 512 || {{Maybe|USI}}* || {{Maybe|master, slave}}* || {{Maybe|master, slave}}* || 0 / 0 / 2<ref group="lower-alpha">timer0 can use clocks up to the core clock, timer1 can use clocks up to 64MHz</ref> || 4 || 6 || {{Nowrap|DIP-8N,}} {{Nowrap|SO208-8,}} {{Nowrap|TSSOP-8,}} {{Nowrap|QFN-20}} || avr25 || ISP, dW, HVSP || <ref>{{cite web |title=ATtiny25 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny25 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny45 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny45 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny85 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny85 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny43U<ref group="lower-alpha">Ultra-low voltage model with integrated boost converter that can be powered with only 0.7 volts. </ref> || 8 || 4 || 256 || 64 || {{Maybe|USI}}* || {{Maybe|master, slave}}* || {{Maybe|master, slave}}* || 0 / 0 / 2 || 4 || 16 || {{Nowrap|SO300-20,}} {{Nowrap|QFN-20}} || avr25 || ISP, dW, HVPP || <ref>{{cite web |title=ATtiny43U webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny43U |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | rowspan="2" | ATtiny48, ATtiny88 || rowspan="2" | 12 || rowspan="2" | 4, 8 || rowspan="2" | 256, 512 || rowspan="2" | 64 || {{No}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 1 / 0 / 1 || 6 || 24 || {{Nowrap|DIP-28N,}} {{Nowrap|QFN-28}} || rowspan="2" | avr25 || rowspan="2" | ISP, dW, HVPP || rowspan="2" | <ref>{{cite web |title=ATtiny48 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny48 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny88 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny88 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref> |- |{{No}} |{{Yes|master, slave}} |{{Yes|master, slave}} |1 / 0 / 1 |8 |28 |{{Nowrap|TQFP-32,}} {{Nowrap|QFN-32,}} {{Nowrap|UFBGA-32}}

|- | ATtiny87, ATtiny167 || 16 || 8, 16 || 512 || 512 || {{Maybe|USI*, UART*}} || {{No}} || {{Yes|master, slave}} || 1 / 0 / 1 || 11 || 16 || {{Nowrap|SO300-20,}} {{Nowrap|TSSOP-20,}} {{Nowrap|VQFN-32}} || avr25, avr35 || ISP, dW, HVPP || <ref>{{cite web |title=ATtiny87 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny87 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny167 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny167 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny261, ATtiny261A, ATtiny461, ATtiny461A, ATtiny861, ATtiny861A || 20 || 2, 4, 8 || 128, 256, 512 || 128, 256, 512 || {{Maybe|USI}}* || {{Maybe|master, slave}}* || {{Maybe|master, slave}}* || 1 / 0 / 1<ref group="lower-alpha">timer/counter1 is a 10-bit counter that can use clocks to 64MHz.</ref> || 11 || 16 || {{Nowrap|DIP-20N,}} {{Nowrap|SO300-20,}} {{Nowrap|TSSOP-20,}} {{Nowrap|QFN-32}} || avr25 || ISP, dW, HVPP || <ref>{{cite web |title=ATtiny261A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny261A |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny461 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny461 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny461A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny461A |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny861 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny861 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny861A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny861A |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny441, ATtiny841 || 16 || 4, 8 || 256, 512 || 256, 512 || {{Maybe|2 USART*}} || {{Yes|slave}} || {{Yes|master, slave}} || 2 / 0 / 1 || 12 || 12 || {{Nowrap|SO150-14,}} {{Nowrap|QFN-20,}} {{Nowrap|VQFN-20}} || avr25 || ISP, dW, HVSP || <ref>{{cite web |title=ATtiny441 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny441 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref><ref>{{cite web |title=ATtiny841 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny841 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny828 || 20 || 8 || 512 || 256 || {{Maybe|USART*}} || {{Yes|slave}} || {{Yes|master, slave}} || 1 / 0 / 1 || 28 || 28 || {{Nowrap|TQFP-32,}} {{Nowrap|QFN-32}} || avr25 || ISP, dW, HVPP || <ref>{{cite web |title=ATtiny828 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny828 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny1634 || 12 || 16 || 1024 || 256 || {{Maybe|USI*, 2 USART*}} || {{Yes|slave}} || {{Maybe|master*}} || 1 / 0 / 1 || 12 || 18 || {{Nowrap|SO300-20,}} {{Nowrap|QFN-20}} || avr35 || ISP, dW, HVPP || <ref>{{cite web |title=ATtiny1634 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1634 |publisher=Microchip Technology |accessdate=July 9, 2018}}</ref>

|- | ATtiny2313, ATtiny2313V, ATtiny2313A, ATtiny4313 || 20 || 2, 4 || 128, 256 || 128, 256 || {{Maybe|USI*, USART*}} || {{Maybe|master, slave*}} || {{Maybe|master, slave*}} || 1 / 0 / 1 || {{No}} || 18 || {{Nowrap|DIP-20N,}} {{Nowrap|SO300-20,}} {{Nowrap|VQFN-20}} || avr25 || ISP, dW, HVPP || <ref>{{cite web |title=ATtiny2313 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny2313 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny2313A webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny2313A |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny4313 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny4313 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=AppNote AVR533 - Migrating from ATtiny2313 to ATtiny2313A |url=https://ww1.microchip.com/downloads/en/AppNotes/doc8261.pdf |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} <!-- NOTE - grouping divider -->

|- | ATtiny4, ATtiny5, ATtiny9, ATtiny10 || 12 || 0.5 / 1 || 32 || {{No}} || {{No}} || {{No}} || {{No}} || 1 / 0 / 0 || 4 <ref group="lower-alpha">ADC only on ATtiny5/10, and channels are 8 bits instead of 10</ref> || 4 || {{Nowrap|SOT23-6,}} {{Nowrap|UDFN-8}} || avrtiny || TPI ||<ref>{{cite web |title=ATtiny4 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny4 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny5 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny5 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny9 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny9 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny10 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny10 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny20 || 12 || 2 || 128 || {{No}} || {{No}} || {{Yes|slave}} || {{Yes|master, slave}} || 1 / 0 / 1 || 8 || 12 || {{Nowrap|SO150-14,}} {{Nowrap|TSSOP-14,}} {{Nowrap|VQFN-20,}} {{Nowrap|UFBGA-15,}} {{Nowrap|WLCSP-12}} || avrtiny || TPI || <ref>{{cite web |title=ATtiny20 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny20 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny40 || 12 || 4 || 256 || {{No}} || {{No}} || {{Yes|slave}} || {{Yes|master, slave}} || 1 / 0 / 1 || 12 || 18 || {{Nowrap|SO300-20,}} {{Nowrap|TSSOP-20,}} {{Nowrap|VQFN-20}} || avrtiny || TPI || <ref>{{cite web |title=ATtiny40 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny40 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny102(F) || 12 || 1 || 32 || {{No}} || {{Maybe|USART*}} || {{No}} || {{Maybe|master*}} || 1 / 0 / 0 || 5 || 6 || {{Nowrap|SO150-8,}} {{Nowrap|UDFN-8}} || avrtiny || TPI || <ref>{{cite web |title=ATtiny102 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny102 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny104(F) || 12 || 1 || 32 || {{No}} || {{Maybe|USART*}} || {{No}} || {{Maybe|master*}} || 1 / 0 / 0 || 9 || 12 || {{Nowrap|SO150-14}} || avrtiny || TPI || <ref>{{cite web |title=ATtiny104 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny104 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} <!-- NOTE - grouping divider -->

|- | ATtiny202, ATtiny402<br/><small>(0-series)</small> || 20 || 2, 4 || 128, 256 || 64, 128 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 0 / 0<br/>/ RTT || 6 || 6 || {{Nowrap|SO150-8}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny202 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny202 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny402 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny402 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny204, ATtiny404, ATtiny804, ATtiny1604<br/><small>(0-series)</small> || 20 || 2, 4, 8, 16 || 128, 256, 512, 1024 || 64, 128, 256 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 0 / 0<br/>/ RTT || 10 || 12 || {{Nowrap|SO150-14}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny204 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny204 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny404 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny404 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny804 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny804 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny1604 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1604 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny406, ATtiny806, ATtiny1606<br/><small>(0-series)</small> || 20 || 4, 8, 16 || 256, 512, 1024 || 128, 256 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 0 / 0<br/>/ RTT || 12 || 18 || {{Nowrap|SO300-20,}} {{Nowrap|VQFN-20}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny406 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny406 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny806 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny806 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny1606 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1606 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny807, ATtiny1607<br/><small>(0-series)</small>|| 20 || 8, 16 || 512, 1024 || 128, 256 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 0 / 0<br/>/ RTT || 12 || 22 || {{Nowrap|VQFN-24}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny807 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny807 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny1607 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1607 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} <!-- NOTE - grouping divider -->

|- | ATtiny212, ATtiny412<br/><small>(1-series)</small>|| 20 || 2, 4 || 128, 256 || 64, 128 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 1 / 0<br/>/ RTT || 6 || 6 || {{Nowrap|SO150-8}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny212 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny212 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny412 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny412 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny214, ATtiny414, ATtiny814, ATtiny1614<br/><small>(1-series)</small>|| 20 || 2, 4, 8, 16 || 128, 256, 512, 2048 || 64, 128, 256 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 1 / 0<br/>/ RTT || 10 || 12 || {{Nowrap|SO150-14}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny214 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny214 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny414 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny414 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny814 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny814 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny1614 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1614 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny416, ATtiny816, ATtiny1616, ATtiny3216<br/><small>(1-series)</small>|| 20 || 4, 8, 16, 32 || 256, 512, 2048 || 128, 256 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2or3 / 1 / 0<br/>/ RTT || 12 || 18 || {{Nowrap|SO300-20,}} {{Nowrap|QFN-20,}} {{Nowrap|VQFN-20}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny416 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny416 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny816 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny816 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny1616 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1616 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny3216 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny3216 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | ATtiny417, ATtiny817, ATtiny1617, ATtiny3217<br/><small>(1-series)</small>|| 20 || 4, 8, 16, 32 || 256, 512, 2048 || 128, 256 || {{Maybe|USART*}} || {{Yes|master, slave}} || {{Yes|master, slave}} || 2 / 1 / 0<br/>/ RTT || 12 || 22 || {{Nowrap|VQFN-24,}} {{Nowrap|QFN-24}} || avrxmega3 || UPDI || <ref>{{cite web |title=ATtiny417 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny417 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny817 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny817 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny1617 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny1617 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref><ref>{{cite web |title=ATtiny3217 webpage |url=https://www.microchip.com/wwwproducts/en/ATtiny3217 |publisher=Microchip Technology |accessdate=July 7, 2018}}</ref>

|- | style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} || style="background: black;" | {{sp}} <!-- NOTE - grouping divider -->

|- | ATtiny424, ATtiny824, ATtiny1624, ATtiny3224<br/><small>(2-series)</small>|| 20 || 4, 8, 16, 32 || 512, 1024, 2048, 3072 || 128, 128, 256, 256 || {{Maybe|2 USART*}} || {{Unknown|yes}} || {{Unknown|yes}} || 3 / 0 / 0<br/>/ RTT || 9 || 12 || {{Nowrap|SO-14,}} {{Nowrap|TSSOP-14}} || avrxmega3 || UPDI || <ref>[https://www.microchip.com/wwwproducts/en/ATTINY1624 ATtiny1624; Microchip.]</ref><ref>{{Cite web|title=ATTINY3224 - 8-bit Microcontrollers|url=https://www.microchip.com/wwwproducts/en/ATTINY3224|access-date=2021-06-21|website=www.microchip.com}}</ref>

|- | ATtiny426, ATtiny826, ATtiny1626, ATtiny3226<br/><small>(2-series)</small>|| 20 || 4, 8, 16, 32 || 512, 1024, 2048, 3072 || 128, 128, 256, 256 || {{Maybe|2 USART*}} || {{Unknown|yes}} || {{Unknown|yes}} || 3 / 0 / 0<br/>/ RTT || 15 || 18 || {{Nowrap|SO-20,}} {{Nowrap|SSTOP-20,}} {{Nowrap|VQFN-20}} || avrxmega3 || UPDI || <ref>[https://www.microchip.com/wwwproducts/en/ATTINY1626 ATtiny1626; Microchip.]</ref><ref>{{Cite web|title=ATTINY3226 - 8-bit Microcontrollers|url=https://www.microchip.com/wwwproducts/en/ATTINY3226|access-date=2021-06-21|website=www.microchip.com}}</ref>

|- | ATtiny427, ATtiny827, ATtiny1627, ATtiny3227<br/><small>(2-series)</small>|| 20 || 4, 8, 16, 32 || 512, 1024, 2048, 3072 || 128, 128, 256, 256 || {{Maybe|2 USART*}} || {{Unknown|yes}} || {{Unknown|yes}} || 3 / 0 / 0<br/>/ RTT || 15 || 22 || {{Nowrap|VQFN-24}} || avrxmega3 || UPDI || <ref>[https://www.microchip.com/wwwproducts/en/ATTINY1627 ATtiny1627; Microchip.]</ref><ref>{{Cite web|title=ATTINY3227 - 8-bit Microcontrollers|url=https://www.microchip.com/wwwproducts/en/ATTINY3227|access-date=2021-06-21|website=www.microchip.com}}</ref>

|- ! Device (family) !! Max clock<br/>(MHz) !! Flash<br/>(KiB) !! SRAM<br/>(bytes) !! EEPROM<br/>(bytes) !! USART (UART) !! I²C<br/>({{abbr|TWI|Two-wire interface}}) !! SPI !! Timers 16/12/8/R<br/>(bits) !! ADC pins !! GPIO pins !! IC Packages !! GCC arch ID !! Pgm<br/>Dbg !! Refs |}

;Notes {{notelist}} :* Package column - the number after the dash is the number of pins on the package. '''DIP''' packages in this table are {{convert|0.3|in|mm|2}} row-to-row. '''SO'''www 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 - {{Background color|#9F9|green cell}} means a dedicated peripheral, * {{Background color|#ffff90|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).<ref>[http://studio.download.atmel.com/7.0.1931/as-installer-7.0.1931-readme.pdf Atmel Studio Release Notes; Microchip.com]</ref>

;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,<ref>{{cite web|url=http://www.atmel.com/images/doc2582.pdf|title=AVR319: Using the USI module for SPI communication|publisher=Atmel|date=2004|accessdate=10 June 2014}}</ref> I²C<ref>{{cite web|url=http://www.atmel.com/images/atmel-2561-using-the-usi-module-as-a-i2c-master_ap-note_avr310.pdf|title=Atmel AVR310: Using the USI Module as a I<sup>2</sup>C Master|publisher=Atmel|date=2013|accessdate=10 June 2014}}</ref><ref>{{cite web|url=http://www.atmel.com/Images/doc2560.pdf|title=AVR312: Using the USI module as a I<sup>2</sup>C slave|publisher=Atmel|date=2005|accessdate=10 June 2014}}</ref> or UART<ref>{{cite web|url=http://www.atmel.com/Images/doc4300.pdf|title=AVR307: Half Duplex UART Using the USI Module|publisher=Atmel|date=2003|accessdate=10 June 2014}}</ref> interface. USART peripherals have more features than USI peripherals.

==Timeline== thumb|right|Newer parts use this naming convention The following table lists each ATtiny microcontroller by the first release date of each datasheet.

{| class="wikitable" border="1" |- ! 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 |}

==Development boards== The following are ATtiny development boards sold by Microchip Technology: * ATtiny104 Xplained Nano<ref>[http://www.microchip.com/Developmenttools/ProductDetails/PartNo/ATTINY104-XNANO ATtiny104 Xplained Nano board; Microchip.]</ref> * ATtiny416 Xplained Nano<ref>[http://www.microchip.com/Developmenttools/ProductDetails/PartNo/ATTINY416-XNANO ATtiny416 Xplained Nano board; Microchip.]</ref> * ATtiny817 AVR Parrot<ref>[http://www.microchip.com/Developmenttools/ProductDetails/PartNo/ATAVRPARROT ATtiny817 AVR Parrot board; Microchip.]</ref> * ATtiny817 Xplained Mini<ref>[http://www.microchip.com/Developmenttools/ProductDetails/PartNo/ATTINY817-XMINI ATtiny817 Xplained Mini board; Microchip.]</ref> * ATtiny817 Xplained Pro<ref>[http://www.microchip.com/Developmenttools/ProductDetails/PartNo/ATTINY817-XPRO ATtiny817 Xplained Pro board; Microchip.]</ref> * ATtiny3217 Xplained Pro<ref>[http://www.microchip.com/developmenttools/ProductDetails/PartNo/ATTINY3217-XPRO ATtiny3217 Xplained Pro board; Microchip.]</ref>

==See also== {{Portal|Electronics}} * AVR microcontrollers * Atmel AVR instruction set * In-system programming * Arduino

==References== {{Reflist}}

==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== {{Commons category}} * [http://www.microchip.com/design-centers/8-bit/avr-mcus Microchip 8-bit AVR MCU product webpage] - Microchip * [http://www.microchip.com/mymicrochip/filehandler.aspx?ddocname=en589120 Microchip 8-bit AVR MCU product selector (PDF)] - Microchip * [https://ww1.microchip.com/downloads/en/DeviceDoc/45056C-MCUtinyAVR_E_US_090513_online.pdf Atmel tinyAVR fast and code efficient flyer (PDF)] - Microchip * [http://www.edn.com/electronics-blogs/the-workbench/4434330/All-tinyAVR-parts-in-a-spreadsheet All tinyAVR parts in a spreadsheet] - EDN Magazine, September 8, 2014. * [https://www.flickr.com/photos/28521811@N04/8451023182/in/album-72157632703854644/ ATtiny44/84 and ATtiny45/85 Pinout Diagrams]

Category:Atmel microcontrollers Category:Computing comparisons