
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
Microchip Technology Incorporated is a publicly listed American semiconductor corporation that manufactures microcontroller, mixed-signal, analog, and Flash-IP integrated circuits.
Its corporate headquarters is located in Chandler, Arizona. ...
in 2016).
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.
;Notes
:* Package column - the number after the dash is the number of pins on the package.
DIP packages in this table are row-to-row. SOwww means
SOIC package with a case width of 'www' in
thousandth of an inch
A thousandth of an inch is a derived unit of length in a system of units using inches. Equal to of an inch, a thousandth is commonly called a thou (used for both singular and plural) or, particularly in North America, a mil (plural mils).
Th ...
. 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 - means a dedicated peripheral, * 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
IrDA is a wireless standard designed for exchanging data using infrared (IR). Infrared ports for this purpose have been implemented in portable electronic devices such as mobile telephones, laptops, cameras, printers, and medical devices. The mai ...
,
RS-485
RS-485, also known as TIA-485(-A) or EIA-485, is a standard, originally introduced in 1983, defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and Telecomm ...
.
:* 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
I2C (Inter-Integrated Circuit; pronounced as "" or ""), alternatively known as I2C and IIC, is a synchronous, multi-master/multi-slave, single-ended, serial communication bus invented in 1980 by Philips Semiconductors (now NXP Semiconduct ...
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
Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
). The USI is a multi-purpose hardware communication module. With appropriate software support, it can be used to implement an
SPI,
I²C
I2C (Inter-Integrated Circuit; pronounced as "" or ""), alternatively known as I2C and IIC, is a synchronous, multi-master/multi-slave, single-ended, serial communication bus invented in 1980 by Philips Semiconductors (now NXP Semiconduct ...
or
UART
A universal asynchronous receiver-transmitter (UART ) is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to ...
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.
Development 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
ATtiny3217 Xplained Pro board; Microchip.
/ref>
See also
* AVR microcontrollers
AVR is a family of microcontrollers developed since 1996 by Atmel, acquired by Microchip Technology in 2016. They are 8-bit RISC single-chip microcontrollers based on a modified Harvard architecture. AVR was one of the first microcontrolle ...
* Atmel AVR instruction set
* In-system programming
* Arduino
Arduino () is an Italian open-source hardware and open-source software, software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardwar ...
References
Further reading
;ATtiny
* ''tinyAVR Microcontroller Projects for the Evil Genius''; 1st Ed; Dhananjay Gadre, Nehul Malhotra; McGraw-Hill/TAB; 272 pages; 2011; .
;AVR
* ''AVR Programming: Learning to Write Software for Hardware''; 1st Ed; Elliot Williams; Maker Media; 474 pages; 2014;
* ''Some Assembly Required: Assembly Language Programming with the AVR Microcontroller''; 1st Ed; Timothy Margush; CRC Press; 643 pages; 2011;
* ''AVR Microcontroller and Embedded Systems: Using Assembly and C''; 1st Ed; Muhammad Ali Mazidi, Sarmad Naimi, Sepehr Naimi; Pearson; 792 pages; 2010; .
External links
{{Commons category
Microchip 8-bit AVR MCU product webpage
- Microchip
Microchip 8-bit AVR MCU product selector (PDF)
- Microchip
Atmel tinyAVR fast and code efficient flyer (PDF)
- Microchip
All tinyAVR parts in a spreadsheet
- EDN Magazine, September 8, 2014.
ATtiny44/84 and ATtiny45/85 Pinout Diagrams
Atmel microcontrollers
Computing comparisons