Tag Archives: ATtiny104

tinyAVR in 8- and 14-pin SOIC now self-programming

The ATtiny102/104 retain the AVR performance advantage — still a 12 MIPS core with 1KB Flash and 32B SRAM — and upgrade many of the features around it.

At this week’s Embedded World 2016, Atmel is heading back to 8-bit old school with their news, straight to the low pin count end of their MCU portfolio with a significant upgrade to the tinyAVR family.

According to Atmel’s briefing package, development of the ATtiny102 and ATtiny104 has been in progress for some time. We got a peek at the company’s roadmap for AVR where these are labeled “next generation tinyAVRs,” and all we can say is this is the beginning of a significant refresh — alas, we can’t share those details, but we can now look at these two new parts.

What jumps out immediately is how the AVR refresh fills a significant gap in Atmel’s capability. The existing tinyAVR family is anchored by the ATtiny10, a capable 8-bit AVR core running at up to 12 MIPS with 0.5 or 1KB Flash and 32B of SRAM. The pluses of extended availability are obvious at the beginning of the lifecycle, but by the midpoint of a long run, the technology can start to seem dated.

 ATtiny102/ ATtiny104

ATtiny102/ ATtiny104

That is certainly the case for the ATtiny10 introduced in April 2009. At that time, the ATtiny10 was a shot straight at the Microchip PIC10F, with much higher CPU performance and a competitive 6-pin SOT and 8-pin DFN package offering. Outside of the CPU itself, the ATtiny10 and PIC10F line up pretty closely except for two areas: self-programming, and the accuracy of on-chip oscillators and voltage references. ATtiny10 parts require pre-programming from Atmel or a distributor, and its rather wide accuracy specs need help from product calibration and external componentry – however, cost and code compatibility still have a lot of sway, and the popularity of the ATtiny10 was unshaken.

The ATtiny102/104 retain the AVR performance advantage — still a 12 MIPS core with 1KB Flash and 32B SRAM — and upgrade many of the features around it. First and most noticeable is a packaging improvement. The ATtiny102 comes in an 8-pin SOIC (with the 8-pin DFN option still available). For a generation of applications needing more I/O in a low-cost part, the ATtiny104 comes in a pin-compatible 14-pin SOIC with 6 extra I/O pins.

Features for ATtiny102/ ATtiny104

Self-programming of Flash has been added to both versions, and with the same core footprint a single production image for both parts is achievable. Fast start-up time is available as an option as well. The internal voltage references are now highly accurate, with calibrated 1.1V, 2.2V, and 4.3V taps at +/- 3%. Internal oscillator accuracy is now +/- 2% over a 0 to 50 degrees C temperature range at fixed voltage. Those changes prompted expanding successive approximation ADC resolution to 10-bit, and channels are doubled to eight. Two of the I/O pins can now be configured for a USART, adding serial communications capability. A new 10-byte Unique ID provides a serial number.

Those features translate to customer satisfaction with intelligent devices using the ATtiny102 and ATtiny104. The more accurate internal oscillator improves the precision of motor control in personal care devices such as toothbrushes and electric shavers. The calibrated voltage references enable applications where rechargeable battery management is a primary function, for example in the d.light family of portable solar-powered lighting.

For more information on the ATtiny102 and ATtiny104 MCUs, you can check out Atmel’s recent post here.

This announcement, and what I think will follow from Atmel later this year, reaffirms just how important 8-bit is for the future at Atmel. The AVR architecture is beloved because of its simplicity and ubiquity with over 7B cores now shipped. The advances in the ATtiny102 and ATtiny104 are aimed at reducing BOM and manufacturing costs and enabling further innovation in intelligent consumer devices.

ATtiny102/104 are self-programmable, 8- and 14-pin tinyAVR MCUs

New tinyAVRs deliver industry’s smallest and lowest power 8-bit MCU on the market today with 1KB Flash.

Making its debut at Embedded World 2016, Atmel has returned to its old-school ways with the world’s highest-performance, low-power, 8-bit microcontrollers boasting 1KB Flash memory. The all-new ATtiny102/104 run up to 12MIPS and integrate features previously only available in larger more expensive MCUs, making them ideal for smaller applications including logic replacement and the latest cost-optimized applications in the consumer, industrial and home automation markets.


The majority of today’s 8-bit market growth is coming from applications that previously only required discrete components. With many of these requiring simple intelligent functions such as timing, motor control or on/off functionality, 8-bit MCUs are becoming an essential feature for the personal healthcare, small kitchen appliance and consumer markets.

The ATtiny102/104 provide all the necessary features to help spur the growth in these applications with its small, cost-optimized low-pincount package with just 1KB of Flash memory. These features include self-programming for firmware upgrades, non-volatile data storage, accurate internal oscillator to provide more reliable motor control, high-speed serial communication with USART, operating voltages ranging from 1.8V to 5.5V 10-bit ADC with internal voltage references, and sleep currents at less than 100nA in power down mode with SRAM retention.

“Atmel has already sold more units of its 8-bit AVR core-based MCUs than the 7.4 billion people on Earth,” says Oyvind Strom, Atmel’s Senior Director of MCUs. “We continue to expand our AVR portfolio with the new ATtiny102/104 8-bit MCUs. These are the first two devices in our new tinyAVR portfolio that are packed with features optimized for tiny, compact MCU systems such as LED lighting, fan control and other small applications.”


Key specs of these tinyAVRs include:

• 1KB Flash / 32bytes SRAM
• 8- and 14-pin packages down to 2mm x 3mm in size
• Up to 12 MIPS at 12MHz
• Self-programmable Flash
• Accurate (±3%) Internal oscillator
• Multiple calibrated internal voltage references (1.1V, 2.2V, 4.3V)
• 10-bytes Unique ID (serial number)
• 10 bit ADC and analog comparator
• 1.8V to 5.5V voltage range
• -40°C to +105°C and -40°C to +125°C temperature ranges

The ATtiny102/104 engineering samples are now available with mass production samples slated for May 2016. The latest tinyAVRs are fully supported by Atmel Studio 7. Additionally, designers have access to the company’s embedded software, including the Atmel Software Framework and application notes, as well as the Atmel Gallery ‘app’ store.