Microchip Technology

ATMEGA640-16AUR - 8-bit AVR MCU 64KB Flash 16MHz TQFP-100 | Microchip

部品番号: ATMEGA640-16AUR ✓ 生産中
在庫あり 1〜3営業日以内に発送
4.5 V to 5.5 V Vdss 100-pin TQFP (14x14 mm) Package 16 MHz Speed 64 KB (32K x 16) Memory
開始価格 $6.2 USD / 個
MOQ: 1 |
価格更新日: 2026-10-06
ボリューム価格
数量 単価 小計
1 $9.5 $9.50
10 $8.55 $85.50
100 $7.62 $762.00
500 $6.95 $3,475.00
1,000 $6.2 $6,200.00
ℹ️ すべての価格はUSDです

ATMEGA640-16AUR 概要

The Microchip Technology ATMEGA640-16AUR is an 8-bit AVR RISC-based microcontroller integrating 64 KB of in-system programmable Flash, 8 KB SRAM, and 4 KB EEPROM, with a 16 MHz maximum CPU clock and 86 general-purpose I/O lines, supplied in a 100-pin TQFP (14x14 mm) surface-mount package and rated for 4.5 V to 5.5 V operation over the industrial temperature range.

An 8-bit AVR microcontroller is a Harvard-architecture RISC processor that executes most instructions in a single clock cycle, delivering close to 1 MIPS per MHz. The AVR ATmega family sits within the broader taxonomy of microcontroller units (MCUs) under the semiconductor and embedded-system hierarchy, and the ATmega640 shares its core with the ATmega1280/ATmega2560 used on the Arduino Mega platform, making it familiar to a wide embedded engineering audience.

Key features include 32 general-purpose working registers, six flexible timer/counters with compare and PWM modes, a real-time counter with separate oscillator, and an 8/16-channel 10-bit successive-approximation ADC. The device also integrates two programmable serial USARTs, a master/slave SPI interface, a byte-oriented 2-wire serial interface (TWI/I2C-compatible), a programmable watchdog timer with its own on-chip oscillator, an on-chip analog comparator, and an output-compare modulator for dead-time generation.

Technical depth: the AVR core achieves close to 1 MIPS per MHz throughput, allowing the ATMEGA640-16AUR to deliver approximately 16 MIPS at 16 MHz while keeping active power low. ISP Flash supports firmware updates on the final PCB without removing the device, the 4 KB EEPROM retains calibration and configuration data through power cycles, and the 100-pin TQFP package exposes enough I/O for parallel buses, multiple UART channels, and PWM-rich motor-control front-ends simultaneously.

Typical applications include industrial control systems, building automation and HVAC controllers, consumer appliances, white goods, and instrumentation requiring many I/O lines and multiple serial channels. Its Arduino Mega compatibility also makes it popular for rapid prototyping and education.

Design consideration: the suffix decoding matters - 16A = 16 MHz / 4.5-5.5 V, U = industrial temperature (-40C to +85C), R = tape-and-reel. For 2.7-5.5 V or 8 MHz battery designs, choose ATmega640V-8AUR instead. Ensure ISP programming signals (MOSI, MISO, SCK, RESET) are brought out to a programming header.

This page synthesizes distributor pricing, drop-in same-family alternatives, and practical design notes not found in the manufacturer datasheet, with data verified as of 2026-10-07.

ドロップイン代替品: ATMEGA640-16AUR — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。

このシリーズのバリエーション

同一シリーズでドロップイン互換のモデル: ATMEGA640-16AUR (同一形状・フットプリント) — 相違点: ADC, Package, Core Architecture, RoHS Status, Flash Memory.

Microchip Technology
ADC: 8-channel, 10-bit
Package: 64-TQFP (14 x 14 mm)
Flash Memory: 256 KB (128K x 16), ISP programmable
比較対象 ATMEGA640-16AUR →
Microchip Technology
ADC: 16 channels x 10-bit
Core Architecture: AVR Enhanced RISC (8-bit)
比較対象 ATMEGA640-16AUR →
Microchip Technology
ADC: 10-bit, 16-channel
Package: 100-TQFP (14 x 14 mm)
Flash Memory: 64 KB (32K x 16)
比較対象 ATMEGA640-16AUR →
Microchip Technology
Package: 100-TQFP (14 x 14 mm)
RoHS Status: Compliant (GREEN per FindIC listing)
比較対象 ATMEGA640-16AUR →
Microchip Technology
ADC: 8-channel 10-bit
Package: 100-TQFP (14 x 14 mm)
Core Architecture: AVR 8-bit RISC
比較対象 ATMEGA640-16AUR →
Microchip Technology
Package: 100-TQFP (14 x 14 mm)
Core Architecture: AVR 8-bit RISC
RoHS Status: Compliant (GREEN package per Microchip classification)
比較対象 ATMEGA640-16AUR →
Microchip Technology
ADC: 10-bit, 8 channels
Package: 64-TQFP (14 x 14 mm)
Flash Memory: 64 KB (32K x 16) ISP FLASH
比較対象 ATMEGA640-16AUR →
Microchip Technology
Package: 64-TQFP (14x14 mm)
比較対象 ATMEGA640-16AUR →
Microchip Technology
Package: 64-TQFP (14x14 mm)
Core Architecture: AVR RISC, 130 instructions
比較対象 ATMEGA640-16AUR →

