ATMEGA168PB-AUR - 16KB AVR MCU 20MHz TQFP-32 | Microchip
MPN: ATMEGA168PB-AUR ✓ Hoạt độngATMEGA168PB-AUR Tóm tắt
An AVR microcontroller is a single-chip computer built on the enhanced RISC architecture originally developed by Atmel (now Microchip). It executes most instructions in a single clock cycle, achieving throughput approaching 1 MIPS per MHz, which lets designers trade processing speed against power consumption. Within the product taxonomy, the ATmega168PB sits at microcontroller -> 8-bit MCU -> embedded processor -> semiconductor IC, and it is the mid-memory member of the pin-compatible ATmega48PB/88PB/168PB trio.
Key features include 16 KB of self-programmable flash with read-while-write capability, 512 bytes of EEPROM for non-volatile parameter storage, 1 KB of SRAM, 32 general-purpose working registers, and three flexible timer/counters with compare modes. The device integrates Core Independent Peripherals (CIPs) and picoPower technology, enabling true 1.8 V operation and extremely low sleep currents for battery-powered designs.
The ATmega168PB architecture pairs the AVR core with a rich peripheral set: USART with wake-up on start-of-frame, SPI, TWI (I2C), a 10-bit ADC, internal and external interrupts, and a calibrated RC oscillator. The 'PB' generation adds the Peripheral Touch Controller (PTC) and improved serial communication features over the earlier 'PA' generation, while retaining the same TQFP-32 footprint.
Typical applications include Arduino-compatible development boards, industrial sensor nodes, battery-powered IoT endpoints, motor control front-ends, and consumer white goods. The 1.8 V to 5.5 V supply range allows direct operation from single-cell Li-Ion or 3xAA battery packs without an intermediate regulator.
When designing with this device, decouple every VCC pin with a 100 nF ceramic capacitor placed within a few millimeters of the pin, and keep the AVCC filter inductor away from high-current switching nodes. The reset pin should be pulled high through 10 kOhm and protected with a 100 nF capacitor to ground.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a single reference for selection, replacement, and layout decisions.
Bộ thay thế dễ dàng lắp đặt cho ATMEGA168PB-AUR — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với ATMEGA168PB-AUR (cùng hình factor và footprint) — khác nhau ở Working Registers, Throughput, Package, EEPROM, SRAM.
ATMEGA168PB-AU
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATMEGA88PB-AU
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATMEGA48PB-AU
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
ATMEGA168PA-AU
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATMEGA168PA-ANR
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATMEGA168A-AUR
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATMEGA168PB-AUR Tỷ lệ tối đa & tính chất điện
| Core Processor | AVR 8-bit RISC |
| Program Memory Size | 16 KB (8K x 16) ISP Flash |
| EEPROM Size | 512 B |
| SRAM Size | 1 KB |
| Tần số xung maksimum | 20 MHz |
| Throughput | Approaching 1 MIPS per MHz |
| General Purpose I/O Lines | 27 |
| Working Registers | 32 general-purpose |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Nhiệt độ hoạt động | -40 C to +85 C |
| Hộp / Vỏ | 32-TQFP (7x7 mm) |
| Kiểu lắp đặt | Surface Mount |
| ADC Resolution | 10-bit |
| Timer/Counters | Three flexible timer/counters with compare modes |
| Communication Interfaces | USART, SPI, TWI (I2C) |
| Packaging | Tape & Reel (AUR suffix) |
| Trạng thái RoHS | Compliant (Pb-free, Halide-free, fully Green) |
| Series | AVR ATmega, Functional Safety (FuSa) |
Cấu hình chân ATMEGA168PB-AUR
| Chân 1 | PD3 — Port D, bit 3 (also INT1, OC2B, USART1 TXD) |
| Chân 2 | PD4 — Port D, bit 4 (also T0, XCK1, PCINT20) |
| Chân 3 | GND — Ground |
| Chân 4 | VCC — Digital supply voltage |
| Chân 5 | GND — Ground |
| Chân 6 | VCC — Digital supply voltage |
| Chân 7 | PB6 — Port B, bit 6 (also XTAL1/TOSC1, PCINT6) |
| Chân 8 | PB7 — Port B, bit 7 (also XTAL2/TOSC2, PCINT7) |
| Chân 9 | PD5 — Port D, bit 5 (also OC0B, T1, USART1 TXD) |
| Chân 10 | PD6 — Port D, bit 6 (also OC0A, AIN0, USART1 RXD) |
| Chân 11 | PD7 — Port D, bit 7 (also AIN1, PCINT23) |
| Chân 12 | PB0 — Port B, bit 0 (also ICP1, CLKO, PCINT0) |
| Chân 13 | PB1 — Port B, bit 1 (also OC1A, PCINT1) |
| Chân 14 | PB2 — Port B, bit 2 (also OC1B, PCINT2) |
| Chân 15 | PB3 — Port B, bit 3 (also OC2A, MOSI, PCINT3) |
| Chân 16 | PB4 — Port B, bit 4 (also MISO, PCINT4) |
| Chân 17 | PB5 — Port B, bit 5 (also SCK, PCINT5) |
| Chân 18 | AVCC — Analog supply voltage for ADC |
| Chân 19 | ADC6 — Analog-to-digital converter input 6 |
| Chân 20 | AREF — Analog reference voltage for ADC |
| Chân 21 | GND — Ground |
| Chân 22 | ADC7 — Analog-to-digital converter input 7 |
| Chân 23 | PC0 — Port C, bit 0 (also ADC0, PCINT8) |
| Chân 24 | PC1 — Port C, bit 1 (also ADC1, PCINT9) |
| Chân 25 | PC2 — Port C, bit 2 (also ADC2, PCINT10) |
| Chân 26 | PC3 — Port C, bit 3 (also ADC3, PCINT11) |
| Chân 27 | PC4 — Port C, bit 4 (also ADC4, SDA, PCINT12) |
| Chân 28 | PC5 — Port C, bit 5 (also ADC5, SCL, PCINT13) |
| Chân 29 | PC6 — Port C, bit 6 (also RESET, PCINT14) |
| Chân 30 | PD0 — Port D, bit 0 (also RXD, PCINT16) |
| Chân 31 | PD1 — Port D, bit 1 (also TXD, PCINT17) |
| Chân 32 | PD2 — Port D, bit 2 (also INT0, PCINT18) |
Ứng dụng tiêu biểu
ATMEGA168PB-AUR phù hợp cho 6 Áp dụngs: Arduino-Compatible Development Boards, Battery-Powered IoT Sensor Nodes, Industrial Sensor and Control Nodes, Consumer White Goods and Appliances, Motor Control Front-Ends, Capacitive Touch User Interfaces.
Arduino-Compatible Development Boards
The ATMEGA168PB-AUR is an ideal host MCU for Arduino-compatible development boards because its 16 KB flash and 1 KB SRAM comfortably fit the Arduino bootloader plus typical sketches, while the 20 MHz maximum clock preserves standard Arduino timing. The 32-pin TQFP footprint matches the classic ATmega168/328 board layout, so existing shield ecosystems remain compatible. The device is supported by the MiniCore Arduino hardware package, which covers ATmega8 through ATmega328PB. Placed as the main controller with a 16 MHz crystal on XTAL1/XTAL2 and a 100 nF decoupling capacitor on each VCC pin, it delivers deterministic 1 MIPS/MHz execution. The trade-off versus the ATmega328PB is reduced flash, so sketches using large libraries may need optimization.
Được đề xuất
Battery-Powered IoT Sensor Nodes
The ATMEGA168PB-AUR fits battery-powered IoT sensor nodes because its picoPower technology supports true 1.8 V operation with very low sleep currents, and the 1.8 V to 5.5 V supply range allows direct connection to a single-cell Li-Ion battery without an intermediate regulator. In a typical node, the MCU wakes from power-down on a timer or external interrupt, samples a sensor through the 10-bit ADC, and transmits via USART or SPI before returning to sleep. The 512 B EEPROM stores calibration coefficients and network credentials without external memory. The trade-off is that 1 KB SRAM limits large data buffers, so designs should stream samples rather than batch them. Decouple AVCC with a 100 nF capacitor and a 10 uH inductor for clean ADC readings.
Được đề xuất
Industrial Sensor and Control Nodes
The ATMEGA168PB-AUR suits industrial sensor and control nodes because its -40 C to +85 C operating range and 5 V-tolerant I/O interface directly with industrial sensors and 24 V field wiring through optocouplers. The three flexible timer/counters with compare modes generate precise PWM for valve or heater control, while the USART with wake-up on start-of-frame supports Modbus-style multidrop networks. The 27 GPIO lines provide ample headroom for status LEDs, relays, and DIP switches. In a typical node, the MCU runs a 10 ms control loop, reads analog inputs through the 10-bit ADC, and drives outputs via the timer PWM channels. The trade-off versus a 32-bit MCU is lower math throughput, so complex control algorithms should be simplified.
Được đề xuất
Consumer White Goods and Appliances
The ATMEGA168PB-AUR is well suited to consumer white goods such as washing machines, dishwashers, and microwave ovens because the 16 KB flash holds appliance control firmware, the 512 B EEPROM stores user settings across power cycles, and the 27 GPIO lines drive relays, triacs, and seven-segment displays. The Peripheral Touch Controller enables capacitive touch button panels without external touch ICs, reducing BOM cost. Operating from a 5 V rail, the device interfaces directly with triac drivers and buzzer circuits. In a typical design, the MCU runs a state machine that sequences motor, heater, and valve outputs while monitoring door and water-level sensors. The trade-off is that 1 KB SRAM limits complex UI state, so display logic should be kept simple.
Được đề xuất
Motor Control Front-Ends
The ATMEGA168PB-AUR serves as a motor control front-end because its three flexible timer/counters with compare modes generate complementary PWM waveforms for H-bridge and three-phase inverter gate drivers, while the 10-bit ADC samples current-shunt and back-EMF signals for closed-loop commutation. The 20 MHz clock provides adequate loop bandwidth for brushed DC and low-pole-count BLDC motors. In a typical design, the MCU runs a 20 kHz PWM carrier with ADC sampling synchronized to the PWM trough to minimize switching noise, and the USART reports speed and fault status to a host controller. The trade-off versus a dedicated motor-control MCU is the absence of hardware dead-time insertion, so external gate drivers with built-in dead time are recommended.
Được đề xuất
Capacitive Touch User Interfaces
The ATMEGA168PB-AUR is an excellent choice for capacitive touch user interfaces because the PB generation integrates a Peripheral Touch Controller (PTC) that supports mutual-capacitance and self-capacitance sensing without external touch controller ICs. The PTC handles up to 27 channels, matching the device's GPIO count, and works through glass or plastic overlays up to several millimeters thick. In a typical design, the MCU scans touch electrodes during idle time, filters the signal in firmware, and drives LEDs or relays in response, all while maintaining a low average current for battery operation. The trade-off is that touch sensitivity depends on PCB layout, so electrode traces should be kept short and away from switching nodes. The 16 KB flash accommodates touch library plus application code.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho ATMEGA168PB-AUR — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | ATMEGA168PB-AU | ATMEGA88PB-AU | ATMEGA48PB-AU | ATMEGA168PA-AU |
|---|---|---|---|---|---|
| Package | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) - same | 32-TQFP (7x7 mm) - same | 32-TQFP (7x7 mm) - same | 32-TQFP (7x7 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB (8K x 16) | 16 KB | 8 KB | 4 KB | 16 KB |
| SRAM | 1 KB | 1 KB | 512 B | 512 B | 1 KB |
| EEPROM | 512 B | 512 B | 512 B | 256 B | 512 B |
| Maximum Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Supply Voltage | 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 |
| GPIO Lines | 27 | 27 | 27 | 27 | 27 |
| Peripheral Touch Controller | Yes (PB generation) | Yes | Yes | Yes | No |
| Packaging | Tape & Reel (AUR) | Tray | Tray | Tray | Tray |
Bảo phân biệt quan trọng
- PB-generation Core Independent Peripherals and PTC (vsATMEGA168PA-AU)
- Double the flash and SRAM of the ATMEGA88PB-AU (vsATMEGA88PB-AU)
- Quadruple the flash of the ATMEGA48PB-AU (vsATMEGA48PB-AU)
- Tape-and-reel packaging for automated assembly (vsATMEGA168PB-AU)
Ghi chú thiết kế
Decouple every VCC pin (pins 4 and 6) with a 100 nF ceramic capacitor placed within a few millimeters of the pin, and add a 10 uF bulk capacitor near the package. For the analog supply, connect AVCC (pin 18) through a 10 uH inductor or ferrite bead from VCC and decouple with 100 nF to GND. AREF (pin 20) should be decoupled with 100 nF to GND when using the internal reference, or driven from a low-impedance external reference for ratiometric ADC measurements.
Keep the crystal or resonator connected to XTAL1 (pin 7) and XTAL2 (pin 8) as close to the MCU as possible, with load capacitors sized per the crystal datasheet (typically 12-22 pF) and a solid ground plane beneath. Route crystal traces away from switching nodes and GPIO toggling at high frequency. The RESET pin (PC6, pin 29) should be pulled high through 10 kOhm to VCC and protected with a 100 nF capacitor to GND for noise immunity.
Do not leave the AVCC pin unconnected or share its decoupling with digital VCC without filtering, as this degrades ADC accuracy. When migrating from the ATmega168PA to the ATmega168PB, verify pin function changes per the Microchip migration document, since the PB generation introduces alternate pin configurations. Also confirm that the ISP programming header uses the correct SCK, MISO, and MOSI pins (PB5, PB4, PB3) and that the reset line is not loaded by external circuitry during programming.
Estimated: The ATMEGA168PB-AUR in TQFP-32 has a typical thermal resistance (theta_JA) of approximately 60-80 C/W depending on PCB copper area. At 5.5 V and 10 mA core current, power dissipation is about 55 mW, giving a junction rise of roughly 3-4 C above ambient - well within the -40 C to +85 C operating range. No heatsinking is required for normal operation; ensure adequate copper pour on the ground pins for thermal relief.
Thông tin tuân thủ
Microchip documentation states Pb-free packaging complies with the European RoHS directive and is Halide-free and fully Green. AEC-Q100 qualification is not stated for this part; the ATMEGA168PB-AUR is an industrial-grade device rated -40 C to +85 C.