Description
The ATtiny40 provides the following features: 4K bytes of In-System Programmable Flash, 256 bytes of SRAM, twelve 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 eight-channel, 10-bit ADC, a 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. Idle mode stops the CPU while allowing the Timer/Counter, ADC, Analog Comparator, SPI, TWI, and interrupt system to continue functioning. ADC Noise Reduction mode minimizes switching noise during ADC conversions by stopping the CPU and all I/O modules except the ADC. In Power-down mode registers keep their contents and all chip functions are disabled until the next interrupt or hardware reset. In Standby mode, the oscillator is running while the rest of the device is sleeping, allowing very fast start-up combined with low power consumption.
Specifications: | |
Attribute | Value |
Category | Integrated Circuits (ICs) |
Embedded - Microcontrollers | |
Mfr | Microchip Technology |
Series | AVR® ATtiny |
Package | Tube |
Part Status | Active |
Core Processor | AVR |
Core Size | 8-Bit |
Speed | 12MHz |
Connectivity | I²C, SPI |
Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
Number of I/O | 18 |
Program Memory Size | 4KB (2K x 16) |
Program Memory Type | FLASH |
EEPROM Size | - |
RAM Size | 256 x 8 |
Voltage - Supply (Vcc/Vdd) | 1.8V ~ 5.5V |
Data Converters | A/D 12x10b |
Oscillator Type | Internal |
Operating Temperature | -40°C ~ 85°C (TA) |
Mounting Type | Surface Mount |
Package / Case | 20-SOIC (0.295", 7.50mm Width) |
Supplier Device Package | 20-SOIC |
Base Product Number | ATTINY40 |