PIC16F689-E/ML - 8-Bit 20MHz 7KB Flash MCU | Microchip
Référence : PIC16F689-E/ML ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $3.42 | $3,42 |
| 10 | $3.08 | $30,80 |
| 100 | $2.61 | $261,00 |
| 500 | $2.34 | $1 170,00 |
| 1 000 | $2.15 | $2 150,00 |
PIC16F689-E/ML Présentation
A PIC16 (Peripheral Interface Controller, 8-bit) microcontroller is a Harvard-architecture RISC device in which program and data memories are separately addressed. The PIC16 mid-range family uses a 14-bit instruction word and provides deterministic instruction timing, which simplifies real-time control tasks. Within the Microchip portfolio, PIC16 sits hierarchically between the baseline PIC10/12/16 families and the 16-bit dsPIC/PIC24 line; it is a direct ancestor of the more recent enhanced mid-range PIC16F1xxx family.
Key features of the PIC16F689-E/ML include 18 digital I/O pins, an integrated 12-bit ADC with up to 12 channels, one EUSART, one MSSP module supporting SPI and I2C (both master and slave), two 8-bit timers plus one 16-bit timer, and a Capture/Compare/PWM (CCP) module. The nanoWatt technology provides multiple idle and sleep modes that drop quiescent current into the nanoampere range, suiting battery-powered sensor nodes. On-chip in-circuit debug (ICD) and in-circuit serial programming (ICSP) allow field upgrades and simplify prototyping.
Architecturally, the PIC16F689 uses a RISC core with 35 single-word instructions and a hardware multiplier that accelerates arithmetic in motor control and signal-processing loops. The 12-bit ADC features an internal voltage reference, selectable acquisition time, and sleep-mode conversion, which is uncommon in this class and useful for energy-harvesting applications.
Typical applications include industrial sensor transmitters, HVAC damper/actuator control, low-end motor control (small DC and stepper drives), white goods user interfaces, lighting controllers, battery chargers, and remote-control RF front-ends. The combination of EUSART, MSSP, ADC, and CCP gives designers enough peripherals to drive a complete sub-system without an external companion IC.
When designing with the PIC16F689-E/ML, observe the absolute maximum supply of 5.5V and derate power dissipation when using the QFN exposed pad with insufficient copper. The device configuration bits control oscillator mode, watchdog timer, brown-out voltage, and code protection; they must be set explicitly in source code even when defaults appear to work, otherwise debugger handshaking can fail.
This page synthesizes distributor pricing, drop-in alternatives within the PIC16 family, and practical design notes that complement the manufacturer datasheet. Specifications marked were not present in the verified distributor data and should be confirmed against the Microchip datasheet (DS41202 family document) before final selection.
Alternatives de remplacement direct pour PIC16F689-E/ML — 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 PIC16F689-E/ML (même facteur de forme et même empreinte) — différant par Timers, ADC, Package, I/O Pins, Program Memory (Flash).
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC16F689-I/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F688-E/ML
✅ Remplacement direct✓ En stock
$1.18 / unité
Voir la fiche technique →PIC16F677-E/ML
✅ Remplacement direct✓ En stock
$0.73 / unité
Voir la fiche technique →PIC16F631-E/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F685-E/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F687-E/ML
✅ Remplacement direct✓ En stock
$2.04 / unité
Voir la fiche technique →PIC16F689-E/ML Valeurs maximales et caractéristiques électriques
| Family | PIC16F6xx (mid-range 8-bit) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data SRAM | 256 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Clock | 20 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V |
| Digital I/O Pins | 18 |
| ADC | 12-bit, up to 12 channels |
| Timers | Two 8-bit, one 16-bit |
| CCP Modules | 1 (Capture/Compare/PWM) |
| EUSART | 1 |
| MSSP (SPI / I2C) | 1 (SPI and I2C, master/slave) |
| Boîtier | 20-pin QFN (4x4 mm) with exposed pad |
| Plage de température de fonctionnement | -40 C to +125 C (Extended, "E") |
| Instruction Set | 35 instructions, 14-bit word |
| Type de montage | Surface Mount |
| Statut RoHS | Compliant |
Configuration des broches de PIC16F689-E/ML
| Broche 1 | RA5/T1CKI/OSC1/CLKIN — GPIO RA5 / Timer1 clock input / crystal oscillator input |
| Broche 2 | RA4/AN3/T1G/OSC2/CLKOUT — GPIO RA4 / ADC input 3 / Timer1 gate / crystal oscillator output / clock output |
| Broche 3 | RA3/MCLR/VPP — GPIO RA3 / Master Clear reset (active low) / programming voltage |
| Broche 4 | RA0/AN0/ULPWU/C1IN+ — GPIO RA0 / ADC input 0 / ultra-low-power wake-up / comparator 1 positive input |
| Broche 5 | RA1/AN1/C1IN- — GPIO RA1 / ADC input 1 / comparator 1 negative input |
| Broche 6 | RA2/AN2/VREF-/CVREF — GPIO RA2 / ADC input 2 / ADC negative reference / comparator voltage reference |
| Broche 7 | VDD — Positive supply voltage (2.0V to 5.5V) |
| Broche 8 | VSS — Ground reference |
| Broche 9 | RC0/AN4/C2IN+ — GPIO RC0 / ADC input 4 / comparator 2 positive input |
| Broche 10 | RC1/AN5/C2IN- — GPIO RC1 / ADC input 5 / comparator 2 negative input |
| Broche 11 | RC2/AN6/P1D — GPIO RC2 / ADC input 6 / PWM 1 output D |
| Broche 12 | RC3/AN7/P1C — GPIO RC3 / ADC input 7 / PWM 1 output C |
| Broche 13 | RC4/C2OUT/SDA/SDI — GPIO RC4 / comparator 2 output / I2C data / SPI data in |
| Broche 14 | RC5/SDO/CCP1/P1A — GPIO RC5 / SPI data out / CCP1 / PWM 1 output A |
| Broche 15 | RC6/AN8/TX/CK/SCK/SCL — GPIO RC6 / ADC input 8 / EUSART TX / clock / SPI clock / I2C clock |
| Broche 16 | RC7/AN9/RX/DT/SDO — GPIO RC7 / ADC input 9 / EUSART RX / data / SPI data out |
| Broche 17 | RB7/AN11/PGD/T1OSI — GPIO RB7 / ADC input 11 / programming data / Timer1 oscillator input |
| Broche 18 | RB6/AN10/PGC/T1OSO — GPIO RB6 / ADC input 10 / programming clock / Timer1 oscillator output |
| Broche 19 | RB5/AN13/CCP3 — GPIO RB5 / ADC input 13 / CCP3 |
| Broche 20 | RB4/AN12 — GPIO RB4 / ADC input 12 |
Applications typiques
PIC16F689-E/ML convient pour 6 applications: Industrial Sensor Transmitters, HVAC Damper and Actuator Control, Small DC and Stepper Motor Control, Battery Chargers and Power Banks, Lighting and LED Drivers, Remote Control and RF Front-Ends.
Industrial Sensor Transmitters
The PIC16F689-E/ML is well-suited to industrial 4-20 mA and voltage-output sensor transmitters because its 12-bit ADC and internal voltage reference enable repeatable measurements of bridge, thermistor, and RTD sensor signals without external precision components. The EUSART drives RS-485 links for Modbus RTU networks, while nanoWatt sleep reduces quiescent current below 50 nA, suiting loop-powered two-wire field instruments that must operate from less than 3.5 mA. Industrial sensor transmitters benefit from the extended -40C to +125C temperature range (E grade) and the small 4x4 mm QFN footprint, which fits inside compact DIN-rail heads and field-mount enclosures. Designers can also leverage the on-chip EUSART and MSSP simultaneously to multiplex multiple sensor channels, reducing BOM cost relative to discrete op-amp plus ADC solutions.
Recommandé
HVAC Damper and Actuator Control
HVAC damper, valve, and small actuator control modules benefit from the PIC16F689-E/ML combination of a 16-bit timer for precise PWM generation, a CCP module for servo-style pulse output, and the 12-bit ADC for closed-loop position feedback. The PIC16F689 drives TRIAC phase-angle dimmers and DC motor bridges from its I/O ports, while the EUSART supports BACnet MS/TP or Modbus communication to building automation controllers. With nanoWatt sleep, the MCU can monitor a thermostat input while consuming minimal standby power, suiting always-on HVAC wall modules. The 20-pin QFN (4x4 mm) package enables compact PCB layouts inside slim wall plates, and the 7 KB flash accommodates sensor linearization tables for NTC thermistors and flow sensors.
Recommandé
Small DC and Stepper Motor Control
Low-power brushed DC motors, small stepper indexers, and gearmotors in white goods and appliances fit naturally with the PIC16F689-E/ML. The 16-bit timer provides the time-base for microstepping PWM, and the CCP module can generate accurate step pulses for stepper drivers such as the A4988 family. The 12-bit ADC samples back-EMF and current-sense amplifiers for closed-loop torque control, while the nanoWatt sleep mode returns the controller to quiescent state between motion events, preserving battery life in cordless appliances. The 7 KB flash is sufficient to host simple trapezoidal and pseudo-sinusoidal commutation tables, and the 256-byte EEPROM stores learned mechanical end-stop calibration data. With the 20-pin QFN footprint, the controller occupies minimal PCB area inside compact motor housings.
Recommandé
Battery Chargers and Power Banks
Small lithium-ion battery chargers, USB power banks, and solar-powered chargers benefit from the PIC16F689-E/ML thanks to its 12-bit ADC for accurate voltage and current telemetry, low-power nanoWatt sleep for idle standby, and 256-byte EEPROM for storing learned battery capacity and curve parameters. The MSSP in I2C mode talks to gas-gauge ICs and SMBus chargers, while the EUSART supports diagnostic UART output for factory test. The 2.0V to 5.5V supply range covers both single-cell Li-ion and USB 5V rails directly, simplifying analog front-end design. The extended -40C to +125C temperature grade (E suffix) is important for chargers mounted near hot battery cells, and the 4x4 mm QFN footprint enables slim, pocketable charger enclosures.
Recommandé
Lighting and LED Drivers
Architectural and decorative LED drivers, including dimmable constant-current LED modules, are well served by the PIC16F689-E/ML through its 16-bit timer PWM, 12-bit ADC for ambient light sensing, and CCP module for soft-start dimming curves. The MSSP supports SPI-controlled LED driver front-ends and I2C-controlled digital potentiometers for tunable-white and RGB color-mixing subsystems. nanoWatt sleep keeps standby power low when lights are off, while the 7 KB flash is large enough to hold animation sequences, color profiles, and DMX-512-style protocol stacks for stage lighting. The 20-pin QFN footprint and -40C to +125C range (E grade) support sealed, high-temperature fixture housings used in commercial architectural lighting.
Recommandé
Remote Control and RF Front-Ends
Low-cost 433 MHz / 315 MHz / Sub-GHz remote controls and RF receiver front-ends benefit from the PIC16F689-E/ML EUSART for ASK/FSK demodulation, MSSP in SPI mode for direct interface to synthesizers, and 12-bit ADC for RSSI measurement. The 256-byte EEPROM stores pairing keys and rolling-code sequences used in security and garage-door applications, while the 7 KB flash supports small protocol stacks such as simple Manchester-coded OOK and proprietary bi-phase modulation. nanoWatt sleep keeps the average current draw of remote handsets in the single-digit microamp range, suiting coin-cell and AAA-powered transmitters over multi-year battery life.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC16F689-E/ML — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC16F689-I/ML | PIC16F688-E/ML | PIC16F685-E/ML |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin QFN (4x4) | 20-pin QFN (4x4) - same | 20-pin QFN (4x4) - same | 20-pin QFN (4x4) - same |
| Program Memory (Flash) | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) |
| Data SRAM | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Temperature Range | -40 C to +125 C (E) | -40 C to +85 C (I) | -40 C to +125 C (E) | -40 C to +125 C (E) |
| ADC | 12-bit, up to 12 channels | 12-bit, up to 12 channels | 12-bit, up to 12 channels | 12-bit, up to 12 channels |
| EUSART | 1 | 1 | 1 | 1 |
| MSSP (SPI / I2C) | 1 (SPI + I2C) | 1 (SPI + I2C) | 1 (SPI + I2C) | 1 (SPI + I2C) |
Principaux différenciateurs
- Highest memory variant in the PIC16F6xx family with E-grade temperature range (vs PIC16F631-E/ML)
- Extended -40 C to +125 C temperature range option for industrial environments (vs PIC16F689-I/ML)
- Pin-compatible upgrade path with two CCP modules (vs PIC16F685-E/ML)
- Industry-standard nanoWatt technology with sub-1 uA sleep current (vs PIC16F688-E/ML)
Notes de conception
Estimated: power dissipation at 20 MHz and 5V with all peripherals enabled is approximately 13 mW (2.6 mA) active and well below 1 uA in Sleep. The PIC16F689-E/ML nanoWatt sleep modes allow designers to wake on ADC, interrupt, or watchdog events for battery-friendly sensor sampling. Always connect VSS pins and the exposed thermal pad to a continuous ground plane; the exposed pad is the primary thermal path and should be tied to VSS with multiple vias to keep junction temperature within the -40 C to +125 C extended range at higher ambient temperatures.
Place the 0.1 uF VDD decoupling capacitor within 3 mm of the VDD pin, with the trace going directly to the VSS plane before any high-current traces. The exposed pad must be soldered to a 4 mm x 4 mm copper pad on the top layer with at least four thermal vias to a VSS plane on layer 2; this provides both mechanical reliability and adequate thermal conduction for E-grade operation. Keep the ICSP programming pins (RB6/PGD, RB7/PGC, RA3/MCLR) routed to a 5-pin header for in-circuit programming and debugging access without disturbing the board layout.
Route the analog ADC inputs (AN0-AN11) away from the switching nodes of any on-board DC-DC converter or relay driver, with a ground guard ring around sensitive analog traces to minimize coupling. The 12-bit ADC resolution is approximately 244 uV per LSB at a 5V reference, so even small switching noise can corrupt measurements. Use a star-ground topology that ties the analog ground return of the reference bypass capacitor (0.1 uF ceramic + 10 uF bulk) directly to the device VSS pin rather than to a noisy global ground.
Configuration bits (CONFIG) must be set explicitly in source code even if the default appears to work; in particular, the WDTE, BOREN, LVP, and CPD bits determine watchdog, brown-out, low-voltage programming, and code protection behavior. MCLR must not be left floating; either tie it to VDD through a 10 kohm resistor (in-circuit programming) or hard-tie to VDD if programming via the ICSP header. The analog select pins (PCFG bits) must be cleared to enable the desired ANx channels; otherwise the pin remains digital and ADC readings will be zero.
When using the MSSP in I2C mode, place 4.7 kohm pull-up resistors on SDA and SCL as close to the device as possible and keep bus capacitance under 400 pF for standard-mode 100 kHz operation. For SPI at 4 MHz or higher, source-terminate the SCK trace with a 33 ohm series resistor to dampen ringing on long traces. The EUSART in RS-485 mode requires a failsafe biasing network (a 680 ohm pull-up on RX and 680 ohm pull-down on RX) to guarantee a defined idle-high state when no driver is active on the bus.
Informations de conformité
RoHS and REACH compliance per Microchip product page; lead-free and halogen-free per QFN package declaration. AEC-Q100 not qualified (industrial-grade MCU, no automotive Q1 suffix); Microchip does not market this MPN as automotive-grade.