ATMEGA168PB-AU - 8-Bit AVR MCU, 20MHz, 16KB Flash | Microchip
Артикул: ATMEGA168PB-AU ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $1.74 | $1,74 |
| 10 | $1.6 | $16,00 |
| 100 | $1.45 | $145,00 |
| 500 | $1.35 | $675,00 |
| 1.000 | $1.27 | $1.270,00 |
ATMEGA168PB-AU Обзор
An 8-bit AVR microcontroller is a single-chip computer built on the AVR enhanced RISC architecture, in which most instructions execute in a single clock cycle. As a member of the broader microcontroller hierarchy (MCU -> embedded processor -> semiconductor device), it integrates flash program memory, SRAM data memory, EEPROM non-volatile storage, peripherals, and a CPU core in one package, replacing multi-chip solutions in cost- and power-sensitive embedded systems.
Key differentiating features include 16 KB of self-programmable ISP flash with read-while-write capability, two 8-bit and one 16-bit timer/counters, a 10-bit ADC, and the picoPower technology that minimizes consumption in sleep modes. The 27 general-purpose I/O lines and 32 general-purpose working registers support efficient C-compiler code generation.
The AVR Harvard architecture accesses program and data memory simultaneously, achieving near 1 MIPS/MHz efficiency. Six sleep modes, an on-chip debug interface, and in-system programming via SPI round out the system-level feature set, while the PB variant refines the pin configuration relative to earlier ATmega48/88/168 versions (see Microchip application note AT06609).
Typical applications include industrial control and automation nodes, consumer appliances, battery-powered portable instruments, and hobby/education platforms such as Arduino-compatible boards. The wide 1.8V to 5.5V operating range fits both lithium-cell and 5V industrial rails.
Design consideration: verify pin mappings against AT06609 when migrating from ATmega168PA/168A layouts, and plan ISP header access for in-system firmware updates.
This page synthesizes distributor pricing, drop-in alternatives, pinout data, and migration guidance not found in the manufacturer datasheet.
Аналоги без доработки для ATMEGA168PB-AU — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с ATMEGA168PB-AU (тот же форм-фактор и посадочное место) — отличается по RoHS Status, Package, Flash Memory, Operating Temperature, Timers/Counters.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
ATMEGA168PA-AU
✅ Прямая замена ⚠️ Характеристики не проверены✓ В наличии
$0.98 / шт.
Открыть даташит →ATMEGA168P-20AU
✅ Прямая замена ⚠️ Характеристики не проверены✓ В наличии
$2.91 / шт.
Открыть даташит →ATMEGA168A-AU
✅ Прямая замена ⚠️ Характеристики не проверены✓ В наличии
$1.42 / шт.
Открыть даташит →ATMEGA168PA-MU
✅ Прямая замена✓ В наличии
$1.72 / шт.
Открыть даташит →ATMEGA168PB-AU Максимальные параметры и электрические характеристики
| Core Architecture | AVR 8-bit RISC |
| Максимальная тактовая частота | 20 MHz |
| Flash Memory | 16 KB (8K x 16) |
| EEPROM | 512 B |
| SRAM | 1 KB |
| General Purpose I/O | 27 lines |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Корпус | TQFP-32 (7x7 mm) |
| Тип монтажа | Surface Mount |
| Throughput | Up to 20 MIPS (approx. 1 MIPS per MHz) |
| ADC | 10-bit ADC |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Programming Interface | ISP (SPI), self-programmable flash |
| Sleep Modes | picoPower, 6 sleep modes |
| Working Registers | 32 general-purpose registers |
| Functional Safety | FuSa supported variant family |
| Статус RoHS | Compliant (RoHS, per LCSC listing) |
| ECCN | EAR99 |
Конфигурация выводов ATMEGA168PB-AU
| Контакт 1 | PC6/RESET — Port C bit 6 / Reset input |
| Контакт 2 | PD0/RXD — Port D bit 0 / USART receive |
| Контакт 3 | PD1/TXD — Port D bit 1 / USART transmit |
| Контакт 4 | PD2/INT0 — Port D bit 2 / External interrupt 0 |
| Контакт 5 | PD3/INT1/OC2B — Port D bit 3 / External interrupt 1 / Timer2 output compare B |
| Контакт 6 | PD4/T0/XCK — Port D bit 4 / Timer0 external clock / USART external clock |
| Контакт 7 | VCC — Digital supply voltage |
| Контакт 8 | GND — Ground |
| Контакт 9 | PB6/XTAL1/TOSC1 — Port B bit 6 / Crystal oscillator pin 1 |
| Контакт 10 | PB7/XTAL2/TOSC2 — Port B bit 7 / Crystal oscillator pin 2 |
| Контакт 11 | PD5/T1/OC0B — Port D bit 5 / Timer1 external clock / Timer0 output compare B |
| Контакт 12 | PD6/AIN0/OC0A — Port D bit 6 / Analog comparator positive input / Timer0 output compare A |
| Контакт 13 | PD7/AIN1 — Port D bit 7 / Analog comparator negative input |
| Контакт 14 | PB0/ICP1/CLKO — Port B bit 0 / Timer1 input capture / Clock output |
| Контакт 15 | PB1/OC1A — Port B bit 1 / Timer1 output compare A |
| Контакт 16 | PB2/SS/OC1B — Port B bit 2 / SPI slave select / Timer1 output compare B |
| Контакт 17 | PB3/MOSI/OC2A — Port B bit 3 / SPI master out / Timer2 output compare A |
| Контакт 18 | PB4/MISO — Port B bit 4 / SPI master in |
| Контакт 19 | PB5/SCK — Port B bit 5 / SPI clock |
| Контакт 20 | AVCC — ADC supply voltage |
| Контакт 21 | AREF — ADC analog reference |
| Контакт 22 | GND — Ground |
| Контакт 23 | PC0/ADC0 — Port C bit 0 / ADC channel 0 |
| Контакт 24 | PC1/ADC1 — Port C bit 1 / ADC channel 1 |
| Контакт 25 | PC2/ADC2 — Port C bit 2 / ADC channel 2 |
| Контакт 26 | PC3/ADC3 — Port C bit 3 / ADC channel 3 |
| Контакт 27 | PC4/ADC4/SDA — Port C bit 4 / ADC channel 4 / TWI data |
| Контакт 28 | PC5/ADC5/SCL — Port C bit 5 / ADC channel 5 / TWI clock |
| Контакт 29 | PC6/RESET* — Alternate reset / port function (per PB family pin map - verify against datasheet DS40001909B) |
| Контакт 30 | PD0* — Alternate port function (per PB family pin map - verify against datasheet DS40001909B) |
| Контакт 31 | PD1* — Alternate port function (per PB family pin map - verify against datasheet DS40001909B) |
| Контакт 32 | PD2* — Alternate port function (per PB family pin map - verify against datasheet DS40001909B) |
Типичное применение
ATMEGA168PB-AU подходит для 6 применениеs: Industrial Control and Automation Nodes, Battery-Powered Portable Instruments, Arduino-Compatible Education and Hobby Platforms, Consumer Appliance Control Boards, Sensor Interface and Data Acquisition Modules, IoT Edge Sensor Nodes.
Industrial Control and Automation Nodes
The ATMEGA168PB-AU suits industrial control nodes because its 20 MHz AVR core delivers up to 20 MIPS of deterministic single-cycle RISC execution, while the 27 GPIO lines and 10-bit ADC interface sensors, relays, and actuators directly. The 1.8V to 5.5V supply range tolerates unregulated industrial rails with a simple LDO front end, and the FuSa-supported family classification eases documentation for safety-relevant subsystems. In a typical node, the MCU polls sensors via the ADC and I2C/SPI peripherals, drives status outputs, and communicates over UART to a supervisory controller, with the 512 B EEPROM retaining calibration data across power cycles.
Рекомендуется
Battery-Powered Portable Instruments
picoPower technology makes the ATMEGA168PB-AU well suited to battery-operated meters and loggers: six sleep modes let designers cut quiescent draw to microamp levels between 20 MHz active bursts. Running from 2x AA cells (1.8V-3.0V end-of-life) or a single lithium coin cell, the wide 1.8V to 5.5V operating window eliminates boost converters in many designs. The 10-bit ADC samples analog front ends directly, while timer peripherals generate precision wake-up intervals. A typical handheld instrument spends most of its life in power-down sleep, waking on interrupt to sample, log to EEPROM or UART, and return to sleep, extending battery life from months to years.
Рекомендуется
Arduino-Compatible Education and Hobby Platforms
The ATMEGA168PB-AU is an economical engine for Arduino-compatible boards. It shares the ATmega328P's core architecture, so standard AVR toolchains and the community MiniCore package support it directly, and its 16 KB flash hosts most educational sketches. At roughly half the cost of a 328P, it reduces board BOM for classroom kits and maker products sold in volume. The TQFP-32 (7x7 mm) package suits compact board designs with the classic 2x3 ISP header for bootloader burning. Typical use cases include line-following robots, sensor shields, and IoT starter kits where 16 KB flash and 1 KB SRAM are sufficient headroom.
Рекомендуется
Consumer Appliance Control Boards
White-goods and small-appliance control boards benefit from the ATMEGA168PB-AU's cost-effective integration: one chip replaces discrete logic, timers, and analog comparators. The three timer/counters (two 8-bit, one 16-bit) generate PWM for motor speed control and heater phase-angle control, while the 10-bit ADC reads temperature sensors (NTC) and user potentiometers. The wide 1.8V-5.5V supply range simplifies mains-derived auxiliary supplies, and the 512 B EEPROM stores user settings and fault logs through power interruptions. The 20 MHz clock with single-cycle instructions gives responsive button handling and accurate timing without an external real-time chip in many designs.
Рекомендуется
Sensor Interface and Data Acquisition Modules
The ATMEGA168PB-AU functions as a compact DAQ front end: its 10-bit ADC with internal reference digitizes up to several kSPS from thermistors, potentiometers, and bridge sensors, while SPI and I2C masters interface external precision ADCs and digital sensors. The 1 KB SRAM buffers sample blocks for burst transfer over UART to a host, and hardware CRC-enhanced USART links keep serial data integrity high. Because flash is self-programmable with read-while-write, firmware can log calibration data into its own program region or support field updates via a UART bootloader, reducing service cost in installed sensor nodes deployed across a factory floor or building.
Рекомендуется
IoT Edge Sensor Nodes
For battery-powered IoT edge nodes, the ATMEGA168PB-AU acts as the ultra-low-power sensor controller paired with a radio module such as an ESP8266 or LoRa transceiver. The MCU sleeps in power-down mode between wake cycles, samples the environment with its 10-bit ADC or I2C sensors, and forwards packetized readings over UART to the radio, which handles the network stack. This division of labor lets the picoPower AVR run for months on primary cells while the radio draws current only during transmissions. The 27 GPIO lines manage interrupts, sensor power gating, and LED status, and the 512 B EEPROM stores device IDs and calibration constants.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для ATMEGA168PB-AU — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | ATMEGA168PA-AU | ATMEGA168P-20AU | ATMEGA168A-AU |
|---|---|---|---|---|
| Package | TQFP-32 (7x7) | TQFP-32 (7x7) - same | TQFP-32 (7x7) - same | TQFP-32 (7x7) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 16 KB | 16 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 1 KB |
| Maximum Clock | 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 |
| Pin Function Differences | Reference (PB die) | Minor changes vs PB (app note AT06609) | Earlier revision, verify AT06609 | Earlier revision, verify AT06609 |
Ключевые отличия
- Latest PB die revision with Functional Safety (FuSa) support (против ATMEGA168A-AU)
- picoPower low-sleep-current technology (против ATMEGA168P-20AU)
- Same footprint across all ATmega168 revisions enables layout reuse (против ATMEGA168PA-AU)
Заметки по проектированию
Connect AVCC (pin 20) to VCC through a low-pass RC network (e.g., 10 ohm + 100 nF) even when the ADC is unused - the datasheet requires AVCC within 0.3V of VCC for correct operation. Place a 100 nF ceramic decoupling capacitor directly across VCC (pin 7) and GND (pin 8), and another at AREF only if the internal reference or an external reference is used. Keep the crystal (PB6/PB7) traces short and guard them with ground pour for reliable 20 MHz operation.
When migrating from ATmega168PA/168A to the PB die, do not assume full pin-function identity: Microchip application note AT06609 documents alternate pin configurations and peripheral mapping changes. Verify every peripheral-to-pin assignment in your schematic and firmware pin definitions. Also note PC6/RESET must not be driven high above VCC tolerance; use a 10 k pull-up and optional external reset supervisor rather than hard-driving the pin.
Estimated: with a 5V supply at 20 MHz active mode, typical AVR active current is on the order of a few mA (per datasheet electrical characteristics), so an ATMEGA168PB-AU node dissipates roughly 15-25 mW - no thermal design is needed. For battery designs, exploit the six sleep modes: power-down sleep current is in the microamp class; wake on pin-change or watchdog interrupt and keep active bursts short to average consumption below 100 uA.
Reserve a standard 2x3 (0.1 inch) ISP header wired to PB3/MOSI, PB4/MISO, PB5/SCK, RESET, VCC, and GND. Keeping these traces short and away from switching-node sources (motor drivers, triac circuits) prevents both flashing failures and corruption during in-system programming. If using a UART bootloader instead, ensure the bootloader lock-bit region is sized to leave adequate application flash of the 16 KB total.
Информация о соответствии
RoHS compliant per LCSC listing (C194438); Mouser describes the package as 'TQFP GRN' (green/lead-free). REACH and conflict-minerals status not stated in provided data.