main
Ray Publish 0.1.0 98a24a7 13h ago

ATMEGA328PB-ANR

Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-32(7x7)

ATMEGA328PB-ANR 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 is an 8-bit bi-directional I/O pin with internal pull-up, also usable as INT1 and OC2B.
2 PD4 bidirectional Port D bit 4 is a bi-directional I/O pin with internal pull-up, also usable as T0 and XCK0.
3 PE0 bidirectional Port E bit 0 is a bi-directional I/O pin with internal pull-up, also usable as ICP4, SDA1 and ACO.
4 VCC power_in Digital supply voltage pin.
5 GND power_in Ground pin.
6 PE1 bidirectional Port E bit 1 is a bi-directional I/O pin with internal pull-up, also usable as T4 and SCL1.
7 PB6 input Port B bit 6 can be used as input to the inverting oscillator amplifier (XTAL1/TOSC1) depending on clock fuse settings.
8 PB7 output Port B bit 7 can be used as output from the inverting oscillator amplifier (XTAL2/TOSC2) depending on clock fuse settings.
9 PD5 bidirectional Port D bit 5 is a bi-directional I/O pin with internal pull-up, also usable as OC0B and T1.
10 PD6 bidirectional Port D bit 6 is a bi-directional I/O pin with internal pull-up, also usable as OC0A and analog comparator input AIN0.
11 PD7 bidirectional Port D bit 7 is a bi-directional I/O pin with internal pull-up, also usable as analog comparator input AIN1.
12 PB0 bidirectional Port B bit 0 is a bi-directional I/O pin with internal pull-up, also usable as ICP1 and CLKO.
13 PB1 bidirectional Port B bit 1 is a bi-directional I/O pin with internal pull-up, also usable as OC1A.
14 PB2 bidirectional Port B bit 2 is a bi-directional I/O pin with internal pull-up, also usable as OC1B and SS0.
15 PB3 bidirectional Port B bit 3 is a bi-directional I/O pin with internal pull-up, also usable as OC2A, TXD1 and MOSI0.
16 PB4 bidirectional Port B bit 4 is a bi-directional I/O pin with internal pull-up, also usable as RXD1 and MISO0.
17 PB5 bidirectional Port B bit 5 is a bi-directional I/O pin with internal pull-up, also usable as XCK1 and SCK0.
18 AVCC power_in Supply voltage pin for the A/D converter, PC[3:0] and PE[3:2]; it should be connected to VCC even if the ADC is not used.
19 PE2 bidirectional Port E bit 2 is a bi-directional I/O pin with internal pull-up, also usable as ADC6 analog input, ICP3 and SS1.
20 AREF passive Analog reference pin for the A/D converter.
21 GND power_in Ground pin.
22 PE3 bidirectional Port E bit 3 is a bi-directional I/O pin with internal pull-up, also usable as ADC7 analog input, T3 and MOSI1.
23 PC0 bidirectional Port C bit 0 is a bi-directional I/O pin with internal pull-up, also usable as ADC0 and MISO1.
24 PC1 bidirectional Port C bit 1 is a bi-directional I/O pin with internal pull-up, also usable as ADC1 and SCK1.
25 PC2 bidirectional Port C bit 2 is a bi-directional I/O pin with internal pull-up, also usable as ADC2.
26 PC3 bidirectional Port C bit 3 is a bi-directional I/O pin with internal pull-up, also usable as ADC3.
27 PC4 bidirectional Port C bit 4 is a bi-directional I/O pin with internal pull-up, also usable as ADC4 and SDA0.
28 PC5 bidirectional Port C bit 5 is a bi-directional I/O pin with internal pull-up, also usable as ADC5 and SCL0.
29 PC6 input PC6 is a Reset input if the RSTDISBL fuse is unprogrammed, and otherwise an I/O pin whose electrical characteristics differ from other Port C pins.
30 PD0 bidirectional Port D bit 0 is a bi-directional I/O pin with internal pull-up, also usable as OC3A and RXD0.
31 PD1 bidirectional Port D bit 1 is a bi-directional I/O pin with internal pull-up, also usable as OC4A and TXD0.
32 PD2 bidirectional Port D bit 2 is a bi-directional I/O pin with internal pull-up, also usable as INT0, OC3B and OC4B.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package TQFP-32(7x7)
Category Single Chip Microcomputer/Microcontroller
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 voltage VCC 1.8 5.5 V 2
Operating temperature range -40 105 °C 2
Speed grade 0 4 MHz @ 1.8 - 5.5V 2
Speed grade 0 10 MHz @ 2.7 - 5.5.V 2
Speed grade 0 20 MHz @ 4.5 - 5.5V 2

CAD (KiCad official)

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

Provenance

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

  • Datasheet: Microchip Tech datasheet (17 pp, sha256 6df6f6640dfc31f3, retrieved 2026-10-28, tier: lcsc)
  • 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