PIC18F4620-E/P - 8-bit MCU 64KB Flash 40MHz 40-DIP | Microchip
MPN: PIC18F4620-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.4 | $6.40 |
| 10 | $5.78 | $57.80 |
| 100 | $5.15 | $515.00 |
| 500 | $4.62 | $2,310.00 |
| 1,000 | $4.11 | $4,110.00 |
PIC18F4620-E/P Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, Flash program memory, RAM, EEPROM, and a rich set of peripherals (ADC, timers, UART, SPI, I2C, PWM, I/O) into one IC. PIC microcontrollers sit in the 8-bit MCU family alongside 8051, AVR, and STM8; their hypernym chain is PIC -> 8-bit MCU -> microcontroller -> embedded controller -> semiconductor. PIC18 is the "enhanced" 8-bit tier that adds a hardware multiplier, 16-bit instructions, and nanoWatt power management compared with baseline PIC16 cores.
Key features include a 10-bit ADC with up to 13 input channels, two analog comparators, a 10 MHz internal RC oscillator, four timers, a 5-bit CCP/PWM module, MSSP for SPI/I2C, two USARTs (with LIN support), nanoWatt sleep modes, and 36 digital I/O pins. The PIC18F4620 also provides a 14-bit instruction word, hardware multiply, C-compiler-friendly architecture, and In-Circuit Serial Programming (ICSP) plus In-Circuit Debug (ICD).
Typical applications include industrial control panels, HVAC thermostats, sensor-conditioning nodes, USB-class bridges (with PIC18F4550/4553 family), automotive body modules (sub-meter), home-automation controllers, and consumer appliances. The wide 5V supply range suits 5V industrial buses (LIN, RS-485, CAN via external transceiver) where 3.3V MCUs require level shifters.
When designing with this part, note the "-E" suffix indicates the extended -40C to +125C industrial temperature grade, while "-I" is -40C to +85C industrial and no suffix is 0C to +70C commercial. The 40-pin PDIP footprint is the same as PIC18F4520, PIC18F4523, PIC18F4525, and PIC18F4610, enabling direct PCB reuse across the family.
This page synthesizes distributor stock, drop-in PIC18-family alternatives, application guidance, and design notes not consolidated in any single manufacturer document.
Drop-in alternatives for PIC18F4620-E/P — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18F4620-E/P (same form factor and footprint) — differing in Timers, Operating Temperature, Program Memory (Flash), Package, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F4620-I/P
✅ Drop-In✓ In Stock
$5.08 / Unit
View Datasheet →PIC18F4520-I/P
✅ Drop-In✓ In Stock
$5.35 / Unit
View Datasheet →PIC18F4610-I/P
✅ Drop-In✓ In Stock
$4.45 / Unit
View Datasheet →PIC18F4525-I/PT
✅ Drop-In✓ In Stock
$4.18 / Unit
View Datasheet →PIC18F45K22-E/P
✅ Drop-In✓ In Stock
$2.78 / Unit
View Datasheet →PIC18F4580-I/P
✅ Drop-In✓ In Stock
$5.1 / Unit
View Datasheet →PIC18F4620-E/P Maximum Ratings & Electrical Characteristics
| Core | PIC18 (enhanced 8-bit) |
| Instruction Set Architecture | 8-bit data, 16-bit instructions, RISC |
| Program Memory (Flash) | 64 KB |
| RAM | 3968 bytes |
| EEPROM | 1024 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Operating Temperature | -40C to +125C (E suffix - extended) |
| I/O Pins | 36 |
| ADC | 10-bit, up to 13 channels |
| Timers | 4 (Timer0/1/2/3) |
| Capture/Compare/PWM | 1 ECCP + 1 CCP module |
| Serial Interfaces | MSSP (SPI/I2C), 2x USART (LIN) |
| Analog Comparators | 2 |
| Package | 40-pin PDIP (P) |
| Mounting Type | Through-Hole (DIP) |
| MSL Level | 1 (unlimited floor life) |
| Programming/Debug | ICSP, ICD |
| Internal Oscillator | 8 MHz / 32 kHz secondary (nanoWatt) |
PIC18F4620-E/P Pin Configuration
| Pin 1 | MCLR/VPP/RE3 — Reset input / programming voltage / Port E bit 3 |
| Pin 2 | RA0/AN0 — Port A bit 0 / ADC input 0 |
| Pin 3 | RA1/AN1 — Port A bit 1 / ADC input 1 |
| Pin 4 | RA2/AN2/VREF- — Port A bit 2 / ADC input 2 / ADC reference negative |
| Pin 5 | RA3/AN3/VREF+ — Port A bit 3 / ADC input 3 / ADC reference positive |
| Pin 6 | RA4/T0CKI/C1OUT — Port A bit 4 / Timer0 clock input / Comparator 1 output |
| Pin 7 | RA5/AN4/SS/HLVDIN/C2OUT — Port A bit 5 / ADC input 4 / SPI slave select / HLVD input / Comparator 2 output |
| Pin 8 | RE0/RD/AN5 — Port E bit 0 / Parallel Slave Port read / ADC input 5 |
| Pin 9 | RE1/WR/AN6 — Port E bit 1 / Parallel Slave Port write / ADC input 6 |
| Pin 10 | RE2/CS/AN7 — Port E bit 2 / Parallel Slave Port chip select / ADC input 7 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKI/RA7 — Oscillator input / external clock input / Port A bit 7 |
| Pin 14 | OSC2/CLKO/RA6 — Oscillator output / clock output / Port A bit 6 |
| Pin 15 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 16 | RC1/T1OSI/CCP2 — Port C bit 1 / Timer1 oscillator input / Capture-Compare-PWM 2 |
| Pin 17 | RC2/CCP1 — Port C bit 2 / Capture-Compare-PWM 1 |
| Pin 18 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Pin 19 | RD0/PSP0 — Port D bit 0 / Parallel Slave Port data bit 0 |
| Pin 20 | RD1/PSP1 — Port D bit 1 / Parallel Slave Port data bit 1 |
| Pin 21 | RD2/PSP2 — Port D bit 2 / Parallel Slave Port data bit 2 |
| Pin 22 | RD3/PSP3 — Port D bit 3 / Parallel Slave Port data bit 3 |
| Pin 23 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Pin 24 | RC5/SDO — Port C bit 5 / SPI data out |
| Pin 25 | RC6/TX/CK — Port C bit 6 / USART transmit / USART clock |
| Pin 26 | RC7/RX/DT — Port C bit 7 / USART receive / USART data |
| Pin 27 | RD4/PSP4 — Port D bit 4 / Parallel Slave Port data bit 4 |
| Pin 28 | RD5/PSP5 — Port D bit 5 / Parallel Slave Port data bit 5 |
| Pin 29 | RD6/PSP6 — Port D bit 6 / Parallel Slave Port data bit 6 |
| Pin 30 | RD7/PSP7 — Port D bit 7 / Parallel Slave Port data bit 7 |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage |
| Pin 33 | RB0/AN12/INT0 — Port B bit 0 / ADC input 12 / External interrupt 0 |
| Pin 34 | RB1/AN10/INT1 — Port B bit 1 / ADC input 10 / External interrupt 1 |
| Pin 35 | RB2/AN8/INT2 — Port B bit 2 / ADC input 8 / External interrupt 2 |
| Pin 36 | RB3/AN9/CCP2 — Port B bit 3 / ADC input 9 / Capture-Compare-PWM 2 (alternate) |
| Pin 37 | RB4/AN11/KBI0 — Port B bit 4 / ADC input 11 / Interrupt-on-change bit 0 |
| Pin 38 | RB5/KBI1/PGM — Port B bit 5 / Interrupt-on-change bit 1 / LVP programming |
| Pin 39 | RB6/KBI2/PGC — Port B bit 6 / Interrupt-on-change bit 2 / ICSP clock |
| Pin 40 | RB7/KBI3/PGD — Port B bit 7 / Interrupt-on-change bit 3 / ICSP data |
Typical Applications
PIC18F4620-E/P is suitable for 7 applications: Industrial Control Panels, HVAC Thermostat Controllers, Sensor Conditioning Nodes, Automotive Body Modules (Sub-Meter), Home Automation Controllers, USB Device Class Bridges (Migration Path), Consumer Appliance Control Boards.
Industrial Control Panels
The PIC18F4620-E/P suits industrial control panels where 5V-tolerant I/O, wide temperature operation, and abundant peripherals reduce BOM cost. Its 36 digital I/O pins drive relays, optocouplers, and discrete LEDs directly without level shifters, while the 10-bit ADC with 13 channels reads 4-20 mA loop-back voltages, thermistor dividers, and 0-10V analog sensor outputs. The PIC18 enhanced core's hardware multiplier accelerates closed-loop PID for motor starters and pump controllers at a fraction of the cost of an ARM M0.
Recommended
HVAC Thermostat Controllers
The PIC18F4620-E/P's nanoWatt sleep modes and 10-bit ADC are well-matched to HVAC thermostat designs that must read NTC thermistors, run PID on temperature, drive triacs for compressor and fan control, and survive -40C attic temperatures. With 64 KB Flash the MCU holds full-color LCD menus, scheduling firmware, and Modbus/RTU stack simultaneously. The two analog comparators support zero-cross detection for triac dimming of indicator LEDs without external circuitry.
Recommended
Sensor Conditioning Nodes
In wireless or wired sensor nodes the PIC18F4620-E/P provides analog signal conditioning, local decision logic, and serial backhaul via USART or MSSP SPI. Its 13 ADC channels handle multi-sensor inputs (load cell + temperature + humidity) at 10-bit resolution, while the nanoWatt idle mode drops quiescent draw below typical sleep current of competing radios. Designers pair it with MRF24J40 2.4 GHz transceivers or RN2483 LoRaWAN modules via the MSSP/SPI port.
Recommended
Automotive Body Modules (Sub-Meter)
Although not AEC-Q100 qualified itself, the PIC18F4620-E/P's -40C to +125C extended temperature grade suits cabin-mounted body controllers for window lifts, mirror adjusters, seat controllers, and aftermarket alarm modules. The LIN-capable USART interfaces directly to LIN bus transceivers like MCP2003, while PWM channels drive LED ambient lighting and motor H-bridge drivers. The 40-pin PDIP package aids aftermarket repair shops that prefer through-hole for serviceability.
Recommended
Home Automation Controllers
The PIC18F4620-E/P integrates well into home-automation hubs and sub-controllers that bridge 5V legacy peripherals (relays, dimmers, 1-Wire sensors) with 3.3V wireless modules. Its dual USART allows simultaneous connections to an ESP8266/ESP32 Wi-Fi bridge and an RS-485 Modbus sensor bus. The 64 KB Flash holds full Z-Wave/Zigbee translation tables or DALI lighting protocols for residential LED control.
Recommended
USB Device Class Bridges (Migration Path)
Although the PIC18F4620 lacks an integrated USB peripheral, it serves as a stepping stone in product lines that bridge RS-232 to USB via the PIC18F2550/4550 family. The shared PIC18 instruction set means firmware can be ported between the 4620 (for non-USB products) and the 4550 (for USB products) with minimal code changes. Designers use PIC18F4620-E/P in the non-USB variant of a product family to reuse drivers, math libraries, and bootloaders.
Recommended
Consumer Appliance Control Boards
The PIC18F4620-E/P's 5V native I/O and extended temperature grade fit washing-machine, dishwasher, and microwave control boards where cost matters more than USB connectivity. Its 36 I/O drive seven-segment displays, keypads, buzzer, triac optocouplers, and door-latch sensors directly. The 64 KB Flash holds cycle-program state machines and self-test firmware for factory burn-in, while the 10-bit ADC reads water level and motor current sensors.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F4620-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F4620-I/P | PIC18F4520-I/P | PIC18F4610-I/P | PIC18F4525-I/P | PIC18F45K22-E/P | PIC18F4580-I/P |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same |
| Flash Memory | 64 KB | 64 KB | 32 KB (-50%) | 32 KB (-50%) | 48 KB (-25%) | 32 KB (-50%) | 32 KB (-50%) |
| RAM | 3968 bytes | 3968 bytes | 1536 bytes (-61%) | 2048 bytes (-48%) | 3968 bytes | 1536 bytes (-61%) | 2048 bytes (-48%) |
| Temperature Grade | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) |
| ADC Resolution | 10-bit | 10-bit | 10-bit | 10-bit | 10-bit | 12-bit (better) | 10-bit |
| CAN Peripheral | No | No | No | No | No | No | Yes (CAN) |
| USB Peripheral | No | No | No | No | No | No | No |
| Maximum Clock | 40 MHz (10 MIPS) | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 64 MHz (16 MIPS - faster) | 40 MHz |
Key Differentiators
- Extended -40C to +125C temperature grade vs standard -40C to +85C industrial (vs PIC18F4620-I/P)
- 64 KB Flash and 3968 bytes RAM in a 40-pin PDIP (vs PIC18F4520-I/P)
- No CAN peripheral vs integrated CAN on PIC18F4580 (vs PIC18F4580-I/P)
- Direct migration path to 12-bit ADC and 64 MHz PIC18F46K22 (vs PIC18F45K22-E/P)
Design Notes
The PIC18F4620-E/P's nanoWatt technology provides several sleep modes (Sleep, Idle, and a deep "nanoWatt" mode with RTCC) that drop current below 1 uA typical with the Timer1 oscillator running and below 100 nA in full sleep. For battery-powered designs, gate the analog peripherals off before sleep (clear ADCON1.ADON) to eliminate ADC bias current, and use the internal 31 kHz LFINTOSC for low-power timekeeping rather than an external crystal.
Decouple VDD/VSS pairs with 100 nF ceramic capacitors placed within 5 mm of each power pin pair (pins 11/12 and 31/32). Add a 10 uF bulk capacitor at the board's power-entry point. For analog accuracy, route AVdd/AVss to the same VDD/VSS net via ferrite beads if your design separates analog and digital grounds - otherwise tie them together at the MCU. Keep ADC traces short and away from PWM/CCP outputs to minimize digital coupling into the analog inputs.
Do not assume all PIC18F46xx variants have the same Flash size; the PIC18F4520 and PIC18F4610 have only 32 KB. Mismatching variants is a leading cause of "memory overflow" during firmware bring-up. Second, the MCLR pin (pin 1) must not float - tie it to VDD through a 10 kohm resistor for normal operation or to the ICSP programmer's VPP line during programming. Third, RB5 doubles as the LVP programming pin - if you pull RB5 low at power-on you will inadvertently enter Low-Voltage Programming mode; add a weak pull-up or buffer.
At 40 MHz and 5V, the PIC18F4620-E/P draws approximately 25 mA active and 50 nA sleep. The 40-pin PDIP package has a theta_JA of roughly 50 C/W in still air, so worst-case active power dissipation of 125 mW yields a 6C junction temperature rise - well within thermal limits. However, ensure the analog VREF input current (pin 5) does not exceed the datasheet's 10 mA limit, or accuracy will degrade.
Compliance Information
RoHS and REACH compliant per Microchip product page. NOT AEC-Q100 qualified - the -E suffix denotes -40C to +125C extended industrial temperature only, not automotive certification. For AEC-Q100 applications use PIC18F46K22-I/P family instead.