PIC16F687-E/P - 8-Bit 20MHz Flash MCU | Microchip | Embedded Control
N.º de pieza: PIC16F687-E/P ✓ ActivoPIC16F687-E/P Descripción general
A microcontroller is a programmable integrated circuit used to execute embedded control logic. In the product hierarchy, the PIC16F687-E/P is an 8-bit RISC microcontroller, a member of the PIC16 family, and a semiconductor within the broader embedded-processing and industrial-control categories. Its role is to read inputs, execute firmware, update outputs, and manage connected peripherals without requiring a separate processor for small control tasks.
Key features include a 20 MHz maximum clock speed, 3.5 KB of flash program memory, onboard EEPROM data memory, and a broad 2.0 V to 5.5 V operating-voltage range for the PIC16F687 family. The 11 available I/O pins support digital control and communication functions, while the in-system programming architecture allows firmware to be programmed and updated through the device programming interface.
The PIC16F687-E/P uses the mid-range x14 architecture rather than a high-end processor architecture. Its program memory provides 2K × 14 words, allowing relatively compact firmware to control sensors, actuators, indicators, and communication peripherals. The CMOS implementation and nanoWatt technology identify the device as intended for low-power embedded operation, although exact sleep-mode and active-current figures require confirmation from the manufacturer datasheet.
Typical applications include industrial control modules, building equipment, appliance controllers, instrumentation, small motor-control systems, and embedded sensing nodes. Its 20-pin PDIP package supports conventional through-hole assembly and prototyping, while the 20 MHz operating speed provides sufficient execution capability for real-time control, debouncing, state management, and serial peripheral coordination.
Designers should confirm the complete electrical limits, oscillator options, peripheral configuration, and programming requirements before release to production. Particular attention should be paid to decoupling, oscillator layout, reset behavior, and the voltage requirements of attached peripherals because those implementation details determine whether the controller operates reliably beyond its headline 20 MHz specification.
This product page consolidates the verified manufacturer and distributor data into a specification summary, practical application guidance, a complete 20-pin assignment, and same-package drop-in alternatives. It is intended to support engineering selection and sourcing decisions without substituting unverified values for parameters that require review of the manufacturer datasheet.
Alternativas directas para PIC16F687-E/P — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC16F687-E/P (mismo factor de forma y huella) — difiere en Package, Product Type, Core Architecture, EEPROM Data Memory, I/O Pins.
PIC16F687-I/P
✅ Sustitución directa ⚠️ Especificaciones sin verificarConsulte el precio
Ver hoja de datos →PIC16F688-I/P
✅ Sustitución directa ⚠️ Especificaciones sin verificarConsulte el precio
Ver hoja de datos →PIC16F684-I/P
✅ Sustitución directa ⚠️ Especificaciones sin verificarConsulte el precio
Ver hoja de datos →PIC16F683-I/P
✅ Sustitución directa ⚠️ Especificaciones sin verificar📋 Alternativa de referencia (no en el catálogo)
PIC16F677-I/P
✅ Sustitución directa ⚠️ Especificaciones sin verificarConsulte el precio
Ver hoja de datos →PIC16F687-E/P Valores máximos y características eléctricas
| Processor Architecture | 8-bit PIC16 RISC |
| Maximum Clock Speed | 20 MHz |
| Program Memory Type | Flash |
| Program Memory Size | 3.5 KB |
| Program Memory Organization | 2K × 14 words |
| Family Operating Voltage Range | 2.0 V to 5.5 V |
| I/O Port Count | 11 ports |
| Package Type | 20-pin PDIP |
| Package Pitch | 0.300 inch |
| Estilo de montaje | Through-hole |
| Process Technology | CMOS |
| Power Technology | nanoWatt technology |
| Onboard EEPROM Data Memory | Present |
| Estado del ciclo de vida | Active |
| Lead-Free Package | Yes |
Configuración de pines de PIC16F687-E/P
| Pin 1 | MCLR/VPP — Program memory clear and programming voltage input |
| Pin 2 | RA5/CLKO/BCLK — Port RA5 with alternate clock functions |
| Pin 3 | RA4/T1OSC — Port RA4 with Timer1 oscillator alternate function |
| Pin 4 | RA3/M1RX/AN5/C1IN+ — Port RA3 with comparator, analog, and M1RX alternate functions |
| Pin 5 | RA2/M1TX/AN4/C1OUT — Port RA2 with comparator, analog, and M1TX alternate functions |
| Pin 6 | RA1/AN3/C1IN- — Port RA1 with analog and comparator alternate functions |
| Pin 7 | RA0/AN2/C1OUT+ — Port RA0 with analog and comparator alternate functions |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7/AN0 — Port RA7 with analog alternate function |
| Pin 10 | RA6/AN1 — Port RA6 with analog alternate function |
| Pin 11 | RC0/T1CKI — Port RC0 with Timer1 clock input alternate function |
| Pin 12 | RC1/T1CKI/CCP2 — Port RC1 with Timer1 and CCP2 alternate functions |
| Pin 13 | RC2/CCP1 — Port RC2 with CCP1 alternate function |
| Pin 14 | RC3/SCK/SCL — Port RC3 with synchronous clock alternate functions |
| Pin 15 | RC4/SDI/SDO — Port RC4 with synchronous data input and output alternate functions |
| Pin 16 | RC5 — Port RC5 |
| Pin 17 | C6OUT — Comparator 6 output |
| Pin 18 | VDD — Positive power supply |
| Pin 19 | OSC1/CLKIN — Oscillator 1 or external clock input |
| Pin 20 | OSC2/CLKOUT — Oscillator 2 or clock output |
Aplicaciones típicas
PIC16F687-E/P es adecuado para 6 aplicacións: Industrial Equipment Controller, Appliance Control Module, Building Automation Node, Portable Instrumentation, Small Motor and Relay Control, Prototype and Educational Controller.
Industrial Equipment Controller
The PIC16F687-E/P fits compact industrial equipment controllers because it combines an 8-bit PIC16 processor, up to 20 MHz operation, and 3.5 KB of flash in a 20-pin PDIP package. The controller can execute sequencing logic, debounce operator inputs, drive indicators, and coordinate sensors and actuators without a separate processor. Its 11 I/O ports provide a practical interface for discrete control signals, while the onboard EEPROM supports parameter retention. For industrial use, confirm the exact E-grade temperature limits, required peripheral functions, and protection requirements before production release.
Recomendado
Appliance Control Module
PIC16F687-E/P is suitable for appliance controls that need deterministic state management, user-input handling, and coordination of motors, heaters, relays, or displays. The 20 MHz clock gives the firmware enough throughput for real-time tasks, while 2K × 14 words of program memory support compact control code. The 20-pin PDIP package is particularly useful during appliance development, where through-hole construction simplifies prototyping and servicing. Engineers should budget EEPROM and RAM carefully, confirm peripheral availability, and isolate inductive loads from sensitive control circuitry.
Recomendado
Building Automation Node
The PIC16F687-E/P can serve as a low-cost building-automation node for lighting control, occupancy inputs, temperature-related signals, and remotely commanded relays. Its 11 I/O ports support a mix of digital controls, and its flash-based program memory allows field-programmable behavior. The 20 MHz processor supports communication routines alongside control logic, although the exact serial peripheral configuration must be checked against the manufacturer datasheet. For wall-mounted or long-life equipment, verify temperature grade, surge exposure, isolation, and low-power behavior as part of the final design qualification.
Recomendado
Portable Instrumentation
PIC16F687-E/P is applicable to portable instruments where a compact microcontroller must acquire digital sensor inputs, execute measurement control logic, and manage a local operator interface. Its 8-bit architecture and 20 MHz clock are appropriate for small control loops, status handling, and sensor conditioning control. The 11 I/O ports simplify connection to switches, indicators, and external interface circuits, while EEPROM can retain calibration or configuration data when the manufacturer confirms sufficient capacity. Battery-powered designs require careful review of active and sleep current because exact values were not supplied in the verified records.
Recomendado
Small Motor and Relay Control
The PIC16F687-E/P can coordinate relays, solenoids, small motors, and status indicators in compact control equipment. A 20 MHz PIC16 processor provides sufficient instruction throughput for debouncing, timing, interlocks, and fault-state handling, while flash memory supports a complete control sequence. The 20-pin PDIP package simplifies conventional through-hole assembly and makes the controller practical for cost-sensitive prototypes. Designers must add suitable driver and protection circuitry, verify available peripheral resources, and confirm that the controller's ground and supply arrangement remains compatible with inductive-load switching noise.
Recomendado
Prototype and Educational Controller
PIC16F687-E/P is well suited to educational and rapid-prototyping boards because it combines a recognized 8-bit PIC16 architecture, flash programmability, and a conventional 20-pin PDIP footprint. Students or engineers can implement timers, counters, input polling, state machines, and peripheral demonstrations without soldering fine-pitch packages. Its 3.5 KB program memory provides room for instructive firmware, and the 20 MHz clock allows timing demonstrations. Before using it with a modern development board, confirm the programming connector, reset circuit, oscillator choice, decoupling values, and pin-function mapping from the manufacturer datasheet.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC16F687-E/P — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | PIC16F687-I/P | PIC16F688-I/P | PIC16F684-I/P | PIC16F683-I/P | PIC16F677-I/P |
|---|---|---|---|---|---|---|
| Package | 20-PDIP | 20-PDIP - same | 20-PDIP - same | 20-PDIP - same | 20-PDIP - same | 20-PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Processor Architecture | 8-bit PIC16 RISC | 8-bit PIC16 RISC | 8-bit PIC16 RISC | 8-bit PIC16 RISC | 8-bit PIC16 RISC | 8-bit PIC16 RISC |
| Maximum Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Program Memory Type | Flash | Flash | Flash | Flash | Flash | Flash |
| Ordering-Code Temperature Grade | E-grade suffix | I-grade suffix | I-grade suffix | I-grade suffix | I-grade suffix | I-grade suffix |
Diferenciadores clave
- Exact E-grade ordering code (frente a PIC16F687-I/P)
- Verified program-memory organization (frente a PIC16F688-I/P)
- Verified 11-port I/O configuration (frente a PIC16F684-I/P)
- Active manufacturer lifecycle status (frente a PIC16F683-I/P)
Notas de diseño
Place the required supply decoupling close to the VDD and VSS pins and route return current through a low-impedance ground path. The verified family operating range is 2.0 V to 5.5 V, but the applicable voltage range for the exact clock configuration and E-grade suffix must be checked in the manufacturer datasheet. Do not copy a 5 V decoupling value or bulk capacitance recommendation without confirming the selected operating mode and load.
Keep the MCLR/VPP and programming-interface traces accessible and away from noisy switching nodes. Maintain short oscillator connections to pins 19 and 20, avoid routing high-current relay or motor traces beneath the oscillator area, and provide a clean ground reference for the 11 I/O ports. Because the 20-pin PDIP is a through-hole package, check lead spacing, drill size, annulus, and component clearance against the manufacturer package drawing rather than relying only on a generic DIP footprint.
Do not treat every 20-pin PIC16 controller as a firmware-compatible substitute. Before replacing PIC16F687-E/P, verify the pin multiplex functions, oscillator options, memory size, RAM, EEPROM, interrupt vector behavior, peripheral assignments, and programming configuration. The supplied alternatives share the 20-PDIP outline, but package equality alone does not prove functional equivalence; validate the candidate with the manufacturer's compatibility chart and the complete application firmware.
Información de cumplimiento
The verified DigChip snippet identifies the 20-pin package as lead-free, but the supplied records do not explicitly establish RoHS, REACH, halogen-free, or conflict-minerals status. AEC-Q100 is not applicable to this general-purpose microcontroller ordering code.