PIC16F917-I/P - 8-Bit 20MHz MCU 14KB Flash LCD DIP-40 | Microchip
MPN: PIC16F917-I/P β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.41 | $5.41 |
| 10 | $4.78 | $47.80 |
| 100 | $4.12 | $412.00 |
| 500 | $3.74 | $1,870.00 |
| 1,000 | $3.45 | $3,450.00 |
PIC16F917-I/P Overview
A PIC microcontroller (Programmable Intelligent Computer) is a Harvard-architecture RISC microcontroller family developed by Microchip. PIC MCUs sit in the broader taxonomy of: microcontroller -> embedded controller -> semiconductor IC. The PIC16F917 specifically belongs to the mid-range PIC16 family, which uses a 14-bit instruction word and 35 single-word instructions to balance code density, deterministic execution (~200ns per instruction at 20MHz) and ease of programming. The integrated LCD driver eliminates the need for an external display controller in many HMI designs.
Key features include 14KB flash program memory, 352 bytes RAM, 256 bytes EEPROM, an integrated LCD driver supporting up to 60 segments, 36 digital I/O pins, a 10-bit ADC with up to 14 channels, multiple timer modules (Timer0, Timer1, Timer2), nanoWatt technology for low-power operation, an internal 8MHz oscillator, ICSP (In-Circuit Serial Programming), and a wide 2.0V-5.5V operating voltage range suitable for battery-powered and 5V systems.
The PIC16F917 uses a RISC architecture with a hardware multiplier and a modified Harvard bus structure (separate program and data buses), enabling single-cycle instruction execution for most instructions. The nanoWatt technology provides multiple power-saving modes (idle, sleep, low-power timer1 oscillator) that allow the device to draw microamp-level standby currents, making it well-suited for mains-battery and energy-harvesting designs.
Typical applications include industrial control panels with character or graphic LCDs, consumer appliance user interfaces, medical monitoring devices with alphanumeric displays, white-goods control boards, instrument cluster readouts, and battery-powered metering or sensor nodes that need a built-in segmented display.
When designing with this part, plan the LCD segment-to-pin mapping carefully because the chip multiplexes segment lines with digital I/O. Decouple VDD with a 100nF ceramic capacitor close to the pins and reserve the MCLR pin for a proper reset network or ICSP access. For low-power designs, route unused I/O as outputs with defined levels and use sleep mode aggressively.
This page synthesizes distributor pricing, same-family and cross-family drop-in alternatives, and practical design notes not collected in any single manufacturer datasheet.
Drop-in alternatives for PIC16F917-I/P β 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 PIC16F917-I/P (same form factor and footprint) β differing in Internal Oscillator, Package, Timers, I/O Pins, Mounting Type.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F916-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F914-I/P
β Drop-Inβ In Stock
$4.1 / Unit
View Datasheet βPIC16F913-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F884-I/P
β Drop-Inβ In Stock
$2.62 / Unit
View Datasheet βPIC16F877A-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F917-I/P Maximum Ratings & Electrical Characteristics
| Family | PIC16F91X (mid-range PIC16) |
| Core | 8-bit PIC RISC, 14-bit instruction word |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data RAM | 352 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Frequency | 20 MHz |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 14 channels |
| Timers | Timer0, Timer1, Timer2 |
| LCD Driver | Integrated, up to 60 segments |
| Internal Oscillator | 8 MHz (factory calibrated) |
| Brown-out Reset / POR | Yes |
| Watchdog Timer | Yes (WDT) |
| In-Circuit Serial Programming (ICSP) | Yes |
| Power-Saving Modes | nanoWatt (idle / sleep / low-power Timer1) |
| Package | 40-pin PDIP (0.600") |
| Mounting Type | Through-Hole (DIP) |
| Operating Temperature (I grade) | -40 C to +85 C |
| RoHS Status | Compliant |
| Lifecycle Status | Active / In Production |
PIC16F917-I/P Pin Configuration
| Pin 1 | MCLR/VPP/RE3 β Master Clear (reset) input / programming voltage / digital I/O |
| Pin 2 | RA0 β PORTA digital I/O / analog input |
| Pin 3 | RA1 β PORTA digital I/O / analog input |
| Pin 4 | RA2 β PORTA digital I/O / analog input |
| Pin 5 | RA3 β PORTA digital I/O / analog input |
| Pin 6 | RA4 β PORTA digital I/O / T0CKI / analog input |
| Pin 7 | RA5 β PORTA digital I/O / analog input |
| Pin 8 | RE0 β PORTE digital I/O / LCD segment driver |
| Pin 9 | RE1 β PORTE digital I/O / LCD segment driver |
| Pin 10 | RE2 β PORTE digital I/O / LCD segment driver |
| Pin 11 | VDD β Positive supply (2.0V-5.5V) |
| Pin 12 | VSS β Ground reference |
| Pin 13 | RA6 β PORTA digital I/O / oscillator |
| Pin 14 | RA7 β PORTA digital I/O / oscillator |
| Pin 15 | RB0 β PORTB digital I/O / interrupt-on-change |
| Pin 16 | RB1 β PORTB digital I/O / interrupt-on-change |
| Pin 17 | RB2 β PORTB digital I/O / interrupt-on-change |
| Pin 18 | RB3 β PORTB digital I/O / interrupt-on-change |
| Pin 19 | RB4 β PORTB digital I/O / interrupt-on-change |
| Pin 20 | RB5 β PORTB digital I/O / interrupt-on-change |
| Pin 21 | RB6 β PORTB digital I/O / ICSP clock |
| Pin 22 | RB7 β PORTB digital I/O / ICSP data |
| Pin 23 | RC0 β PORTC digital I/O |
| Pin 24 | RC1 β PORTC digital I/O |
| Pin 25 | RC2 β PORTC digital I/O / CCP1 |
| Pin 26 | RC3 β PORTC digital I/O / SCL |
| Pin 27 | RC4 β PORTC digital I/O / SDA |
| Pin 28 | RC5 β PORTC digital I/O |
| Pin 29 | RC6 β PORTC digital I/O / TX |
| Pin 30 | RC7 β PORTC digital I/O / RX |
| Pin 31 | RD0 β PORTD digital I/O / LCD segment driver |
| Pin 32 | RD1 β PORTD digital I/O / LCD segment driver |
| Pin 33 | RD2 β PORTD digital I/O / LCD segment driver |
| Pin 34 | RD3 β PORTD digital I/O / LCD segment driver |
| Pin 35 | RD4 β PORTD digital I/O / LCD segment driver |
| Pin 36 | RD5 β PORTD digital I/O / LCD segment driver |
| Pin 37 | RD6 β PORTD digital I/O / LCD segment driver |
| Pin 38 | RD7 β PORTD digital I/O / LCD segment driver |
| Pin 39 | VSS β Ground reference |
| Pin 40 | VDD β Positive supply (2.0V-5.5V) |
Typical Applications
PIC16F917-I/P is suitable for 7 applications: Industrial Control Panels with LCD, Consumer Appliance User Interfaces, Battery-Powered Metering Devices, Medical Monitoring Devices, Instrument Cluster Readouts, White-Goods Control Boards, Sensor Nodes with LCD Readout.
Industrial Control Panels with LCD
The PIC16F917's integrated LCD driver supporting up to 60 segments, combined with 36 digital I/O pins and 14KB of flash, makes it an ideal single-chip controller for industrial control panels that need both an alphanumeric or segmented display and several discrete control lines. At 20MHz it executes instructions in 200ns, fast enough for keypad scanning and PID loops while still updating the LCD via charge-pump drive. The nanoWatt sleep modes let the panel idle at microamp currents, and the wide 2.0V-5.5V VDD range supports both battery-backed and 24V-derived 5V industrial rails. Using the internal 8MHz oscillator removes the need for an external crystal in cost-sensitive panel designs.
Recommended
Consumer Appliance User Interfaces
Microwave ovens, washing machines, and air-conditioner front panels benefit from the PIC16F917's combination of on-chip LCD, multiple timers, and PWM-capable I/O. The 10-bit ADC with up to 14 channels reads NTC temperature sensors, while the 36 I/O drive keypad matrices and triac optocouplers for AC loads. Operating from 2.0V to 5.5V lets the same firmware run on either 3.3V or 5V rails, and the integrated LCD driver cuts the BOM by eliminating an external HT1621-class controller. ICSP support enables in-the-field firmware updates without removing the chip.
Recommended
Battery-Powered Metering Devices
The PIC16F917's nanoWatt technology enables multi-year battery life in metering devices that spend most of their time in sleep and wake briefly to take a sensor reading and update the segmented LCD. Sleep current in the microamp range and the low-power Timer1 oscillator running from a 32.768kHz crystal allow accurate RTC timestamping without waking the core. The 256-byte EEPROM stores calibration constants and accumulated usage logs across power cycles. The wide 2.0V-5.5V operating range means a single LiSOCl2 or 2xAA design works down to brown-out without regulator tricks.
Recommended
Medical Monitoring Devices
Glucose meters, pulse-oximeter handhelds, and portable infusion pumps can use the PIC16F917 as the display and user-interface controller, offloading the analog front end to a dedicated AFE. The integrated LCD driver drives segmented custom displays without extra components, while the 14KB flash fits the menu tree, calibration routines, and measurement sequencing of a typical handheld monitor. The I-grade -40 C to +85 C operating temperature range covers clinical environments, and the nanoWatt idle modes extend battery life between measurements.
Recommended
Instrument Cluster Readouts
The PIC16F917 is well suited to small-vehicle or e-bike instrument clusters that combine a segmented LCD with a handful of indicator LEDs and push-buttons. The 36 I/O pins accept Hall-sensor speed inputs, button matrices, and LED drivers, while the integrated LCD controller drives a custom segmented glass for speed, battery state, and trip data. The 20MHz CPU and 200ns instruction time handle quadrature decoding and button debouncing without taxing the main loop. The 2.0V-5.5V VDD range works with a single Li-ion cell plus boost converter or a 6V-12V vehicle rail through a regulator.
Recommended
White-Goods Control Boards
Washing machines, dishwashers, and refrigerator control boards are exactly the use case the PIC16F917 was designed for: an integrated LCD driver, multiple timers for motor PWM, ADC for temperature and level sensing, and 36 I/O for relay triac and buzzer control. The flash-based architecture supports field firmware updates through ICSP for service or end-of-line calibration. The 14KB flash comfortably holds typical washing-machine state machines including fault logging to the on-chip EEPROM. The wide VDD range simplifies designs that derive power directly from the AC line through a small transformer.
Recommended
Sensor Nodes with LCD Readout
Industrial sensor nodes that need to display a value locally without a wireless link pair well with the PIC16F917. The 10-bit ADC reads analog sensors, the integrated LCD shows the reading on a segmented display, and the nanoWatt sleep modes keep average current in the microamps so a battery-powered node can run for years. The I-grade temperature range supports outdoor enclosures, and the 40-pin PDIP through-hole package is convenient for hand-soldered prototypes and rugged field installations where leaded parts survive vibration better than QFN.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F917-I/P β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F916-I/P | PIC16F914-I/P | PIC16F913-I/P | PIC16F884-I/P | PIC16F877A-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same |
| Program Memory (Flash) | 14 KB | 14 KB | 14 KB | 8 KB | 14 KB | 14 KB |
| Data RAM | 352 bytes | 352 bytes | 256 bytes | 256 bytes | 368 bytes | 368 bytes |
| I/O Pins | 36 | ~28 (40-pin pinout) | ~24 (40-pin pinout) | ~24 (40-pin pinout) | 36 | 33 |
| Integrated LCD Driver | Yes (up to 60 segments) | Yes (smaller segment count) | Yes (smaller segment count) | Yes (smaller segment count) | No | No |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Voltage | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V |
| nanoWatt Low-Power Modes | Yes | Yes | Yes | Yes | No (PIC16F887 family) | No |
Key Differentiators
- Integrated LCD driver supporting up to 60 segments (vs PIC16F877A-I/P)
- nanoWatt low-power technology (vs PIC16F884-I/P)
- Largest on-chip RAM in the 40-pin PIC16F91X family (vs PIC16F914-I/P)
- Higher GPIO count than PIC16F916 in the 40-pin package (vs PIC16F916-I/P)
- Active product with on-chip EEPROM and ICDS (vs PIC16F877A-I/P)
Design Notes
Place a 100nF ceramic decoupling capacitor as close as possible to each VDD/VSS pair on the PIC16F917-I/P. According to the Microchip PIC16F91X datasheet, the device has two VDD/VSS pairs (pins 11/12 and 39/40) that both require local decoupling. For battery designs, the AVDD/VREF pins (if used for ADC) need their own 100nF cap to keep reference noise off the measurement.
The MCLR pin (pin 1) must have a pull-up to VDD for normal operation. For ICSP programming, route the MCLR, RB6 (ICSP clock), and RB7 (ICSP data) signals to an in-circuit programming header with no series resistors. The LCD segment pins are multiplexed with PORTD and PORTE, so plan the LCD-to-I/O mapping before laying out the board to avoid wasted PCB traces.
When using the internal 8MHz oscillator, the PIC16F917-I/P is sensitive to noisy VDD on ADC readings. Add a small RC or ferrite bead between the digital VDD and analog AVDD rail if ADC accuracy matters. According to the datasheet, the 10-bit ADC needs a stable reference; use a 10uF + 100nF cap on VREF when the ADC is enabled.
Do not leave unused I/O pins floating on the PIC16F917-I/P - configure them as outputs with a defined level or as inputs with the internal weak pull-up enabled. Floating inputs draw supply current and can trigger spurious interrupts via the interrupt-on-change feature on PORTB. Also remember that the LCD charge pump draws current continuously when the display is on, which affects battery-life estimates.
Estimated: at VDD=5V, 20MHz CPU, all 36 I/O sourcing 10mA, the PIC16F917-I/P dissipates roughly 250mW on the digital core alone, well within the 1W PDIP-40 thermal budget. There is no additional heatsink requirement for the PDIP package. For SMD variants (TQFP-44, QFN-44) above 500mW, follow Microchip's PCB thermal pad layout in the package datasheet.
Compliance Information
RoHS and lead-free status per Microchip product page and distributor listings. PIC16F917-I/P is not AEC-Q100 qualified; it targets industrial / consumer markets with the -40 C to +85 C industrial temperature grade.