Skip to main content

We use cookies to understand how you use our site and improve your experience. See our Privacy Policy.

ATMEGA168PA

8-bit Microcontroller

The ATMEGA168PA is a 8-bit microcontroller from Microchip Technology. View the full ATMEGA168PA datasheet below including key specifications, electrical characteristics, absolute maximum ratings.

Official ATMEGA168PA datasheet (PDF) — the source this page was extracted from.

ATMEGA168PA Key Specifications

ParameterValue
ConnectivityI2C, SPI, UART/USART
Core ProcessorAVR
Core Size8-Bit
Data ConvertersA/D 8x10b
DigiKey ProgrammableVerified
EEPROM Size512 x 8
Mounting TypeSurface Mount
Number of I/O23
Operating Temperature-40°C ~ 85°C (TA)
Oscillator TypeInternal
Package / Case32-TQFP
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
Flash Memory Size16KB (8K x 16)
Program Memory TypeFLASH
RAM Size1K x 8 B
Clock Speed20MHz
Supplier Device Package32-TQFP (7x7)
Supply Voltage1.8V ~ 5.5V

ATMEGA168PA Overview

Part: ATmega168PA-AU — Microchip (Atmel)

Type: 8-bit AVR Microcontroller

Description: Low-power 8-bit AVR RISC microcontroller with 16 KB Flash, 512 B EEPROM and 1 KB SRAM, running at up to 20 MHz (20 MIPS) from a 1.8–5.5 V supply.

Operating Conditions:

  • Supply voltage: 1.8–5.5 V
  • Operating temperature: -40 to 85 °C
  • Speed grade: 0–4 MHz @ 1.8–5.5 V, 0–10 MHz @ 2.7–5.5 V, 0–20 MHz @ 4.5–5.5 V

Absolute Maximum Ratings:

  • Max operating voltage: 6.0 V
  • Voltage on any pin except RESET: -0.5 V to VCC + 0.5 V
  • Voltage on RESET: -0.5 V to +13.0 V
  • DC current per I/O pin: 40.0 mA
  • DC current VCC and GND pins: 200.0 mA
  • Storage temperature: -65 to +150 °C

Key Specs:

  • Flash/EEPROM/SRAM (ATmega168PA): 16 KB / 512 B / 1 KB
  • Throughput: up to 20 MIPS at 20 MHz
  • 131 instructions, most single-cycle; 32 × 8 general-purpose registers
  • Active mode current: 0.2 mA (1 MHz, 1.8 V, 25 °C)
  • Power-down current: 0.1 μA (1 MHz, 1.8 V, 25 °C)
  • Power-save current: 0.75 μA, including 32 kHz RTC (1 MHz, 1.8 V, 25 °C)
  • 23 programmable I/O lines
  • Endurance: 10,000 Flash / 100,000 EEPROM write/erase cycles
  • 10-bit ADC: 8 channels in TQFP/VQFN packages, 6 channels in SPDIP

Features:

  • AVR enhanced RISC architecture with on-chip 2-cycle multiplier
  • In-system self-programmable Flash with true read-while-write operation
  • Optional boot code section with independent lock bits
  • QTouch library support, up to 64 sense channels
  • Two 8-bit timer/counters and one 16-bit timer/counter
  • Real-time counter with separate oscillator
  • Six PWM channels
  • USART, SPI, and I²C-compatible 2-wire interface
  • Programmable watchdog timer with separate on-chip oscillator
  • Analog comparator and pin-change interrupts
  • Power-on reset and programmable brown-out detection
  • Internal calibrated oscillator
  • Six sleep modes
  • Data retention: 20 years at 85 °C / 100 years at 25 °C

Applications:

  • Low-power embedded control
  • Capacitive touch interfaces (buttons, sliders, wheels)

Package:

  • 28-pin SPDIP
  • 32-lead TQFP
  • 28-pad VQFN
  • 32-pad VQFN

ATMEGA168PA Features

  • ® 8-Bit Microcontroller Family
  • Advanced RISC Architecture

̶

  • 131 Powerful Instructions - Most Single Clock Cycle Execution

̶

  • 32 x 8 General Purpose Working Registers

̶

  • Up to 20 MIPS Throughput at 20MHz

̶

  • On-chip 2-cycle Multiplier
  • High Endurance Non-volatile Memory Segments

̶

  • 4/8/16/32KBytes of In-System Self-Programmable Flash program memory

̶

  • 256/512/512/1KBytes EEPROM

̶

  • 512/1K/1K/2KBytes Internal SRAM

̶

  • Write/Erase Cycles: 10,000 Flash/100,000 EEPROM

̶

  • Data retention: 20 years at 85°C/100 years at 25°C (1)

̶

  • Optional Boot Code Section with Independent Lock Bits
  • In-System Programming by On-chip Boot Program
  • True Read-While-Write Operation

̶

  • Programming Lock for Software Security
  • QTouch ® library support

̶

  • Capacitive touch buttons, sliders and wheels

̶

  • QTouch and QMatrix™ acquisition

̶

  • Up to 64 sense channels
  • Peripheral Features

̶

  • Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode

̶

  • One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode

̶

ATMEGA168PA Pin Configuration

