ATMEGA329P-20ANR - 8-bit AVR MCU 32KB Flash 20MHz 64-TQFP | Microchip
N.º da peça: ATMEGA329P-20ANR ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $6.67 | $6,67 |
| 10 | $6 | $60,00 |
| 100 | $5.34 | $534,00 |
| 500 | $4.8 | $2.400,00 |
| 1.000 | $4.3 | $4.300,00 |
ATMEGA329P-20ANR Visão geral
An 8-bit AVR microcontroller (AVR MCU) is a RISC-based Harvard-architecture CMOS device optimised for deterministic single-cycle instruction execution. The ATMEGA329P belongs to the megaAVR family and sits inside the broader 8-bit microcontroller -> microcontroller IC -> integrated circuit hierarchy. The picoPower technology used in this family allows active and sleep current to drop dramatically, making the part suitable for line-powered or battery-backed industrial designs that must wake on interrupt.
Key features include 32 KB Flash with read-while-write capability, 1 KB EEPROM with 100k erase/write endurance, 2 KB SRAM, JTAG debug interface, two 8-bit timer/counters, one 16-bit timer/counter, 8-channel 10-bit ADC, programmable USART, master/slave SPI, TWI (I2C-compatible), internal calibrated RC oscillator, and six software-selectable power-saving modes. The part operates from 1.8 V to 5.5 V across -40 C to +105 C industrial temperature.
The architecture combines an advanced RISC core (131 instructions, most single-cycle) with a non-volatile memory subsystem and event system peripherals. The 64-pin TQFP provides enough I/O for human-machine interfaces, LCD control and parallel bus peripherals, while the 32 KB Flash is sufficient for USB HID class stacks, Modbus RTU slaves and graphical LCD drivers.
Typical applications include industrial control panels, white goods and HVAC user interfaces, metering and sensor front-ends, battery-powered data loggers, USB HID peripherals and small graphics LCD controllers. The wide 1.8-5.5 V supply range allows direct connection to a single Li-ion cell or a regulated 3.3 V / 5 V rail.
When designing with this device, allocate the ICSP/SPD signals on dedicated PCB test points so production programmers can reach the chip without removing surrounding passives. Decouple VCC with a 100 nF ceramic close to each power pin and add a bulk 10 uF at the supply input.
This page synthesises distributor pricing, drop-in alternatives, and design notes that go beyond the manufacturer datasheet to help engineers choose and source the part quickly.
Alternativas drop-in para ATMEGA329P-20ANR — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com ATMEGA329P-20ANR (mesmo formato e footprint) — diferindo em Operating Temperature, Package, ADC, RoHS Status, Timers/Counters.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
ATMEGA329P-20AN
✅ Drop-In✓ Em estoque
$2.95 / unidade
Ver ficha técnica →ATMEGA329P-20AUR
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATMEGA329P-20AU
✅ Drop-In✓ Em estoque
$4.71 / unidade
Ver ficha técnica →ATMEGA325P-20AUR
✅ Drop-In✓ Em estoque
$4.11 / unidade
Ver ficha técnica →ATMEGA329A-MUR
✅ Drop-In✓ Em estoque
$3.61 / unidade
Ver ficha técnica →ATMEGA329P-20ANR Classificações máximas e características elétricas
| Core Architecture | AVR 8-bit RISC |
| Program Memory Type | Flash (In-System Programmable) |
| Program Memory Size | 32 KB (16K x 16) |
| SRAM Size | 2 KB |
| EEPROM Size | 1 KB |
| Maximum CPU Speed | 20 MHz |
| MIPS Throughput | 16 MIPS (up to 20 MHz) |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Faixa de temperatura de operação | -40 C to +105 C |
| Number of I/O Pins | 54 |
| Number of General-Purpose Registers | 32 |
| ADC | 8-channel, 10-bit |
| Timers/Counters | Two 8-bit, One 16-bit |
| Communication Interfaces | USART, SPI (Master/Slave), TWI (I2C) |
| Debug Interface | JTAG |
| Encapsulamento | 64-TQFP (14x14 mm) |
| Tipo de montagem | Surface Mount |
| Lead-Free / RoHS | Compliant |
Configuração de pinos do ATMEGA329P-20ANR
| Pino 1 | VCC — Supply voltage |
| Pino 2 | GND — Ground |
| Pino 3 | XTAL1 — Crystal oscillator input |
| Pino 4 | XTAL2 — Crystal oscillator output |
| Pino 5 | RESET — Reset input, active low |
| Pino 6 | VCC — Supply voltage (digital) |
| Pino 7 | GND — Ground (digital) |
| Pino 8 | PD0 — Port D bit 0 / I/O |
| Pino 9 | PD1 — Port D bit 1 / I/O |
| Pino 10 | PD2 — Port D bit 2 / I/O |
| Pino 11 | PD3 — Port D bit 3 / I/O |
| Pino 12 | PD4 — Port D bit 4 / I/O |
| Pino 13 | PD5 — Port D bit 5 / I/O |
| Pino 14 | PD6 — Port D bit 6 / I/O |
| Pino 15 | PD7 — Port D bit 7 / I/O |
| Pino 16 | AVCC — Analog supply voltage |
| Pino 17 | AGND — Analog ground |
| Pino 18 | AREF — ADC reference voltage |
| Pino 19 | PA0 — Port A bit 0 / ADC0 |
| Pino 20 | PA1 — Port A bit 1 / ADC1 |
| Pino 21 | PA2 — Port A bit 2 / ADC2 |
| Pino 22 | PA3 — Port A bit 3 / ADC3 |
| Pino 23 | PA4 — Port A bit 4 / ADC4 |
| Pino 24 | PA5 — Port A bit 5 / ADC5 |
| Pino 25 | PA6 — Port A bit 6 / ADC6 |
| Pino 26 | PA7 — Port A bit 7 / ADC7 |
| Pino 27 | PC0 — Port C bit 0 / I/O |
| Pino 28 | PC1 — Port C bit 1 / I/O |
| Pino 29 | PC2 — Port C bit 2 / I/O |
| Pino 30 | PC3 — Port C bit 3 / I/O |
| Pino 31 | PC4 — Port C bit 4 / I/O |
| Pino 32 | PC5 — Port C bit 5 / I/O |
| Pino 33 | PC6 — Port C bit 6 / I/O |
| Pino 34 | PC7 — Port C bit 7 / I/O |
| Pino 35 | PB0 — Port B bit 0 / I/O |
| Pino 36 | PB1 — Port B bit 1 / I/O |
| Pino 37 | PB2 — Port B bit 2 / I/O |
| Pino 38 | PB3 — Port B bit 3 / I/O |
| Pino 39 | PB4 — Port B bit 4 / I/O |
| Pino 40 | PB5 — Port B bit 5 / I/O |
| Pino 41 | PB6 — Port B bit 6 / I/O |
| Pino 42 | PB7 — Port B bit 7 / I/O |
| Pino 43 | PE0 — Port E bit 0 / I/O |
| Pino 44 | PE1 — Port E bit 1 / I/O |
| Pino 45 | PE2 — Port E bit 2 / I/O |
| Pino 46 | PE3 — Port E bit 3 / I/O |
| Pino 47 | PE4 — Port E bit 4 / I/O |
| Pino 48 | PE5 — Port E bit 5 / I/O |
| Pino 49 | PE6 — Port E bit 6 / I/O |
| Pino 50 | PE7 — Port E bit 7 / I/O |
| Pino 51 | PF0 — Port F bit 0 / I/O |
| Pino 52 | PF1 — Port F bit 1 / I/O |
| Pino 53 | PF2 — Port F bit 2 / I/O |
| Pino 54 | PF3 — Port F bit 3 / I/O |
| Pino 55 | PF4 — Port F bit 4 / I/O |
| Pino 56 | PF5 — Port F bit 5 / I/O |
| Pino 57 | PF6 — Port F bit 6 / I/O |
| Pino 58 | PF7 — Port F bit 7 / I/O |
| Pino 59 | TDI — JTAG Test Data In |
| Pino 60 | TDO — JTAG Test Data Out |
| Pino 61 | TMS — JTAG Test Mode Select |
| Pino 62 | TCK — JTAG Test Clock |
| Pino 63 | VCC — Supply voltage |
| Pino 64 | GND — Ground |
Aplicações típicas
ATMEGA329P-20ANR é adequado para 6 aplicaçãos: Industrial Control Panels, White Goods and HVAC User Interfaces, Battery-Powered Data Loggers, USB HID Peripherals, Smart Metering Front-Ends, Small Graphics LCD Controllers.
Industrial Control Panels
The ATMEGA329P-20ANR fits industrial control panels thanks to its 54 GPIO, 8-channel 10-bit ADC and 32 KB Flash. The MCU directly drives keypads, LED indicators, relays and segmented displays while sampling analog signals such as temperature, pressure or 4-20 mA sensors. Its 20 MHz clock gives enough headroom for Modbus RTU slaves and PID loops, and the -40 C to +105 C temperature rating supports factory-floor enclosures. Recommended companion MPNs: ATMEGA329-16AU for lower-speed designs, ATMEGA329A-MUR for non-picoPower variants.
Recomendado
White Goods and HVAC User Interfaces
In washing machines, dishwashers, refrigerators and HVAC thermostats, the ATMEGA329P-20ANR handles user I/O, sensor scanning and small graphic LCD or TFT panels. Its 2 KB SRAM holds touch/keypad buffers, 1 KB EEPROM stores user preferences, and the USART links to a wireless module or main controller. picoPower sleep modes let the appliance idle under 1 uA when idle, critical for ENERGY STAR ratings. Recommended companion MPNs: ATMEGA328P-MU for Bluetooth/Wi-Fi gateway co-MCUs, ATMEGA328PB-AU for richer peripheral set.
Recomendado
Battery-Powered Data Loggers
The ATMEGA329P-20ANR excels in portable data loggers where low-power sleep, 1 KB EEPROM, and 20 MHz CPU bursts matter. The MCU wakes on RTC or external interrupt, samples sensors via the ADC, compresses data into RAM, then writes batches into EEPROM or external SPI Flash before returning to sleep. With picoPower idle modes, typical quiescent draw is under 1 uA, allowing years of operation from a single CR2032 cell. Recommended companion MPNs: ATMEGA325A-MU for 16 KB Flash cost-down variant, ATMEGA325P-20MU for industrial temperature grade.
Recomendado
USB HID Peripherals
Using the on-chip USART and external USB-serial bridges, the ATMEGA329P-20ANR implements USB HID devices such as barcode scanners, custom keypads, or test instruments. 32 KB Flash holds USB stacks (LUFA/Atmel USB) and application logic, 2 KB SRAM supports HID reports, and JTAG simplifies firmware development. The wide 1.8-5.5 V supply enables single Li-ion or USB-bus powered designs. Recommended companion MPNs: ATMEGA328PB-MU for native USB variant, ATMEGA328P-PU for DIP-package development board.
Recomendado
Smart Metering Front-Ends
In electricity, gas or water meter designs, the ATMEGA329P-20ANR samples current/voltage sensors through its 10-bit ADC, performs RMS and power calculations, drives the metrology front-end, and exposes data via USART/SPI/TWI to a wireless modem. The 32 KB Flash holds DLMS/COSEM or Modbus stacks, the 1 KB EEPROM stores calibration coefficients, and the 105 C temperature rating suits outdoor meter enclosures. Recommended companion MPNs: ATMEGA329-16AUR for low-cost meter variants, ATMEGA325P-20AUR for smaller-code meter firmware.
Recomendado
Small Graphics LCD Controllers
With 32 KB Flash and 2 KB SRAM, the ATMEGA329P-20ANR can drive small graphical LCDs (128x64 monochrome or 320x240 colour via external controller) and render icons, fonts and animations. The 54 GPIO are sufficient to interface parallel LCDs, SPI/TWI for smaller OLED/TFT displays, and ADC channels for resistive touch sensing. Its 20 MHz core handles refresh, font lookup and UI state without DMA. Recommended companion MPNs: ATMEGA3290V-8AUR for high-voltage LCD drivers, ATMEGA3290PA-AU for picoPower LCD controllers.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para ATMEGA329P-20ANR — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | ATMEGA329P-20AN | ATMEGA329P-20AUR | ATMEGA329P-20AU | ATMEGA325P-20AU | ATMEGA329A-MUR |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | TQFP-64 (14x14 mm) | TQFP-64 (14x14 mm) - same | TQFP-64 (14x14 mm) - same | TQFP-64 (14x14 mm) - same | TQFP-64 (14x14 mm) - same | TQFP-64 (14x14 mm) - same |
| Flash Size | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB | 32 KB |
| SRAM Size | 2 KB | 2 KB | 2 KB | 2 KB | 2 KB | 2 KB |
| EEPROM Size | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| Max CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Temperature | -40 C to +105 C | -40 C to +105 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
| Supply Voltage Range | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| picoPower Technology | Yes | Yes | Yes | Yes | Yes | No (ATmega329A non-picoPower) |
Principais diferenciais
- Industrial temperature rating to +105 C (vs ATMEGA329P-20AUR)
- 32 KB Flash with read-while-write support (vs ATMEGA325P-20AU)
- picoPower technology for sub-microamp sleep (vs ATMEGA329A-MUR)
Notas de projeto
Place a 100 nF X7R decoupling capacitor as close as possible to each ATMEGA329P-20ANR VCC pin (pins 1, 6, 63) and one to AVCC (pin 16), plus a single 10 uF bulk capacitor at the supply entry point. This arrangement meets the AVR's transient-current demands when the CPU wakes from sleep and peripherals start simultaneously, and keeps digital switching noise from corrupting ADC readings on AVCC.
Route the JTAG signals (TDI, TDO, TMS, TCK on pins 59-62) with short, parallel traces kept clear of switching lines and routed with a continuous ground reference. Keep the crystal traces (XTAL1/2) short and symmetric, surrounded by a ground pour and isolated from noisy signals like PWM outputs or relay drivers. Use a 4-layer PCB with a solid ground plane to minimise EMI and ensure JTAG debug stability.
Do not leave the RESET pin (pin 5) floating. Tie it to VCC through a 10 kohm pull-up and add a 100 nF capacitor to ground for noise filtering. Leaving RESET floating makes the MCU vulnerable to spurious resets from capacitive coupling. Also remember to disable the JTAG fuse if you repurpose pins 59-62 as GPIO, since enabling JTAG takes over those pins even when no debugger is attached.
The ATMEGA329P-20ANR is rated up to +105 C junction temperature. In enclosed industrial enclosures with limited airflow, estimate: Pdiss = VCC x ICC_active, where ICC_active is approximately 10 mA at 20 MHz with all peripherals on. From VCC=5 V this yields 50 mW per device, well within the TQFP-64 theta_JA of around 50 C/W, giving a junction rise of only 2.5 C above ambient. No heatsink is required.
Informações de conformidade
RoHS and lead-free compliant per Microchip product page. AEC-Q100 not qualified - choose ATmega automotive-grade parts for vehicle applications. Halogen-free status not explicitly stated in the verified web data.