クイック比較ツール — 並列比較する代替部品を選択:

ATMEGA640-16AU

✅ ドロップイン ⚠️ 仕様未検証
Microchip Technology
📦 100-pin TQFP (14x14 mm)
AVR Enhanced RISC (8-bit) · ATmega640 · 64 KB (32K x 16) · 8 KB · 4 KB · 16 MHz · ~16 MIPS · 2.7 V to 5.5 V

✓ 在庫あり

$6.9 / 個

データシートを見る →

ATMEGA1280-16AUR

✅ ドロップイン
📦 100-pin TQFP (14x14 mm)
same 100-pin TQFP, same AVR core/peripherals, Flash 128 KB vs 64 KB (+100%), identical SRAM/EEPROM/clock

📋 参考代替品(カタログ未掲載)

ATMEGA2560-16AUR

✅ ドロップイン
📦 100-pin TQFP (14x14 mm)
same 100-pin TQFP, same AVR core/peripherals, Flash 256 KB vs 64 KB (+300%), identical SRAM/EEPROM/clock

📋 参考代替品(カタログ未掲載)

ATMEGA1281-16AUR

✅ ドロップイン ⚠️ 仕様未検証
📦 100-pin TQFP (14x14 mm)
same 100-pin TQFP, Flash 128 KB vs 64 KB (+100%), 8 KB SRAM unchanged, slightly different peripheral count (64-pin family, fewer I/O)

📋 参考代替品(カタログ未掲載)

ATMEGA2561-16AUR

✅ ドロップイン ⚠️ 仕様未検証
Microchip Technology
📦 100-pin TQFP (14x14 mm)
8-bit AVR RISC · 256 KB (128K x 16), ISP programmable · 8 KB · 4 KB · 16 MHz · 16 MIPS at 16 MHz · 4.5 V to 5.5 V · 54 I/O lines

✓ 在庫あり

$15.98 / 個

データシートを見る →

ATMEGA640-16AUR 最大定格&電気的特性

Core Architecture 8-bit AVR RISC
Program Memory (Flash) 64 KB (32K x 16)
SRAM 8 KB
EEPROM 4 KB
Maximum CPU Clock 16 MHz
Operating Voltage (Vcc) 4.5 V to 5.5 V
General-Purpose I/O Lines 86
General-Purpose Working Registers 32
Timer/Counters 6 flexible timer/counters with compare/PWM
ADC 10-bit, 8/16-channel
USART 2 programmable serial USARTs
SPI 1 master/slave SPI
TWI (I2C-compatible) 1 byte-oriented 2-wire interface
Analog Comparator On-chip
Watchdog Timer Programmable, with separate on-chip oscillator
パッケージ 100-pin TQFP (14x14 mm)
実装タイプ Surface Mount
動作温度 -40C to +85C (industrial)
In-System Programmable (ISP) Yes
RoHS ステータス Compliant

ATMEGA640-16AUR ピン構成

