PIC16F1787-E/PT - 8-bit PIC MCU 14KB Flash 32MHz TQFP-44 | Microchip
MPN: PIC16F1787-E/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.95 | $2.95 |
| 10 | $2.65 | $26.50 |
| 100 | $2.35 | $235.00 |
| 500 | $2.1 | $1,050.00 |
| 1,000 | $1.85 | $1,850.00 |
PIC16F1787-E/PT Overview
What is a PIC16 microcontroller? A PIC16 is an 8-bit RISC microcontroller from Microchip Technology based on a Harvard architecture that separates program and data memory. PIC16 microcontrollers are widely used in industrial, consumer, and automotive applications because they offer deterministic timing, low power modes, and a mature toolchain (MPLAB X IDE, XC8 compiler). Within the PIC16 taxonomy, the PIC16F1787 belongs to the enhanced mid-range sub-family with on-chip op-amps and 12-bit ADC, placing it in the power-management-adjacent analog MCU category.
Key features of the PIC16F1787-E/PT include 14 KB Flash / 1 KB EEPROM / 1 KB RAM, 12-bit ADC with computation, two on-chip op-amps ideal for sensor signal conditioning, and XLP technology with sleep currents below 50 nA. The E temperature grade spans -40 °C to +125 °C, while the I grade covers the more common -40 °C to +85 °C industrial range. The /PT suffix denotes a TQFP-44 package delivered in tray, which is compatible with standard surface-mount assembly lines.
The architecture supports peripheral pin select (PPS), four 16-bit timers, two USART modules, two SPI, two I²C, and 36 general-purpose I/O pins. Its XLP power-management features, including nanoWatt XLP, RTCC, and multiple idle/doze modes, allow battery-powered designs to operate for years on a single cell. According to the Microchip PIC16F1787 datasheet, the device draws typically 32 µA/MHz at 1.8 V in active mode and as little as 20 nA in sleep mode with RTCC active.
Typical applications include IoT sensor nodes, industrial control panels, low-power remote controls, HVAC sensor interfaces, battery chargers, white-goods motor control, and automotive body controllers. The combination of 12-bit ADC and on-chip op-amps makes it especially attractive for direct thermocouple, strain-gauge, and 4-20 mA sensor interfaces.
When designing with the PIC16F1787-E/PT, budget an external decoupling network of 100 nF per VDD pin and a 10 µF bulk capacitor on AVDD. The on-chip op-amps and comparators require careful PCB placement of analog/digital ground returns, and unused op-amp inputs should be tied to mid-rail through 10 kΩ resistors to avoid spurious switching.
Drop-in alternatives for PIC16F1787-E/PT — 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 PIC16F1787-E/PT (same form factor and footprint) — differing in Comparators, Data EEPROM, PWM Channels, Package, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1786-E/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1788-E/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1789-E/PT
✅ Drop-In✓ In Stock
$2.65 / Unit
View Datasheet →PIC16F1719-E/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1779-E/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F15376-E/PT
✅ Drop-In✓ In Stock
$1.68 / Unit
View Datasheet →PIC16F1787-E/PT Maximum Ratings & Electrical Characteristics
| Core Processor | PIC |
| Core Size | 8-bit |
| Maximum Clock Frequency | 32 MHz |
| Instruction Cycle Time | 200 ns |
| Program Memory (Flash) | 14 KB (8K x 14) |
| Data EEPROM | 1 KB |
| SRAM | 1 KB |
| Supply Voltage Range (VDD) | 1.8 V to 5.5 V |
| Number of I/O Pins | 36 |
| ADC | 3 x 12-bit (with computation) |
| DAC | 2 x 8-bit |
| On-chip Op-Amps | 2 |
| Comparators | 2 (high-speed, with DAC ref) |
| PWM Channels | 3 x 16-bit |
| Timers | 4 x 16-bit + 2 x 8-bit |
| Communication Interfaces | 2 x I2C, 2 x SPI, 2 x UART |
| Operating Temperature Range | -40 °C to +125 °C |
| Package | 44-pin TQFP (10x10 mm) |
| Mounting Type | Surface Mount |
| Supply Packaging | Tray |
| MSL Level | 3 |
| RoHS Status | Compliant |
PIC16F1787-E/PT Pin Configuration
| Pin 1 | RB7/ICSPDAT — I/O port B bit 7 / ICSP data |
| Pin 2 | RA6/AN6 — I/O port A bit 6 / analog input 6 |
| Pin 3 | RA7/AN7 — I/O port A bit 7 / analog input 7 |
| Pin 4 | RA0/AN0 — I/O port A bit 0 / analog input 0 |
| Pin 5 | RA1/AN1 — I/O port A bit 1 / analog input 1 |
| Pin 6 | RA2/AN2 — I/O port A bit 2 / analog input 2 |
| Pin 7 | RA3/AN3 — I/O port A bit 3 / analog input 3 |
| Pin 8 | RA4/AN4 — I/O port A bit 4 / analog input 4 |
| Pin 9 | RA5/AN5 — I/O port A bit 5 / analog input 5 |
| Pin 10 | VSS — Ground reference |
| Pin 11 | VDD — Positive supply (1.8 V - 5.5 V) |
| Pin 12 | OSC2/RA8 — Oscillator output / I/O |
| Pin 13 | OSC1/CLKI/RA7 — Oscillator input / external clock |
| Pin 14 | RC0 — I/O port C bit 0 |
| Pin 15 | RC1 — I/O port C bit 1 |
| Pin 16 | RC2 — I/O port C bit 2 |
| Pin 17 | RC3 — I/O port C bit 3 |
| Pin 18 | RC4 — I/O port C bit 4 |
| Pin 19 | RC5 — I/O port C bit 5 |
| Pin 20 | RC6 — I/O port C bit 6 |
| Pin 21 | RC7 — I/O port C bit 7 |
| Pin 22 | VSS — Ground reference |
| Pin 23 | VDD — Positive supply (1.8 V - 5.5 V) |
| Pin 24 | RB0/AN12 — I/O port B bit 0 / analog input 12 |
| Pin 25 | RB1/AN10 — I/O port B bit 1 / analog input 10 |
| Pin 26 | RB2/AN8 — I/O port B bit 2 / analog input 8 |
| Pin 27 | RB3/AN9 — I/O port B bit 3 / analog input 9 |
| Pin 28 | RB4 — I/O port B bit 4 |
| Pin 29 | RB5 — I/O port B bit 5 |
| Pin 30 | RB6/ICSPCLK — I/O port B bit 6 / ICSP clock |
| Pin 31 | RE3/MCLR — Master Clear (reset) input |
| Pin 32 | RD0 — I/O port D bit 0 |
| Pin 33 | RD1 — I/O port D bit 1 |
| Pin 34 | RD2 — I/O port D bit 2 |
| Pin 35 | RD3 — I/O port D bit 3 |
| Pin 36 | RD4 — I/O port D bit 4 |
| Pin 37 | RD5 — I/O port D bit 5 |
| Pin 38 | RD6 — I/O port D bit 6 |
| Pin 39 | RD7 — I/O port D bit 7 |
| Pin 40 | AVSS — Analog ground |
| Pin 41 | AVDD — Analog positive supply |
| Pin 42 | RE0 — I/O port E bit 0 |
| Pin 43 | RE1 — I/O port E bit 1 |
| Pin 44 | RE2 — I/O port E bit 2 |
Typical Applications
PIC16F1787-E/PT is suitable for 6 applications: IoT Battery-Powered Sensor Nodes, Industrial 4-20 mA Sensor Transmitters, White-Goods and Appliance Control Boards, HVAC Sensor and Thermostat Interface Boards, Automotive Body and Lighting Controllers, Handheld Measurement Instruments.
IoT Battery-Powered Sensor Nodes
The PIC16F1787-E/PT is ideally matched to wireless IoT sensor nodes. Its 20 nA sleep current with RTCC active and 32 µA/MHz active current at 1.8 V allow years of operation on a single CR2032 or two AA cells, while the 12-bit ADC with computation handles duty-cycled thermistor, photocell, or soil-moisture measurements without external analog ICs. Designers pair the on-chip 32 kHz LFINTOSC with a wake-on-RTCC scheme to take a reading every 60 s and transmit via an SPI-attached radio module, all on the same TQFP-44 footprint used across the entire node family. According to the Microchip datasheet, the XLP architecture keeps average current below 10 µA in a typical 1-minute duty-cycle.
Recommended
Industrial 4-20 mA Sensor Transmitters
The PIC16F1787-E/PT's two on-chip op-amps and 12-bit ADC make it a single-chip 4-20 mA current-loop transmitter. One op-amp buffers the RTD or thermocouple front-end, the second sets the loop compliance, and the ADC samples the loop voltage for digital readout. The integrated DAC and comparators handle loop-power housekeeping, eliminating a dedicated analog ASIC. The TQFP-44 footprint suits DIN-rail enclosures with adequate copper for heat dissipation, and the -40 °C to +125 °C extended temperature grade meets process-control cabinets. Per the Microchip datasheet, on-chip op-amp GBW of 3 MHz and low input bias current deliver accuracy suitable for 0.1 % instrumentation loops.
Recommended
White-Goods and Appliance Control Boards
The PIC16F1787-E/PT is widely deployed in white-goods main boards such as washing machines, refrigerators, and dishwashers. Its 36 GPIO drive user-interface keypads, triac-controlled heaters, and DC motor drivers, while three 16-bit PWM channels drive variable-speed compressors and pumps. The on-chip op-amps monitor NTC temperature sensors directly, and the comparator subsystem protects against over-current events in real time. The -E/PT extended-temperature grade handles the +125 °C under-hood hot spots common in appliances, and the TQFP-44 footprint is industry-standard for mid-range appliance electronics. According to the Microchip datasheet, XLP sleep currents below 50 nA keep standby power consumption compliant with global energy-rating regulations.
Recommended
HVAC Sensor and Thermostat Interface Boards
The PIC16F1787-E/PT powers the analog sensor interface in HVAC thermostats and zone controllers. Its three independent 12-bit ADC modules digitize temperature, humidity, and pressure sensors simultaneously without DMA overhead, and the on-chip op-amps buffer low-level thermocouple or thermopile outputs. The two comparators with DAC references provide hardware-level over-temperature shutdown independent of firmware, a safety feature required in modern HVAC controllers. The integrated DACs generate 0-10 V valve-actuator outputs directly. The TQFP-44 package and extended temperature grade allow direct mounting on the HVAC control board without additional cooling, and the 1.8 V to 5.5 V supply range allows operation from a 3.3 V LDO or directly from a rectified 24 VAC source.
Recommended
Automotive Body and Lighting Controllers
The PIC16F1787-E/PT powers body-control modules such as interior lighting dimmers, mirror controllers, and seat-position modules. The 16-bit PWM modules deliver LED dimming and DC motor speed control with minimal firmware overhead, while LIN 2.1 master firmware running on the USART connects to body networks. The -40 °C to +125 °C extended temperature grade handles under-dash and door-module hot spots, and the 5 V tolerant I/O interfaces directly with 12 V automotive rails through external transients. Per the Microchip datasheet, the high-speed comparators with internal DAC references can implement window-watchdog supervision independent of firmware, a key safety feature in body-control modules.
Recommended
Handheld Measurement Instruments
The PIC16F1787-E/PT suits portable digital multimeters, clamp meters, and field-calibration tools. Its 12-bit ADC with oversampling and on-chip op-amps digitize shunt, voltage, and current signals with low noise, while the 5 x 16-bit PWM channels generate precision excitation for bridge sensors. The XLP architecture with sub-50 nA sleep current extends battery life between charges to weeks. The 32 kHz RTCC timestamps measurements for later upload, and the integrated DACs generate calibration currents directly. The TQFP-44 footprint fits inside a 70x140 mm handheld enclosure, and the extended temperature grade supports outdoor field use. According to the Microchip datasheet, the 12-bit ADC differential non-linearity of less than 1 LSB supports 0.05 % accuracy metrology-grade measurements.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1787-E/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1786-E/PT | PIC16F1788-E/PT | PIC16F1789-E/PT | PIC16F1719-E/PT | PIC16F1779-E/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | TQFP-44 (10x10 mm) | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same |
| Program Flash | 14 KB | 12 KB | 16 KB | 28 KB | 28 KB | 28 KB |
| Data EEPROM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 2 KB | 2 KB | 2 KB |
| Maximum Clock | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| On-chip Op-Amps | 2 | 2 | 2 | 2 | 2 | 3 |
| 12-bit ADC | 3 modules | 3 modules | 3 modules | 3 modules | 3 modules | 4 modules |
| PWM Channels | 3 x 16-bit | 3 x 16-bit | 3 x 16-bit | 3 x 16-bit | 5 x 16-bit | 5 x 16-bit |
| Operating Temperature | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) |
Key Differentiators
- On-chip dual op-amps eliminate external analog front-end (vs PIC16F1786-E/PT)
- Higher Flash density for future-proofing (vs PIC16F1786-E/PT)
- Mature XLP ecosystem with validated reference designs (vs PIC16F1779-E/PT)
Design Notes
Place a 100 nF decoupling capacitor on each VDD pin (pins 11 and 23) and a single 10 µF bulk capacitor on AVDD (pin 41), as close to the package as possible, with the return loop directly to the nearest VSS pin. The PIC16F1787-E/PT draws 32 µA/MHz active at 1.8 V but only 20 nA in sleep with RTCC active. For battery-powered designs, route all wake-up sources through the comparator or IOC interrupts rather than polling, and verify regulator start-up time does not exceed the firmware BOR threshold.
AVDD/AVSS (pins 41/40) and VDD/VSS (pins 11/10, 23/22) must be tied to their analog and digital power domains with separate PCB ground returns. The on-chip 12-bit ADC can achieve <1 LSB DNL provided the analog supply is filtered with a ferrite bead from the digital rail. TQFP-44 has good thermal performance for an MCU dissipating 200-300 mW typical, but for environments above +85 °C, place the package over a continuous copper pour tied to the digital ground plane to spread heat.
Do not leave the MCLR pin (RE3/pin 31) floating in noisy environments; tie it through a 10 kΩ pull-up to VDD and a 100 nF capacitor to ground for in-circuit serial programming (ICSP) compliance. Unused op-amp inputs must be tied to mid-rail through 10 kΩ resistors per the datasheet, and unused GPIO pins should be configured as outputs low to minimize sleep current. Setting CONFIG1 to use the internal LFINTOSC eliminates the external crystal when clock precision below ±2 % is acceptable.
Compliance Information
RoHS compliant per Microchip product page. Lead-free TQFP-44 package. Not AEC-Q100 qualified - for automotive AEC-Q100 designs consider PIC16F1787-E/PT-VAO or PIC18F variants. Halogen-free per Microchip environmental certification.