Model No: ATMEGA168PB-AU

Microchip Technology ATMEGA168PB-AU

Manufacturer: Microchip Technology
SEMICON NO.: ATMEGA168PB-AU
Package: 32‑TQFP
Stock: In stock
Description: AVR ATmega MCU 8‑bit 20 MHz
Quantity :
Contact Now
 
 Mfr       Microchip Technology
 Device Type    8‑bit Microcontroller (MCU)
 Core Processor      AVR
 Core Size       8‑Bit
  Maximum CPU Speed     20 MHz
 Program Memory (Flash)     16 KB (8K × 16) 
 SRAM      1 KB (1K × 8)
 EEPROM       512 B (512 × 8)
 Analog‑to‑Digital Converter     8‑channel, 10‑bit ADC
 ADC Channels   8
 ADC Resolution     10‑bit
  Analog Comparator     Yes    
 General‑Purpose I/O Pins     27    
 Operating Voltage   1.8 V to 5.5 V
 Operating Temperature -40°C to +85°C
 Package 32‑TQFP
 Mounting Type
 Surface Mount
 Compliance    
 RoHS Compliant
 
The ATMEGA168PB-AU is a low-power, 8-bit AVR RISC-based microcontroller from Microchip Technology, combining 16KB in-system programmable Flash, 512B EEPROM, and 1KB SRAM in a compact 32-lead TQFP surface-mount package. Operating from 1.8V to 5.5V at speeds up to 20MHz (delivering up to 20 MIPS throughput), it integrates 23-27 general-purpose I/O lines, 32 general-purpose working registers, a flexible timer-counter suite with PWM, an 8-channel 10-bit ADC, and multiple communication interfaces including USART, SPI (two), and I²C (TWI), all supported by the picoPower® technology for extreme power efficiency across the extended industrial temperature range.
Key Features & Benefits
● High-Performance AVR RISC Architecture: 131 powerful instructions with mostly single-cycle execution and 32 general-purpose working registers enable up to 20 MIPS throughput at 20MHz.
● Non-Volatile Memory Integration: 16KB ISP Flash with read-while-write capability, 512B EEPROM, and 1KB SRAM provide ample, persistent code and data storage in a single chip.
● Rich Peripheral Set: Includes two 8-bit and one 16-bit timer/counters with six PWM channels, an 8-channel 10-bit ADC, and a programmable watchdog timer for robust, multi-functional system control.
● Multiple Communication Interfaces: Features one USART, two SPI ports, and two I²C (TWI) interfaces supporting both master and slave operation for flexible connectivity with external sensors, memories, and other controllers.
● In-System Programming (ISP) and DebugWIRE: Supports convenient programming and on-chip debugging via a single-wire interface, simplifying development and field updates.
Frequently Asked Questions
Q: Is the ATmega168PB pin-compatible with the ATmega168PA? 
A: While sharing the same TQFP-32 package, the PB version introduces a few minor pin function changes and alternate pin configurations; designers must verify pinout mappings per the migration document before drop-in replacement.
Q: What debugging interfaces are available? 
A:It supports debugWIRE for single-wire, low-cost on-chip debugging, and JTAG-based programming via third-party tools, though full JTAG debugging is not implemented on this device family
Recommended Alternative AVR microcontrollers
● ATmega328PB — The higher-memory sibling with 32KB Flash and 2KB SRAM, plus an additional 16-bit timer and four USARTs, ideal for projects needing more code space and connectivity.
● ATtiny1616 — A modern, compact AVR-1-series alternative offering 16KB Flash, 2KB SRAM, and a Configurable Custom Logic (CCL) block in a smaller 20-pin package.
● PIC16F18446 — A Microchip PIC alternative with 16KB Flash, 2KB RAM, and integrated 8-bit ADC with computation, suited for designers standardized on the PIC ecosystem.