TQFP-100 Package Pinout Diagram TQFP-100 14x14mm, P0.5mm, JEDEC MS-026. 1 25 TQFP-100
ピン 1 VCC — Digital supply voltage (5 V)
ピン 2 PE0 (RXD0/PCINT8) — Port E bit 0 / USART0 RXD
ピン 3 PE1 (TXD0) — Port E bit 1 / USART0 TXD
ピン 4 PE2 (XCK0/AIN0) — Port E bit 2 / USART0 XCK / Analog Comparator Positive Input
ピン 5 PE3 (OC3A/AIN1) — Port E bit 3 / Timer3 Compare A / Analog Comparator Negative Input
ピン 6 PE4 (OC3B/INT4) — Port E bit 4 / Timer3 Compare B / External Interrupt 4
ピン 7 PE5 (OC3C/INT5) — Port E bit 5 / Timer3 Compare C / External Interrupt 5
ピン 8 PE6 (T3/INT6) — Port E bit 6 / Timer3 Clock Input / External Interrupt 6
ピン 9 PE7 (CLKO/ICP3) — Port E bit 7 / System Clock Output / Timer3 Input Capture
ピン 10 VCC — Digital supply voltage (5 V)
ピン 11 GND — Ground
ピン 12 PH0 (RXD2) — Port H bit 0 / USART2 RXD
ピン 13 PH1 (TXD2) — Port H bit 1 / USART2 TXD
ピン 14 PH2 (XCK2) — Port H bit 2 / USART2 XCK
ピン 15 PH3 (OC4A) — Port H bit 3 / Timer4 Compare A
ピン 16 PH4 (OC4B) — Port H bit 4 / Timer4 Compare B
ピン 17 PH5 (OC4C) — Port H bit 5 / Timer4 Compare C
ピン 18 PH6 (OC2B) — Port H bit 6 / Timer2 Compare B
ピン 19 PH7 (T4) — Port H bit 7 / Timer4 Clock Input
ピン 20 PB0 (SS/PCINT0) — Port B bit 0 / SPI Slave Select
ピン 21 PB1 (SCK/PCINT1) — Port B bit 1 / SPI Bus Clock
ピン 22 PB2 (MOSI/PCINT2) — Port B bit 2 / SPI Master Out Slave In
ピン 23 PB3 (MISO/PCINT3) — Port B bit 3 / SPI Master In Slave Out
ピン 24 PB4 (OC2A/PCINT4) — Port B bit 4 / Timer2 Compare A
ピン 25 PB5 (OC1A/PCINT5) — Port B bit 5 / Timer1 Compare A
ピン 26 PB6 (OC1B/PCINT6) — Port B bit 6 / Timer1 Compare B
ピン 27 PB7 (OC0A/OC1C/PCINT7) — Port B bit 7 / Timer0 Compare A / Timer1 Compare C
ピン 28 VCC — Digital supply voltage (5 V)
ピン 29 GND — Ground
ピン 30 AVCC — Analog supply voltage (5 V) - for ADC
ピン 31 GND — Ground
ピン 32 AREF — ADC reference voltage input
ピン 33 PF0 (ADC0) — Port F bit 0 / ADC Input Channel 0
ピン 34 PF1 (ADC1) — Port F bit 1 / ADC Input Channel 1
ピン 35 PF2 (ADC2) — Port F bit 2 / ADC Input Channel 2
ピン 36 PF3 (ADC3) — Port F bit 3 / ADC Input Channel 3
ピン 37 PF4 (ADC4/TCK) — Port F bit 4 / ADC Input Channel 4 / JTAG TCK
ピン 38 PF5 (ADC5/TMS) — Port F bit 5 / ADC Input Channel 5 / JTAG TMS
ピン 39 PF6 (ADC6/TDO) — Port F bit 6 / ADC Input Channel 6 / JTAG TDO
ピン 40 PF7 (ADC7/TDI) — Port F bit 7 / ADC Input Channel 7 / JTAG TDI
ピン 41 PA0 (AD0) — Port A bit 0 / External Memory Address/Data bit 0
ピン 42 PA1 (AD1) — Port A bit 1 / External Memory Address/Data bit 1
ピン 43 PA2 (AD2) — Port A bit 2 / External Memory Address/Data bit 2
ピン 44 PA3 (AD3) — Port A bit 3 / External Memory Address/Data bit 3
ピン 45 PA4 (AD4) — Port A bit 4 / External Memory Address/Data bit 4
ピン 46 PA5 (AD5) — Port A bit 5 / External Memory Address/Data bit 5
ピン 47 PA6 (AD6) — Port A bit 6 / External Memory Address/Data bit 6
ピン 48 PA7 (AD7) — Port A bit 7 / External Memory Address/Data bit 7
ピン 49 VCC — Digital supply voltage (5 V)
ピン 50 GND — Ground
ピン 51 PC7 (A15) — Port C bit 7 / External Memory Address bit 15
ピン 52 PC6 (A14) — Port C bit 6 / External Memory Address bit 14
ピン 53 PC5 (A13) — Port C bit 5 / External Memory Address bit 13
ピン 54 PC4 (A12) — Port C bit 4 / External Memory Address bit 12
ピン 55 PC3 (A11) — Port C bit 3 / External Memory Address bit 11
ピン 56 PC2 (A10) — Port C bit 2 / External Memory Address bit 10
ピン 57 PC1 (A9) — Port C bit 1 / External Memory Address bit 9
ピン 58 PC0 (A8) — Port C bit 0 / External Memory Address bit 8
ピン 59 PG1 (RD) — Port G bit 1 / External Memory Read strobe
ピン 60 PG0 (WR) — Port G bit 0 / External Memory Write strobe
ピン 61 PD7 (T0) — Port D bit 7 / Timer0 Clock Input
ピン 62 PD6 (T1) — Port D bit 6 / Timer1 Clock Input
ピン 63 PD5 (XCK1) — Port D bit 5 / USART1 XCK
ピン 64 PD4 (ICP1) — Port D bit 4 / Timer1 Input Capture
ピン 65 PD3 (INT3/TXD1) — Port D bit 3 / External Interrupt 3 / USART1 TXD
ピン 66 PD2 (INT2/RXD1) — Port D bit 2 / External Interrupt 2 / USART1 RXD
ピン 67 PD1 (SDA/INT1) — Port D bit 1 / TWI SDA / External Interrupt 1
ピン 68 PD0 (SCL/INT0) — Port D bit 0 / TWI SCL / External Interrupt 0
ピン 69 PG2 (ALE) — Port G bit 2 / External Memory Address Latch Enable
ピン 70 VCC — Digital supply voltage (5 V)
ピン 71 GND — Ground
ピン 72 PK7 (ADC15/PCINT23) — Port K bit 7 / ADC Input Channel 15
ピン 73 PK6 (ADC14/PCINT22) — Port K bit 6 / ADC Input Channel 14
ピン 74 PK5 (ADC13/PCINT21) — Port K bit 5 / ADC Input Channel 13
ピン 75 PK4 (ADC12/PCINT20) — Port K bit 4 / ADC Input Channel 12
ピン 76 PK3 (ADC11/PCINT19) — Port K bit 3 / ADC Input Channel 11
ピン 77 PK2 (ADC10/PCINT18) — Port K bit 2 / ADC Input Channel 10
ピン 78 PK1 (ADC9/PCINT17) — Port K bit 1 / ADC Input Channel 9
ピン 79 PK0 (ADC8/PCINT16) — Port K bit 0 / ADC Input Channel 8
ピン 80 PJ7 — Port J bit 7
ピン 81 PJ6 (PCINT15) — Port J bit 6
ピン 82 PJ5 (PCINT14) — Port J bit 5
ピン 83 PJ4 (PCINT13) — Port J bit 4
ピン 84 PJ3 (PCINT12) — Port J bit 3
ピン 85 PJ2 (PCINT11) — Port J bit 2
ピン 86 PJ1 (PCINT10) — Port J bit 1
ピン 87 PJ0 (PCINT9) — Port J bit 0
ピン 88 PE0 — Port E bit 0 (second function on this pin)
ピン 89 PE1 — Port E bit 1 (second function on this pin)
ピン 90 PE2 — Port E bit 2 (second function on this pin)
ピン 91 PE3 — Port E bit 3 (second function on this pin)
ピン 92 PE4 — Port E bit 4 (second function on this pin)
ピン 93 PE5 — Port E bit 5 (second function on this pin)
ピン 94 PE6 — Port E bit 6 (second function on this pin)
ピン 95 PE7 — Port E bit 7 (second function on this pin)
ピン 96 VCC — Digital supply voltage (5 V)
ピン 97 GND — Ground
ピン 98 XTAL2 — Crystal oscillator output
ピン 99 XTAL1 — Crystal oscillator input / external clock
ピン 100 RESET — Reset input (active low)

