ATtiny40

From OpenCircuits
Revision as of 20:27, 16 August 2014 by CodeThatThinks (talk | contribs) (Created ATtiny40)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
ATtiny40
ATtiny40
# of Pins 20
Operating Voltage 1.8 to 5.5 V (4 MHz)
2.7 to 5.5 V (8 MHz)
4.5 to 5.5 V (12 MHz)
CPU 8-bit RISC
Clock Speed 4 MHz, 8 MHz, or 12 MHz (selectable)
Flash 4 KB
SRAM 256 B
EEPROM None
Max I/O 18
Packages SOIC-20
TSSOP-20
VQFN-20
Datasheets Summary (PDF)
Complete (PDF)

ATtiny40 is a microcontroller in the Atmel AVR family. It is available in the 20-pin SOIC, 20-pin TSSOP, or 20-pin VQFN package with a 4, 8, or 12 MHz selected clock speed. Running higher clock speeds require higher minimum operating voltages, with 1.8 volts for 4 MHz, 2.7 volts for 8 MHz, and 4.5 volts for 12 MHz. It has the following features:

  • 1 SPI
  • 1 I2C
  • 10-bit ADC with 12 channels
  • 1 analog comparator
  • temperature sensor
  • 2 timers
  • 2 PWM
  • internal RC oscillator
  • watchdog