3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownPIC18F2520-E
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-28-300mil
PIC18F2520-E from Microchip Tech, in a SOIC-28-300mil. 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 | MCLR/VPP/RE3 | input | Active-low Master Clear Reset input when MCLRE is set, with VPP as the high-voltage ICSP entry detection input and RE3 as a digital input only when MCLR is disabled. |
| 2 | RA0/AN0 | bidirectional | Digital I/O with analog input channel 0 and comparator C1- input, the default input configuration on POR. |
| 3 | RA1/AN1 | bidirectional | Digital I/O with analog input channel 1 and comparator C2- input. |
| 4 | RA2/AN2/VREF-/CVREF | bidirectional | Digital I/O with analog input channel 2, A/D reference voltage low input VREF-, and comparator voltage reference output CVREF. |
| 5 | RA3/AN3/VREF+ | bidirectional | Digital I/O with analog input channel 3, comparator C1+ input, and A/D reference voltage high input VREF+. |
| 6 | RA4/T0CKI/C1OUT | bidirectional | Digital I/O with Schmitt Trigger input, Timer0 external clock input T0CKI, and Comparator 1 output C1OUT. |
| 7 | RA5/AN4/SS/HLVDIN/C2OUT | bidirectional | Digital I/O with analog input channel 4, MSSP client select input SS, High/Low-Voltage Detect input HLVDIN, and Comparator 2 output C2OUT. |
| 8 | VSS | power_in | Ground reference for logic and I/O pins. |
| 9 | OSC1/CLKI/RA7 | input | Oscillator crystal or external clock input (CLKI), or general purpose I/O RA7 when an internal oscillator mode is selected. |
| 10 | OSC2/CLKO/RA6 | bidirectional | Oscillator crystal output or clock output (CLKO at FOSC/4 in RC mode), or general purpose I/O RA6 when not used as an oscillator pin. |
| 11 | RC0/T1OSO/T13CKI | bidirectional | Digital I/O with Timer1 oscillator output T1OSO and Timer1/Timer3 external clock input T13CKI. |
| 12 | RC1/T1OSI/CCP2 | bidirectional | Digital I/O with Timer1 oscillator input T1OSI and CCP2 capture input, compare output, or PWM output (default CCP2 pin when CCP2MX is set). |
| 13 | RC2/CCP1 | bidirectional | Digital I/O with CCP1 capture input, compare output, or PWM output. |
| 14 | RC3/SCK/SCL | bidirectional | Digital I/O with MSSP synchronous serial clock input/output for SPI mode (SCK) and I2C mode (SCL). |
| 15 | RC4/SDI/SDA | bidirectional | Digital I/O with MSSP SPI data input SDI and I2C data I/O SDA. |
| 16 | RC5/SDO | bidirectional | Digital I/O with MSSP SPI data output SDO. |
| 17 | RC6/TX/CK | bidirectional | Digital I/O with EUSART asynchronous transmit TX and EUSART synchronous clock CK. |
| 18 | RC7/RX/DT | bidirectional | Digital I/O with EUSART asynchronous receive RX and EUSART synchronous data DT. |
| 19 | VSS | power_in | Ground reference for logic and I/O pins. |
| 20 | VDD | power_in | Positive supply for logic and I/O pins; standard F devices operate at 4.2V to 5.5V. |
| 21 | RB0/INT0/FLT0/AN12 | bidirectional | Digital I/O with weak pull-up, external interrupt INT0, PWM Fault input FLT0 for CCP1, and analog input 12. |
| 22 | RB1/INT1/AN10 | bidirectional | Digital I/O with weak pull-up, external interrupt INT1, and analog input 10. |
| 23 | RB2/INT2/AN8 | bidirectional | Digital I/O with weak pull-up, external interrupt INT2, and analog input 8. |
| 24 | RB3/AN9/CCP2 | bidirectional | Digital I/O with weak pull-up, analog input 9, and CCP2 capture input or compare/PWM output as the alternate CCP2 pin when CCP2MX is cleared. |
| 25 | RB4/KBI0/AN11 | bidirectional | Digital I/O with weak pull-up, interrupt-on-change input KBI0, and analog input 11. |
| 26 | RB5/KBI1/PGM | bidirectional | Digital I/O with weak pull-up, interrupt-on-change input KBI1, and Low-Voltage ICSP programming enable pin PGM. |
| 27 | RB6/KBI2/PGC | bidirectional | Digital I/O with weak pull-up, interrupt-on-change input KBI2, and in-circuit debugger and ICSP programming clock PGC. |
| 28 | RB7/KBI3/PGD | bidirectional | Digital I/O with weak pull-up, interrupt-on-change input KBI3, and in-circuit debugger and ICSP programming data PGD. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-28-300mil |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 28 |
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 VDD range, standard F device | VDD | 4.2 | 5.5 | V | Standard F device (PIC18F2520), not LF | 6 | |
| Operating frequency | FOSC | 40 | MHz | Printed as DC, 40 MHz for PIC18F2520 | 7 | ||
| External RC oscillator resistor REXT | REXT | 3 | 100 | kΩ | Recommended values for RC oscillator mode | 22 | |
| External RC oscillator capacitor CEXT | CEXT | 20 | pF | Recommended value CEXT > 20 pF for RC oscillator mode | 22 |
CAD (KiCad official)
- Symbol:
PIC18F2520-E - Footprint:
Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm - 3D model: SOIC-28-300mil (KiCad packages3D, STEP)
- 3D model files:
pic18f2520-e-etched.step/pic18f2520-e-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18f2520-e.step/pic18f2520-e.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (383 pp, sha256
7a3ba485a1cab451, retrieved 2026-10-28, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-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).