Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.57 KB

File metadata and controls

28 lines (24 loc) · 1.57 KB

ATtiny 212/412

x12 Pin Mapping

Specifications ATtiny212 ATtiny412
Flash (program memory) 2048 bytes 4096 bytes
Flash w/Optiboot 1536 bytes 3584 bytes
RAM 128 bytes 256 bytes
EEPROM 64 bytes 128 bytes
Bootloader Optiboot (optional, not recommended) Optiboot (optional, not recommended)
GPIO Pins 6 (5 usable) 6 (5 usable)
ADC Channels 6 (5 usable) 6 (5 usable)
DAC Yes Yes
PWM Channels 4 4
Timer Type B 1 1
Timer Type D Yes Yes
Interfaces UART, SPI, I2C UART, SPI, I2C
Clock options Internal 20/16/10/8/5/4/1 MHz Internal 20/16/10/8/5/4/1 MHz

WARNING: On pre 2.0.0 versions of megaTinyCore, the UART defaulted to the alternate positions

This matches the megaTinyCore 412/402 Rev. - and Rev. A breakout boards below. In 2.0.0 and later, this is no longer the case! You must call Serial.swap(1) prior to Serial.begin() to move it to the alt pins (or connect your adapter to pins 0 and 1 instead of 2 and 3). It should never have been done that way in the first place. A Rev. B of the breakout boards that has the FTDI header tied to the standard serial pins is planned for availability in May 2020.

Buy official megaTinyCore breakouts and support continued development!

ATtiny412/402 assembled ATtiny412/212/402/202 bare board

Datasheets

ATtiny212/412