主な用途

ATMEGA640-16AUR の用途: 6 件s: Industrial Control Systems, Building Automation and HVAC, Consumer Appliances and White Goods, Instrumentation and Data Acquisition, Rapid Prototyping and Arduino-Compatible Designs, Education and Embedded Learning Platforms.

🏭

Industrial Control Systems

The ATMEGA640-16AUR fits industrial control applications because its 86 GPIO lines and six timer/counters easily drive multi-axis stepper/DC motor bridges, opto-isolated inputs, and relay outputs simultaneously. The 16 MHz CPU delivers 16 MIPS - sufficient for PID loops at typical 1 kHz control rates on multiple axes - while the 8 KB SRAM holds control tables and the 4 KB EEPROM stores calibration constants across power cycles. The industrial -40C to +85C temperature rating and 4.5-5.5 V supply match 5 V industrial backplanes without level shifters, and ISP Flash allows secure firmware updates via a programming header on the final assembly.

🏭

Building Automation and HVAC

Building automation controllers benefit from the ATMEGA640-16AUR's two USARTs, SPI, and TWI interfaces for simultaneously talking to Modbus RTU sensors, BACnet MS/TP networks, and local I2C peripherals (EEPROMs, RTCs, displays). The 86 I/O lines comfortably support multi-zone thermostat panels with keypads, character LCDs, and triac-driver outputs for damper and valve actuators. With 64 KB Flash, the device runs BACnet/Modbus stacks plus scheduling logic on-chip, and the 4 KB EEPROM retains setpoint schedules through power-loss events typical in HVAC installations.

