Specifications
| Attribute | Value |
| Package | Tray |
| Series | AVR® ATmega, Functional Safety (FuSa) |
| ProductStatus | Active |
| CoreProcessor | AVR |
| CoreSize | 8-Bit |
| Speed | 20MHz |
| Connectivity | I²C, SPI, UART/USART |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
| NumberofI/O | 27 |
| ProgramMemorySize | 16KB (8K x 16) |
| ProgramMemoryType | FLASH |
| EEPROMSize | 512 x 8 |
| RAMSize | 1K x 8 |
| Voltage-Supply(Vcc/Vdd) | 1.8V ~ 5.5V |
| DataConverters | A/D 8x10b |
| OscillatorType | Internal |
| OperatingTemperature | -40°C ~ 85°C (TA) |
| MountingType | Surface Mount |
| Package/Case | 32-TQFP |
Overview
Description
The ATmega168PB-AU is an enhanced 8-bit AVR microcontroller from Microchip, part of the ATmega family. It features:
- 16KB Flash, 1KB EEPROM, and 1KB SRAM for program and data storage.
- Up to 20MHz clock speed with 32 general-purpose I/O pins.
- Two USARTs, SPI, and I²C for serial communication.
- 10-bit ADC (8 channels), timers, PWM, and analog comparators.
- Low-power modes for energy-efficient applications.
Compared to the standard ATmega168, the PB variant adds:
- Independent PLL for USB (if used with an external clock).
- More peripherals, including an extra USART and enhanced timers.
It comes in a 32-pin TQFP (AU) package, making it suitable for embedded systems, IoT, and industrial control.
Key applications include sensor nodes, motor control, and consumer electronics.
For detailed specs, refer to the [datasheet](https://www.microchip.com).
- 16KB Flash, 1KB EEPROM, and 1KB SRAM for program and data storage.
- Up to 20MHz clock speed with 32 general-purpose I/O pins.
- Two USARTs, SPI, and I²C for serial communication.
- 10-bit ADC (8 channels), timers, PWM, and analog comparators.
- Low-power modes for energy-efficient applications.
Compared to the standard ATmega168, the PB variant adds:
- Independent PLL for USB (if used with an external clock).
- More peripherals, including an extra USART and enhanced timers.
It comes in a 32-pin TQFP (AU) package, making it suitable for embedded systems, IoT, and industrial control.
Key applications include sensor nodes, motor control, and consumer electronics.
For detailed specs, refer to the [datasheet](https://www.microchip.com).
Equivalent
Equivalent products to the ATMEGA168PB-AU include:
- ATMEGA168PA-AU (earlier version, lacks some features)
- ATMEGA328P-AU (higher memory, pin-compatible in some designs)
- ATMEGA88PB-AU (lower flash/RAM, similar features)
- ATTINY84A-SSU (smaller, fewer pins, but similar 8-bit AVR core)
For drop-in replacements, verify pin compatibility and feature requirements. Alternatives like STM8 or PIC16F may require code adaptation.
- ATMEGA168PA-AU (earlier version, lacks some features)
- ATMEGA328P-AU (higher memory, pin-compatible in some designs)
- ATMEGA88PB-AU (lower flash/RAM, similar features)
- ATTINY84A-SSU (smaller, fewer pins, but similar 8-bit AVR core)
For drop-in replacements, verify pin compatibility and feature requirements. Alternatives like STM8 or PIC16F may require code adaptation.
Features
The ATmega168PB-AU is an 8-bit AVR microcontroller with these key features:
- Core: 8-bit AVR, up to 20 MHz clock speed.
- Memory: 16 KB Flash, 1 KB EEPROM, 1 KB SRAM.
- I/O: 23 programmable GPIO pins.
- Timers: Three 8-bit timers, one 16-bit timer.
- PWM: Six PWM channels.
- ADC: 10-bit, 8-channel ADC.
- Communication:
- USART, SPI, I²C (TWI).
- LIN and IrDA support.
- Special Features:
- Power-on Reset (POR), Brown-out Detection (BOD).
- Watchdog Timer (WDT).
- PTC (Peripheral Touch Controller) for capacitive touch.
- Package: 32-pin TQFP (AU).
- Operating Voltage: 1.8V–5.5V.
Ideal for embedded control, IoT, and touch applications.
- Core: 8-bit AVR, up to 20 MHz clock speed.
- Memory: 16 KB Flash, 1 KB EEPROM, 1 KB SRAM.
- I/O: 23 programmable GPIO pins.
- Timers: Three 8-bit timers, one 16-bit timer.
- PWM: Six PWM channels.
- ADC: 10-bit, 8-channel ADC.
- Communication:
- USART, SPI, I²C (TWI).
- LIN and IrDA support.
- Special Features:
- Power-on Reset (POR), Brown-out Detection (BOD).
- Watchdog Timer (WDT).
- PTC (Peripheral Touch Controller) for capacitive touch.
- Package: 32-pin TQFP (AU).
- Operating Voltage: 1.8V–5.5V.
Ideal for embedded control, IoT, and touch applications.
Pinout
The ATMEGA168PB-AU is a 32-pin TQFP microcontroller from Microchip. Key features include:
- 32 pins (28 usable for I/O).
- 8-bit AVR architecture with 16KB Flash, 1KB EEPROM, and 1KB SRAM.
- Peripherals:
- 23 programmable I/O pins.
- 8-channel 10-bit ADC.
- 4 PWM channels.
- USART, SPI, and I²C interfaces.
- Two 8-bit and one 16-bit timer.
- Clock speed: Up to 20MHz.
- Operating voltage: 1.8V–5.5V.
Common applications include embedded control, IoT, and consumer electronics.
- 32 pins (28 usable for I/O).
- 8-bit AVR architecture with 16KB Flash, 1KB EEPROM, and 1KB SRAM.
- Peripherals:
- 23 programmable I/O pins.
- 8-channel 10-bit ADC.
- 4 PWM channels.
- USART, SPI, and I²C interfaces.
- Two 8-bit and one 16-bit timer.
- Clock speed: Up to 20MHz.
- Operating voltage: 1.8V–5.5V.
Common applications include embedded control, IoT, and consumer electronics.
Application
The ATmega168PB-AU is widely used in embedded systems due to its versatility, low power consumption, and robust peripherals. Key application areas include:
- Consumer Electronics (smart home devices, toys, remote controls)
- Industrial Automation (sensors, motor control, PLCs)
- Automotive Systems (dashboard controls, lighting, diagnostics)
- IoT & Wearables (sensor nodes, health monitors)
- Robotics (small-scale motor control, drones)
- DIY & Hobby Projects (Arduino-compatible boards, prototyping)
Its 8-bit AVR architecture, 16KB Flash, and integrated peripherals (ADC, PWM, USART) make it ideal for cost-sensitive, low-power embedded applications.
- Consumer Electronics (smart home devices, toys, remote controls)
- Industrial Automation (sensors, motor control, PLCs)
- Automotive Systems (dashboard controls, lighting, diagnostics)
- IoT & Wearables (sensor nodes, health monitors)
- Robotics (small-scale motor control, drones)
- DIY & Hobby Projects (Arduino-compatible boards, prototyping)
Its 8-bit AVR architecture, 16KB Flash, and integrated peripherals (ADC, PWM, USART) make it ideal for cost-sensitive, low-power embedded applications.
Package
The ATmega168PB-AU comes in a TQFP-32 package. This is a 32-pin Thin Quad Flat Package with a body size of 7x7mm and a 0.8mm pin pitch. It is surface-mountable, suitable for compact PCB designs, and supports industrial temperature ranges. The "AU" suffix indicates the lead-free (RoHS-compliant) version.