main
Ray Publish 0.1.0 88d9f7c 8h ago

ATMEGA168PB-AU

Microchip Tech · ATMEL & AVR · TQFP-32(7x7)

ATMEGA168PB-AU from Microchip Tech, in a TQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PD3 bidirectional Port D bit 3, an 8-bit bidirectional I/O pin with internal pull-up; alternate functions INT1, OC2B and PCINT19.
2 PD4 bidirectional Port D bit 4 bidirectional I/O with internal pull-up; alternate functions XCK (USART external clock), T0 and PCINT20.
3 GND power_in Ground.
4 VCC power_in Digital supply voltage, 1.8 to 5.5 V operating range.
5 PE0 bidirectional Port E bit 0 bidirectional I/O with internal pull-up; alternate function ACO (analog comparator output).
6 PE1 bidirectional Port E bit 1 bidirectional I/O with internal pull-up; no alternate function.
7 PB6 bidirectional Port B bit 6 I/O; alternate XTAL1/TOSC1 and PCINT6, serving as input to the inverting oscillator amplifier when used as a clock pin.
8 PB7 bidirectional Port B bit 7 I/O; alternate XTAL2/TOSC2 and PCINT7, serving as output from the inverting oscillator amplifier when used as a clock pin.
9 PD5 bidirectional Port D bit 5 bidirectional I/O with internal pull-up; alternate functions T1, OC0B and PCINT21.
10 PD6 bidirectional Port D bit 6 bidirectional I/O with internal pull-up; alternate functions AIN0 (analog comparator positive input), OC0A and PCINT22.
11 PD7 bidirectional Port D bit 7 bidirectional I/O with internal pull-up; alternate functions AIN1 (analog comparator negative input) and PCINT23.
12 PB0 bidirectional Port B bit 0 bidirectional I/O with internal pull-up; alternate functions ICP1 (Timer/Counter1 input capture), CLKO (divided system clock output) and PCINT0.
13 PB1 bidirectional Port B bit 1 bidirectional I/O with internal pull-up; alternate functions OC1A and PCINT1.
14 PB2 bidirectional Port B bit 2 bidirectional I/O with internal pull-up; alternate functions SS (SPI slave select), OC1B and PCINT2.
15 PB3 bidirectional Port B bit 3 bidirectional I/O with internal pull-up; alternate functions MOSI, OC2A and PCINT3.
16 PB4 bidirectional Port B bit 4 bidirectional I/O with internal pull-up; alternate functions MISO (SPI master input/slave output) and PCINT4.
17 PB5 bidirectional Port B bit 5 bidirectional I/O with internal pull-up; alternate functions SCK (SPI clock) and PCINT5.
18 AVCC power_in Supply voltage pin for the A/D converter, PC3:0 and PE3:2; it should be externally connected to VCC even if the ADC is not used.
19 PE2 bidirectional Port E bit 2 bidirectional I/O; also ADC input channel 6 powered from the analog supply.
20 AREF input Analog reference pin for the A/D converter.
21 GND power_in Ground.
22 PE3 bidirectional Port E bit 3 bidirectional I/O; also ADC input channel 7 powered from the analog supply.
23 PC0 bidirectional Port C bit 0 I/O; also ADC input channel 0 (analog power) and PCINT8.
24 PC1 bidirectional Port C bit 1 I/O; also ADC input channel 1 (analog power) and PCINT9.
25 PC2 bidirectional Port C bit 2 I/O; also ADC input channel 2 (analog power) and PCINT10.
26 PC3 bidirectional Port C bit 3 I/O; also ADC input channel 3 (analog power) and PCINT11.
27 PC4 bidirectional Port C bit 4 I/O; alternate functions SDA (2-wire serial data), ADC4 (digital power) and PCINT12.
28 PC5 bidirectional Port C bit 5 I/O; alternate functions SCL (2-wire serial clock), ADC5 (digital power) and PCINT13.
29 PC6 input Port C bit 6; when the RSTDISBL fuse is unprogrammed it is the active-low Reset input, and a low level longer than the minimum pulse length generates a Reset.
30 PD0 bidirectional Port D bit 0 bidirectional I/O with internal pull-up; alternate functions RXD (USART receive data) and PCINT16.
31 PD1 bidirectional Port D bit 1 bidirectional I/O with internal pull-up; alternate functions TXD (USART transmit data) and PCINT17.
32 PD2 bidirectional Port D bit 2 bidirectional I/O with internal pull-up; alternate functions INT0 and PCINT18.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package TQFP-32(7x7)
Category Embedded Processors & Controllers
Pins 32

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Operating Temperature -55 125 °C 309
Storage Temperature -65 150 °C 309
Voltage on any pin except RESET with respect to Ground (max VCC+0.5) -0.5 V 309
Voltage on RESET with respect to Ground -0.5 13 V 309
Maximum Operating Voltage 6 V 309
DC Current per I/O Pin 40 mA 309
DC Current VCC and GND Pins 200 mA 309
Supply voltage operating range VCC 1.8 5.5 V 309
Operating temperature, industrial grade (ATmega168PB-AU) -40 85 °C Industrial (-40C to 85C) 382
Input Low Voltage, except XTAL1 and RESET pin (max 0.2VCC) VIL -0.5 V VCC = 1.8V - 2.4V 309
Input Low Voltage, except XTAL1 and RESET pin (max 0.3VCC) VIL -0.5 V VCC = 2.4V - 5.5V 309
Input Low Voltage, XTAL1 pin (max 0.1VCC) VIL1 -0.5 V VCC = 1.8V - 5.5V 309
Input Low Voltage, RESET pin (max 0.1VCC) VIL2 -0.5 V VCC = 1.8V - 5.5V 309
Input Low Voltage, RESET pin as I/O (max 0.2VCC) VIL3 -0.5 V VCC = 1.8V - 2.4V 309
Input Low Voltage, RESET pin as I/O (max 0.3VCC) VIL3 -0.5 V VCC = 2.4V - 5.5V 309
Output Low Voltage, except RESET pin VOL 0.9 V IOL = 20mA, VCC = 5V, TA=85C 309
Output Low Voltage, except RESET pin VOL 0.6 V IOL = 10mA, VCC = 3V, TA=85C 309
Output High Voltage, except Reset pin VOH 4 V IOH = -20mA, VCC = 5V, TA=85C 310
Output High Voltage, except Reset pin VOH 2.1 V IOH = -10mA, VCC = 3V, TA=85C 310
Input Leakage Current I/O Pin (absolute value) IIL 1 µA VCC = 5.5V, pin low 310
Reset Pull-up Resistor RRST 30 60 kΩ 310
I/O Pin Pull-up Resistor RPU 20 50 kΩ 310
Analog Comparator Input Offset Voltage VACIO 40 mV VCC = 1.8-5V, 0V<Vin < VCC-0.1V 310
Analog Comparator Input Leakage Current IACLK -50 50 nA VCC = 5V, Vin = VCC/2 310
Power Supply Current, Active 1MHz ICC 0.35 0.5 mA Active 1MHz, VCC = 2V, T = 85°C 312
Power Supply Current, Active 4MHz ICC 0.9 2.5 mA Active 4MHz, VCC = 3V, T = 85°C 312
Power Supply Current, Active 8MHz ICC 5 9 mA Active 8MHz, VCC = 5V, T = 85°C 312
Power Supply Current, Idle 1MHz ICC 0.06 0.15 mA Idle 1MHz, VCC = 2V, T = 85°C 312
Power Supply Current, Idle 4MHz ICC 0.37 0.7 mA Idle 4MHz, VCC = 3V, T = 85°C 312
Power Supply Current, Idle 8MHz ICC 1.4 2.7 mA Idle 8MHz, VCC = 5V, T = 85°C 312
Power-down mode supply current, WDT enabled ICC 2.43 8 µA Power-down mode, WDT enabled, VCC = 3V, T = 85°C 312
Power-down mode supply current, WDT disabled ICC 0.21 2 µA Power-down mode, WDT disabled, VCC = 3V, T = 85°C 312
Power-on Reset Threshold Voltage (rising) VPOT 1.1 1.5 1.7 V 315
Power-on Reset Threshold Voltage (falling) VPOT 0.6 1 1.7 V 315
Power-on Slope Rate SRON 0.01 9 V/ms 315
Minimum pulse width on RESET Pin tRST 2.5 µs 315
Bandgap reference voltage VBG 1 1.1 1.2 V VCC=2.7, TA=25°C 315
Bandgap reference start-up time tBG 40 70 µs VCC=2.7, TA=25°C 315
BOD threshold VBOT, BODLEVEL 2:0 = 110 VBOT 1.7 1.8 2 V BODLEVEL 2:0 Fuses = 110 315
BOD threshold VBOT, BODLEVEL 2:0 = 101 VBOT 2.5 2.7 2.9 V BODLEVEL 2:0 Fuses = 101 315
BOD threshold VBOT, BODLEVEL 2:0 = 100 VBOT 4.1 4.3 4.5 V BODLEVEL 2:0 Fuses = 100 315
Calibrated internal RC oscillator accuracy, factory calibration -2 2 % 8.0MHz, VCC 2.7V-4.2V, 0C to +50C 314
Calibrated internal RC oscillator accuracy, factory calibration -3.5 3.5 % 8.0MHz, VCC 1.8V-5.5V, 0C to +70C 314
Calibrated internal RC oscillator accuracy, factory calibration -5 5 % 8.0MHz, VCC 1.8V-5.5V, -40C to +105C 314
Calibrated internal RC oscillator accuracy, user calibration -1 1 % 7.3-8.1MHz, VCC 1.8V-5.5V, -40C to - 85C 314
Oscillator frequency (external clock) 1/tCLCL 0 4 MHz VCC = 1.8 - 5.5V 314
Oscillator frequency (external clock) 1/tCLCL 0 10 MHz VCC = 2.7 - 5.5V 314
Oscillator frequency (external clock) 1/tCLCL 0 20 MHz VCC = 4.5 - 5.5V 314
Clock period (external clock) tCLCL 250 ns VCC = 1.8 - 5.5V 314
Clock period (external clock) tCLCL 100 ns VCC = 2.7 - 5.5V 314
Clock period (external clock) tCLCL 50 ns VCC = 4.5 - 5.5V 314
ADC conversion time 13 260 µs Free Running Conversion 320
ADC clock frequency 50 1000 kHz 320
Internal voltage reference VINT 1 1.1 1.2 V 320
ADC reference voltage VREF (max AVCC) VREF 1 V 320

CAD (KiCad official)

  • Symbol: ATMEGA168PB-AU
  • Footprint: Package_QFP:TQFP-32_7x7mm_P0.8mm
  • 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
  • 3D model files: atmega168pb-au-etched.step / atmega168pb-au-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); atmega168pb-au.step / atmega168pb-au.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (395 pp, sha256 fd779f826965254e, retrieved 2026-11-04, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF