component
ATMEGA328P-ANR
Public Made by Adomby adom
Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
{
"slug": "atmega328p-anr",
"version": "0.1.0",
"type": "component",
"description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"atmega328p-anr",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"atmega328p-anr.kicad_sym",
"atmega328p-anr.kicad_mod",
"atmega328p-anr.glb",
"atmega328p-anr.step",
"atmega328p-anr.lbr",
"docs/hero.png",
"docs/atmega328p-anr-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"atmega328p-anr-hero.glb",
"atmega328p-anr-hero.overlay.json",
"atmega328p-anr-etched.glb"
],
"component": {
"mpn": "ATMEGA328P-ANR",
"manufacturer": "Microchip Tech",
"package": "TQFP-32(7x7)",
"pin_count": 32,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",
"parts": {
"symbol": "atmega328p-anr.kicad_sym",
"footprint": "atmega328p-anr.kicad_mod",
"model_3d": "atmega328p-anr-hero.glb",
"model_3d_plain": "atmega328p-anr-etched.glb",
"model_3d_step": "atmega328p-anr-etched.step",
"model_3d_step_plain": "atmega328p-anr.step",
"lbr": "atmega328p-anr.lbr"
},
"distributor_links": {
"lcsc": "C2651976",
"digikey": "ATMEGA328P-ANRTR-ND",
"mouser": "556-ATMEGA328P-ANR"
},
"distributor_check": {
"checked_at": "2026-11-02T17:03:37Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "ATMEGA328P-ANRTR-ND",
"status": "found"
},
"mouser": {
"pn": "556-ATMEGA328P-ANR",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PD3",
"type": "bidirectional",
"description": "Port D bit 3 with alternate functions INT1 (external interrupt 1 input), OC2B (Timer/Counter2 output compare B) and PCINT19 (pin change interrupt 19)."
},
{
"number": "2",
"name": "PD4",
"type": "bidirectional",
"description": "Port D bit 4 with alternate functions XCK (USART external clock), T0 (Timer/Counter0 external counter input) and PCINT20 (pin change interrupt 20)."
},
{
"number": "3",
"name": "GND",
"type": "power_in",
"description": "Ground."
},
{
"number": "4",
"name": "VCC",
"type": "power_in",
"description": "Digital supply voltage; operating range 1.8 to 5.5 V per the features list."
},
{
"number": "5",
"name": "GND",
"type": "power_in",
"description": "Ground."
},
{
"number": "6",
"name": "VCC",
"type": "power_in",
"description": "Digital supply voltage; operating range 1.8 to 5.5 V per the features list."
},
{
"number": "7",
"name": "PB6",
"type": "input",
"description": "Port B bit 6, used as XTAL1 (chip clock oscillator pin 1 or external clock input), TOSC1 or PCINT6 depending on fuse and ASSR settings."
},
{
"number": "8",
"name": "PB7",
"type": "output",
"description": "Port B bit 7, used as XTAL2 (chip clock oscillator pin 2), TOSC2 or PCINT7 depending on fuse and ASSR settings."
},
{
"number": "9",
"name": "PD5",
"type": "bidirectional",
"description": "Port D bit 5 with alternate functions T1 (Timer/Counter1 external counter input), OC0B (Timer/Counter0 output compare B) and PCINT21."
},
{
"number": "10",
"name": "PD6",
"type": "bidirectional",
"description": "Port D bit 6 with alternate functions AIN0 (analog comparator positive input), OC0A (Timer/Counter0 output compare A) and PCINT22."
},
{
"number": "11",
"name": "PD7",
"type": "bidirectional",
"description": "Port D bit 7 with alternate functions AIN1 (analog comparator negative input) and PCINT23."
},
{
"number": "12",
"name": "PB0",
"type": "bidirectional",
"description": "Port B bit 0 with alternate functions ICP1 (Timer/Counter1 input capture), CLKO (divided system clock output) and PCINT0."
},
{
"number": "13",
"name": "PB1",
"type": "bidirectional",
"description": "Port B bit 1 with alternate functions OC1A (Timer/Counter1 output compare A) and PCINT1."
},
{
"number": "14",
"name": "PB2",
"type": "bidirectional",
"description": "Port B bit 2 with alternate functions SS (SPI slave select), OC1B (Timer/Counter1 output compare B) and PCINT2."
},
{
"number": "15",
"name": "PB3",
"type": "bidirectional",
"description": "Port B bit 3 with alternate functions MOSI (SPI master output/slave input), OC2A (Timer/Counter2 output compare A) and PCINT3."
},
{
"number": "16",
"name": "PB4",
"type": "bidirectional",
"description": "Port B bit 4 with alternate functions MISO (SPI master input/slave output) and PCINT4."
},
{
"number": "17",
"name": "PB5",
"type": "bidirectional",
"description": "Port B bit 5 with alternate functions SCK (SPI clock) and PCINT5."
},
{
"number": "18",
"name": "AVCC",
"type": "power_in",
"description": "Supply voltage pin for the A/D converter, PC3:0 and ADC7:6; it should be connected to VCC even if the ADC is not used."
},
{
"number": "19",
"name": "ADC6",
"type": "passive",
"description": "ADC input channel 6 in the TQFP package, powered from the analog supply."
},
{
"number": "20",
"name": "AREF",
"type": "passive",
"description": "Analog reference pin for the A/D converter."
},
{
"number": "21",
"name": "GND",
"type": "power_in",
"description": "Ground."
},
{
"number": "22",
"name": "ADC7",
"type": "passive",
"description": "ADC input channel 7 in the TQFP package, powered from the analog supply."
},
{
"number": "23",
"name": "PC0",
"type": "bidirectional",
"description": "Port C bit 0 with alternate functions ADC0 (ADC input channel 0, analog power) and PCINT8."
},
{
"number": "24",
"name": "PC1",
"type": "bidirectional",
"description": "Port C bit 1 with alternate functions ADC1 (ADC input channel 1, analog power) and PCINT9."
},
{
"number": "25",
"name": "PC2",
"type": "bidirectional",
"description": "Port C bit 2 with alternate functions ADC2 (ADC input channel 2, analog power) and PCINT10."
},
{
"number": "26",
"name": "PC3",
"type": "bidirectional",
"description": "Port C bit 3 with alternate functions ADC3 (ADC input channel 3, analog power) and PCINT11."
},
{
"number": "27",
"name": "PC4",
"type": "bidirectional",
"description": "Port C bit 4 with alternate functions SDA (2-wire serial data), ADC4 (ADC input channel 4, digital power) and PCINT12."
},
{
"number": "28",
"name": "PC5",
"type": "bidirectional",
"description": "Port C bit 5 with alternate functions SCL (2-wire serial clock), ADC5 (ADC input channel 5, digital power) and PCINT13."
},
{
"number": "29",
"name": "PC6",
"type": "input",
"description": "Port C bit 6 used as RESET input (active low) when the RSTDISBL fuse is unprogrammed, otherwise an I/O pin, with PCINT14 available."
},
{
"number": "30",
"name": "PD0",
"type": "bidirectional",
"description": "Port D bit 0 with alternate functions RXD (USART receive data input) and PCINT16."
},
{
"number": "31",
"name": "PD1",
"type": "bidirectional",
"description": "Port D bit 1 with alternate functions TXD (USART transmit data output) and PCINT17."
},
{
"number": "32",
"name": "PD2",
"type": "bidirectional",
"description": "Port D bit 2 with alternate functions INT0 (external interrupt 0 input) and PCINT18."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-haiku-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: ATmega328P-ANR is the 32A (32-lead TQFP) variant per the ordering table on page 635, industrial -40 "
],
"pages_sent": 126,
"cost_usd": 0.1084,
"at": "2026-11-02T17:03:17"
},
"datasheet": {
"url": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",
"pages": 653,
"sha256": "b9b9d83cda56a95d",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 32,
"described": 32,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "atmega328p-anr.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.1
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "53431be61c684e9d923915676a90cb08050c23ee3f834d76a77a3b19b41422f1",
"checked": "2026-11-02",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "atmega328p-anr-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.1
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "2c2d64b0a1b197c668fb0e3b20114f53fd7c65079bf25903af6c87bc81db6415",
"checked": "2026-11-02",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}