PIC16F627-20E/SO - 8-bit PIC MCU 1.75KB Flash 20MHz SOIC-18 | Microchip
MPN: PIC16F627-20E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.12 | $3.12 |
| 10 | $2.78 | $27.80 |
| 100 | $2.41 | $241.00 |
| 500 | $2.05 | $1,025.00 |
| 1,000 | $1.74 | $1,740.00 |
PIC16F627-20E/SO Overview
A microcontroller (MCU) is a single-chip computer containing a CPU, memory, and peripherals. The 8-bit PIC microcontroller architecture uses a Harvard design with separate program and data buses, enabling single-cycle instruction execution and deterministic timing that has made PIC MCUs a workhorse in embedded designs since the 1990s. The PIC16F62X family sits in the entry-level / mid-range tier, popular for cost-sensitive industrial control, appliance, and automotive body applications.
Key features include an enhanced mid-range 14-bit instruction set, two analog comparators with a programmable on-chip voltage reference (CVREF), a Capture/Compare/PWM (CCP) module, an USART with RS-485 support, a 10-bit ADC-less design (analog handled by comparators), brown-out detect (BOD), power-on reset (POR), power-up timer (PWRT), oscillator start-up timer (OST), and a watchdog timer (WDT) with its own internal RC oscillator for fail-safe operation.
The wide operating voltage range of 3.0 V to 5.5 V and four oscillator options (RC, LP, XT, HS, external) plus internal 4 MHz RC allow flexible clocking. The -E suffix designates the extended temperature grade (-40 °C to +125 °C), and the /SO suffix denotes the 18-pin SOIC wide-body package supplied in tube. Industrial-grade (-40 °C to +85 °C) is the -I suffix; the non-suffix version is commercial (0 °C to +70 °C).
Typical applications include appliance control (washing machines, microwave ovens), automotive body electronics (mirror controllers, seat controllers, remote keyless entry), security and access systems, remote controls, sensor conditioning loops using the analog comparators, and small industrial control boards that benefit from the small footprint, integrated EEPROM data storage, and robust peripherals.
When designing with this part, leave the MCLR pin pull-up or use a software-controlled weak pull-up after considering in-circuit serial programming (ICSP) access. Program the CONFIG word to select oscillator mode and disable unused peripherals to reduce active current below 10 µA typical in sleep.
This page synthesizes distributor pricing, drop-in PIC16F62X family alternatives, and practical design notes not found in the standalone manufacturer datasheet.
Drop-in alternatives for PIC16F627-20E/SO — 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 PIC16F627-20E/SO (same form factor and footprint) — differing in Package, I/O Pins, Timers, Core Architecture, Analog Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F627-20/SO
✅ Drop-In✓ In Stock
$1.83 / Unit
View Datasheet →PIC16F627T-20E/SO
✅ Drop-In✓ In Stock
$2.55 / Unit
View Datasheet →PIC16F627-20E/P
✅ Drop-In✓ In Stock
$1.95 / Unit
View Datasheet →PIC16F627A-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F627-04I/SO
✅ Drop-In✓ In Stock
$1.59 / Unit
View Datasheet →PIC16F627-04I/SS
✅ Drop-In✓ In Stock
$1.38 / Unit
View Datasheet →PIC16F627-20E/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC (Harvard, RISC) |
| Family | PIC16F62X (enhanced mid-range, 14-bit instruction) |
| Program Memory | 1.75 KB Flash (1K x 14 words) |
| Data RAM | 224 bytes |
| Data EEPROM | 128 bytes |
| Maximum CPU Frequency | 20 MHz |
| Operating Voltage | 3.0 V to 5.5 V |
| I/O Pins | 16 (high-current sink/source for LED drive) |
| Analog Comparators | 2 with programmable on-chip VREF |
| USART | Yes (with RS-485 support) |
| CCP Module | Capture / Compare / PWM |
| Timers | Timer0, Timer1 (16-bit), Timer2 |
| Watchdog Timer (WDT) | Yes, with dedicated on-chip RC oscillator |
| Brown-out Detect (BOD) | Yes |
| Package | 18-pin SOIC (SO, wide body 7.50 mm) |
| Temperature Grade | Extended (-40 °C to +125 °C), -E suffix |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC16F627-20E/SO Pin Configuration
| Pin 1 | RA2/AN2/CVREF — Digital I/O RA2 / Analog input / Comparator VREF output |
| Pin 2 | RA3/AN3/CMP1 — Digital I/O RA3 / Analog input / Comparator 1 output |
| Pin 3 | RA4/AN4/T0CKI — Digital I/O RA4 (open-drain) / Analog input / Timer0 clock input |
| Pin 4 | RA5/MCLR/VPP — Digital I/O RA5 / Master Clear (reset, active low) / Programming voltage |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0/INT — Digital I/O RB0 / External interrupt input |
| Pin 7 | RB1/RX/DT — Digital I/O RB1 / USART RX / Synchronous data |
| Pin 8 | RB2/TX/CK — Digital I/O RB2 / USART TX / Synchronous clock |
| Pin 9 | RB3/CCP1 — Digital I/O RB3 / Capture-Compare-PWM 1 |
| Pin 10 | RB4/PGM — Digital I/O RB4 / LVP programming |
| Pin 11 | RB5 — Digital I/O RB5 |
| Pin 12 | RB6/T1OSC/T1CKI/PGC — Digital I/O RB6 / Timer1 oscillator / Timer1 clock / ICSP clock |
| Pin 13 | RB7/T1OSI/PGD — Digital I/O RB7 / Timer1 oscillator in / ICSP data |
| Pin 14 | VDD — Positive supply (3.0 V to 5.5 V) |
| Pin 15 | RA6/OSC2/CLKOUT — Digital I/O RA6 / Oscillator output / Clock out |
| Pin 16 | RA7/OSC1/CLKIN — Digital I/O RA7 / Oscillator input / Clock in |
| Pin 17 | RA0/AN0 — Digital I/O RA0 / Analog input 0 |
| Pin 18 | RA1/AN1 — Digital I/O RA1 / Analog input 1 |
Typical Applications
PIC16F627-20E/SO is suitable for 7 applications: Appliance Control (Washing Machines, Microwave Ovens), Automotive Body Electronics (RKE, Mirror, Seat Controllers), Security and Access Control Systems, Remote Controls and IR/RF Transmitters, Sensor Signal Conditioning Loops, Small Industrial Control Boards, Battery Charging and Power Management Front-Ends.
Appliance Control (Washing Machines, Microwave Ovens)
The PIC16F627-20E/SO's 16 high-current I/O pins (25 mA sink/source) directly drive triacs, relays, LED indicators, and 7-segment displays without external buffers in washing machine controllers and microwave ovens. The -E extended temperature grade (-40 to +125 C) handles the heat of motor compartments and unventilated enclosures. With 1.75 KB flash and 128 bytes of EEPROM, the MCU stores user presets and learns cycle parameters reliably across power cycles, while the CCP module generates PWM for variable-speed motor drives. The wide 3.0-5.5 V supply allows direct connection to rectified mains-derived rails.
Recommended
Automotive Body Electronics (RKE, Mirror, Seat Controllers)
The PIC16F627-20E/SO is widely used in automotive remote keyless entry, power mirror controllers, and seat-position modules because of its -E extended temperature grade that survives under-hood and door-panel extremes. The integrated USART with RS-485 support interfaces to LIN sub-bus or body-controller networks, while the 10 mA typical active current keeps quiescent drain below 1 mA in sleep for battery-parked vehicles. Two analog comparators with programmable VREF read battery voltage and current-sense shunts without an external ADC, and the watchdog timer with its own RC oscillator prevents lockup during cranking-voltage transients.
Recommended
Security and Access Control Systems
In alarm panels, keypad controllers, and magnetic-card readers, the PIC16F627-20E/SO provides 1.75 KB of flash for protocol stacks and 128 bytes of EEPROM for storing user credentials, event logs, and zone configurations. The two analog comparators sense tamper switches and glass-break piezo elements directly, while the USART connects to GSM or wireless modules for off-premises notification. Brown-out detect (BOD) and power-on reset (POR) ensure the controller starts cleanly after power restoration, and the watchdog timer recovers from firmware hang states. The 18-pin SOIC keeps the PCB compact for wall-mounted enclosures.
Recommended
Remote Controls and IR/RF Transmitters
Battery-powered remote controls benefit from the PIC16F627-20E/SO's sub-10 uA sleep current and fast wake-up from the watchdog timer interrupt, extending coin-cell life across thousands of button presses. The CCP module generates 38 kHz carrier for IR transmission, while Timer1 (16-bit) provides accurate timing for RF packet encoding. With 16 I/O pins, the part can scan 4x4 keypads directly. The wide 3.0-5.5 V range accommodates 2-cell alkaline, 3-cell NiMH, or CR2032-with-boost supplies without level shifters.
Recommended
Sensor Signal Conditioning Loops
The PIC16F627-20E/SO's two analog comparators with programmable on-chip voltage reference (CVREF) create accurate threshold detectors for thermocouples, photodiodes, Hall-effect sensors, and strain gauges without an external ADC. The USART streams conditioned sensor data to a host controller or Bluetooth module at up to 19.2 kbaud. Brown-out detect and the wide operating voltage protect the comparator thresholds during supply transients. With 1.75 KB flash, the MCU runs simple linearization and calibration firmware on-board, reducing host-processor burden.
Recommended
Small Industrial Control Boards
Industrial sensor-interface boards, PLC expansion modules, and HVAC damper controllers use the PIC16F627-20E/SO for its industrial/extended temperature operation and robust peripherals. The 16 I/O pins handle discrete inputs (limit switches, push-buttons) and outputs (solenoids, indicator LEDs) directly, while the USART links to RS-485 industrial buses. The 1.75 KB flash accommodates Modbus RTU or proprietary protocols, and 128 bytes of EEPROM retains calibration coefficients across power cycles. Industrial designers prefer the SOIC package for SMT assembly and the part's 20-year Microchip longevity commitment.
Recommended
Battery Charging and Power Management Front-Ends
The PIC16F627-20E/SO's two analog comparators monitor battery voltage, charge current, and temperature in simple NiCd, NiMH, or single-cell Li-Ion chargers without a dedicated ADC. The CCP module drives PWM for switch-mode charger topologies, while Timer2 provides the PWM time base. The 128-byte EEPROM stores charge-cycle counters and learned battery parameters, and brown-out detect prevents the charger from operating the battery below safe voltage. The 18-pin SOIC footprint and 3.0-5.5 V supply range fit both wall-cube and USB-powered charger designs.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F627-20E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F627-20/SO | PIC16F627T-20E/SO | PIC16F627-20E/P | PIC16F627A-E/SO | PIC16F627-04I/SO |
|---|---|---|---|---|---|---|
| Package | SOIC-18 (SO wide body) | SOIC-18 - same | SOIC-18 - same | PDIP-18 (through-hole) | SOIC-18 - same | SOIC-18 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Program Memory | 1.75 KB | 1.75 KB | 1.75 KB | 1.75 KB | 1.75 KB | 1.75 KB |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 4 MHz |
| Temperature Grade | Extended -40 to +125 C | Commercial 0 to +70 C | Extended -40 to +125 C | Extended -40 to +125 C | Extended -40 to +125 C | Industrial -40 to +85 C |
| Operating Voltage | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V |
| I/O Pins | 16 | 16 | 16 | 16 | 16 | 16 |
| RAM / EEPROM | 224 B / 128 B | 224 B / 128 B | 224 B / 128 B | 224 B / 128 B | 224 B / 128 B | 224 B / 128 B |
Key Differentiators
- Extended -40 to +125 C temperature grade in SOIC-18 (vs PIC16F627-20/SO)
- Two analog comparators with programmable on-chip VREF (vs PIC16F628)
- USART with RS-485 support in 18-pin package (vs PIC16F84)
- 16 high-current I/O pins for direct LED drive (vs PIC16F818)
Design Notes
The PIC16F627-20E/SO draws a typical active current of 2 mA at 5 V / 4 MHz and around 10 mA at 20 MHz, falling below 1 uA in sleep mode. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 14) and a bulk 10 uF tantalum or ceramic on the same rail to suppress switching transients. For battery-powered designs, route the MCLR pin through a 10 kohm pull-up so the internal weak pull-up does not need to be relied upon for power-on reset.
Pin 4 (RA5/MCLR/VPP) doubles as the ICSP programming voltage input. Route the ICSP connector (PGD, PGC, VPP, VDD, GND) to a 5-pin header with no series resistors on PGD/PGC, and avoid placing other signal traces under the header footprint. The SOIC-18 wide-body package has 1.27 mm pin pitch; keep out 2 mm of copper pour from each pin pad to prevent solder bridging during reflow.
Do not leave the MCLR pin floating - it must be tied to VDD through a 10 kohm resistor or driven by the ICSP programmer. When using the internal 4 MHz RC oscillator, configure the CONFIG word oscillator bits correctly or the device will not start. The analog comparator inputs share pins with digital I/O; set the corresponding TRIS bits to disable the digital input buffer to prevent cross-coupling when using comparator mode.
The USART pins RB1/RX and RB2/TX must have their TRIS bits configured correctly before enabling the USART, or the baud-rate generator can drive the TX pin into contention with a peripheral. For RS-485 bus connections, add 120 ohm termination only at the bus ends - never on stub drops. When using the CCP1 PWM output on RB3, route this trace away from analog comparator inputs to avoid high-frequency coupling into sensor signals.
The PIC16F627-20E/SO is specified for -40 to +125 C junction temperature. In sealed enclosures with no airflow, derate output drive strength by limiting simultaneous high-current sink/source on multiple pins; each I/O is rated for 25 mA with a total package limit of 200 mA across all ports. Above 70 C ambient, drop the I/O toggle rate or reduce the number of simultaneously driven high-current outputs to stay within thermal limits.
Compliance Information
RoHS compliant per Microchip product page. The -E suffix is an extended temperature grade and is NOT AEC-Q100 automotive-qualified; choose PIC16F627-20E/SO only when design does not require formal automotive certification.