⚡

Consumer Appliances and White Goods

The ATMEGA640-16AUR suits consumer appliances (washing machines, dishwashers, microwave ovens) where multiple motors, valves, sensors, and a user interface must be coordinated from a single MCU. Its 6 timer/counters with PWM modes drive motor bridges and inverter controls, the 10-bit ADC reads temperature/pressure/humidity sensors, and 86 GPIO lines connect to keypads, LCD/LED displays, and buzzer drivers. The ISP Flash allows late-stage firmware customization per model variant, and the 5 V industrial temperature rating covers under-cabinet appliance environments without extra components.

🔧

Instrumentation and Data Acquisition

The ATMEGA640-16AUR's 10-bit ADC with up to 16 channels, 8 KB SRAM for sample buffering, and 64 KB Flash for embedded signal-processing code make it well-suited to multi-channel data-acquisition front-ends. Two USARTs let the device stream data to a host PC while simultaneously talking to an isolated RS-485 sensor bus, and the TWI port connects to external 24-bit sigma-delta ADCs or DACs for higher precision. The 4 KB EEPROM stores calibration coefficients and channel-configuration data; ISP allows field recalibration without disassembling the instrument.

🧩

Rapid Prototyping and Arduino-Compatible Designs

The ATMEGA640-16AUR is functionally identical to the ATmega1280/2560 used on the Arduino Mega platform, so it benefits from the mature Arduino MegaCore open-source hardware package, library ecosystem, and community examples. Engineers prototyping 5 V Mega-form-factor designs can use the ATMEGA640-16AUR as a cost-optimized lower-Flash variant, with the same schematic footprint and 86 I/O mapping. The 16 MHz clock and 5 V supply match the original Mega reference design exactly, and ISP via the standard ICSP header supports bootloader flashing as well as in-circuit debugging.

🧩

Education and Embedded Learning Platforms

The ATMEGA640-16AUR provides an ideal teaching platform because it exposes nearly the entire AVR peripheral set - 86 GPIO, 6 timers, 10-bit ADC, two USARTs, SPI, TWI, analog comparator, and watchdog - in a single accessible 100-pin TQFP package. With 64 KB Flash, students can implement real RTOS kernels, file systems, or protocol stacks; with 4 KB EEPROM they can experiment with persistent storage; and with ISP they can repeatedly flash and debug code via low-cost tools such as the Microchip MPLAB Snap or Atmel-ICE. The 5 V industrial temperature rating also makes laboratory boards robust against student wiring errors.

