PIC16F689-I/SO - 8-Bit MCU, 7KB Flash, 20MHz, 20-SOIC | Microchip
料号: PIC16F689-I/SO ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 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 概述
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.
直接替换替代料: PIC16F689-I/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16F689-I/SO (相同外形与封装尺寸) ——差异在于 ADC, Package, Timers, Communication, Core Architecture.
快速对比工具——选择替代料号进行并排对比:
PIC16F688-I/SL
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.12 / 个
查看数据手册 →PIC16F687-I/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC16F685-I/SO
✅ 直接替换✓ 有现货
$1.68 / 个
查看数据手册 →PIC16F690-I/SO
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.62 / 个
查看数据手册 →PIC16F684-I/SL
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.05 / 个
查看数据手册 →PIC16F689-I/SO 最大额定值与电气特性
| 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) |
| 工作温度 | -40 C to +85 C (industrial, -I suffix) |
| 封装 | 20-pin SOIC (SO), 7.50 mm body width |
| 安装类型 | Surface Mount |
| MSL 等级 | 1 (unlimited floor life at <30 C / 85% RH) |
| RoHS 状态 | 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 引脚配置
| 引脚 1 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| 引脚 2 | RA5/AN4/T1CKI/OSC1/CLKIN — Bidirectional I/O, analog input 4, Timer1 clock, crystal/clock input |
| 引脚 3 | RA4/AN3/T1G/OSC2/CLKOUT — Bidirectional I/O, analog input 3, Timer1 gate, crystal output, clock out |
| 引脚 4 | RA3/MCLR/VPP — Bidirectional I/O, Master Clear reset (active low), programming voltage |
| 引脚 5 | RC5/CCP1/P1A — I/O, Enhanced CCP output 1, PWM output A |
| 引脚 6 | RC4/C2OUT/P1B — I/O, comparator 2 output, PWM output B |
| 引脚 7 | RC3/AN7/C12IN3-/P1C — I/O, analog input 7, comparator input, PWM output C |
| 引脚 8 | RC2/AN6/C12IN2-/P1D — I/O, analog input 6, comparator input, PWM output D |
| 引脚 9 | RC1/AN5/C12IN1- — I/O, analog input 5, comparator input |
| 引脚 10 | RC0/AN4 — I/O, analog input 4 |
| 引脚 11 | RB7/ICSPDAT/AN6 — I/O, ICSP data, analog input 6 (alternate) |
| 引脚 12 | RB6/ICSPCLK/AN5 — I/O, ICSP clock, analog input 5 (alternate) |
| 引脚 13 | RB5/AN11 — I/O, analog input 11 |
| 引脚 14 | RB4/AN10/SDI/SDA — I/O, analog input 10, SPI data in, I2C data |
| 引脚 15 | RB3/AN9/CCP1 — I/O, analog input 9, Enhanced CCP1 |
| 引脚 16 | RB2/AN8/P1B — I/O, analog input 8, PWM output B |
| 引脚 17 | RB1/AN7/TX/CK — I/O, analog input 7, EUSART TX, clock |
| 引脚 18 | RB0/AN12/RX/DT — I/O, analog input 12, EUSART RX, data |
| 引脚 19 | RA2/AN2 — Bidirectional I/O, analog input 2 |
| 引脚 20 | VSS — Ground reference |
典型应用
PIC16F689-I/SO 适用于 7 应用s: 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).
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
推荐产品汇总
工程参考数据: PIC16F689-I/SO ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | 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 |
关键差异点
- Highest ADC channel count in the PIC16F68x 20-SOIC family (对比 PIC16F685-I/SO)
- Largest Flash memory in the 7 KB PIC16F68x 20-SOIC line (对比 PIC16F687-I/SO)
- Industrial -40 to +85 C temperature range with active production (对比 PIC16F688-I/SL)
设计说明
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.
合规信息
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.