main
Ray Set visibility: public 458cabe
{
  "schema_version": 1,
  "type": "component",
  "slug": "pic18f4585-e-pt",
  "title": "PIC18F4585-E/PT",
  "brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-44(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "pic18f4585-e",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "PIC18F4585-E/PT",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-44(10x10)",
    "pin_count": 44,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/PIC18F2585_2680_4585_4680-data-sheet-30009625D.pdf",
    "parts": {
      "symbol": "pic18f4585-e-pt.kicad_sym",
      "footprint": "pic18f4585-e-pt.kicad_mod",
      "model_3d": "pic18f4585-e-pt-hero.glb",
      "model_3d_plain": "pic18f4585-e-pt.glb",
      "model_3d_step": "pic18f4585-e-pt-etched.step",
      "model_3d_step_plain": "pic18f4585-e-pt.step",
      "lbr": "pic18f4585-e-pt.lbr"
    },
    "distributor_links": {
      "lcsc": "C634507",
      "digikey": "PIC18F4585-E/PT-ND",
      "mouser": "579-PIC18F4585-E/PT"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T20:28:31Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "PIC18F4585-E/PT-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "579-PIC18F4585-E/PT",
        "status": "found"
      },
      "matched_as": "PIC18F4585-E/PT"
    },
    "pins": [
      {
        "number": "1",
        "name": "RC7/RX/DT",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; EUSART asynchronous receive (RX) or synchronous data (DT)."
      },
      {
        "number": "2",
        "name": "RD4/PSP4/ECCP1/P1A",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Parallel Slave Port data bit 4 (TTL input when PSP is enabled), ECCP1 capture/compare, and ECCP1 PWM output P1A."
      },
      {
        "number": "3",
        "name": "RD5/PSP5/P1B",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Parallel Slave Port data bit 5 and ECCP1 PWM output P1B."
      },
      {
        "number": "4",
        "name": "RD6/PSP6/P1C",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Parallel Slave Port data bit 6 and ECCP1 PWM output P1C."
      },
      {
        "number": "5",
        "name": "RD7/PSP7/P1D",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Parallel Slave Port data bit 7 and ECCP1 PWM output P1D."
      },
      {
        "number": "6",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "7",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "8",
        "name": "RB0/INT0/FLT0/AN10",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also external interrupt 0, ECCP1 PWM Fault input, and analog input 10."
      },
      {
        "number": "9",
        "name": "RB1/INT1/AN8",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also external interrupt 1 and analog input 8."
      },
      {
        "number": "10",
        "name": "RB2/INT2/CANTX",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also external interrupt 2 and CAN bus transmit output."
      },
      {
        "number": "11",
        "name": "RB3/CANRX",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also CAN bus receive input, which must be set as a digital input in TRISB<3>."
      },
      {
        "number": "12",
        "name": "NC",
        "type": "unconnected",
        "description": "No connect."
      },
      {
        "number": "13",
        "name": "NC",
        "type": "unconnected",
        "description": "No connect."
      },
      {
        "number": "14",
        "name": "RB4/KBI0/AN9",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also interrupt-on-pin-change KBI0 and analog input 9."
      },
      {
        "number": "15",
        "name": "RB5/KBI1/PGM",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also interrupt-on-pin-change KBI1 and low-voltage ICSP programming enable (PGM)."
      },
      {
        "number": "16",
        "name": "RB6/KBI2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also interrupt-on-pin-change KBI2 and In-Circuit Debugger/ICSP programming clock."
      },
      {
        "number": "17",
        "name": "RB7/KBI3/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with weak internal pull-up when configured as input; also interrupt-on-pin-change KBI3 and In-Circuit Debugger/ICSP programming data."
      },
      {
        "number": "18",
        "name": "MCLR/VPP/RE3",
        "type": "input",
        "description": "Active-low Master Clear (Reset) input when the MCLRE Configuration bit is 1; otherwise RE3 digital input. VPP is the programming voltage input used by ICSP operation."
      },
      {
        "number": "19",
        "name": "RA0/AN0/CVREF",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 0 (enabled on POR, overriding the digital input) and comparator voltage reference analog output CVREF."
      },
      {
        "number": "20",
        "name": "RA1/AN1",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 1 (enabled on POR, overriding the digital input)."
      },
      {
        "number": "21",
        "name": "RA2/AN2/VREF-",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 2 (enabled on POR) and A/D and comparator negative voltage reference input VREF-."
      },
      {
        "number": "22",
        "name": "RA3/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 3 (enabled on POR) and A/D and comparator positive voltage reference input VREF+."
      },
      {
        "number": "23",
        "name": "RA4/T0CKI",
        "type": "bidirectional",
        "description": "Digital I/O; Timer0 external clock input (Schmitt Trigger)."
      },
      {
        "number": "24",
        "name": "RA5/AN4/SS/HLVDIN",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 4 (enabled on POR), MSSP SPI slave select input, and High/Low-Voltage Detect external trip point input HLVDIN."
      },
      {
        "number": "25",
        "name": "RE0/RD/AN5",
        "type": "bidirectional",
        "description": "Digital I/O; Parallel Slave Port read enable RD input (PSP mode) and analog input 5."
      },
      {
        "number": "26",
        "name": "RE1/WR/AN6/C1OUT",
        "type": "bidirectional",
        "description": "Digital I/O; Parallel Slave Port write enable WR input, analog input 6, and Comparator 1 output."
      },
      {
        "number": "27",
        "name": "RE2/CS/AN7/C2OUT",
        "type": "bidirectional",
        "description": "Digital I/O; Parallel Slave Port chip select CS input, analog input 7, and Comparator 2 output."
      },
      {
        "number": "28",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "29",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "30",
        "name": "OSC1/CLKI/RA7",
        "type": "input",
        "description": "Oscillator crystal or external clock input; when not used as an oscillator pin it is general purpose I/O RA7 (ST buffer in RC mode, CMOS otherwise)."
      },
      {
        "number": "31",
        "name": "OSC2/CLKO/RA6",
        "type": "output",
        "description": "Oscillator crystal output, or CLKO at FOSC/4 in RC mode; when not used as an oscillator pin it is general purpose I/O RA6."
      },
      {
        "number": "32",
        "name": "RC0/T1OSO/T13CKI",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Timer1 oscillator output T1OSO and Timer1/Timer3 external clock input T13CKI."
      },
      {
        "number": "33",
        "name": "NC",
        "type": "unconnected",
        "description": "No connect."
      },
      {
        "number": "34",
        "name": "NC",
        "type": "unconnected",
        "description": "No connect."
      },
      {
        "number": "35",
        "name": "RC1/T1OSI",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); Timer1 oscillator input T1OSI."
      },
      {
        "number": "36",
        "name": "RC2/CCP1",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); CCP1 capture input, compare output, or PWM output."
      },
      {
        "number": "37",
        "name": "RC3/SCK/SCL",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); MSSP synchronous serial clock for SPI mode or I2C clock SCL."
      },
      {
        "number": "38",
        "name": "RD0/PSP0/C1IN+",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Slave Port data bit 0 and Comparator 1 positive input C1IN+ (analog)."
      },
      {
        "number": "39",
        "name": "RD1/PSP1/C1IN-",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Slave Port data bit 1 and Comparator 1 negative input C1IN- (analog)."
      },
      {
        "number": "40",
        "name": "RD2/PSP2/C2IN+",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Slave Port data bit 2 and Comparator 2 positive input C2IN+ (analog)."
      },
      {
        "number": "41",
        "name": "RD3/PSP3/C2IN-",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Slave Port data bit 3 and Comparator 2 negative input C2IN- (analog)."
      },
      {
        "number": "42",
        "name": "RC4/SDI/SDA",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); MSSP SPI data input or I2C data I/O SDA."
      },
      {
        "number": "43",
        "name": "RC5/SDO",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); MSSP SPI data output."
      },
      {
        "number": "44",
        "name": "RC6/TX/CK",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input); EUSART asynchronous transmit TX or synchronous clock CK."
      }
    ],
    "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 datasheet text does not give ordering or temperature-grade information, so the '-E' suffix in PI; The 44-pin TQFP pin numbers come from the TQFP column of Table 1-3 (pages 15-20), cross-checked agai; The datasheet defines VSS on TQFP pins 6 and 29 and VDD on pins 7 and 28. Both pairs are listed as p"
        ],
        "pages_sent": 58,
        "cost_usd": 0.2941,
        "at": "2026-11-13T20:28:20"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/PIC18F2585_2680_4585_4680-data-sheet-30009625D.pdf",
        "pages": 453,
        "sha256": "74abd6f935fb9ac4",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 44,
        "described": 44,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18f4585-e-pt.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "61ecec1147f835d2c9d165c450b1c8d53e65b038f6ca1dac3066a2dfb1bbbb85",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f4585-e-pt-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b4676ce91e39befc63d1e87d3d0b1d3d7c5639872c61bef30b1a7b9ae2f6951c",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "PT",
      "source_page": 444,
      "D": {
        "nom_mm": 10,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 10,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 12,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 0.8,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.2,
        "range_mm": [
          null,
          1.2
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "pic18f4585-e-pt.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "TQFP-44(10x10)",
      "Category": "Single Chip Microcomputer/Microcontroller",
      "Pins": "44"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "pic18f4585-e"
  ],
  "discovery_pitch": "PIC18F4585-E (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f4585-e-pt.kicad_sym",
    "pic18f4585-e-pt.kicad_mod",
    "pic18f4585-e-pt.glb",
    "pic18f4585-e-pt.step",
    "pic18f4585-e-pt.lbr",
    "docs/hero.png",
    "docs/pic18f4585-e-pt-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f4585-e-pt-hero.glb",
    "pic18f4585-e-pt-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}