Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.28 KB

ATtiny_x02.md

File metadata and controls

29 lines (23 loc) · 1.28 KB

ATtiny 202/402

x02 Pin Mapping

Specifications ATtiny202 ATtiny402
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 No No
GPIO Pins 6 (5 usable) 6 (5 usable)
ADC Channels 6 (5 usable) 6 (5 usable)
PWM Channels 4 4
Timer Type B 1 1
DAC No No
Interfaces UART, SPI, I2C UART, SPI, I2C
Clock options Internal 16/20mhz Internal 16/20mhz

Signature Issue

There exist ATtiny402's in the wild where the last byte of the signature is 0x25, instead of 0x27. Currently shipping parts from Atmel/Microchip have the correct signature, and this problem appears to be in the past, for the most part. Hoerver, if you're stuck with wrong-signature ATtiny402's ATtiny402 (bad signature) from the tools -> chip menu.

Buy official megaTinyCore breakouts and support continued development!

ATtiny402 assembled

ATtiny412/212/402/202 bare board

Datasheets

ATtiny202/402