component
PIC18F2520-I
Public Made by Adomby adom
Microchip Tech Microcontrollers (MCU/MPU/SOC), SOIC-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
{
"schema_version": 1,
"type": "component",
"slug": "pic18f2520-i",
"title": "PIC18F2520-I",
"brief": "Microchip Tech Microcontrollers (MCU/MPU/SOC), SOIC-28-300mil. 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",
"embedded processors & controllers",
"pic18f2520-i",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "PIC18F2520-I",
"manufacturer": "Microchip Tech",
"package": "SOIC-28-300mil",
"pin_count": 28,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884724974960640",
"parts": {
"symbol": "pic18f2520-i.kicad_sym",
"footprint": "pic18f2520-i.kicad_mod",
"model_3d": "pic18f2520-i-hero.glb",
"model_3d_plain": "pic18f2520-i-etched.glb",
"model_3d_step": "pic18f2520-i-etched.step",
"model_3d_step_plain": "pic18f2520-i.step",
"lbr": "pic18f2520-i.lbr"
},
"distributor_links": {
"lcsc": "C9796"
},
"distributor_check": {
"checked_at": "2026-10-18T14:11:02Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "quota"
},
"mouser": {
"pn": null,
"status": "quota"
}
},
"pins": [
{
"number": "1",
"name": "MCLR/VPP/RE3",
"type": "input",
"description": "Master Clear (Reset) input is active-low when MCLRE is set; otherwise pin functions as digital input RE3, and VPP is the programming voltage input."
},
{
"number": "2",
"name": "RA0/AN0",
"type": "bidirectional",
"description": "Digital I/O with TTL input levels, also analog input 0 and comparator C1- input."
},
{
"number": "3",
"name": "RA1/AN1",
"type": "bidirectional",
"description": "Digital I/O with TTL input levels, also analog input 1 and comparator C2- input."
},
{
"number": "4",
"name": "RA2/AN2/VREF-/CVREF",
"type": "bidirectional",
"description": "Digital I/O with TTL input levels, also analog input 2, A/D low reference voltage input VREF-, or comparator voltage reference output CVREF."
},
{
"number": "5",
"name": "RA3/AN3/VREF+",
"type": "bidirectional",
"description": "Digital I/O with TTL input levels, also analog input 3 or A/D high reference voltage input VREF+."
},
{
"number": "6",
"name": "RA4/T0CKI/C1OUT",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also Timer0 external clock input T0CKI or comparator 1 output C1OUT."
},
{
"number": "7",
"name": "RA5/AN4/SS/HLVDIN/C2OUT",
"type": "bidirectional",
"description": "Digital I/O with TTL input levels, also analog input 4, MSSP SPI slave select SS, High/Low-Voltage Detect input HLVDIN, or comparator 2 output C2OUT."
},
{
"number": "8",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "9",
"name": "OSC1/CLKI/RA7",
"type": "input",
"description": "Oscillator crystal or external clock input (ST buffer in RC mode, CMOS otherwise); pin becomes general purpose I/O RA7 when not used as an oscillator pin."
},
{
"number": "10",
"name": "OSC2/CLKO/RA6",
"type": "output",
"description": "Oscillator crystal output in crystal modes, CLKO (FOSC/4) in RC and EC modes, or general purpose I/O RA6 in RCIO, INTIO2 and ECIO modes."
},
{
"number": "11",
"name": "RC0/T1OSO/T13CKI",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also Timer1 oscillator output T1OSO or Timer1/Timer3 external clock input T13CKI."
},
{
"number": "12",
"name": "RC1/T1OSI/CCP2",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also Timer1 oscillator input T1OSI or CCP2 capture input/compare and PWM output (default CCP2 pin when CCP2MX is set)."
},
{
"number": "13",
"name": "RC2/CCP1",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also CCP1 capture input or compare/PWM output."
},
{
"number": "14",
"name": "RC3/SCK/SCL",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also MSSP synchronous serial clock SCK (SPI mode) or SCL (I2C mode)."
},
{
"number": "15",
"name": "RC4/SDI/SDA",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also MSSP SPI data input SDI or I2C data I/O SDA."
},
{
"number": "16",
"name": "RC5/SDO",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also MSSP SPI data output SDO."
},
{
"number": "17",
"name": "RC6/TX/CK",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also EUSART asynchronous transmit TX or synchronous clock CK."
},
{
"number": "18",
"name": "RC7/RX/DT",
"type": "bidirectional",
"description": "Digital I/O with Schmitt Trigger input, also EUSART asynchronous receive RX or synchronous data DT."
},
{
"number": "19",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "20",
"name": "VDD",
"type": "power_in",
"description": "Positive supply for logic and I/O pins; PIC18F devices operate from 4.2V to 5.5V and PIC18LF devices from 2.0V to 5.5V."
},
{
"number": "21",
"name": "RB0/INT0/FLT0/AN12",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also external interrupt 0 INT0, Enhanced PWM fault input FLT0, or analog input 12."
},
{
"number": "22",
"name": "RB1/INT1/AN10",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also external interrupt 1 INT1 or analog input 10."
},
{
"number": "23",
"name": "RB2/INT2/AN8",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also external interrupt 2 INT2 or analog input 8."
},
{
"number": "24",
"name": "RB3/AN9/CCP2",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also analog input 9 or CCP2 capture/compare/PWM (alternate CCP2 pin when CCP2MX is cleared)."
},
{
"number": "25",
"name": "RB4/KBI0/AN11",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI0 or analog input 11."
},
{
"number": "26",
"name": "RB5/KBI1/PGM",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI1 or low-voltage ICSP programming enable pin PGM."
},
{
"number": "27",
"name": "RB6/KBI2/PGC",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI2 or in-circuit debugger and ICSP programming clock PGC."
},
{
"number": "28",
"name": "RB7/KBI3/PGD",
"type": "bidirectional",
"description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI3 or in-circuit debugger and ICSP programming data PGD."
}
],
"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 extracted Table 1-2 merges the SPDIP and SOIC pin-number columns (each row shows one number befo; OSC2/CLKO/RA6 is listed as output in Table 1-2 (its primary oscillator function); it is an I/O pin (; MCLR and OSC1 are listed as input types in the datasheet; their alternate functions (RE3, RA7) are b",
"2/28 pins cited to the wrong page (name found elsewhere): ['5:RA3/AN3/VREF+@p13', '6:RA4/T0CKI/C1OUT@p13']"
],
"pages_sent": 68,
"cost_usd": 0.3368,
"at": "2026-10-18T14:10:46"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884724974960640",
"pages": 412,
"sha256": "7f882378ad20764a",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 28,
"described": 28,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "pic18f2520-i.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
10.3,
17.9,
2.75
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "b889a13dbe9ec59e79fa9f1b5118b00bfa54f9582392335ff3365b64afc264b1",
"checked": "2026-10-18",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "pic18f2520-i-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
10.3,
17.9,
2.75
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "976107509e2c50c5a4833022de6d271828087edf7b367465a35f042d4914a9de",
"checked": "2026-10-18",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "Microchip Tech",
"Package": "SOIC-28-300mil",
"Category": "Embedded Processors & Controllers",
"Pins": "28"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "7f882378ad20764a31487c73a48fb0ee27cf29c10b416f9344afe2b9c4de29d8",
"rows": [
{
"name": "Supply voltage (standard F device, not LF)",
"symbol": "VDD",
"kind": "recommended_operating",
"unit": "V",
"min": 4.2,
"typ": null,
"max": 5.5,
"conditions": "Standard Enhanced Flash 'F' device (PIC18F2520, not PIC18LF2520); Section 1.3",
"source_page": 10,
"source": "datasheet"
},
{
"name": "Operating frequency",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 40,
"conditions": "PIC18F2520 column of Table 1-1, printed as 'DC – 40 MHz'",
"source_page": 9,
"source": "datasheet"
},
{
"name": "Maximum recommended analog source impedance",
"symbol": "",
"kind": "recommended_operating",
"unit": "kΩ",
"min": null,
"typ": null,
"max": 2.5,
"conditions": "A/D analog input source impedance, Section 19.1",
"source_page": 230,
"source": "datasheet"
},
{
"name": "External resistor REXT (RC oscillator)",
"symbol": "REXT",
"kind": "recommended_operating",
"unit": "kΩ",
"min": 3,
"typ": null,
"max": 100,
"conditions": "RC oscillator mode, recommended values",
"source_page": 27,
"source": "datasheet"
},
{
"name": "External capacitor CEXT (RC oscillator)",
"symbol": "CEXT",
"kind": "recommended_operating",
"unit": "pF",
"min": 20,
"typ": null,
"max": null,
"conditions": "RC oscillator mode, recommended CEXT > 20 pF",
"source_page": 27,
"source": "datasheet"
},
{
"name": "MCLR pull-up resistor for power-on Reset",
"symbol": "",
"kind": "recommended_operating",
"unit": "kΩ",
"min": 1,
"typ": null,
"max": 10,
"conditions": "MCLR tied through resistor to VDD for POR",
"source_page": 45,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = 2 TOSC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 2.86,
"conditions": "ADCS<2:0> = 000; PIC18F2X20/4X20 column of Table 19-1",
"source_page": 231,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = 4 TOSC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 5.71,
"conditions": "ADCS<2:0> = 100; PIC18F2X20/4X20 column of Table 19-1",
"source_page": 231,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = 8 TOSC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 11.43,
"conditions": "ADCS<2:0> = 001; PIC18F2X20/4X20 column of Table 19-1",
"source_page": 231,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = 16 TOSC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 22.86,
"conditions": "ADCS<2:0> = 101; PIC18F2X20/4X20 column of Table 19-1",
"source_page": 231,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = 32 TOSC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 40,
"conditions": "ADCS<2:0> = 010; PIC18F2X20/4X20 column of Table 19-1",
"source_page": 231,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = 64 TOSC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 40,
"conditions": "ADCS<2:0> = 110; PIC18F2X20/4X20 column of Table 19-1",
"source_page": 231,
"source": "datasheet"
},
{
"name": "A/D maximum device frequency, TAD = internal RC",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": null,
"typ": null,
"max": 1,
"conditions": "ADCS<2:0> = x11 (RC); PIC18F2X20/4X20 column of Table 19-1; see footnote 1",
"source_page": 231,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"pic18f2520-i"
],
"discovery_pitch": "PIC18F2520-I (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"pic18f2520-i.kicad_sym",
"pic18f2520-i.kicad_mod",
"pic18f2520-i.glb",
"pic18f2520-i.step",
"pic18f2520-i.lbr",
"docs/hero.png",
"docs/pic18f2520-i-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"pic18f2520-i-hero.glb",
"pic18f2520-i-hero.overlay.json",
"pic18f2520-i-etched.glb"
],
"visibility": {
"public": true
}
}