PIC16F677-E/P - 8-Bit 20MHz 3.5KB Flash MCU | Microchip 20-PDIP
MPN: PIC16F677-E/P β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.45 | $2.45 |
| 10 | $2.21 | $22.10 |
| 100 | $1.95 | $195.00 |
| 500 | $1.74 | $870.00 |
| 1,000 | $1.55 | $1,550.00 |
PIC16F677-E/P Overview
A microcontroller (MCU) is a single-chip computer containing a CPU, program memory (ROM/Flash), working memory (RAM), non-volatile data memory (EEPROM), and programmable I/O peripherals. The PIC16F677 belongs to the mid-range PIC16 family of 8-bit RISC MCUs, which sits below the PIC18/PIC24 and above the baseline PIC10/12/16 families in Microchip's 8-bit portfolio. PIC mid-range devices use a 14-bit instruction word and Harvard architecture, providing deterministic timing ideal for real-time control loops. The "F" suffix indicates Flash program memory (reprogrammable in-circuit), the "677" identifies the specific die, and the "-E/P" suffix chain encodes extended temperature grade (E) and PDIP package (P).
Key features include 3.5 KB self-programmable Flash, 128 B SRAM, 256 B EEPROM, 12 digital I/O pins with interrupt-on-change capability, a 10-bit ADC with up to 8 channels, two 8-bit timers plus one 16-bit timer, a dedicated Capture/Compare/PWM (CCP) module, a USART for asynchronous serial communication, an Enhanced Universal Synchronous/Asynchronous Receiver-Transmitter, and on-chip oscillator options supporting external crystals, resonators, or internal 31 kHz/8 MHz RC operation. The nanoWatt technology layer enables deep sleep currents as low as ~50 nA typical and active currents around 1 mA at 4 MHz, allowing battery-powered designs to last years on a single cell.
The mid-range PIC16F677 core implements a 14-bit instruction set with only 35 single-word instructions, simplifying firmware development. The Harvard architecture separates program and data buses, allowing instruction fetch and data access to occur in the same cycle. The integrated brown-out reset (BOR), power-on reset (POR), and watchdog timer (WDT) with on-chip low-power RC oscillator provide robust field deployment. Code protection fuses and ICD (In-Circuit Debugger) support are standard, easing prototyping and securing intellectual property.
Typical applications include white goods and home appliances (washing machines, microwave oven controllers), HVAC thermostats and fan controls, automotive body electronics (interior lighting, seat controllers, instrument clusters), industrial sensor interfaces, remote controls, battery chargers, and low-cost sensor-conditioning front ends. The extended temperature grade makes the PIC16F677-E/P suitable for under-hood automotive modules and outdoor industrial enclosures.
When designing with this MCU, allocate pin budget carefully: 12 I/O pins must serve ADC, USART, CCP, ICSP programming (RB6/RB7), and the MCLR reset, leaving limited headroom for dense interfaces. Always provision two decoupling capacitors (100 nF + 10 uF) within 5 mm of VDD/VSS pins, and ensure the ICSP clock/data lines are not loaded by application circuitry that would disturb in-circuit debug.
This page synthesizes distributor pricing, same-family drop-in alternatives within the 20-PDIP footprint, and practical design notes not found on the manufacturer product page alone.
Drop-in alternatives for PIC16F677-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 PIC16F677-E/P (same form factor and footprint) β differing in ADC, Architecture, I/O Pins, Operating Temperature, Package.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F677-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F676-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F676-E/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F631-E/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F677-E/P Maximum Ratings & Electrical Characteristics
| Architecture | PIC16 mid-range 8-bit RISC, 14-bit instruction word |
| Program Memory | 3.5 KB (2K x 14) Flash |
| Data SRAM | 128 B |
| Data EEPROM | 256 B |
| Max CPU Speed | 20 MHz (200 ns instruction cycle) |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| I/O Pins | 12 (with interrupt-on-change on PORTB) |
| ADC | 10-bit, up to 8 channels |
| Timers | 2 x 8-bit + 1 x 16-bit |
| CCP Module | 1 x Capture/Compare/PWM |
| Serial | EUSART (asynchronous + synchronous) |
| Internal Oscillator | 31 kHz LF + 8 MHz HF (calibrated) |
| Operating Temperature | -40 C to +125 C (Extended grade) |
| Package | 20-pin PDIP (through-hole, 0.300 in / 7.62 mm row pitch) |
| ICSP / Debug | In-Circuit Serial Programming (PGC/PGD) + ICD |
| Brown-out Reset | Yes (BOR) |
| Watchdog Timer | Yes (WDT with on-chip RC) |
| RoHS Status | Compliant |
PIC16F677-E/P Pin Configuration
| Pin 1 | RA0/AN0/C1IN+/ICSPDAT β PORTA bit 0 / ADC input / Comparator input / ICSP data |
| Pin 2 | RA1/AN1/C1IN-/ICSPCLK β PORTA bit 1 / ADC input / Comparator input / ICSP clock |
| Pin 3 | RA2/AN2/CVREF/VREF- β PORTA bit 2 / ADC input / Comparator VREF / ADC VREF- |
| Pin 4 | RA3/AN3/C1OUT/VREF+ β PORTA bit 3 / ADC input / Comparator output / ADC VREF+ |
| Pin 5 | RA4/AN4/T0CKI/C2OUT β PORTA bit 4 / ADC input / Timer0 clock / Comparator output |
| Pin 6 | RA5/AN5/SS/HVLDO/C2IN+ β PORTA bit 5 / ADC input / SPI SS / High-V Detect |
| Pin 7 | RA6/OSC2/CLKO β PORTA bit 6 / Crystal oscillator output / Clock output |
| Pin 8 | RA7/OSC1/CLKI β PORTA bit 7 / Crystal oscillator input / Clock input |
| Pin 9 | VSS β Ground reference |
| Pin 10 | VDD β Positive supply voltage (2.0V to 5.5V) |
| Pin 11 | RB0/AN8/INT β PORTB bit 0 / ADC input / External interrupt |
| Pin 12 | RB1/AN9 β PORTB bit 1 / ADC input |
| Pin 13 | RB2/AN10 β PORTB bit 2 / ADC input |
| Pin 14 | RB3/AN11/CCP1 β PORTB bit 3 / ADC input / CCP1 PWM output |
| Pin 15 | RB4/AN12 β PORTB bit 4 / ADC input |
| Pin 16 | RB5/AN13 β PORTB bit 5 / ADC input |
| Pin 17 | RB6/PGC β PORTB bit 6 / ICSP clock (programming/debug) |
| Pin 18 | RB7/PGD β PORTB bit 7 / ICSP data (programming/debug) |
| Pin 19 | RC0/T1OSO/T1CKI β PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 20 | RC1/T1OSI/CCP2 β PORTC bit 1 / Timer1 oscillator input / CCP2 PWM |
Typical Applications
PIC16F677-E/P is suitable for 6 applications: Home Appliance Control (Washing Machines, Microwave Ovens), HVAC Thermostats and Fan Speed Controllers, Automotive Body Electronics (Interior Lighting, Seat Controllers), Industrial Sensor Signal Conditioning Front Ends, Remote Control and Battery-Operated Wireless Sensors, Smart Battery Chargers and Power Banks.
Home Appliance Control (Washing Machines, Microwave Ovens)
The PIC16F677-E/P is a natural fit for home appliance main control boards where cost, deterministic timing, and industrial temperature tolerance are required. The 20-MHz core provides 200 ns instruction execution, sufficient to scan a 4x4 keypad, drive a triac-based load controller via the CCP PWM, and service UART-based inverter/motor feedback in a single time slice. Its 3.5 KB Flash accommodates state-machine firmware for wash cycles or microwave cooking profiles without external memory, while the 256-byte EEPROM stores user-set preferences across power cycles. Compared with a software-only bit-banging approach, the dedicated EUSART hardware allows reliable mains-isolated communication with subassemblies.
Recommended
HVAC Thermostats and Fan Speed Controllers
The PIC16F677-E/P's 10-bit ADC with up to 8 channels directly digitizes NTC thermistor dividers, setpoint potentiometers, and airflow sensors without external analog front end. The CCP module generates a 25 kHz PWM that drives a TRIAC or logic-level FET for variable fan speed, while the 16-bit timer times debounce and zero-crossing detection. nanoWatt sleep mode drops quiescent current under 1 uA between sensor reads, allowing multi-year battery life on a 2xAA cell backup. The 20-pin PDIP package is through-hole friendly for hand-soldered or wave-soldered HVAC control boards.
Recommended
Automotive Body Electronics (Interior Lighting, Seat Controllers)
The PIC16F677-E/P's extended -40 C to +125 C temperature grade targets under-hood and cabin automotive modules where commercial-grade parts fail. Its 12 I/O pins drive multiple LED channels via PWM for interior ambient lighting, scan seat-occupancy switches with interrupt-on-change, and communicate over LIN-like UART to body controllers. The integrated brown-out reset prevents erratic behavior during cranking transients down to 4 V. Compared with discrete logic, the 677 replaces 3-4 timer ICs and an analog multiplexer, shrinking the body-electronics BOM and PCB area by roughly 40 percent.
Recommended
Industrial Sensor Signal Conditioning Front Ends
The PIC16F677-E/P pairs a 20 MHz core with a 10-bit ADC and an EUSART, making it ideal for low-cost 4-20 mA or 0-10 V sensor transmitters in factory automation. The MCU digitizes the conditioned analog signal, applies linearization in firmware, and outputs a calibrated Modbus-RTU stream over the EUSART at 9600/19200 baud. With 3.5 KB Flash, a calibration table with up to 256 points fits, providing 0.1 percent nonlinearity correction. The 20-PDIP package withstands the conformal coating and wave-soldering typical of industrial sensor boards.
Recommended
Remote Control and Battery-Operated Wireless Sensors
The PIC16F677-E/P's nanoWatt technology reduces sleep current to roughly 50-100 nA typical, allowing a button-cell powered remote control to last 5+ years without battery replacement. Its interrupt-on-change PORTB feature wakes the MCU from sleep on a keypress in under 5 microseconds, then services a 315/433 MHz OOK/FSK transmitter via PWM or timer-driven bit-bang. The 3.5 KB Flash stores multiple device pairing codes and rolling-code encryption, and the 256-byte EEPROM holds user preferences. Compared with discrete 555-timer designs, this approach reduces component count by roughly 60 percent.
Recommended
Smart Battery Chargers and Power Banks
The PIC16F677-E/P implements CC/CV charge profiles for NiMH, Li-ion, or lead-acid packs using its 10-bit ADC for voltage and current sensing, plus the CCP PWM for synchronous buck converter drive. The EUSART provides status reporting to a host or display over UART/I2C. With 3.5 KB Flash, lookup-table based charge algorithms for multiple chemistries fit easily. The extended -40 C to +125 C grade covers the thermal envelope of enclosed charging bays, and the 20-pin PDIP simplifies hand-prototype through-hole builds before moving to a smaller QFN variant for production.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F677-E/P β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F677-I/P | PIC16F676-I/P | PIC16F676-E/P | PIC16F631-E/P |
|---|---|---|---|---|---|
| Package | 20-pin PDIP (through-hole) | 20-pin PDIP (through-hole) - same | 20-pin PDIP (through-hole) - same | 20-pin PDIP (through-hole) - same | 20-pin PDIP (through-hole) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Program Memory | 3.5 KB (2K x 14) | 3.5 KB (2K x 14) | 1.75 KB (1K x 14) | 1.75 KB (1K x 14) | 1.75 KB (1K x 14) |
| Data RAM | 128 B | 128 B | 64 B | 64 B | 64 B |
| Data EEPROM | 256 B | 256 B | 128 B | 128 B | 128 B |
| Max CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Operating Temperature | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +125 C (Extended) | -40 C to +125 C (Extended) |
| I/O Pins | 12 | 12 | 12 | 12 | 11 |
| Approx. Unit Price (qty 1) | $2.45 | ~$2.10 | ~$1.85 | ~$2.05 | ~$1.80 |
Key Differentiators
- Largest Flash memory in the PIC16F67x 20-PDIP family (vs PIC16F676-E/P)
- Extended -40C to +125C temperature grade with full peripheral set (vs PIC16F677-I/P)
- Enhanced USART plus 256-byte EEPROM (vs PIC16F631-E/P)
Design Notes
Estimated: at 20 MHz and 5 V, the PIC16F677-E/P draws approximately 4-7 mA active. Provide a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin and a bulk 10 uF electrolytic or tantalum on the same supply trace. For battery-powered designs, enable nanoWatt sleep modes and use the watchdog timer or interrupt-on-change to wake the core, which reduces quiescent current below 1 uA typical and extends battery life to multiple years on a CR2032 cell.
Place the ICSP connector (PGC on RB6, PGD on RB7, MCLR pulled up to VDD through 10 kOhm) so RB6/RB7 are not heavily loaded by external components that exceed 50 pF total, otherwise in-circuit debug will fail. Keep the crystal or resonator within 5 mm of OSC1/OSC2 (RA7/RA6) and route the traces as short, balanced, and guarded as possible to minimize EMI and stray capacitance. Avoid running PWM or high-current switching traces parallel to the crystal traces to prevent jitter.
Do not leave the MCLR pin floating - it must be tied to VDD through a 10 kOhm resistor (or driven by the ICSP programmer) to ensure proper reset behavior. Brown-out reset (BOR) should be left enabled for production firmware to prevent code execution at unsafe VDD levels, but disabled only for low-voltage battery-monitoring use cases. Watchdog timer postscaler must be configured before enabling WDT to avoid an immediate unintended reset on startup.
When using the 10-bit ADC, place a 100 nF ceramic bypass capacitor at each analog input pin shared with digital signals, and ensure the analog traces are routed away from switching nodes to prevent digital noise coupling. Select acquisition time and conversion clock so the ADC sampling capacitor fully settles - for 10 kOhm source impedance use at least 8 microseconds acquisition. Use the ADC's dedicated VREF+ pin (RA3) tied to a clean reference, not VDD, if accuracy better than 1 percent is required.
Compliance Information
RoHS compliant per Microchip product page. AEC-Q100 not formally qualified at this MPN level; automotive customers should consult Microchip for Q-grade variants. Lead-free PDIP package, halogen-free molding compound.