Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

ATtiny40

Status: In Production

Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

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. The device operates between 1.8-5.5 volts.

By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processing speed.

Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
4
CPU Speed (MIPS/DMIPS)
12
SRAM Bytes
256
Digital Communication Peripherals
1-SPI, 1-I2C
Capture/Compare/PWM Peripherals
1 Input Capture, 1 CCP, 4PWM
Timers
1 x 8-bit, 1 x 16-bit
Number of Comparators
1
Temperature Range (°C)
-40 to 85
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
20

Documents

Jump to:

Data Sheet

01/01/2013
5687KB
01/01/2013
460KB

Application Notes

Download All

Product Document

12/10/2016
2468KB

Getting Started

White Papers

Development Environment

  • Emulators & Debuggers
  • Programmers
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC®, dsPIC®, AVR, SAM and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB

...

Learn More
Add To Cart
Atmel-ICE Full Kit
Atmel-ICE Full Kit ( ATATMEL-ICE )

Atmel-ICE is a powerful development tool for debugging and programming ARM® Cortex®-M based SAM and AVR microcontrollers with on-chip debug capability.

Atmel-ICE supports:

  • Programming and on-chip debugging of all AVR 32-bit MCUs on both JTAG and aWire interfaces
  • Programming and on-chip debugging of all AVR
...

Learn More
Add To Cart
Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC®, dsPIC®, AVR, SAM and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB

...

Learn More
Add To Cart
Atmel-ICE Full Kit
Atmel-ICE Full Kit ( ATATMEL-ICE )

Atmel-ICE is a powerful development tool for debugging and programming ARM® Cortex®-M based SAM and AVR microcontrollers with on-chip debug capability.

Atmel-ICE supports:

  • Programming and on-chip debugging of all AVR 32-bit MCUs on both JTAG and aWire interfaces
  • Programming and on-chip debugging of all AVR
...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
6
1
32
$0.24
 
14
2
128
$0.39
 
6
0.5
32
$0.24
 
20
4
256
$0.54
 
6
0.5
32
$0.24
 
6
1
32
$0.24
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
ATTINY40-XU
0.078000
0.175676
20
TSSOP
4.4mm
Matte Tin
e3
ATTINY406-MFR
0.019100
0.003333
20
VQFN
3x3x0.9mm
Matte Tin
e3
ATTINY406-MNR
0.019100
0.003333
20
VQFN
3x3x0.9mm
Matte Tin
e3
ATTINY40-MMH
0.018900
0.126531
20
VQFN
3x3x0.85mm
NiPdAu
e4
ATTINY40-MMHR
0.018900
0.105000
20
VQFN
3x3x0.85mm
NiPdAu
e4
ATTINY40-XUR
0.078000
0.200000
20
TSSOP
4.4mm
Matte Tin
e3
ATTINY402-SSN
0.078000
0.250000
8
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY402-SSNR
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY402-SSF
0.078000
0.250000
8
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY402-SSFR
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY406-SF
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
ATTINY406-SN
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
ATTINY404-SSF
0.143200
0.280702
14
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY404-SSFR
0.143200
0.325000
14
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY406-SNR
0.542000
0.311875
20
SOIC
.300in
Matte Tin
e3
ATTINY404-SSNR
0.143200
0.325000
14
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY404-SSN
0.143200
0.280702
14
SOIC
.150In(3.90mm)
Matte Tin
e3
ATTINY406-SFR
0.542000
0.311875
20
SOIC
.300in
Matte Tin
e3
ATTINY40-SUR
0.542000
0.311875
20
SOIC
.300in
Matte Tin
e3
ATTINY40-SU
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy from the Microchip Store

Grid
View
Table
View
Filter:
Apply
Clear
Only show products with samples
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy