ATMEGA168PA-AUR - 8-bit AVR MCU 20MHz 16KB Flash TQFP-32 | Microchip
料号: ATMEGA168PA-AUR ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $2.58 | $2.58 |
| 10 | $2.33 | $23.30 |
| 100 | $2.16 | $216.00 |
| 500 | $1.98 | $990.00 |
| 1,000 | $1.85 | $1,850.00 |
ATMEGA168PA-AUR 概述
An 8-bit AVR microcontroller is a single-chip computer built around an advanced RISC architecture; in the wider system hierarchy it belongs to the MCU category under Integrated Circuits, sitting above discrete logic but below 32-bit application processors. ATmega-family MCUs execute most instructions in a single clock cycle and integrate program memory, data memory, and peripherals on one die, making them a mainstay of embedded control.
Key features include the picoPower technology suite for microamp-level sleep currents, 23 general-purpose I/O lines, 32 general-purpose working registers, and three flexible timer/counters with compare modes. Peripherals include a serial programmable USART, a byte-oriented Two-Wire (I2C-compatible) interface, an SPI serial port, a 10-bit ADC with 8 single-ended channels (6 differential with programmable gain), and an internal calibrated RC oscillator, eliminating the need for an external crystal in many designs.
Technically, the ATmega168PA combines 131 mostly single-cycle instructions with hardware multipliers, four power-saving modes (idle, ADC noise reduction, power-save, and power-down), brown-out detection, an on-chip debug interface, and in-system programmability via SPI. The PA variant extends the supply range down to 1.8 V with picoPower refinements over the original ATmega168, allowing direct operation from two alkaline cells or a single Li-ion cell with a regulator.
Typical applications include battery-powered sensor nodes, industrial control panels, HVAC and appliance control, and Arduino-compatible hobby and prototyping boards (the Arduino Nano platform classically uses this 32-TQFP footprint).
For design, remember that maximum clock frequency scales with supply voltage: 20 MHz requires 4.5-5.5 V, while operation at 1.8 V limits the safe clock to roughly 4 MHz per the datasheet frequency-voltage curve.
This page synthesizes distributor pricing, verified drop-in alternatives, a complete TQFP-32 pinout, and practical design notes not consolidated in the manufacturer datasheet.
直接替换替代料: ATMEGA168PA-AUR ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: ATMEGA168PA-AUR (相同外形与封装尺寸) ——差异在于 Package, ADC Resolution, EEPROM, Communication Interfaces, SRAM.
快速对比工具——选择替代料号进行并排对比:
ATMEGA168A-AUR
✅ 直接替换✓ 有现货
$1.45 / 个
查看数据手册 →ATMEGA168P-20AU
✅ 直接替换✓ 有现货
$2.91 / 个
查看数据手册 →ATMEGA168-20AUR
✅ 直接替换✓ 有现货
$2.76 / 个
查看数据手册 →ATMEGA168PA-ANR
✅ 直接替换✓ 有现货
$1.44 / 个
查看数据手册 →ATMEGA328P-AUR
✅ 直接替换✓ 有现货
$2.18 / 个
查看数据手册 →ATMEGA88PA-AUR
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$0.82 / 个
查看数据手册 →ATMEGA168PA-AUR 最大额定值与电气特性
| Core Processor | AVR 8-bit RISC |
| Core Size | 8-Bit |
| 最大时钟频率 | 20 MHz |
| Flash Memory Size | 16 KB (8K x 16) |
| SRAM Size | 1 KB |
| EEPROM Size | 512 B |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Number of I/O | 23 |
| Timers/Counters | 3 (two 8-bit, one 16-bit) |
| ADC Resolution | 10 bit, 8 channels (6 differential) |
| Communication Interfaces | USART, SPI, I2C (Two-Wire) |
| 工作温度 | -40C to +85C |
| 封装 | 32-TQFP (7 x 7 mm) |
| 安装类型 | Surface Mount |
| Packaging | Tape & Reel |
| RoHS 状态 | Compliant |
| Low Power Technology | picoPower |
| Internal Oscillator | Calibrated RC, 0.128 MHz to 8 MHz |
ATMEGA168PA-AUR 引脚配置
| 引脚 1 | PD3 — Port D bit 3 (INT1 / OC2B / PCINT19) |
| 引脚 2 | PD4 — Port D bit 4 (XCK / T0 / PCINT20) |
| 引脚 3 | GND — Ground |
| 引脚 4 | VCC — Digital supply voltage |
| 引脚 5 | GND — Ground |
| 引脚 6 | VCC — Digital supply voltage |
| 引脚 7 | PB6 — Port B bit 6 (XTAL1 / TOSC1 / PCINT6) |
| 引脚 8 | PB7 — Port B bit 7 (XTAL2 / TOSC2 / PCINT7) |
| 引脚 9 | PD5 — Port D bit 5 (T1 / OC0B / PCINT21) |
| 引脚 10 | PD6 — Port D bit 6 (AIN0 / OC0A / PCINT22) |
| 引脚 11 | PD7 — Port D bit 7 (AIN1 / PCINT23) |
| 引脚 12 | PB0 — Port B bit 0 (ICP1 / CLKO / PCINT0) |
| 引脚 13 | PB1 — Port B bit 1 (OC1A / PCINT1) |
| 引脚 14 | PB2 — Port B bit 2 (SS / OC1B / PCINT2) |
| 引脚 15 | PB3 — Port B bit 3 (MOSI / OC2A / PCINT3) |
| 引脚 16 | PB4 — Port B bit 4 (MISO / PCINT4) |
| 引脚 17 | PB5 — Port B bit 5 (SCK / PCINT5) |
| 引脚 18 | AVCC — Analog supply voltage for ADC |
| 引脚 19 | ADC6 — Analog input channel 6 |
| 引脚 20 | AREF — Analog reference voltage for ADC |
| 引脚 21 | GND — Ground |
| 引脚 22 | ADC7 — Analog input channel 7 |
| 引脚 23 | PC0 — Port C bit 0 (ADC8 / PCINT8) |
| 引脚 24 | PC1 — Port C bit 1 (ADC9 / PCINT9) |
| 引脚 25 | PC2 — Port C bit 2 (ADC10 / PCINT10) |
| 引脚 26 | PC3 — Port C bit 3 (ADC11 / PCINT11) |
| 引脚 27 | PC4 — Port C bit 4 (ADC12 / SDA / PCINT12) |
| 引脚 28 | PC5 — Port C bit 5 (ADC13 / SCL / PCINT13) |
| 引脚 29 | PC6 — RESET (active-low reset input) |
| 引脚 30 | PD0 — Port D bit 0 (RXD / PCINT16) |
| 引脚 31 | PD1 — Port D bit 1 (TXD / PCINT17) |
| 引脚 32 | PD2 — Port D bit 2 (INT0 / PCINT18) |
典型应用
ATMEGA168PA-AUR 适用于 6 应用s: Battery-Powered Sensor Nodes, Industrial Control Panels, HVAC and Appliance Control, Arduino-Compatible Prototyping Boards, Remote Controls and Handheld Devices, LED Lighting and Dimming Control.
Battery-Powered Sensor Nodes
The ATMEGA168PA-AUR fits battery-powered sensor nodes because its picoPower technology delivers microamp-level power-down sleep current and operation from 1.8 V, allowing direct use of two alkaline cells without a boost converter. A typical node wakes via pin-change interrupt on an accelerometer, samples with the internal 10-bit ADC or an external SPI sensor, and transmits over USART or RF - all handled by on-chip peripherals while the CPU sleeps. Spending 99% of the duty cycle in power-down at roughly 1 uA versus several mA active current extends coin-cell or AA-battery life from weeks to years. The internal 8 MHz RC oscillator also removes the quiescent cost of an external crystal in low-precision timing roles.
推荐
Industrial Control Panels
In industrial control panels, the ATMEGA168PA-AUR provides deterministic 8-bit control across the -40C to +85C industrial temperature range, with brown-out detection and a watchdog timer protecting against supply disturbances common on factory floors. Its 23 GPIO lines with internal pull-ups drive relays, contactors, and status LEDs directly, while the USART connects to Modbus RTU links and the I2C bus reads rotary encoders or EEPROM parameter stores. The 10-bit ADC supervises analog setpoints and supply rails with six differential channels. Running at 16 MHz from a 5 V industrial rail leaves voltage headroom within the 20 MHz/5.5 V envelope, and in-system programming via SPI allows field firmware updates without desoldering the MCU.
推荐
HVAC and Appliance Control
Home appliances and HVAC controllers benefit from the ATMEGA168PA-AUR's combination of cost (under $2.60 in single units), 16 KB of code space for state machines and menu-driven UIs, and robust on-chip peripherals. Three timer/counters generate phase-correct PWM for fan speed control and heater tripper control, the ADC reads NTC thermistors through differential channels, and the Two-Wire interface manages user-interface expanders. The 1 KB SRAM comfortably supports multi-language display buffers on character LCDs. picoPower sleep modes let standby appliances meet energy-star style quiescent budgets, dropping to microamps between button presses while retaining RAM state for instant resume.
推荐
Arduino-Compatible Prototyping Boards
The ATMEGA168PA-AUR is the classic engine of Arduino-class prototyping boards such as the Arduino Nano, which use this exact 32-TQFP footprint. Full toolchain support - Arduino IDE, AVR-GCC, avrdude, and ISP programming over SPI (MOSI/MISO/SCK/RESET) - makes firmware development immediate, and the identical footprint to the ATMEGA328P-AUR lets a single PCB accept either part, upgrading to 32 KB Flash by reflow alone. The 20 MHz core executes most AVR instructions in one cycle, the hardware USART bridges to USB-serial bridges for sketch upload and debugging, and 23 GPIO with PWM and analog inputs cover shields, sensors, and actuators typical of maker projects.
推荐
Remote Controls and Handheld Devices
Handheld and remote-control products exploit the ATMEGA168PA-AUR's lowest-power profile: pin-change interrupts wake the device on any of the 23 GPIO lines, so a keypress brings the MCU out of power-down in microseconds while total standby drain stays near 1 uA. A single CR2032 cell (3 V) sits comfortably inside the 1.8-5.5 V supply range, driving the internal 1 MHz or 8 MHz oscillator without a crystal. The ADC reads battery voltage for low-battery indication, IR emitters are driven by timer PWM for precise 38 kHz carrier generation, and the 512 B EEPROM stores paired-device IDs across battery changes.
推荐
LED Lighting and Dimming Control
The ATMEGA168PA-AUR generates precise LED dimming control using its three timer/counters: the 16-bit Timer1 produces phase- and frequency-correct PWM at up to 16-bit resolution, eliminating visible flicker at low dimming levels, while Timer0/Timer2 drive secondary channels or fan cooling. The 10-bit ADC monitors potentiometer or 0-10 V dimmer inputs and current-sense resistors for closed-loop brightness regulation. picoPower sleep modes support occupancy-sensing luminaires that must meet near-zero standby draw, waking on PIR sensor interrupts in microseconds. With 16 KB of Flash, DMX512 receivers or DALI slave stacks fit alongside the dimming engine, all in a sub-$2.60 TQFP-32 device.
推荐
推荐产品汇总
工程参考数据: ATMEGA168PA-AUR ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | ATMEGA168A-AUR | ATMEGA168P-20AU | ATMEGA168-20AUR | ATMEGA328P-AUR | ATMEGA88PA-AUR |
|---|---|---|---|---|---|---|
| Package | 32-TQFP (7 x 7 mm) | 32-TQFP (7 x 7 mm) - same | 32-TQFP (7 x 7 mm) - same | 32-TQFP (7 x 7 mm) - same | 32-TQFP (7 x 7 mm) - same | 32-TQFP (7 x 7 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 16 KB | 16 KB | 32 KB (+100%) | 8 KB (-50%) |
| SRAM | 1 KB | 1 KB | 1 KB | 1 KB | 2 KB (+100%) | 512 B (-50%) |
| EEPROM | 512 B | 512 B | 512 B | 512 B | 1 KB (+100%) | 512 B |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| RoHS Compliance | Compliant | Compliant | Compliant | Compliant | Compliant | Compliant |
关键差异点
- picoPower technology with 1.8 V minimum supply (对比 ATMEGA168A-AUR)
- Cost-neutral memory upgrade path (对比 ATMEGA328P-AUR)
- Active picoPower generation vs legacy silicon (对比 ATMEGA168-20AUR)
- Memory headroom over smaller family members (对比 ATMEGA88PA-AUR)
设计说明
Respect the frequency-voltage derating curve: 20 MHz operation is only valid at 4.5-5.5 V; at 3.3 V the safe maximum is approximately 13.3 MHz (commonly run at 8-12 MHz with a crystal), and at 1.8 V only about 4 MHz. Exceeding the curve can cause corrupted execution. For battery designs, use the internal calibrated RC oscillator (1 MHz or 8 MHz) when precision timing is not required, and enable the brown-out detector at a threshold below your minimum valid supply so the MCU halts cleanly as the battery discharges.
Place 100 nF ceramic decoupling capacitors directly at VCC (pins 4 and 6) and AVCC (pin 18) with short returns to the adjacent GND pins (3, 5, 21). AVCC must be connected to VCC even if the ADC is unused - tie it through a low-pass LC filter (10 uH + 10 uF) when ADC noise matters. AREF requires a 100 nF capacitor to GND; never leave it floating when the internal reference is selected. RESET (pin 29) should have a 10 kohm pull-up; enable the SPI programming pins (PB3-PB5) routing so an ISP header remains accessible.
Fuse-bit misconfiguration is the most common field failure: disabling the external reset or setting an invalid clock source can brick the part, requiring a 12 V high-voltage parallel programmer for recovery. Verify fuses with an online calculator before burning. Also note debugWIRE shares the RESET pin - disabling DWEN via ISP is a one-way operation until HV programming is used. When migrating code from ATMEGA88PA, check that flash-resident string tables fit; the linker will silently place them in RAM otherwise, exhausting the 1 KB SRAM.
Estimated: in power-down mode with watchdog disabled, the datasheet lists sleep current in the sub-uA range for the picoPower PA variant. For a 3 V CR2032 (approx. 220 mAh) application waking 100 times per hour for 2 ms of active work at 3 mA, average current is approximately 1.7 uA sleep plus ~0.17 uA active duty contribution, giving over 5 years theoretical battery life. Confirm exact figures against the current datasheet, as picoPower specifications vary by voltage and fuse settings.
合规信息
RoHS compliant per DigiKey and LCSC listings; the -AUR suffix denotes the RoHS-compliant TQFP tape-and-reel configuration. REACH, halogen-free, and conflict-minerals status not stated in provided data.