PIC16F689-E/SS - 20MHz 8-Bit Flash MCU 7KB | Microchip
MPN: PIC16F689-E/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.35 | $2.35 |
| 10 | $2.12 | $21.20 |
| 100 | $1.85 | $185.00 |
| 500 | $1.62 | $810.00 |
| 1,000 | $1.4 | $1,400.00 |
PIC16F689-E/SS Overview
An 8-bit microcontroller (MCU) is a single-chip computer that processes data in 8-bit (one-byte) chunks through a RISC CPU optimized for deterministic, low-latency control tasks. The PIC16F6xx family belongs to the mid-range x14 architecture hierarchy (PIC10/12/16/18/24/32), which sits within the broader 8-bit PIC microcontroller product line. Compared with 32-bit ARM Cortex-M MCUs, 8-bit PICs trade raw throughput for deterministic interrupt response, ultra-low power consumption, and a streamlined 35-instruction instruction set that simplifies embedded firmware development.
Key features include 18 digital I/O pins (shared with analog peripherals), an internal 8 MHz oscillator with PLL options, a comparator module, a 16-bit PWM capture/compare, brown-out reset (BOR), power-on reset (POR), watchdog timer (WDT), and In-Circuit Serial Programming (ICSP) via two pins. The device operates from 2.0V to 5.5V (per family datasheet 40001262F), supporting both 3.3V and 5V rails common in industrial and consumer designs. The SSOP-20 footprint measures 5.30 mm x 7.20 mm with a 0.65 mm pitch.
Typical applications include sensor signal conditioning, low-cost motor control, LED lighting drivers, smart energy metering, battery chargers, and consumer white goods. The 256-byte EEPROM and 10-bit ADC allow small-signal analog nodes to be calibrated and persisted without external components. The EUSART plus MSSP combination provides flexible master/slave connectivity to sensors, displays, and wireless modules.
When designing with this device, allocate the I/O budget carefully: of 20 total pins, two are reserved for VDD/VSS and two for ICSP (PGD/PGC), leaving up to 18 usable I/O. Ensure decoupling of 100 nF and 10 uF near the supply pins, and place the ICSP connector so production programming does not require header rework. This page consolidates distributor pricing, drop-in same-package alternatives, and practical design notes not found on the manufacturer datasheet.
Drop-in alternatives for PIC16F689-E/SS — 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 PIC16F689-E/SS (same form factor and footprint) — differing in Package, Core Architecture, Timers, ADC, Communication.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F689-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F687-I/SS
✅ Drop-In✓ In Stock
$1.27 / Unit
View Datasheet →PIC16F687-E/SS
✅ Drop-In✓ In Stock
$1.22 / Unit
View Datasheet →PIC16F677-I/SS
✅ Drop-In✓ In Stock
$1.27 / Unit
View Datasheet →PIC16F677-E/SS
✅ Drop-In✓ In Stock
$1.41 / Unit
View Datasheet →PIC16F689-E/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 mid-range x14 (8-bit RISC) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data RAM | 256 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 20 MHz |
| Instruction Cycle Time | 200 ns at 20 MHz |
| Operating Voltage | 2.0 V to 5.5 V |
| Operating Temperature | -40 C to +125 C (extended -E grade) |
| I/O Pins | 18 (shared with analog peripherals) |
| ADC | 12 channels, 10-bit |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication | EUSART (UART), MSSP (I2C/SPI) |
| PWM / CCP | Enhanced Capture/Compare/PWM module |
| Package | 20-pin SSOP (5.30 mm x 7.20 mm) |
| Mounting Type | Surface Mount |
| ICSP Programming | Yes (PGD/PGC two-wire) |
| Special Features | nanoWatt power management, BOR, POR, WDT |
PIC16F689-E/SS Pin Configuration
| Pin 1 | RA5/T1CKI/SS/HLVDIN/AN4/C2OUT — Bidirectional I/O; Timer1 clock input; SPI slave select; high/low voltage detect; analog input 4; comparator 2 output |
| Pin 2 | RA4/AN3/T1G/OSC2/CLKOUT — Bidirectional I/O; analog input 3; Timer1 gate; oscillator output; clock out |
| Pin 3 | RA3/MCLR/VPP — Master clear (reset) input; programming voltage; also bidirectional I/O |
| Pin 4 | RA2/AN2/T0CKI/INT/C1OUT — Bidirectional I/O; analog input 2; Timer0 clock; external interrupt; comparator 1 output |
| Pin 5 | RA1/AN1/C12IN0-/ICSPCLK — Bidirectional I/O; analog input 1; comparator 1/2 negative; ICSP clock |
| Pin 6 | RA0/AN0/C12IN+/ICSPDAT — Bidirectional I/O; analog input 0; comparator 1/2 positive; ICSP data |
| Pin 7 | VSS — Ground reference |
| Pin 8 | OSC1/CLKI/RA7 — Oscillator crystal input; external clock input; bidirectional I/O |
| Pin 9 | OSC2/CLKO/RA6 — Oscillator crystal output; clock output; bidirectional I/O |
| Pin 10 | RC0/T1OSO/T1CKI — Bidirectional I/O; Timer1 oscillator output; Timer1 clock input |
| Pin 11 | RC1/T1OSI/CCP2 — Bidirectional I/O; Timer1 oscillator input; CCP2 PWM/capture |
| Pin 12 | RC2/P1A/CCP1 — Bidirectional I/O; PWM output; CCP1 capture/compare |
| Pin 13 | RC3/SCK/SCL — Bidirectional I/O; SPI clock; I2C clock |
| Pin 14 | RC4/SDI/SDA — Bidirectional I/O; SPI data in; I2C data |
| Pin 15 | RC5/SDO — Bidirectional I/O; SPI data out |
| Pin 16 | RC6/TX/CK — Bidirectional I/O; EUSART TX; EUSART clock |
| Pin 17 | RC7/RX/DT — Bidirectional I/O; EUSART RX; EUSART data |
| Pin 18 | RB7/TX2/CK2 — Bidirectional I/O; auxiliary EUSART TX (not on F689) |
| Pin 19 | RB6/RX2/DT2 — Bidirectional I/O; auxiliary EUSART RX (not on F689) |
| Pin 20 | VDD — Positive supply voltage (2.0V to 5.5V) |
Typical Applications
PIC16F689-E/SS is suitable for 7 applications: Industrial Sensor Signal Conditioning, Consumer White Goods Control, LED Lighting Drivers and Strip Controllers, Battery Chargers and Smart Power Banks, Automotive Aftermarket Modules, Medical Point-of-Care Monitoring, Smart Energy Meters and Sub-Metering.
Industrial Sensor Signal Conditioning
The PIC16F689-E/SS is well suited for industrial 4-20 mA loop transmitters and bridge-sensor conditioning front ends because its 12-channel 10-bit ADC with internal reference digitizes multiple analog signals while the 256-byte EEPROM stores calibration coefficients persistently. The extended -40C to +125C temperature grade ensures accurate readings across factory floor and outdoor installations. Built-in comparators enable threshold-based alarm detection without external op-amps. The PIC16F689's nanoWatt sleep modes drop quiescent current to microamp levels during idle periods, supporting battery-backed sensor nodes. Practical designs use the MSSP I2C bus to expose configuration registers to a host PLC while the EUSART provides a wired digital readout. Recommended companion: a Microchip MCP6N16 instrumentation amplifier and an MCP4725 12-bit DAC for analog output trimming.
Recommended
Consumer White Goods Control
The PIC16F689-E/SS serves as the central controller in washing machines, dishwashers, and small kitchen appliances where deterministic 5 MIPS performance, motor PWM control, and user-interface handling are required. The Enhanced CCP module generates precise motor-drive PWM while 18 I/O pins drive 7-segment displays, button matrices, and indicator LEDs. Its 5.5V tolerance on digital inputs tolerates 5V switch inputs directly without level shifters. The 256-byte EEPROM retains user preferences, cycle counters, and fault history across power cycles. The extended temperature grade handles steam, motor heat, and outdoor enclosures reliably. Designers commonly pair it with a ULN2003A driver array and a triac-based AC load switch for heater and pump control.
Recommended
LED Lighting Drivers and Strip Controllers
The PIC16F689-E/SS drives addressable LED strips and architectural lighting fixtures where DMX-style or SPI-based pixel protocols must be generated on demand. Its 20 MHz instruction cycle provides 200 ns granularity, sufficient for WS2812/SK6812 timing using carefully tuned bit-banged SPI. The 10-bit ADC enables ambient light sensing for daylight harvesting with smooth dimming curves. The 7 KB Flash holds multi-segment animation state machines and DMX512 address decoding. Brown-out reset prevents flicker during brown-out conditions common in dimmer-switched AC inputs. The compact SSOP-20 footprint fits inside slim linear fixture housings. Companion devices include a Mean Well HLG-185 LED driver for constant-current power and a TI TLC59401 for high-channel-count PWM dimming when used as an external driver.
Recommended
Battery Chargers and Smart Power Banks
The PIC16F689-E/SS implements closed-loop charge controllers for 1S/2S Li-Ion/LiFePO4 packs where voltage, current, and temperature must be monitored simultaneously. Its 12-channel 10-bit ADC samples battery voltage, charge current, and thermistor input on independent channels, while the 16-bit Timer1 provides accurate coulomb-counting timebase. The 256-byte EEPROM stores learned battery capacity and aging parameters across cycles. nanoWatt sleep reduces standby draw to a few microamps, extending shelf life. The EUSART plus MSSP combination exposes charger telemetry over I2C or UART to a host fuel-gauge display. The extended temperature grade ensures accurate thermal regulation in automotive and outdoor solar applications.
Recommended
Automotive Aftermarket Modules
The PIC16F689-E/SS -E grade is used in aftermarket automotive accessories such as alarm systems, CAN-LIN gateway modules, and gauge cluster controllers that operate across -40C to +125C under-hood environments. Although it lacks integrated CAN, its EUSART can interface with an external MCP2515 CAN controller over SPI for OBD-II connectivity. The 18 I/O pins accommodate multiple sensor inputs, relay outputs, and status LEDs in a compact PCB. The 256-byte EEPROM stores user codes and vehicle-specific parameters through battery disconnects. Brown-out reset and watchdog timer ensure reliable recovery from automotive load-dump transients. Pair with an MCP2515 CAN controller and a TI TPS3823 voltage supervisor for robust ISO 7637-2 transient immunity.
Recommended
Medical Point-of-Care Monitoring
The PIC16F689-E/SS appears in non-invasive medical devices such as fingertip pulse oximeters, glucometer interfaces, and digital thermometers where low cost, deterministic response, and a small analog front end matter. Its 12-channel 10-bit ADC digitizes photodiode currents from SpO2 sensors and thermocouple amplifiers with adequate resolution for clinical-grade trending. The 256-byte EEPROM retains calibration data and patient history. The extended temperature grade ensures reliable operation in cold-storage pharmacy and warm-clinic environments. The nanoWatt sleep mode keeps battery drain negligible between measurements, supporting coin-cell operation. Designers pair it with a TI AFE4400 pulse-ox front end and a Microchip MCP6004 op-amp for transimpedance amplification.
Recommended
Smart Energy Meters and Sub-Metering
The PIC16F689-E/SS implements single-phase energy sub-meters and power-quality monitors that track real-time voltage, current, and power factor using its 10-bit ADC and comparator module. The 16-bit Timer1 captures zero-cross timing for frequency and phase-angle measurement, while the MSSP I2C bus links to an EEPROM for billing logs and to a wireless module for remote reading. The extended temperature grade meets indoor-meter 0C to +70C environments when located near service panels. The 5.5V operating range is compatible with rectified mains-derived low-voltage rails. Brown-out reset and watchdog timer protect against brownout-induced corruption in electrically noisy feeder circuits. Companion parts include a Cirrus Logic CS5463 power-measurement IC and a STPM10 metering front end.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F689-E/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F689-I/SS | PIC16F687-I/SS | PIC16F687-E/SS | PIC16F677-I/SS | PIC16F677-E/SS |
|---|---|---|---|---|---|---|
| Package | SSOP-20 | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same |
| Program Memory (Flash) | 7 KB | 7 KB | 7 KB | 7 KB | 4 KB (-43%) | 4 KB (-43%) |
| Data RAM | 256 bytes | 256 bytes | 128 bytes (-50%) | 128 bytes (-50%) | 128 bytes (-50%) | 128 bytes (-50%) |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| ADC Channels / Resolution | 12 ch / 10-bit | 12 ch / 10-bit | 12 ch / 10-bit | 12 ch / 10-bit | 12 ch / 10-bit | 12 ch / 10-bit |
| Operating Temperature | -40 C to +125 C (-E grade) | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C | -40 C to +125 C |
| Comparators | 2 | 2 | 2 | 2 | 2 | 2 |
| Approx. Unit Price @ 1k (USD) | 1.40 | 1.35 | 1.30 | 1.35 | 1.25 | 1.30 |
Key Differentiators
- 256-byte RAM versus 128 bytes in PIC16F687 (vs PIC16F687-I/SS)
- Extended -40C to +125C temperature grade (vs PIC16F689-I/SS)
- Dual analog comparators with programmable reference (vs PIC16F677-I/SS)
Design Notes
Place a 100 nF ceramic decoupling capacitor and a 10 uF bulk capacitor within 5 mm of the VDD pin (pin 20). The SSOP-20 package has a thermal resistance theta_JA of approximately 90 C/W in still air; copper pour on VDD/VSS improves dissipation. Route the ICSP lines (RA0/ICSPDAT, RA1/ICSPCLK) directly to a 6-pin header with no series resistors for reliable in-circuit programming and debugging.
Keep analog inputs (RA0-RA5) and digital I/O lines physically separated on the PCB to minimize digital crosstalk into the ADC. The ADC conversion accuracy depends on a clean analog supply - if high-current digital switching is present on the same board, use a ferrite bead or small LDO to isolate AVdd. Verify that unused I/O pins are configured as outputs low or inputs with internal weak pull-ups enabled to reduce quiescent current.
Do not assume PIC16F689 firmware is binary-compatible with PIC16F688: PIC16F689 has a larger register file and dual comparators that PIC16F688 lacks. Recompile or re-validate code when migrating. The MCLR pin (pin 3) must be tied to VDD through a 10 kohm resistor for normal operation; leaving it floating prevents startup. When using the internal oscillator, calibrate the factory tuning register (OSCTUNE) for accurate UART baud rates within +/-2% across temperature.
Compliance Information
RoHS and lead-free compliance confirmed via Microchip product page. Device is not AEC-Q100 qualified - for AEC-Q100 automotive applications, choose a Q-graded PIC16F variant. REACH compliance per Microchip substance declaration.