What is the program memory size of ATMEGA640-16AUR?
The ATMEGA640-16AUR integrates 64 KB of in-system programmable Flash (organized as 32K x 16) plus 8 KB of SRAM and 4 KB of EEPROM, per the Microchip ATmega640/1280/2560 datasheet family. This memory configuration supports medium-complexity embedded applications with on-board data logging and parameter storage.
What is the operating voltage range of ATMEGA640-16AUR?
The ATMEGA640-16AUR operates from 4.5 V to 5.5 V (the '16A' suffix denotes 16 MHz, 4.5-5.5 V). For lower-voltage or battery-powered designs down to 2.7 V, the ATmega640V-8AU variant is the appropriate drop-in alternative at 8 MHz maximum clock.
How many I/O pins does ATMEGA640-16AUR have?
The ATMEGA640-16AUR provides 86 general-purpose I/O lines organized across multiple ports, per the Microchip datasheet. Combined with the 100-pin TQFP package, this I/O count comfortably supports parallel buses, several UART/SPI/TWI peripherals, and PWM-rich motor or lighting control on a single device.
Is ATMEGA640-16AUR compatible with Arduino Mega?
Yes. The ATMEGA640 is the lower-memory sibling of the ATmega1280/2560 used on the Arduino Mega 2560. The core, peripherals, register map, and 100-pin TQFP footprint are identical at the schematic level, and the open-source 'MegaCore' Arduino hardware package supports the ATmega640 directly for drop-in Mega-board designs.
What is the difference between ATMEGA640-16AUR and ATMEGA640V-8AUR?
The ATMEGA640-16AUR runs up to 16 MHz at 4.5-5.5 V (industrial grade), while the ATMEGA640V-8AUR runs up to 8 MHz at 2.7-5.5 V. Both share the same 100-pin TQFP footprint and die, so they are pin-to-pin compatible; choose '16A' for full-speed industrial designs and 'V-8A' for low-voltage or battery-powered applications.
What is the best drop-in replacement for ATMEGA640-16AUR?
The best drop-in replacement within the same family is the ATMEGA1280-16AUR or ATMEGA2560-16AUR (same 100-pin TQFP, same AVR core, larger Flash - 128 KB and 256 KB respectively). For lower cost with reduced Flash, the ATMEGA640-16AU (tray packaging) is identical electrically. All three are Microchip same-family drop-in alternatives.
Where to buy ATMEGA640-16AUR online at the best price?
As of 2026-10-07, the ATMEGA640-16AUR is listed at LCSC from approximately $6.93 USD per unit, with distributor inventory at Mouser, DigiKey, and Octopart-aggregated stock. For prototyping in small quantities, Mouser and DigiKey offer factory-sealed reels; for production volumes, LCSC and MicrochipDirect provide the lowest unit cost.
What is the lead time for ATMEGA640-16AUR?
As of 2026-10-07, the ATMEGA640-16AUR is in active production with stock available across Mouser, DigiKey, LCSC, and MicrochipDirect, and lead time is typically 6-10 weeks from the factory for full-reel orders. For urgent prototyping needs, distributor stock on hand can ship same-day from Mouser or DigiKey domestic warehouses.
Is ATMEGA640-16AUR in stock right now?
Yes, the ATMEGA640-16AUR is in stock at LCSC (price from $6.9341 USD as of 2026-10-07) and at major distributors including Mouser and DigiKey. For real-time inventory and quantity breaks, consult the distributor product pages directly, as stock levels fluctuate with demand.
ATMEGA640-16AUR vs ATMEGA1280-16AUR - which is better for my application?
The ATMEGA1280-16AUR offers 128 KB Flash versus the ATMEGA640-16AUR's 64 KB Flash, with identical SRAM (8 KB), EEPROM (4 KB), and 100-pin TQFP package. Choose ATMEGA1280-16AUR if your firmware exceeds 64 KB; choose ATMEGA640-16AUR if 64 KB is sufficient and lower unit cost is preferred. Both share the same AVR instruction set and peripheral set.
When should I choose ATMEGA640-16AUR over ATMEGA328P-AUR?
Choose the ATMEGA640-16AUR when your design needs 64 KB or more of Flash, 8 KB SRAM, or more than 28 I/O pins - the 100-pin TQFP package and 86 I/O lines give it substantial headroom. The ATMEGA328P-AUR is preferable only for compact, low-I/O, 5V Arduino-Uno-style designs where the 32 KB Flash and 28-pin QFN/PDIP footprint are sufficient.
Can ATMEGA640-16AUR be replaced by ATMEGA2560-16AUR directly?
Yes, the ATMEGA2560-16AUR is a drop-in replacement for the ATMEGA640-16AUR on the same 100-pin TQFP footprint, offering 256 KB Flash, 8 KB SRAM, and 4 KB EEPROM with identical peripherals and pinout. It is the part used on the Arduino Mega 2560 board, and firmware written for ATmega640 runs on ATmega2560 with no port changes.
Where to download ATMEGA640-16AUR datasheet PDF?
The official Microchip ATmega640 datasheet PDF is available at https://www.microchip.com/en-us/product/ATmega640, along with device-specific documentation including the ATmega640/1280/1281/2560/2561 complete datasheet. The combined family datasheet (document revision from Microchip) covers electrical characteristics, peripheral registers, and package information.
Where to find ATMEGA640-16AUR pinout diagram?
The ATMEGA640-16AUR pinout for the 100-pin TQFP package is documented in the Microchip ATmega640/1280/1281/2560/2561 complete datasheet, with port assignments from PA through PG. For the open-source Arduino community, the MegaCore GitHub project (MCUdude/MegaCore) also provides a verified pinout mapping for Arduino-style board designs.
What are the key specifications of ATMEGA640-16AUR that engineers should know?
The ATMEGA640-16AUR is an 8-bit AVR RISC microcontroller with 64 KB Flash, 8 KB SRAM, 4 KB EEPROM, 16 MHz maximum clock, 86 GPIO lines, 6 timer/counters, 10-bit ADC with up to 16 channels, 2 USARTs, 1 SPI, 1 TWI, on-chip analog comparator, and ISP Flash, in a 100-pin TQFP (14x14 mm) package operating from 4.5 V to 5.5 V at industrial temperature.
What is the best Microchip equivalent for ATMEGA640-16AUR?
Within Microchip's own AVR portfolio, the best equivalents are the ATMEGA1280-16AUR (128 KB Flash) and ATMEGA2560-16AUR (256 KB Flash), both sharing the same 100-pin TQFP package and pinout. For pin-compatible lower-cost options, the ATMEGA640-16AU (tray packaging) is electrically identical. Cross-brand AVR-compatible equivalents are not generally drop-in.
Does ATMEGA640-16AUR support in-system programming (ISP)?
Yes, the ATMEGA640-16AUR supports in-system programming via its SPI port using the standard AVR ISP protocol (MOSI, MISO, SCK, RESET signals). Per the Microchip datasheet, firmware updates can be performed on the assembled PCB through a 6-pin or 2x3-pin ICSP header, using tools such as Microchip MPLAB Snap, Atmel-ICE, or AVRISP mkII.