Figure 1-1. Pinout ATmega48A/PA/88A/PA/168A/PA/328/P

ATMEGA168PA Electrical Characteristics

Table 29-1. ATmega48A DC characteristics - T A = -40 C to 85 C, V CC = 1.8V to 5.5V (unless otherwise noted)

SymbolParameterConditionMin.Typ. (2)Max.Units
I CCPower Supply Current (1)Active 1MHz, V CC = 2V0.20.55mA
I CCPower Supply Current (1)Active 4MHz, V CC = 3V1.23.5mA
I CCPower Supply Current (1)Active 8MHz, V CC = 5V4.012mA
I CCPower Supply Current (1)Idle 1MHz, V CC = 2V0.030.5mA
I CCPower Supply Current (1)Idle 4MHz, V CC = 3V0.211.5mA
I CCPower Supply Current (1)Idle 8MHz, V CC = 5V0.95.5mA
I CCPower-save mode (3)32kHz TOSC enabled, V CC = 1.8V0.75μA
I CCPower-save mode (3)32kHz TOSC enabled, V CC = 3V0.9μA
I CCPower-down mode (3)WDT enabled, V CC = 3V3.915μA
I CCPower-down mode (3)WDT disabled, V CC = 3V0.12μA

Notes:

  1. Values with 'Minimizing Power Consumption' enabled (0xFF).

  2. Typical values at 25 C.

  3. The current consumption values include input leakage current.

*NOTICE:

Stresses beyond those listed under 'Absolute Maximum Ratings' may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

ATMEGA168PA Absolute Maximum Ratings

Operating Temperature . . . . . . . . .. . -55 C to +125 C
Storage Temperature. . . . . . . . . . .. . -65°C to +150°C
Voltage on any Pin except RESET with respect to Ground . . . . . . . . ..-0.5V to V CC +0.5V
Voltage on RESET with respect to Ground-0.5V to +13.0VVoltage on RESET with respect to Ground-0.5V to +13.0V
Maximum Operating Voltage . . . . .. . . . . . . . . . . .6.0V
DC Current per I/O Pin . . . . . . . . .. . . . . . . . . 40.0mA
DC Current V CC and GND Pins. . .. . . . . . . . 200.0mA

ATMEGA168PA Package Information

Dimension LimitsUnits - Dimension LimitsMILLIMETERS - MINMILLIMETERS - NOMMILLIMETERS - MAX
Contact PitchE0.50 BSC
Optional Center Pad WidthX23.25
Optional Center Pad LengthY23.25
Contact Pad SpacingC14.90
Contact Pad SpacingC24.90
Contact Pad Width (X32)X10.30
Contact Pad Length (X32)Y10.85
Contact Pad to Center Pad (X32)G10.40
Contact Pad to Contact Pad (X28)G20.20
Thermal Via DiameterV0.33
Thermal Via PitchEV0.20

Variants on the same datasheet

These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.

Part NumberManufacturerPackage
ATMEGA168AMicrochip Technology—
ATMEGA168A-AUMicrochip TechnologyTQFP
ATMEGA168A-AURMicrochip TechnologyTQFP
ATMEGA168A-MMHMicrochip TechnologyVQFN
ATMEGA168A-MMHRMicrochip TechnologyVQFN
ATMEGA168A-MUMicrochip TechnologyQFN
ATMEGA168A-MURMicrochip TechnologyVQFN-32
ATMEGA168A-PUMicrochip TechnologyPDIP
ATMEGA168A/168PAMicrochip Technology—
ATMEGA168A/168PA/328/328PMicrochip Technology—
ATMEGA168PA-ANMicrochip TechnologyTQFP-32
ATMEGA168PA-ANRMicrochip TechnologyTQFP-32
ATMEGA168PA-AUMicrochip Technology32-TQFP
ATMEGA168PA-AURMicrochip TechnologyTQFP
ATMEGA168PA-MMHMicrochip TechnologyVQFN
ATMEGA168PA-MMHRMicrochip TechnologyVQFN
ATMEGA168PA-MNMicrochip TechnologyVQFN-32 5x5mm
ATMEGA168PA-MNRMicrochip TechnologyVQFN-32 5x5mm
ATMEGA168PA-MUMicrochip TechnologyQFN
ATMEGA168PA-MURMicrochip TechnologyVQFN-32 5x5mm
ATMEGA168PA-PNMicrochip TechnologySPDIP-28
ATMEGA168PA-PUMicrochip TechnologyPDIP
ATMEGA328Microchip Technology
ATmega328PMicrochip Technology32-lead TQFP
ATMEGA48AMicrochip Technology—
ATMEGA48A/PA/88A/PA/168A/PA/328/PMicrochip Technology—
ATMEGA48PAMicrochip Technology—
ATMEGA88AMicrochip Technology—
ATMEGA88PAMicrochip Technology—

Other Microcontrollers (MCU)

All Microcontrollers (MCU) datasheetsAll Microchip Technology datasheets (599)

Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Ask your AI agent about the ATMEGA168PA

Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.

claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp

Then ask: "Can the ATMEGA168PA run from my 12 V rail? Check it against the datasheet limits."

Create a free account $2 of usage every month, no card needed.