PIC16F689-I/SO - 8-Bit MCU, 7KB Flash, 20MHz, 20-SOIC | Microchip
MPN: PIC16F689-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.1 | $2.10 |
| 10 | $1.86 | $18.60 |
| 100 | $1.62 | $162.00 |
| 500 | $1.41 | $705.00 |
| 1,000 | $1.22 | $1,220.00 |
| 3,000 | $1.05 | $3,150.00 |
PIC16F689-I/SO Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O into one package. The PIC16F family specifically belongs to the mid-range 8-bit RISC architecture tier in Microchip's PIC portfolio, positioned between the baseline PIC10/12/16 and the high-performance PIC18/PIC24 families. Within the broader IC taxonomy, MCUs sit under microcontrollers -> embedded processors -> digital ICs -> semiconductors. The 14-bit instruction word and 35-instruction RISC core deliver deterministic, single-cycle execution at 200 ns per instruction, while the standardized peripheral set ensures code portability across PIC16F68x family members.
Key features of the PIC16F689 include the 10-bit ADC with internal voltage reference, nanoWatt technology for sleep currents below 100 nA, an ultra-low-power wake-up on pin-change interrupt, and a wide 2.0-5.5 V supply range that lets the same part serve 3.3 V and 5 V designs. The integrated EUSART simplifies RS-232/RS-485 bridging, while the MSSP handles SPI/I2C sensor and EEPROM interfacing without external logic. The on-chip 8 MHz internal oscillator eliminates the need for an external crystal in cost-sensitive applications.
Technically, the PIC16F689 uses Harvard architecture with separate code and data buses. The 8-level hardware stack and 35 single-word instructions reduce firmware footprint. Debugging is supported through in-circuit serial programming (ICSP) and two hardware breakpoints. The Enhanced Capture/Compare/PWM module provides programmable dead-band control and auto-shutdown for motor drive and lighting control. The device supports 100,000 Flash erase/write cycles and 40-year data EEPROM retention.
Typical applications include consumer appliance control panels, low-end sensor nodes, battery-powered instrumentation, LED lighting controllers, automotive body electronics (non-safety), and small motor drivers. The 20-SOIC package allows easy hand-soldering and breadboard prototyping for hobbyist and educational kits.
When designing with this part, reserve one I/O pin for the ICSP clock and one for data to retain in-field firmware upgrade capability; omitting this later forces a return-to-factory reprogramming flow.
This page synthesizes distributor pricing, drop-in alternatives from the same PIC16 family, application context, and practical design notes not collated in any single manufacturer document.
Drop-in alternatives for PIC16F689-I/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 PIC16F689-I/SO (same form factor and footprint) — differing in Package, ADC, Timers, Operating Temperature, Communication.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F688-I/SL
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.12 / Unit
View Datasheet →PIC16F687-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F685-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F690-I/SO
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.62 / Unit
View Datasheet →PIC16F684-I/SL
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.05 / Unit
View Datasheet →PIC16F689-I/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (mid-range, 14-bit instruction word) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data SRAM | 256 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 20 MHz (200 ns instruction cycle) |
| Supply Voltage Range | 2.0 V to 5.5 V |
| Digital I/O Pins | 18 |
| ADC | 12-channel, 10-bit |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication Peripherals | EUSART (RS-232/RS-485), MSSP (SPI / I2C master-slave) |
| PWM Modules | Enhanced CCP with auto-shutdown and dead-band |
| Internal Oscillator | 8 MHz (software-selectable, +/- 2% typical) |
| Operating Temperature | -40 C to +85 C (industrial, -I suffix) |
| Package | 20-pin SOIC (SO), 7.50 mm body width |
| Mounting Type | Surface Mount |
| MSL Level | 1 (unlimited floor life at <30 C / 85% RH) |
| RoHS Status | Compliant |
| Lead-Free / Halogen-Free | Yes / Yes |
| ICSP / Debug | 2-wire In-Circuit Serial Programming, 2 hardware breakpoints |
| Flash Endurance | 100,000 erase/write cycles (typical) |
| EEPROM Retention | 40 years minimum |
PIC16F689-I/SO Pin Configuration
| Pin 1 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Pin 2 | RA5/AN4/T1CKI/OSC1/CLKIN — Bidirectional I/O, analog input 4, Timer1 clock, crystal/clock input |
| Pin 3 | RA4/AN3/T1G/OSC2/CLKOUT — Bidirectional I/O, analog input 3, Timer1 gate, crystal output, clock out |
| Pin 4 | RA3/MCLR/VPP — Bidirectional I/O, Master Clear reset (active low), programming voltage |
| Pin 5 | RC5/CCP1/P1A — I/O, Enhanced CCP output 1, PWM output A |
| Pin 6 | RC4/C2OUT/P1B — I/O, comparator 2 output, PWM output B |
| Pin 7 | RC3/AN7/C12IN3-/P1C — I/O, analog input 7, comparator input, PWM output C |
| Pin 8 | RC2/AN6/C12IN2-/P1D — I/O, analog input 6, comparator input, PWM output D |
| Pin 9 | RC1/AN5/C12IN1- — I/O, analog input 5, comparator input |
| Pin 10 | RC0/AN4 — I/O, analog input 4 |
| Pin 11 | RB7/ICSPDAT/AN6 — I/O, ICSP data, analog input 6 (alternate) |
| Pin 12 | RB6/ICSPCLK/AN5 — I/O, ICSP clock, analog input 5 (alternate) |
| Pin 13 | RB5/AN11 — I/O, analog input 11 |
| Pin 14 | RB4/AN10/SDI/SDA — I/O, analog input 10, SPI data in, I2C data |
| Pin 15 | RB3/AN9/CCP1 — I/O, analog input 9, Enhanced CCP1 |
| Pin 16 | RB2/AN8/P1B — I/O, analog input 8, PWM output B |
| Pin 17 | RB1/AN7/TX/CK — I/O, analog input 7, EUSART TX, clock |
| Pin 18 | RB0/AN12/RX/DT — I/O, analog input 12, EUSART RX, data |
| Pin 19 | RA2/AN2 — Bidirectional I/O, analog input 2 |
| Pin 20 | VSS — Ground reference |
Typical Applications
PIC16F689-I/SO is suitable for 7 applications: Sensor Interface Node, Consumer Appliance Control Panel, LED Lighting Controller, Small DC Motor Driver (Brushed), Battery-Powered Instrumentation, Automotive Body Electronics (Non-Safety), Hobbyist / Educational Embedded Kit.
Sensor Interface Node
The PIC16F689-I/SO fits sensor-interface nodes because its 12-channel, 10-bit ADC lets a single MCU scan multiple analog sensors (temperature, light, humidity) without external MUX ICs. With 256 bytes of SRAM and 256 bytes of EEPROM, the device can store calibration coefficients and run averaging filters on 8-10 sensors at 100 ksps. The wide 2.0-5.5 V supply lets it run directly from a 2xAA battery pack or 3.3 V regulated rail. Typical sensor firmware consumes under 4 KB Flash, leaving headroom for application code. Source: Microchip PIC16F689 datasheet (DS41391D).
Recommended
Consumer Appliance Control Panel
The PIC16F689-I/SO is widely used in microwave ovens, washing machines, and HVAC control boards where its 18 digital I/O drive keypad matrices, LED/LCD segments, and relay coils. The integrated EUSART simplifies Wi-Fi module bridging for smart-appliance variants. Its 7 KB Flash supports Chinese-language or graphical menu firmware with adequate code space. The 20-SOIC package is hand-solderable for small production runs. nanoWatt sleep modes below 100 nA keep standby power below 0.5 mW per Microchip PIC16F689 datasheet energy benchmarks.
Recommended
LED Lighting Controller
The PIC16F689-I/SO drives multi-channel LED strips via its Enhanced CCP module, which provides programmable dead-band control and auto-shutdown to protect LEDs during fault events. The PWM frequency can be tuned up to 20 kHz to avoid audible flicker. Combined with the 10-bit ADC, the MCU reads ambient light sensors and applies logarithmic dimming curves in firmware. The 2.0-5.5 V supply covers both 3.3 V digital logic and 5 V high-current LED driver rails. Per Microchip app note AN1073, this mid-range PIC supports CCT and RGB mixing in firmware.
Recommended
Small DC Motor Driver (Brushed)
The PIC16F689-I/SO controls brushed DC motors up to 24 V via its Enhanced CCP/PWM output paired with an external MOSFET H-bridge (e.g., DRV8871 or BTS7960). Hardware dead-band generation prevents shoot-through currents. The 16-bit timer captures back-EMF for closed-loop RPM control, while the ADC samples motor current via a sense resistor for stall detection. nanoWatt sleep extends battery life in cordless tools between duty cycles. Source: Microchip PIC16F689 datasheet PWM section.
Recommended
Battery-Powered Instrumentation
The PIC16F689-I/SO suits battery-powered instruments thanks to nanoWatt sleep below 100 nA, integrated 8 MHz oscillator that eliminates the external crystal's leakage, and a 2.0 V minimum supply that lets you extract 90%+ capacity from 2xAA alkaline cells. The on-chip ADC monitors battery voltage for low-battery cutoff, while the EUSART wakes the MCU on incoming serial data. EEPROM stores user settings across battery swaps. Per the Microchip PIC16F689 datasheet, sleep-to-active wake-up on pin-change interrupt occurs within 1 us for ultra-low duty-cycle applications.
Recommended
Automotive Body Electronics (Non-Safety)
While the PIC16F689-I/SO is industrial-grade (-40 to +85 C) rather than AEC-Q100 qualified, it remains popular for non-safety automotive body modules such as ambient lighting, seat-position memory, and accessory controllers. The 5.5 V supply tolerates 12 V battery transients when paired with a TVS clamp. The MSSP/I2C interfaces body-control modules, while the EUSART bridges LIN-bus transceivers like the MCP2003. For safety-critical designs (airbag, ABS, ADAS) move to AEC-Q100-qualified PIC16F1939 or dsPIC33EP variants.
Recommended
Hobbyist / Educational Embedded Kit
The PIC16F689-I/SO's 20-SOIC hand-solderable package, MPLAB X IDE free toolchain, and extensive app-note library make it a common choice for university embedded courses and hobbyist projects. Students program it via PICkit 3/4 or MPLAB SNAP and explore timers, ADC, PWM, EUSART, and I2C using one chip. The 7 KB Flash supports meaningful projects (clock, thermostat, mini-scope), and 256 bytes SRAM is enough for modest data structures. Cost below USD 2 per unit in 100-piece reels keeps kits affordable.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F689-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F688-I/SL | PIC16F687-I/SO | PIC16F685-I/SO | PIC16F690-I/SO | PIC16F684-I/SL |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-SOIC | 20-SOIC (SL) | 20-SOIC - same | 20-SOIC - same | 20-SOIC - same | 20-SOIC (SL) |
| Program Memory (Flash) | 7 KB | 7 KB | 3.5 KB (-50%) | 7 KB | 7 KB | 3.5 KB (-50%) |
| Data SRAM | 256 bytes | 256 bytes | 128 bytes (-50%) | 256 bytes | 256 bytes | 128 bytes (-50%) |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| ADC Channels | 12 x 10-bit | 12 x 10-bit | 12 x 10-bit | 5 x 10-bit (less analog) | 12 x 10-bit | 8 x 10-bit |
| On-chip Comparators | 0 | 2 | 2 | 2 | 2 | 2 |
| Max CPU Speed | 20 MHz | 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 | 2.0 V to 5.5 V |
| Unit Price (qty 1, USD, as of 2026-09-21) | 2.10 | 2.05 | 1.90 | 1.95 | 2.25 | 1.85 |
Key Differentiators
- Highest ADC channel count in the PIC16F68x 20-SOIC family (vs PIC16F685-I/SO)
- Largest Flash memory in the 7 KB PIC16F68x 20-SOIC line (vs PIC16F687-I/SO)
- Industrial -40 to +85 C temperature range with active production (vs PIC16F688-I/SL)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to VDD (pin 1) with a direct ground via to the VSS plane. Add a 10 uF bulk capacitor on the VDD rail within 1 cm of the device for ADC reference stability. The 20-SOIC footprint's narrow lead pitch (1.27 mm) requires careful solder-paste stencil aperture design; aperture reduction to 0.95 of pad width avoids solder bridging on hand-rework. Route ICSPCLK and ICSPDAT (RB6/RB7) directly to a 2x3 0.1 inch header without series resistors to preserve MPLAB programming reliability.
Do not pull MCLR (pin 3) directly to VDD without a 10 kohm pull-up. A floating MCLR line picks up switching noise and triggers spurious resets. For in-circuit programming, route MCLR to the ICSP header through a diode-resistor network to allow HVPP (high-voltage programming) without disturbing the rest of the circuit. Configuration bit MCLR must be ENABLED if you want external reset; DISABLE it only if using internal-only resets to free RA3 as a normal I/O. Source: Microchip PIC16F689 datasheet (DS41391D), configuration bits section.
Use the nanoWatt SLEEP instruction with the on-chip WDT (watchdog timer) disabled for sleep currents below 100 nA. The internal 8 MHz oscillator starts in 2 us typical, so wake-to-active latency is acceptable for duty-cycled sensor sampling at 1 Hz. If precise ADC measurements are needed during low-power operation, take the ADC reading immediately after waking before re-entering sleep to avoid temperature-dependent offset drift. Battery life on 2xAA cells (2700 mAh) exceeds 5 years at 1 sample-per-minute duty cycles per the Microchip PIC16F689 datasheet energy benchmarks.
The MSSP I2C bus on RB4 (SDA) and RB6 (SCL) requires external 4.7 kohm pull-ups for Standard-mode (100 kHz) and 2.2 kohm for Fast-mode (400 kHz). Keep SDA/SCL traces shorter than 50 mm with ground-reference on the layer immediately below to avoid capacitive coupling. The EUSART TX/RX lines (RB1/RB0) benefit from a 100 ohm source-termination resistor if driving cables longer than 100 mm. Use the MSSP SPI mode at clock-divided Fosc/4 (5 MHz at 20 MHz) as a safe starting point for most peripheral ICs.
Compliance Information
RoHS and REACH compliance per Microchip product page. Not AEC-Q100 qualified; for automotive safety designs use qualified parts such as PIC16F1939. Halogen-free per Microchip environmental certification.