Datasheet Microchip ATtiny40
| Manufacturer | Microchip |
| Series | ATtiny40 |
The high-performance, low-power Microchip 8-bit AVR RISC-based microcontroller combines 4KB ISP flash memory, 256B SRAM, 12 general purpose I/O lines, 16 general purpose working registers, an 8-bit timer/counter with two PWM channels, a 8/16-bit timer/counter, internal and external interrupts, an 8-channel 10-bit A/D converter, programmable watchdog timer with internal oscillator, a slave two-wire interface, a master/slave serial peripheral interface, an internal calibrated oscillator, and four software selectable power saving modes
Datasheets
ATtiny40 - Complete Datasheet
PDF, 5.8 Mb, File published: Jan 1, 2013
Extract from the document
ATtiny40 - Summary Datasheet
PDF, 472 Kb, File published: Jan 1, 2013
Extract from the document
Packaging
| ATTINY40-MMH | ATTINY40-MMHR | ATTINY40-SU | ATTINY40-SUR | ATTINY40-XU | ATTINY40-XUR | |
|---|---|---|---|---|---|---|
| N | 1 | 2 | 3 | 4 | 5 | 6 |
| Package | VQFN | VQFN | SOIC | SOIC | TSSOP | TSSOP |
Parametrics
| Parameters / Models | ATTINY40-MMH | ATTINY40-MMHR | ATTINY40-SU | ATTINY40-SUR | ATTINY40-XU | ATTINY40-XUR |
|---|---|---|---|---|---|---|
| ADC Input | 12 | 12 | 12 | 12 | 12 | 12 |
| ADC with Computation | No | No | No | No | No | No |
| Angular Timer | No | No | No | No | No | No |
| Architecture | 8 | 8 | 8 | 8 | 8 | 8 |
| CPU Type | 8-bit AVR | 8-bit AVR | 8-bit AVR | 8-bit AVR | 8-bit AVR | 8-bit AVR |
| CRC | No | No | No | No | No | No |
| Class B Hardware | No | No | No | No | No | No |
| High Voltage Capable | No | No | No | No | No | No |
| I2C | 1 | 1 | 1 | 1 | 1 | 1 |
| Internal Oscillator | Yes | Yes | Yes | Yes | Yes | Yes |
| Internal Voltage Reference, Bandgap | Yes | Yes | Yes | Yes | Yes | Yes |
| Lead Count | 20 | 20 | 20 | 20 | 20 | 20 |
| Math Accelerator | No | No | No | No | No | No |
| Max 16-Bit Digital Timers | 1 | 1 | 1 | 1 | 1 | 1 |
| Max 8-Bit Digital Timers | 1 | 1 | 1 | 1 | 1 | 1 |
| Max ADC Resolution, Bits | 10 | 10 | 10 | 10 | 10 | 10 |
| Max CPU Speed, MHz | 12 | 12 | 12 | 12 | 12 | 12 |
| Max PWM outputs, including complementary | 2 | 2 | 2 | 2 | 2 | 2 |
| Number of Comparators | 1 | 1 | 1 | 1 | 1 | 1 |
| Operation Voltage Max, V | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 | 5.5 |
| Operation Voltage Min, V | 1.8 | 1.8 | 1.8 | 1.8 | 1.8 | 1.8 |
| Package Width | 3x3x0.85mm | 3x3x0.85mm | .300in | .300in | 4.4mm | 4.4mm |
| Peripheral Pin Select / Pin Muxing | No | No | No | No | No | No |
| Pin count | 20 | 20 | 20 | 20 | 20 | 20 |
| Program Memory Size, KB | 4 | 4 | 4 | 4 | 4 | 4 |
| SPI | 1 | 1 | 1 | 1 | 1 | 1 |
| SRAM, Bytes | 256 | 256 | 256 | 256 | 256 | 256 |
| Temp Range Max | 85 | 85 | 85 | 85 | 85 | 85 |
| Temp Range Min | -40 | -40 | -40 | -40 | -40 | -40 |
| Zero Cross detect | No | No | No | No | No | No |
Model Line
Series: ATtiny40 (6)
Manufacturer's Classification
- Microcontrollers > 8-bit Microcontrollers