component
ATMEGA644P-20PU
Public Made by Adomby adom
Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), DIP-40. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
{
"slug": "atmega644p-20pu",
"version": "0.1.0",
"type": "component",
"description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), DIP-40. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"single chip microcomputer-microcontroller",
"atmega644p-20pu",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"atmega644p-20pu.kicad_sym",
"atmega644p-20pu.kicad_mod",
"atmega644p-20pu.glb",
"atmega644p-20pu.step",
"atmega644p-20pu.lbr",
"docs/hero.png",
"docs/atmega644p-20pu-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"atmega644p-20pu-hero.glb",
"atmega644p-20pu-hero.overlay.json",
"atmega644p-20pu-etched.glb"
],
"component": {
"mpn": "ATMEGA644P-20PU",
"manufacturer": "Microchip Tech",
"package": "DIP-40",
"pin_count": 40,
"category": "Single Chip Microcomputer/Microcontroller",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/doc2593.pdf",
"parts": {
"symbol": "atmega644p-20pu.kicad_sym",
"footprint": "atmega644p-20pu.kicad_mod",
"model_3d": "atmega644p-20pu-hero.glb",
"model_3d_plain": "atmega644p-20pu-etched.glb",
"model_3d_step": "atmega644p-20pu-etched.step",
"model_3d_step_plain": "atmega644p-20pu.step",
"lbr": "atmega644p-20pu.lbr"
},
"distributor_links": {
"lcsc": "C5127752",
"digikey": "ATMEGA644P-20PU-ND",
"mouser": "556-ATMEGA644P-20PU"
},
"distributor_check": {
"checked_at": "2026-10-29T17:06:02Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "ATMEGA644P-20PU-ND",
"status": "found"
},
"mouser": {
"pn": "556-ATMEGA644P-20PU",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PB0",
"type": "bidirectional",
"description": "Port B bit 0, a bi-directional I/O pin with internal pull-up; alternate functions are XCK0, T0 and PCINT8."
},
{
"number": "2",
"name": "PB1",
"type": "bidirectional",
"description": "Port B bit 1, a bi-directional I/O pin with internal pull-up; alternate functions are T1, CLKO (divided system clock output) and PCINT9."
},
{
"number": "3",
"name": "PB2",
"type": "bidirectional",
"description": "Port B bit 2, a bi-directional I/O pin with internal pull-up; alternate functions are AIN0 (analog comparator positive input), INT2 and PCINT10."
},
{
"number": "4",
"name": "PB3",
"type": "bidirectional",
"description": "Port B bit 3, a bi-directional I/O pin with internal pull-up; alternate functions are AIN1 (analog comparator negative input), OC0A and PCINT11."
},
{
"number": "5",
"name": "PB4",
"type": "bidirectional",
"description": "Port B bit 4, a bi-directional I/O pin with internal pull-up; alternate functions are SS (SPI slave select), OC0B and PCINT12."
},
{
"number": "6",
"name": "PB5",
"type": "bidirectional",
"description": "Port B bit 5, a bi-directional I/O pin with internal pull-up; alternate functions are MOSI (SPI master output or slave input) and PCINT13."
},
{
"number": "7",
"name": "PB6",
"type": "bidirectional",
"description": "Port B bit 6, a bi-directional I/O pin with internal pull-up; alternate functions are MISO (SPI master input or slave output) and PCINT14."
},
{
"number": "8",
"name": "PB7",
"type": "bidirectional",
"description": "Port B bit 7, a bi-directional I/O pin with internal pull-up; alternate functions are SCK (SPI clock) and PCINT15."
},
{
"number": "9",
"name": "RESET",
"type": "input",
"description": "Reset input; a low level longer than the minimum pulse length generates a reset, and shorter pulses are not guaranteed to do so."
},
{
"number": "10",
"name": "VCC",
"type": "power_in",
"description": "Digital supply voltage."
},
{
"number": "11",
"name": "GND",
"type": "power_in",
"description": "Ground."
},
{
"number": "12",
"name": "XTAL2",
"type": "output",
"description": "Output from the inverting Oscillator amplifier."
},
{
"number": "13",
"name": "XTAL1",
"type": "input",
"description": "Input to the inverting Oscillator amplifier and to the internal clock operating circuit."
},
{
"number": "14",
"name": "PD0",
"type": "bidirectional",
"description": "Port D bit 0, a bi-directional I/O pin with internal pull-up; alternate functions are RXD0 and PCINT24."
},
{
"number": "15",
"name": "PD1",
"type": "bidirectional",
"description": "Port D bit 1, a bi-directional I/O pin with internal pull-up; alternate functions are TXD0 and PCINT25."
},
{
"number": "16",
"name": "PD2",
"type": "bidirectional",
"description": "Port D bit 2, a bi-directional I/O pin with internal pull-up; alternate functions are INT0 and PCINT26."
},
{
"number": "17",
"name": "PD3",
"type": "bidirectional",
"description": "Port D bit 3, a bi-directional I/O pin with internal pull-up; alternate functions are INT1 and PCINT27."
},
{
"number": "18",
"name": "PD4",
"type": "bidirectional",
"description": "Port D bit 4, a bi-directional I/O pin with internal pull-up; alternate functions are OC1B and PCINT28."
},
{
"number": "19",
"name": "PD5",
"type": "bidirectional",
"description": "Port D bit 5, a bi-directional I/O pin with internal pull-up; alternate functions are OC1A and PCINT29."
},
{
"number": "20",
"name": "PD6",
"type": "bidirectional",
"description": "Port D bit 6, a bi-directional I/O pin with internal pull-up; alternate functions are OC2B, ICP and PCINT30."
},
{
"number": "21",
"name": "PD7",
"type": "bidirectional",
"description": "Port D bit 7, a bi-directional I/O pin with internal pull-up; alternate functions are OC2A and PCINT31."
},
{
"number": "22",
"name": "PC0",
"type": "bidirectional",
"description": "Port C bit 0, a bi-directional I/O pin with internal pull-up; alternate functions are SCL (two-wire serial clock) and PCINT16."
},
{
"number": "23",
"name": "PC1",
"type": "bidirectional",
"description": "Port C bit 1, a bi-directional I/O pin with internal pull-up; alternate functions are SDA (two-wire serial data) and PCINT17."
},
{
"number": "24",
"name": "PC2",
"type": "bidirectional",
"description": "Port C bit 2, a bi-directional I/O pin with internal pull-up; alternate functions are TCK (JTAG) and PCINT18."
},
{
"number": "25",
"name": "PC3",
"type": "bidirectional",
"description": "Port C bit 3, a bi-directional I/O pin with internal pull-up; alternate functions are TMS (JTAG) and PCINT19."
},
{
"number": "26",
"name": "PC4",
"type": "bidirectional",
"description": "Port C bit 4, a bi-directional I/O pin with internal pull-up; alternate functions are TDO (JTAG) and PCINT20."
},
{
"number": "27",
"name": "PC5",
"type": "bidirectional",
"description": "Port C bit 5, a bi-directional I/O pin with internal pull-up; alternate functions are TDI (JTAG) and PCINT21."
},
{
"number": "28",
"name": "PC6",
"type": "bidirectional",
"description": "Port C bit 6, a bi-directional I/O pin with internal pull-up; alternate functions are TOSC1 (Timer/Counter2 oscillator) and PCINT22."
},
{
"number": "29",
"name": "PC7",
"type": "bidirectional",
"description": "Port C bit 7, a bi-directional I/O pin with internal pull-up; alternate functions are TOSC2 (Timer/Counter2 oscillator) and PCINT23."
},
{
"number": "30",
"name": "AVCC",
"type": "power_in",
"description": "Analog supply pin, shown in the pinout; the extracted text gives no further description."
},
{
"number": "31",
"name": "GND",
"type": "power_in",
"description": "Ground."
},
{
"number": "32",
"name": "AREF",
"type": "input",
"description": "Analog reference pin for the A/D converter, shown in the pinout; the extracted text gives no further description."
},
{
"number": "33",
"name": "PA7",
"type": "bidirectional",
"description": "Port A bit 7, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT7."
},
{
"number": "34",
"name": "PA6",
"type": "bidirectional",
"description": "Port A bit 6, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT6."
},
{
"number": "35",
"name": "PA5",
"type": "bidirectional",
"description": "Port A bit 5, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT5."
},
{
"number": "36",
"name": "PA4",
"type": "bidirectional",
"description": "Port A bit 4, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT4."
},
{
"number": "37",
"name": "PA3",
"type": "bidirectional",
"description": "Port A bit 3, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT3."
},
{
"number": "38",
"name": "PA2",
"type": "bidirectional",
"description": "Port A bit 2, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT2."
},
{
"number": "39",
"name": "PA1",
"type": "bidirectional",
"description": "Port A bit 1, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT1."
},
{
"number": "40",
"name": "PA0",
"type": "bidirectional",
"description": "Port A bit 0, serving as an ADC analog input and a bi-directional I/O pin with internal pull-up; alternate function is PCINT0."
}
],
"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: The DIP-40 (40P6 PDIP) pin numbers are not printed in the extracted text. They follow the standard P; The extracted text gives no description for AVCC or AREF, so their descriptions are limited to what ; The DIP-40 package is the 40P6 PDIP outline on page 363, matching the package hint.",
"26/40 pins cited to the wrong page (name found elsewhere): ['6:PB5@p2', '7:PB6@p2', '12:XTAL2@p5', '13:XTAL1@p5']"
],
"pages_sent": 52,
"cost_usd": 0.0758,
"at": "2026-10-29T17:05:50"
},
"datasheet": {
"url": "https://ww1.microchip.com/downloads/en/DeviceDoc/doc2593.pdf",
"pages": 376,
"sha256": "198bacc71bec3b55",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 40,
"described": 40,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "atmega644p-20pu.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "body on z = 0, through-hole leads below",
"extents_mm": [
25.4,
50.8,
6.98
],
"zmin_mm": -3.3,
"centre_offset_mm": 0.127,
"footprint_binding": "identity",
"sha256": "114010029e96b840de5e76a4e7f09f46a19e6db723f6d096bd70dbeb8ce0aff9",
"checked": "2026-10-29",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "atmega644p-20pu-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "body on z = 0, through-hole leads below",
"extents_mm": [
25.4,
50.8,
6.98
],
"zmin_mm": -3.3,
"centre_offset_mm": 0.127,
"footprint_binding": "identity",
"sha256": "8f34e77a87b422ee68fcf759d657c734d92b7b098d5287bf64424ea1079ddee3",
"checked": "2026-10-29",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}