PIC16F1708-E/P - 8-Bit 32MHz MCU 7KB Flash 20-PDIP | Microchip
MPN: PIC16F1708-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.05 | $2.05 |
| 10 | $1.84 | $18.40 |
| 100 | $1.62 | $162.00 |
| 500 | $1.43 | $715.00 |
| 1,000 | $1.27 | $1,270.00 |
| 3,000 | $1.05 | $3,150.00 |
PIC16F1708-E/P Overview
An 8-bit PIC microcontroller is a small, deterministic processor based on a modified Harvard architecture with separate program and data buses, optimized for low-power, real-time control tasks. PIC MCUs sit in the taxonomy microcontroller -> embedded processor -> semiconductor device, and the PIC16F1708 specifically belongs to the PIC16F1 enhanced mid-range family, which adds CIPs and on-chip op amps to the classic mid-range core. XLP technology adds sleep currents in the nanoampere range, enabling battery-powered designs that wake only on peripheral events.
Key features of this part include two on-chip operational amplifiers with rail-to-rail input/output, a 10-bit ADC with computation (ADC2), a 5-bit DAC, two comparators, an 8-bit timer (Timer2), a 16-bit timer (Timer1), and PWM modules with complementary waveform generation. Zero Cross Detect (ZCD), Configurable Logic Cells (CLC), and Complementary Output Generator (COG) peripherals allow sensorless AC mains monitoring and advanced switching without CPU intervention, reducing firmware complexity.
The PIC16F1708-E/P is fabricated on an advanced process with on-chip debug and trace support, MPLAB X IDE compatibility, and free XC8 compiler support. The 'E' temperature grade extends operating range to -40C to +125C, making the part suitable for industrial and outdoor environments. The 20-pin PDIP package supports breadboard prototyping and through-hole manufacturing, simplifying hobbyist and low-volume industrial designs.
Typical applications include LED lighting control with constant-current regulation, AC zero-cross detection for TRIAC dimmers, sensor signal conditioning with on-chip op amps, battery-powered IoT sensor nodes leveraging XLP, and low-cost motor control using COG and PWM. The integrated analog chain eliminates external op-amp ICs in many transducer interfaces.
When designing with the PIC16F1708-E/P, allocate the ADC and op-amp channels early to avoid I/O contention, and use PPS to remap peripherals to convenient pins. For AC mains designs, configure the ZCD peripheral before enabling the COG or PWM output to prevent false triggering during power-up.
Drop-in alternatives for PIC16F1708-E/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 PIC16F1708-E/P (same form factor and footprint) — differing in Package, ADC, Mounting Type, Data EEPROM, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1708-I/P
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC16F1708T-I/ML
✅ Drop-In✓ In Stock
$0.548 / Unit
View Datasheet →PIC16F1704-E/P
✅ Drop-In✓ In Stock
$0.85 / Unit
View Datasheet →PIC16F1615-E/P
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC16F1614-E/P
✅ Drop-In✓ In Stock
$1.08 / Unit
View Datasheet →PIC16F1575-E/ST
✅ Drop-In✓ In Stock
$1.05 / Unit
View Datasheet →PIC16F1708-E/P Maximum Ratings & Electrical Characteristics
| Core | PIC 8-bit enhanced mid-range (PIC16F1) |
| CPU Speed | 32 MHz (8 MIPS) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data RAM | 512 bytes |
| Data EEPROM | 128 bytes |
| Operating Voltage Range | 2.3 V to 5.5 V |
| I/O Pins | 17 |
| ADC | 10-bit, 17 channels, with Computation (ADC2) |
| DAC | 5-bit, 1 channel |
| Comparators | 2 |
| On-chip Operational Amplifiers | 2 (rail-to-rail I/O) |
| Timers | 2x 8-bit, 1x 16-bit |
| PWM Modules | 2 (10-bit, Complementary Output Generator) |
| Core Independent Peripherals | CLC, COG, Zero Cross Detect, Peripheral Pin Select |
| Communication Interfaces | I2C, SPI, EUSART (LIN capable) |
| Package | 20-pin PDIP (0.300", 7.62 mm) |
| Mounting Type | Through-Hole (DIP) |
| Operating Temperature Range | -40C to +125C (E temp grade) |
| RoHS Status | Compliant |
PIC16F1708-E/P Pin Configuration
| Pin 1 | RA5/MCLR/VPP — Digital I/O / Master Clear (Reset) input / Programming voltage |
| Pin 2 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Pin 3 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Pin 4 | RA2/AN2 — Digital I/O / Analog input channel 2 |
| Pin 5 | RA3/AN3 — Digital I/O / Analog input channel 3 |
| Pin 6 | RA4 — Digital I/O |
| Pin 7 | RA6/OSC2/CLKO — Digital I/O / Oscillator output / Clock output |
| Pin 8 | RA7/OSC1/CLKI — Digital I/O / Oscillator input / Clock input |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive power supply |
| Pin 11 | RC0 — Digital I/O / PWM / CWG |
| Pin 12 | RC1 — Digital I/O / PWM / CWG |
| Pin 13 | RC2 — Digital I/O / PWM |
| Pin 14 | RC3 — Digital I/O / PWM / I2C SCL |
| Pin 15 | RC4 — Digital I/O / I2C SDA |
| Pin 16 | RC5 — Digital I/O |
| Pin 17 | RC6 — Digital I/O / TX/CK (EUSART) |
| Pin 18 | RC7 — Digital I/O / RX/DT (EUSART) |
| Pin 19 | RB4 — Digital I/O / interrupt-on-change |
| Pin 20 | RB5 — Digital I/O / interrupt-on-change |
Typical Applications
PIC16F1708-E/P is suitable for 6 applications: LED Lighting & Constant-Current Drivers, AC Mains Zero-Cross Detection & TRIAC Dimming, Battery-Powered IoT Sensor Nodes, Sensor Signal Conditioning with On-Chip Op Amps, Low-Cost BLDC and Stepper Motor Control, Hobbyist Through-Hole Prototyping & Education.
LED Lighting & Constant-Current Drivers
The PIC16F1708-E/P is well suited to dimmable LED drivers because its on-chip operational amplifiers can sense shunt resistor current while the 10-bit ADC2 samples the feedback at high speed to maintain constant current regulation. The Complementary Output Generator (COG) and PWM modules drive external MOSFET half-bridges with programmable dead-band control, eliminating timing jitter from firmware. According to the Microchip datasheet, the 32 MHz CPU closes the control loop in tens of microseconds, allowing smooth analog dimming with minimal flicker. Compared with a discrete analog driver, this single-chip solution reduces BOM count, board area, and EMI susceptibility. The part's 2.3 V to 5.5 V range also supports battery-powered LED fixtures that run directly from a single Li-ion cell.
Recommended
AC Mains Zero-Cross Detection & TRIAC Dimming
AC line dimming and switching require precise zero-cross detection to fire TRIACs at the correct phase angle. The PIC16F1708-E/P integrates a dedicated Zero Cross Detect (ZCD) peripheral that triggers an interrupt at each mains zero crossing without CPU polling, freeing the core to manage user interfaces, dim curves, or wireless stacks. The on-chip operational amplifiers condition the line voltage through a resistor divider and isolation network, while the 5-bit DAC programs reference thresholds for brownout detection. As the Microchip product page confirms, this combination reduces the AC dimmer BOM by removing external zero-cross optocouplers and comparators. Designers can pair it with a BT136 TRIAC and an MOC3021 isolator for a complete, compact dimmer reference design.
Recommended
Battery-Powered IoT Sensor Nodes
The PIC16F1708-E/P is targeted at battery-operated applications thanks to its XLP (eXtreme Low Power) technology, which drops sleep current into the nanoampere range and uses peripheral wake events instead of CPU polling. According to the Microchip datasheet, watchdog and RTC wake sources can periodically sample a temperature or humidity element with the on-chip ADC2 and store results in the 512-byte RAM. The EUSART and I2C peripherals interface to low-power radios like the Sub-GHz module like the MRF89XA or a Bluetooth LE module through PPS, allowing the MCU to remain asleep until a transmission is needed. With a single CR2032 coin cell, multi-year battery life is achievable for slow-sampling IoT nodes.
Recommended
Sensor Signal Conditioning with On-Chip Op Amps
Transducer interfaces for strain gauges, thermopiles, and pressure sensors traditionally require multiple external op-amps and precision references. The PIC16F1708-E/P integrates two rail-to-rail operational amplifiers with programmable gain and a 5-bit DAC that generates a stable offset bias, enabling a complete Wheatstone-bridge front-end with only a few external resistors. The 10-bit ADC2 samples at high speed with hardware accumulation and threshold detection, offloading the CPU. As noted on the Microchip product page, this Intelligent Analog integration simplifies sensor modules in industrial and HVAC applications while reducing PCB footprint by roughly 50% versus discrete analog designs.
Recommended
Low-Cost BLDC and Stepper Motor Control
Sensorless brushless DC (BLDC) motor control benefits from the PIC16F1708-E/P's Complementary Output Generator (COG) and Configurable Logic Cell (CLC) peripherals. The COG produces programmable dead-band PWM with hardware fault shutoff, while CLC implements back-EMF zero-cross detection entirely in hardware, allowing the CPU to handle only the higher-level state machine. The two on-chip op amps sense phase currents, and the ADC2 samples them at a precise delay after PWM switching to avoid noise contamination. The result is a multi-channel BLDC controller on a single 20-pin MCU, with the -40C to +125C (E grade) industrial range supporting under-hood and outdoor fan applications.
Recommended
Hobbyist Through-Hole Prototyping & Education
The 20-pin PDIP package of the PIC16F1708-E/P makes it ideal for hobbyist breadboards, university coursework, and through-hole assembly prototypes. The standard PICkit 4 programmer/debugger and free MPLAB X IDE with the XC8 compiler support immediate code development without external debug hardware beyond the programmer. With 7 KB Flash and 512 B RAM, students can develop complete lab projects covering ADC sampling, PWM generation, I2C/SPI peripherals, and interrupt-driven firmware in the C language. The Industrial-grade temperature range and Robust Microchip documentation ensure that the same prototype firmware can transition into a commercial product with minimal rework.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1708-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1708-I/P | PIC16F1704-E/P | PIC16F1615-E/P | PIC16F1614-E/P | PIC16F1575-E/ST |
|---|---|---|---|---|---|---|
| Package | 20-PDIP (0.300") | 20-PDIP - same | 14-PDIP - smaller | 20-PDIP - same | 20-PDIP - same | 20-TSSOP - SMD |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| CPU Speed | 32 MHz / 8 MIPS | 32 MHz - same | 32 MHz - same | 32 MHz - same | 32 MHz - same | 32 MHz - same |
| Flash Memory | 7 KB | 7 KB - same | 7 KB - same | 14 KB - larger | 7 KB - same | 14 KB - larger |
| RAM | 512 bytes | 512 bytes - same | 512 bytes - same | 1 KB - larger | 512 bytes - same | 1 KB - larger |
| ADC | 10-bit, 17 ch with ADC2 | 10-bit, 17 ch - same | 10-bit, 12 ch | 10-bit, 17 ch - same | 10-bit, 12 ch | 10-bit, 17 ch - same |
| On-chip Op Amps | 2 (rail-to-rail) | 2 - same | 2 - same | 2 - same | 1 | 2 - same |
| ZCD / COG / CLC | Yes (all 3) | Yes - same | Yes - same | No COG | Yes | Yes |
| Temperature Grade | -40C to +125C (E) | -40C to +85C (I) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) |
Key Differentiators
- Largest memory in the PIC16F170x 20-pin family (vs PIC16F1704-E/P)
- Full ZCD/COG/CLC peripheral set (vs PIC16F1615-E/P)
- E temperature grade for harsh environments (vs PIC16F1708-I/P)
- 20-pin PDIP package for breadboard prototyping (vs PIC16F1708T-I/ML)
Design Notes
Power the PIC16F1708-E/P from a clean 3.3 V or 5 V rail using a low-Iq LDO such as the MCP1700 (1.6 uA quiescent) to preserve XLP sleep-current advantages. Add a 100 nF decoupling capacitor within 5 mm of the VDD pin and a bulk 10 uF on the supply rail. For battery applications, place the LDO between the battery and the VDD pin and avoid any series resistance that would form an LDO/diode drop across the quiescent current path.
The MCLR pin (pin 1) must be tied to VDD through a 10 kohm pull-up for normal operation; leaving it floating causes intermittent resets or programming failures. The on-chip op-amp inputs are not 5 V tolerant when the device runs at 3.3 V, so verify analog input ranges against VDD before connecting external sensor signals. PPS remapping must be configured before enabling peripheral outputs, or the peripheral will default to its reset pin location.
Route the ICSPDAT/ICSPCLK lines (RB6/RB7 or PPS-remapped equivalents) directly to an in-circuit programming header with no series resistance above 100 ohm to ensure reliable programming. Place the decoupling capacitor on VDD and the bulk capacitor on the supply rail before routing any high-current traces near the analog pins. For AC mains designs, keep high-voltage traces at least 3 mm away from low-voltage analog traces to satisfy clearance requirements.
For ADC accuracy, dedicate an analog ground island that joins the device GND pin at a single point, and route the AGND pin directly to that island. Avoid running PWM signals parallel to analog input traces; cross at 90 degrees if needed. Keep the ZCD sense trace short and twisted with its ground return to reject capacitive noise pickup on AC mains designs.
Compliance Information
RoHS and REACH compliance per Microchip product page. Not AEC-Q100 qualified; choose automotive-grade -VAO variants for vehicle applications. Halogen-free per Microchip environmental compliance data.