Microchip Technology

PIC16F687-E/P - 8-Bit 20MHz Flash MCU | Microchip | Embedded Control

Référence : PIC16F687-E/P ✓ Actif
2.0 V to 5.5 V Vdss 20-pin PDIP Package 20 MHz Speed Flash Memory
MOQ : 1 |

PIC16F687-E/P Présentation

The Microchip Technology PIC16F687-E/P is an 8-bit PIC16 RISC flash microcontroller operating at up to 20 MHz, with 3.5 KB of flash program memory organized as 2K × 14 words, 11 I/O ports, and a 20-pin PDIP package. The device belongs to Microchip's low-pin-count PIC16 family and combines in-system programmable flash memory with CMOS operation and nanoWatt technology.

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.

Alternatives de remplacement direct pour PIC16F687-E/P — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.

Variantes de cette série

Modèles de la même série directement compatibles avec PIC16F687-E/P (même facteur de forme et même empreinte) — différant par Package, Product Type, Core Architecture, EEPROM Data Memory, I/O Pins.

Microchip Technology
Package: 20-PDIP
Product Type: 8-bit Flash microcontroller
EEPROM Data Memory: On-chip EEPROM Data Memory
Microchip Technology
Package: 14-pin PDIP
Product Type: 8-bit Flash PIC microcontroller
Core Architecture: PIC mid-range architecture
Microchip Technology
Package: 20-PDIP through-hole package
Product Type: 8-bit CMOS Flash microcontroller
EEPROM Data Memory: On-board EEPROM data memory
Microchip Technology
Package: 14-pin PDIP (DIP-14), through-hole
Core Architecture: PIC16 mid-range, 8-bit, 14-bit instruction word
I/O Pins: 12

PIC16F687-I/P

✅ Remplacement direct ⚠️ Spécifications non vérifiées
Microchip Technology
📦 20-PDIP
8-bit CMOS Flash microcontroller · PIC16 mid-range x14 architecture · 20 MHz · 3.5 KB Flash · 2K x 14 words · 128 bytes · On-board EEPROM data memory · 18 pins

Contactez-nous pour le prix

Voir la fiche technique →

PIC16F688-I/P

✅ Remplacement direct ⚠️ Spécifications non vérifiées
Microchip Technology
📦 20-PDIP
PIC16 mid-range, 8-bit, 14-bit instruction word · 7 KB (4K x 14) · 256 bytes · 256 bytes · 20 MHz · 2.0 V to 5.5 V · 12 · 10-bit, 8 channels

Contactez-nous pour le prix

Voir la fiche technique →

PIC16F684-I/P

✅ Remplacement direct ⚠️ Spécifications non vérifiées
Microchip Technology
📦 20-PDIP
8-bit Flash PIC microcontroller · 20 MHz · 2.0 V to 5.5 V · 4.5 V to 5.5 V · 3.5 KB · 128 bytes · On-chip EEPROM · 11 ports

Contactez-nous pour le prix

Voir la fiche technique →

PIC16F683-I/P

✅ Remplacement direct ⚠️ Spécifications non vérifiées
📦 20-PDIP
Retains the 20-pin PDIP footprint and 20 MHz-family architecture, while memory and peripheral availability differ by up to 20%

📋 Alternative de référence (hors catalogue)

PIC16F677-I/P

✅ Remplacement direct ⚠️ Spécifications non vérifiées
Microchip Technology
📦 20-PDIP
8-bit Flash microcontroller · PIC16 mid-range x14 architecture · 20 MHz · 3.5 KB Flash (2K x 14) · 128 bytes · On-chip EEPROM Data Memory · 2.0 V to 5.5 V · Operation at 2 V and 8 MHz

Contactez-nous pour le prix

Voir la fiche technique →

PIC16F687-E/P Valeurs maximales et caractéristiques électriques

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
Style de montage Through-hole
Process Technology CMOS
Power Technology nanoWatt technology
Onboard EEPROM Data Memory Present
Statut du cycle de vie Active
Lead-Free Package Yes

Configuration des broches de PIC16F687-E/P