エンジニアリング参考データ: ATMEGA640-16AUR — 比較、設計ガイダンス、コンプライアンス情報。

選定ガイド

Choose the ATMEGA640-16AUR when you need a 5 V, 16 MHz, 8-bit AVR microcontroller with 64 KB Flash, 8 KB SRAM, 4 KB EEPROM, 86 GPIO lines, and 16 ADC channels in a 100-pin TQFP package, with full Arduino Mega ecosystem support via MegaCore. It is the right fit for industrial controllers, HVAC and building automation, consumer appliances, and instrumentation front-ends that need many I/O and multiple serial channels. For designs that exceed 64 KB of Flash or require more code space, select the pin-compatible ATMEGA1280-16AUR (128 KB) or ATMEGA2560-16AUR (256 KB) instead - all three share the same TQFP-100 footprint. For lower-voltage or battery-powered designs, choose the ATMEGA640V-8AUR variant (2.7-5.5 V, 8 MHz). Avoid the ATmega1281/2561 64-pin family if you need more than 8 ADC channels or more than 54 GPIO lines, even though their Flash is larger.

代替品との比較

パラメータ この製品 ATMEGA640-16AU ATMEGA1280-16AUR ATMEGA2560-16AUR ATMEGA1281-16AUR ATMEGA2561-16AUR
Package 100-pin TQFP (14x14 mm) 100-pin TQFP (14x14 mm) - same 100-pin TQFP (14x14 mm) - same 100-pin TQFP (14x14 mm) - same 100-pin TQFP (14x14 mm) - same 100-pin TQFP (14x14 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash 64 KB 64 KB 128 KB 256 KB 128 KB 256 KB
SRAM 8 KB 8 KB 8 KB 8 KB 8 KB 8 KB
EEPROM 4 KB 4 KB 4 KB 4 KB 4 KB 4 KB
Maximum Clock 16 MHz 16 MHz 16 MHz 16 MHz 16 MHz 16 MHz
GPIO Lines 86 86 86 86 54 (64-pin family) 54 (64-pin family)
Operating Voltage 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V
ADC Channels 16 (10-bit) 16 (10-bit) 16 (10-bit) 16 (10-bit) 8 (10-bit) 8 (10-bit)
Packaging Tape & Reel (R suffix) Tray (no R suffix) Tape & Reel Tape & Reel Tape & Reel Tape & Reel

主な差別化要因

  • Balanced memory configuration vs smaller AVR family members (vs ATMEGA328P-AUR)
  • Compatible with Arduino Mega ecosystem and MegaCore package (vs ATMEGA164A-AU)
  • 100% forward-compatible upgrade path to ATMEGA2560-16AUR (vs ATMEGA2560-16AUR)
  • More ADC channels than 64-pin ATmega1281/2561 family (vs ATMEGA1281-16AUR)

設計ノート

The ATMEGA640-16AUR requires both a digital VCC (5 V, multiple pins 10/28/49/70/96) and an analog AVCC (5 V, pin 30). Per the Microchip ATmega640 datasheet, AVCC should be tied to VCC through a low-pass filter (typically a ferrite bead + 0.1 uF + 10 uF capacitor) and AREF should be bypassed with a 100 nF capacitor even when using the internal reference. Decoupling: place one 100 nF ceramic on each VCC pin pair (VCC+GND), with a bulk 10-47 uF tantalum or ceramic near the supply pin. AREF decoupling is critical for ADC noise performance - the 10-bit ADC is sensitive to high-frequency supply noise riding on AVCC.

Route the crystal traces (XTAL1 pin 99, XTAL2 pin 98) short and symmetric with guard ground on both sides; keep digital signal traces away from the crystal loop to minimize clock jitter. The 100-pin TQFP (14x14 mm body, 0.5 mm pitch) is hand-solderable but rework-prone - design a small SPI/ICSP footprint (2x3 pin, 0.1 inch header) for ISP programming via MOSI/MISO/SCK/RESK from PB0-PB3 and pin 100. The RESET pin (pin 100) should have a 10 kohm pull-up to VCC and a 100 nF capacitor to ground for debouncing; ensure in-circuit debugging tools do not interfere with this RC network.

Do not assume ISP programming works on a freshly powered board - the AVR fuses must be set correctly (typically default: internal RC oscillator, 16 MHz CKDIV8, JTAG enabled). If fuses are mis-set (e.g., external clock selected but no clock present), the device appears 'bricked' and requires a high-voltage parallel programmer (e.g., Microchip STK500 or Atmel-ICE with HV mode) to recover. Always place the ISP header on the PCB and verify SPI signals with an oscilloscope during prototype bring-up. Also note the 'A' suffix denotes 4.5-5.5 V operation; using 'V-8A' variant at 16 MHz will fail to function reliably above 3 V supply.

At industrial -40C to +85C operation, the TQFP-100 package provides adequate thermal dissipation for the typical 15-20 mA active current. However, when the device is driving many GPIO pins simultaneously (e.g., backplane drivers, LED matrix), total I/O current can reach 200-400 mA, raising junction temperature. Estimated: at 5 V VCC, 200 mA total I/O current = 1 W dissipation, theta_JA ~50 C/W for TQFP-100 on 4-layer PCB -> 50C rise above ambient; within industrial range but with minimal margin. For high-I/O applications, distribute loads across multiple VCC/GND pin pairs to minimize ground bounce.

コンプライアンス情報

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
鉛フリー
Yes
ハロゲンフリー
Unknown
紛争鉱物
Compliant

RoHS compliant per Microchip product page. The ATMEGA640-16AUR is the industrial-temperature (-40C to +85C) variant, but it is NOT AEC-Q100 qualified for automotive applications - choose ATMEGA640-16MUR or AEC-Q100-qualified ATmega equivalent for automotive designs. Lead-free (Pb-free) reflow profile per JEDEC J-STD-020.

データ検証日: 2026-10-07 — データはXAIPARTの部品エンジニアリングチームによって検証・管理されています

関連検索

ATMEGA640-16AUR ATMEGA640-16AUR datasheet Microchip ATMEGA640-16AUR ATmega640 64KB Flash 16MHz TQFP-100 ATmega640 Arduino Mega compatible ATMEGA640 vs ATMEGA1280 vs ATMEGA2560 ATMEGA640-16AUR buy price stock ATmega640 drop-in replacement TQFP-100 ATMEGA640-16AUR pinout 100-pin TQFP 8-bit AVR microcontroller 5V 16MHz 86 GPIO ATmega640 industrial control HVAC what is the operating voltage of ATMEGA640-16AUR

関連部品&用語

Microchip Technology ATMEGA640-16AUR ATMEGA640-16AU ATMEGA1280-16AUR ATMEGA2560-16AUR ATMEGA1281-16AUR ATMEGA2561-16AUR 8-bit AVR microcontroller RISC architecture Harvard architecture TQFP-100 TQFP package surface mount RoHS JEDEC J-STD-020 AEC-Q100 Arduino Mega MegaCore in-system programming (ISP) ICSP 10-bit ADC USART SPI TWI I2C JTAG
クイック見積RFQ
詳細をすべてご記入ください — 営業チームが24時間以内にご返信いたします
部品番号 メーカー パッケージ QTY 目標価格 小計
合計: $0.00 USD
✓
見積を送信しました!

24時間以内にメールでご返信いたします

1
RFQ送信済み
2
見積受領
3
注文済み
4
お支払い
5
発送済み
6
配達済み
RFQの詳細を表示