PIC16F1779-E/P - 28KB Flash 8-bit MCU, 32MHz, 40-PDIP | Microchip
MPN: PIC16F1779-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.85 | $3.85 |
| 10 | $3.42 | $34.20 |
| 100 | $2.98 | $298.00 |
| 500 | $2.61 | $1,305.00 |
| 1,000 | $2.28 | $2,280.00 |
PIC16F1779-E/P Overview
What is a PIC microcontroller? A PIC (Peripheral Interface Controller) microcontroller is a small, low-cost, programmable computer on a single integrated circuit that combines a CPU, RAM, non-volatile program memory (Flash), and configurable peripherals (ADC, PWM, timers, communication interfaces) on one die. PIC microcontrollers belong to the broader microcontroller family in the semiconductor hierarchy: microcontroller -> embedded processor -> integrated circuit -> semiconductor. The PIC16F1779 falls within Microchip's PIC16F mid-range 8-bit family optimized for intelligent analog and digital peripheral integration.
Key features of the PIC16F1779-E/P include 28KB self-programmable Flash, 2KB SRAM, 256 bytes of EEPROM, 36 I/O pins capable of sourcing/sinking 100mA for direct LED or power MOSFET drive, four 16-bit timers, four 10-bit PWMs, four 16-bit PWMs, and a peripheral pin select (PPS) module that remaps digital peripherals to any I/O pin for layout flexibility. The integrated op-amps, comparators, DAC, and ramp generator form a closed-loop analog control engine suitable for lighting ballast, switched-mode power supply (SMPS), and motor control applications.
The PIC16F1779 utilizes a Harvard RISC architecture with a 14-bit instruction word and a single-cycle instruction execution at 32MHz (8 MIPS). The device includes Core Independent Peripherals (CIPs) such as the Complementary Waveform Generator (CWG), Numerically Controlled Oscillator (NCO), and Configurable Logic Cells (CLC) that operate without CPU intervention, freeing the core for supervisory tasks and reducing firmware complexity.
Typical applications include LED lighting drivers with dimming, AC-DC and DC-DC switched-mode power supplies with PFC, battery chargers, BLDC and stepper motor control, wireless charging, and general-purpose embedded control. The PIC16F1779's integrated op-amps, comparators, and ramp generator particularly suit digital power conversion and lighting ballast designs where discrete analog control is normally required.
When designing with this device, configure the configuration bits for the desired oscillator mode (INTOSC is typical for 32MHz operation) and unlock PPS sequencing for remapping. The high-current I/O pins can directly drive power MOSFETs or LED strings, simplifying BOM and PCB area.
This page synthesizes distributor pricing, drop-in same-package alternatives, application recommendations, and practical design notes for the PIC16F1779-E/P - information not consolidated on any single manufacturer or distributor page.
Drop-in alternatives for PIC16F1779-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 PIC16F1779-E/P (same form factor and footprint) — differing in DAC, Package, ADC, Mounting Type, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1779-I/P
✅ Drop-In✓ In Stock
$3.21 / Unit
View Datasheet →PIC16F1778-I/P
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
PIC16F1719-I/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$2.55 / Unit
View Datasheet →PIC16F1769-I/P
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
PIC16F1765-E/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.25 / Unit
View Datasheet →PIC16F1779-E/P Maximum Ratings & Electrical Characteristics
| Architecture | PIC 8-bit RISC, 14-bit instruction word |
| Program Memory (Flash) | 28 KB (16K x 14 words) |
| RAM | 2 KB |
| EEPROM | 256 bytes |
| CPU Speed | 32 MHz (8 MIPS) |
| Operating Voltage Range | 2.5 V to 5.5 V |
| I/O Pins | 36 |
| I/O Current Capability | 100 mA source/sink per pin |
| ADC | 10-bit, multiple channels |
| DAC | 10-bit |
| Comparators | High-speed comparators integrated |
| Op-Amps | Operational amplifiers integrated |
| PWM | 10-bit and 16-bit PWM modules |
| Zero-Cross Detect (ZCD) | Yes |
| Programmable Ramp Generator (PRG) | Yes |
| Peripheral Pin Select (PPS) | Yes |
| Communication | SPI, I2C, EUSART |
| Timers | Four 16-bit timers |
| Package | 40-pin PDIP (0.600", 15.24mm) |
| Mounting Type | Through Hole |
| Operating Temperature Range (E suffix) | -40C to +125C (extended) |
| RoHS Status | Compliant |
PIC16F1779-E/P Pin Configuration
| Pin 1 | RE3/MCLR/VPP — Master Clear (reset) input / programming voltage; also digital input only |
| Pin 2 | RA0/AN0/C1IN+/C2IN+/DAC1OUT — Analog input / comparator input / DAC1 output |
| Pin 3 | RA1/AN1/C1IN-/C2IN-/OPA1IN+ — Analog input / comparator / op-amp 1 input |
| Pin 4 | RA2/AN2/C2IN+/OPA1IN-/DAC1REF+ — Analog input / comparator / op-amp / DAC reference |
| Pin 5 | RA3/AN3/C1IN0-/OPA1OUT — Analog input / comparator / op-amp 1 output |
| Pin 6 | RA4/AN4/C2OUT — Analog input / comparator 2 output |
| Pin 7 | RA5/AN5/C1OUT — Analog input / comparator 1 output |
| Pin 8 | RE0/AN6 — Digital I/O / analog input |
| Pin 9 | RE1/AN7 — Digital I/O / analog input |
| Pin 10 | RE2/AN8 — Digital I/O / analog input |
| Pin 11 | VDD — Positive power supply (2.5V-5.5V) |
| Pin 12 | VSS — Ground |
| Pin 13 | RA7/OSC1/CLKIN — Oscillator input / general I/O |
| Pin 14 | RA6/OSC2/CLKOUT — Oscillator output / general I/O |
| Pin 15 | RC0/SOSCO — Digital I/O / secondary oscillator output |
| Pin 16 | RC1/SOSCI — Digital I/O / secondary oscillator input |
| Pin 17 | RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1 |
| Pin 18 | RC3/REFO/SCL — Digital I/O / reference output / I2C clock |
| Pin 19 | RD0 — Digital I/O |
| Pin 20 | RD1 — Digital I/O |
| Pin 21 | RD2 — Digital I/O |
| Pin 22 | RD3 — Digital I/O |
| Pin 23 | RC4/SDA — Digital I/O / I2C data |
| Pin 24 | RC5/SDO — Digital I/O / SPI data out |
| Pin 25 | RC6/SDI/TX/CK — Digital I/O / SPI data in / EUSART TX/CK |
| Pin 26 | RC7/SDO/RX/DT — Digital I/O / EUSART RX/DT |
| Pin 27 | RD4 — Digital I/O |
| Pin 28 | RD5 — Digital I/O |
| Pin 29 | RD6 — Digital I/O |
| Pin 30 | RD7 — Digital I/O |
| Pin 31 | VSS — Ground |
| Pin 32 | VDD — Positive power supply (2.5V-5.5V) |
| Pin 33 | RB0/INT — Digital I/O / external interrupt |
| Pin 34 | RB1 — Digital I/O |
| Pin 35 | RB2 — Digital I/O |
| Pin 36 | RB3 — Digital I/O |
| Pin 37 | RB4 — Digital I/O |
| Pin 38 | RB5 — Digital I/O |
| Pin 39 | RB6/ICSPCLK — Digital I/O / ICSP clock |
| Pin 40 | RB7/ICSPDAT — Digital I/O / ICSP data |
Typical Applications
PIC16F1779-E/P is suitable for 7 applications: LED Lighting Ballast with Dimming, Switched-Mode Power Supply (SMPS) with PFC, BLDC / PMSM Motor Control, Battery Charger with CC/CV Control, Industrial Sensor Signal Conditioning, Wireless Charging Transmitter (Qi), General-Purpose Embedded Control.
LED Lighting Ballast with Dimming
The PIC16F1779-E/P's integrated op-amps, comparators, 10-bit DAC, zero-cross detect (ZCD), and 100mA high-current I/Os form a complete digital lighting ballast controller for LED drivers. The high-current I/O pins directly drive power MOSFET gates for buck/boost LED drivers, eliminating external gate drivers and reducing BOM. The PRG (programmable ramp generator) and CIP-based control loops deliver constant-current regulation across dimming ranges. According to the Microchip datasheet, the 32 MHz CPU executes lighting control firmware with 8 MIPS headroom for color-mixing and DALI/Casambi protocols. Companion: PIC16F1778 in same family for cost-down variants.
Recommended
Switched-Mode Power Supply (SMPS) with PFC
The PIC16F1779-E/P integrates four 10-bit DACs, four high-speed comparators, four op-amps, and a programmable ramp generator that together implement peak current-mode and average current-mode control in digital SMPS designs. Combined with the 28KB Flash and 32 MHz MIPS performance, the device runs the control loop and PFC algorithm with deterministic latency. The zero-cross detect (ZCD) module synchronizes switching to AC line crossings, critical for DCM CrM PFC stages. The 100mA I/Os drive low-side MOSFETs directly. Companion: PIC16F1765-E/P for lower-power variants.
Recommended
BLDC / PMSM Motor Control
The PIC16F1779-E/P's 16-bit PWM modules and Complementary Waveform Generator (CWG) with dead-band control directly drive 3-phase inverter FETs for BLDC and PMSM motor control. The 100mA high-current I/Os source/sink directly into gate drivers, reducing external components. The op-amps condition current-sense signals from low-side shunt resistors, while the comparators trigger ADC sampling in hardware. Sensorless back-EMF detection via the high-speed comparators eliminates Hall sensors in low-cost designs. 32 MHz CPU runs field-oriented control (FOC) firmware. Companion: PIC16F1719-I/P for lower-cost 2-phase designs.
Recommended
Battery Charger with CC/CV Control
The PIC16F1779-E/P executes constant-current/constant-voltage (CC/CV) battery charging algorithms with closed-loop control via integrated op-amps and a 10-bit DAC for current/voltage setpoint. The 10-bit ADC samples battery voltage and current at up to 100 ksps for Li-ion, lead-acid, and NiMH chemistries. The 28KB Flash stores multi-stage charge profiles, safety timers, and SMBus/I2C host communication. The 100mA I/Os drive charge FETs and indicator LEDs directly. Extended -40C to +125C temperature range supports outdoor and industrial charger installations. Companion: PIC16F15344-E/P for low-cost charger variants.
Recommended
Industrial Sensor Signal Conditioning
The PIC16F1779-E/P's four integrated op-amps and four high-speed comparators enable direct conditioning of industrial sensors (RTD, thermocouple, bridge pressure) without external analog front-end. The 10-bit ADC digitizes conditioned signals; the 28KB Flash implements linearization, calibration tables, and HART or 4-20mA loop communication. The EUSART and I2C peripherals interface to industrial transceivers and displays. The extended -40C to +125C temperature range handles factory-floor environments. PPS allows flexible pin mapping for compact PCB layouts.
Recommended
Wireless Charging Transmitter (Qi)
The PIC16F1779-E/P's integrated op-amps and comparators implement foreign-object detection (FOD) and resonant tank monitoring for Qi wireless charging transmitters. The PRG generates the PWM drive for the inverter, while the high-current I/Os drive full-bridge or half-bridge FETs directly. The 28KB Flash runs Qi protocol stack and dynamic power tuning. The 32 MHz CPU executes digital demodulation of the receiver's load-modulated feedback. Companion: PIC16F1779-E/ML (QFN package variant) for space-constrained puck designs.
Recommended
General-Purpose Embedded Control
The PIC16F1779-E/P serves as a flexible 8-bit controller for general-purpose embedded applications where 28KB Flash, 2KB RAM, and 36 I/O pins are needed. Peripheral Pin Select (PPS) allows remapping of SPI, I2C, UART, and PWM to any I/O pin, simplifying PCB layout. The 256-byte EEPROM stores user-configurable parameters. The CLC (Configurable Logic Cell) and NCO (Numerically Controlled Oscillator) implement glue logic in hardware, freeing the CPU. Suitable for appliance control, HVAC, IoT edge nodes, and consumer electronics.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1779-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1779-I/P | PIC16F1778-I/P | PIC16F1719-I/P | PIC16F1769-I/P | PIC16F1765-E/P |
|---|---|---|---|---|---|---|
| Package | 40-pin PDIP | 40-pin PDIP (same) | 40-pin PDIP (same) | 40-pin PDIP (same) | 40-pin PDIP (same) | 40-pin PDIP (same) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 28 KB | 28 KB | 28 KB | 28 KB | 14 KB | 14 KB |
| RAM | 2 KB | 2 KB | 2 KB | 2 KB | 1 KB | 1 KB |
| CPU Speed | 32 MHz (8 MIPS) | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Operating Voltage | 2.5V to 5.5V | 2.5V to 5.5V | 2.5V to 5.5V | 2.5V to 5.5V | 2.5V to 5.5V | 2.5V to 5.5V |
| Integrated Op-Amps | 4 | 4 | 4 | 2 | 3 | 3 |
| Temperature Grade (this suffix) | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) |
| Approx. Unit Price (USD, qty 1) | $3.85 | $3.85 (similar) | $3.70 (similar) | $3.20 (lower) | $2.95 (lower) | $2.75 (lower) |
Key Differentiators
- Highest analog integration in PIC16F177x family (vs PIC16F1719-I/P)
- Extended temperature range option (vs PIC16F1779-I/P)
- Larger Flash and RAM than PIC16F176x family (vs PIC16F1769-I/P)
Design Notes
Decouple the PIC16F1779-E/P with a 100nF ceramic capacitor placed within 5mm of each VDD pin (pins 11 and 32). Add a bulk 10uF tantalum or ceramic capacitor near the MCU. For ADC accuracy, place a 10uF + 100nF pair on AVDD (if separate analog supply is used). The wide operating range of 2.5V to 5.5V supports both 3.3V and 5V rails; ensure the regulator has at least 50mA headroom for I/O switching transients.
The 40-pin PDIP through-hole package is suitable for breadboard and hand-soldered prototyping. Keep trace lengths to the high-current I/O pins (RA0-RA7, RB0-RB7, RC0-RC7, RD0-RD7) short and wide (>=20 mil) when driving power MOSFETs or LEDs at 100mA. Separate analog signals (AN0-AN8) from digital switching traces; place the analog ground star-point at the MCU's VSS pin. The MCLR pin (RE3) requires a 10kohm pull-up to VDD and a 100nF capacitor to ground for noise immunity.
Configuration bits must be set correctly for the INTOSC oscillator to operate at 32 MHz; an unconfigured MCU will run at the default 500 kHz. The Peripheral Pin Select (PPS) registers must be unlocked before remapping peripherals (write PPSLOCK = 0x55, 0xAA). The I2C pins require external pull-up resistors (typically 4.7kohm at 100 kHz, 2.2kohm at 400 kHz). Do not exceed 100 mA per I/O pin; total package current must be kept within the datasheet's maximum rating. The 'E' suffix part is rated -40C to +125C ambient; verify that the package thermal dissipation is sufficient for your application.
For SMPS or motor control applications using the high-speed comparators and PWM outputs, place the current-sense traces (shunt resistor to op-amp) within 10mm of the MCU and use a Kelvin connection. Keep the gate-drive traces from the high-current I/O pins to the MOSFETs short (<25mm) to minimize ringing; add 10ohm-100ohm gate-source resistors to dampen oscillation. The zero-cross detect (ZCD) input should be AC-coupled with a 1Mohm/100kohm resistor divider matching the line-voltage range to the MCU's 5V I/O limits.
Compliance Information
RoHS compliant per Microchip product page. Lead-free (Pb-free) packaging. REACH and halogen-free status not explicitly stated in verified data. Not AEC-Q100 qualified as 'E' grade denotes extended industrial temperature, not automotive qualification.