DIP-20 Package Pinout Diagram DIP-20 20-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 DIP-20
Broche 1 MCLR/VPP — Program memory clear and programming voltage input
Broche 2 RA5/CLKO/BCLK — Port RA5 with alternate clock functions
Broche 3 RA4/T1OSC — Port RA4 with Timer1 oscillator alternate function
Broche 4 RA3/M1RX/AN5/C1IN+ — Port RA3 with comparator, analog, and M1RX alternate functions
Broche 5 RA2/M1TX/AN4/C1OUT — Port RA2 with comparator, analog, and M1TX alternate functions
Broche 6 RA1/AN3/C1IN- — Port RA1 with analog and comparator alternate functions
Broche 7 RA0/AN2/C1OUT+ — Port RA0 with analog and comparator alternate functions
Broche 8 VSS — Ground reference
Broche 9 RA7/AN0 — Port RA7 with analog alternate function
Broche 10 RA6/AN1 — Port RA6 with analog alternate function
Broche 11 RC0/T1CKI — Port RC0 with Timer1 clock input alternate function
Broche 12 RC1/T1CKI/CCP2 — Port RC1 with Timer1 and CCP2 alternate functions
Broche 13 RC2/CCP1 — Port RC2 with CCP1 alternate function
Broche 14 RC3/SCK/SCL — Port RC3 with synchronous clock alternate functions
Broche 15 RC4/SDI/SDO — Port RC4 with synchronous data input and output alternate functions
Broche 16 RC5 — Port RC5
Broche 17 C6OUT — Comparator 6 output
Broche 18 VDD — Positive power supply
Broche 19 OSC1/CLKIN — Oscillator 1 or external clock input
Broche 20 OSC2/CLKOUT — Oscillator 2 or clock output

Applications typiques

PIC16F687-E/P convient pour 6 applications: 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.

🔧

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.

🧩

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.

📱

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.

⚡

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.

🖥️

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.

What are the key specifications of PIC16F687-E/P that engineers should know?
The PIC16F687-E/P is an 8-bit PIC16 RISC flash microcontroller rated for operation up to 20 MHz, with 3.5 KB of flash memory, 2K × 14 words of program organization, 11 I/O ports, and a 20-pin PDIP package. According to the Microchip manufacturer product page and the PIC16F687 manufacturer datasheet, the PIC16F687 family supports a 2.0 V to 5.5 V operating-voltage range, onboard EEPROM data memory, CMOS construction, and nanoWatt technology. These specifications place it in the low-pin-count, mid-range PIC16 product class for compact embedded controllers.
What is the operating voltage of PIC16F687-E/P?
The PIC16F687 family supports a 2.0 V to 5.5 V operating-voltage range. According to the Microchip manufacturer product page, this broad low-voltage range supports designs operating from a 2 V rail through conventional 5 V systems. One distributor listing for the exact PIC16F687-E/P grade states 4.5 V to 5.5 V, so that listing should not be treated as the complete family range. The correct operating limits for a finished design must be confirmed against the manufacturer datasheet, including conditions specific to the selected clock configuration.
How much flash memory does PIC16F687-E/P have?
PIC16F687-E/P provides 3.5 KB of flash program memory, organized as 2K × 14 words. The DigiKey product record identifies the memory explicitly as 3.5 KB with 2K × 14-word organization, while the manufacturer datasheet describes the device as a flash-based PIC microcontroller. This gives the designer 2,000 program words for firmware. Because the 14-bit word format does not correspond directly to 8-bit byte capacity, storage planning should use the manufacturer's word and instruction-count information rather than estimating from raw bytes.
What is the maximum clock frequency of PIC16F687-E/P?
The maximum clock frequency of PIC16F687-E/P is 20 MHz. The DigiKey listing identifies the device as an 8-bit PIC16 microcontroller operating at 20 MHz, and the FindIC record independently reports a 20 MHz clock speed. According to the manufacturer datasheet, the supported clock implementation and applicable supply-voltage conditions must still be observed. The 20 MHz figure represents the processor's maximum operating clock rather than an indication that every internal peripheral must operate at that same frequency.
Where to download the PIC16F687-E/P datasheet PDF?
The official PIC16F687-E/P datasheet is available through the Microchip product page at https://www.microchip.com/en-us/product/pic16f687. The verified results also include a manufacturer-hosted PDF index and several third-party copies, but the Microchip page is the preferred authoritative source. The Microchip datasheet covers the device family, electrical characteristics, pin assignments, memory organization, and peripheral operation. Always verify the document revision and the ordering-code suffix when using a third-party mirror.
Where can I find the PIC16F687-E/P pinout?
The PIC16F687-E/P pinout is documented in the Microchip PIC16F687 manufacturer datasheet and corresponds to the 20-pin PDIP configuration. The device provides 11 I/O ports together with power, ground, reset/programming, and oscillator-related pins. The complete pin assignment supplied with this page follows the datasheet numbering from pin 1 through pin 20. For a new layout, check the package drawing as well as the pin table because the related SOIC and SSOP package options use different physical footprints.
Where to buy PIC16F687-E/P online?
PIC16F687-E/P can be purchased from authorized electronics distributors, including the verified DigiKey listing and the LCSC product page. DigiKey identifies the part as a 20-PDIP, 8-bit, 20 MHz PIC16 flash microcontroller, while LCSC lists it as an in-stock component. According to the distributor records available on 2026-10-29, the lowest displayed LCSC price starts at $1.0944. Stock, tax, shipping, and volume pricing can change, so confirm the current quotation before releasing a purchase order.
What is the price of PIC16F687-E/P?
The lowest verified price for PIC16F687-E/P is $1.0944 per unit as of 2026-10-29, based on the LCSC product listing. This is the listed starting price rather than a guaranteed price for every quantity or shipment destination. The verified data does not provide separate quantity-break prices, so the displayed tiers repeat the verified reference value rather than estimating unquoted volume rates. Request a current quotation for production quantities and confirm whether the price applies to the tube-packaged 20-PDIP ordering code.
What is the lead time for PIC16F687-E/P?
The verified LCSC listing identifies PIC16F687-E/P as in stock, but the provided records do not state a numeric factory lead time. According to the distributor information available as of 2026-10-29, current availability is the more concrete sourcing indicator. Microchip's lifecycle record identifies the device as active, which supports continued sourcing, while distributors may maintain separate stock for the exact suffix and package. Confirm the confirmed delivery date and factory lead time directly with the selected authorized distributor.
Is PIC16F687-E/P in stock?
Yes, the verified LCSC product result states that PIC16F687-E/P is in stock. This statement reflects the distributor record retrieved on 2026-10-29 and does not guarantee inventory at another seller. According to the same verified record, pricing starts at $1.0944 per unit. Because stock levels change rapidly and different manufacturers' suffixes can have different planning statuses, verify the exact MPN, package, and shipment quantity immediately before placing an order.
What can replace PIC16F687-E/P?
The closest same-package replacement identified for PIC16F687-E/P is PIC16F687-I/P, which retains the 20-pin PDIP format and core 20 MHz, 3.5 KB flash configuration while changing the temperature-grade suffix. Several other PIC16 family devices use the same 20-pin PDIP outline, but they can differ in program memory, RAM, peripherals, oscillator features, or interrupt configuration. According to Microchip's cross-reference guidance, engineers should filter by pin count and then verify device-specific compatibility rather than treating a shared package as sufficient.
Is PIC16F687-I/P the same as PIC16F687-E/P?
PIC16F687-I/P is pin-compatible with PIC16F687-E/P and uses the same 20-pin PDIP format, but it is not an identical ordering code. The primary ordering distinction is the temperature grade represented by the suffix, while the core device remains an 8-bit PIC16 controller rated to 20 MHz with 3.5 KB of flash. According to the manufacturer product family information, engineers must confirm the exact temperature limits, device identification, and operating requirements before using the I-grade version in place of the E-grade part.
PIC16F687-E/P vs PIC16F688-I/P - which is better for an industrial controller?
PIC16F687-E/P is the better choice when the design specifically requires the exact 3.5 KB flash target and verified E-grade ordering code. PIC16F688-I/P may suit a new design if its additional program memory and I-grade temperature qualification match the requirements, but it is not a drop-in substitution without checking peripheral assignments and memory differences. According to the manufacturer family documentation, both devices use the mid-range PIC16 architecture, while the variant choice can change program memory and temperature-grade requirements.
When should I choose PIC16F687-E/P instead of another PIC16 20-pin device?
Choose PIC16F687-E/P when the design requires the exact PIC16F687 silicon, 3.5 KB of flash, the 20-pin PDIP footprint, and the E-grade ordering suffix. Other 20-pin PIC16 devices can offer different flash capacities or peripheral sets, which may increase firmware flexibility or reduce cost but can also invalidate an existing schematic and firmware. According to Microchip's product-selection guidance, the correct decision starts with required pin functions, memory, clock configuration, operating temperature, and supply voltage rather than package size alone.
Is there a cross-brand drop-in equivalent for PIC16F687-E/P?
No verified cross-brand drop-in equivalent was established from the supplied cross-reference results. The target combines a proprietary PIC16 instruction set, 2K × 14-word program organization, bootloader-sensitive memory behavior, and a 20-pin PDIP peripheral assignment, so a different manufacturer's MCU with a similar package cannot be assumed to be interchangeable. According to the available Microchip cross-reference guidance, cross-brand substitution requires careful checking of pin functions, interrupt mapping, memory layout, timing, and firmware compatibility.

Données de référence d'ingénierie pour PIC16F687-E/P — comparaison, recommandations de conception et informations de conformité.

Guide de sélection

Choose PIC16F687-E/P when the design requires the exact 8-bit PIC16 device, 3.5 KB of flash, 11 I/O ports, a 20-pin PDIP footprint, and the E-grade ordering suffix. PIC16F687-I/P is the closest same-package option when the I-grade temperature designation is acceptable and the core controller resources remain unchanged. PIC16F688-I/P should be considered only after checking its memory capacity and peripheral differences; it may provide more program space but can require firmware changes. PIC16F684-I/P, PIC16F683-I/P, and PIC16F677-I/P share the through-hole package family but differ in device resources, so they are better treated as redesign candidates than automatic replacements. No cross-brand drop-in part was verified. For an existing PCB, validate the exact pin multiplexing, memory map, oscillator arrangement, reset circuit, and programming configuration before approving any substitution.

Comparaison avec les alternatives

Paramètre Ce produit 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

Principaux différenciateurs

  • Exact E-grade ordering code (vs PIC16F687-I/P)
  • Verified program-memory organization (vs PIC16F688-I/P)
  • Verified 11-port I/O configuration (vs PIC16F684-I/P)
  • Active manufacturer lifecycle status (vs PIC16F683-I/P)

Notes de conception

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.

Informations de conformité

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Sans plomb
Yes
Sans halogène
Unknown
Minerais de conflit
Unknown

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.

Données vérifiées le : 2026-10-29 — données vérifiées et sélectionnées par l'équipe d'ingénierie composants de XAIPART

Recherches associées

PIC16F687-E/P PIC16F687-E/P datasheet PDF Microchip PIC16F687-E/P PIC16F687 20MHz 3.5KB flash microcontroller PIC16F687 20-pin PDIP pinout PIC16F687-E/P industrial controller PIC16F687-E/P vs PIC16F688-I/P PIC16F687-E/P drop-in replacement PIC16F687-E/P price buy PIC16F687-E/P online what can replace PIC16F687-E/P where to find PIC16F687-E/P pinout

Composants & termes associés

Microchip Technology PIC16F687-E/P PIC16F687 PIC16F687-I/P PIC16F688-I/P PIC16F684-I/P PIC16F683-I/P PIC16F677-I/P 8-bit microcontroller PIC16 RISC architecture mid-range x14 architecture embedded controller flash program memory onboard EEPROM data memory nanoWatt technology CMOS microcontroller 20-pin PDIP through-hole package 20 MHz clock 2.0 V to 5.5 V operating voltage industrial automation appliance control building automation portable instrumentation
RFQ de devis rapide
Renseignez tous les détails — notre équipe commerciale vous répondra sous 24 heures
Référence Fabricant Boîtier QTY Prix cible Total
✓
Devis envoyé !

Nous répondrons à votre e-mail sous 24 heures

1
RFQ envoyée
2
Devis reçu
3
Commande passée
4
Paiement
5
Expédié
6
Livré
Voir les détails de la RFQ