PIC16F526-E/P - 8-Bit MCU 1.5KB Flash 20MHz 14-PDIP | Microchip
MPN: PIC16F526-E/P ✓ فعالPIC16F526-E/P نمای کلی
An 8-bit microcontroller (MCU) is a programmable logic device built around an 8-bit data bus, integrating CPU, non-volatile program memory (Flash/ROM), volatile data RAM, and a configurable set of peripherals on a single silicon die. Within the broader semiconductor taxonomy, MCUs sit under microcontrollers, then embedded processors, then digital ICs. Small Flash MCUs like the PIC16F526 are intended for cost-sensitive applications where deterministic core performance and tiny pin-count packages matter more than absolute MIPS.
Key features include 12 I/O pins with individual direction control, three hardware timers (Timer0 with 8-bit prescaler, Timer1 16-bit, and WDT), a precision 4/8 MHz internal oscillator with software calibration, and three channels of 8-bit Analog-to-Digital Conversion (ADC). The device also provides an analog comparator, In-Circuit Serial Programming (ICSP) for in-field firmware updates, and on-chip debug support via the ICD header.
Architecturally, the PIC16F526 uses a 14-bit instruction-word Harvard architecture with separate code and data buses, allowing simultaneous instruction fetch and operand access. The Flash program memory supports self-programming and endurance of 100K erase/write cycles, while the EEPROM data memory offers 1M erase/write cycles. Brown-out Reset (BOR), Power-on Reset (POR), and MCLR pin provide robust system startup.
Typical applications include consumer appliances, LED lighting controllers, battery chargers, sensor interfaces, remote controls, toys, and small industrial control modules. The 14-pin PDIP package is especially suited for hobbyist, prototyping, and through-hole production where hand-soldering or socketed replacement is required.
When designing with this device, observe the VDDerating rules in the electrical characteristics table - power dissipation increases with frequency. Use decoupling capacitors within 5 mm of VDD, and place the ICSP clock and data lines so they do not interfere with high-impedance analog signals. This page synthesizes distributor pricing, drop-in 14-pin PDIP alternatives, and practical design notes that complement the manufacturer datasheet.
جایگزینهای drop-in برای PIC16F526-E/P — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC16F526-E/P (همان فرمفاکتور و فوتپرینت) — متفاوت در Internal Oscillator, Package, ADC, Operating Temperature, Program Memory Size.
PIC16F526-I/P
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F506-I/P
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F506-E/P
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F505-I/P
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F54-I/P
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F505-E/P
✅ جایگزین مستقیم ⚠️ مشخصات تأییدنشدهبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F526-E/P حداکثر مقادیر مجاز و مشخصات الکتریکی
| Program Memory Type | Flash |
| Program Memory Size | 1.5 KB (1K x 14 words) |
| RAM | 64 bytes |
| Data EEPROM | 67 bytes |
| CPU Speed | 20 MHz (5 MIPS) |
| CPU Core | 8-bit PIC16 RISC |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| دمای کاری | -40 C to +125 C (Extended, "-E") |
| Internal Oscillator | 4 MHz / 8 MHz selectable |
| I/O Pins | 12 |
| ADC | 3 channels x 8-bit |
| Timers | Timer0 (8-bit), Timer1 (16-bit), WDT |
| Analog Comparator | Yes, 1 |
| ICSP / In-Circuit Debug | Yes |
| بستهبندی | 14-Pin PDIP (0.300", 7.62 mm) |
| نوع نصب | Through-Hole |
| وضعیت RoHS | Compliant |
| Lead-Free | Yes |
پیکربندی پین PIC16F526-E/P
| پین 1 | RA0/AN0 — Bidirectional I/O / ADC channel 0 |
| پین 2 | RA1/AN1 — Bidirectional I/O / ADC channel 1 |
| پین 3 | RA2/AN2/COUT — Bidirectional I/O / ADC channel 2 / comparator output |
| پین 4 | RA3/MCLR/VPP — Bidirectional I/O / Master Clear (Reset) input / programming voltage |
| پین 5 | RA4/AN3/T0CKI — Bidirectional I/O / ADC channel 3 / Timer0 clock input |
| پین 6 | RA5/RX/DT/CCP1 — Bidirectional I/O / USART RX / Synchronous data / Capture-Compare-PWM |
| پین 7 | VSS — Ground reference |
| پین 8 | RA6/T1OSO/OSC2 — Bidirectional I/O / Timer1 oscillator output / crystal oscillator output |
| پین 9 | RA7/T1OSI/OSC1 — Bidirectional I/O / Timer1 oscillator input / crystal oscillator input |
| پین 10 | RB0/INT — Bidirectional I/O / External interrupt input |
| پین 11 | RB1/RX/DT — Bidirectional I/O / USART RX / Synchronous data |
| پین 12 | RB2/TX/CK — Bidirectional I/O / USART TX / Synchronous clock |
| پین 13 | RB3 — Bidirectional I/O port B bit 3 |
| پین 14 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
کاربردهای معمول
PIC16F526-E/P مناسب است برای 6 کاربردs: Consumer Appliance Control, Battery-Powered Sensor Nodes, LED Lighting Controllers, Remote Controls and IR Key Fobs, Small Industrial Control Modules, Educational and Hobby Electronics.
Consumer Appliance Control
The PIC16F526-E/P fits consumer appliance control applications where a small, deterministic 8-bit core drives relays, triacs, and indicator LEDs. Its 1.5 KB Flash supports simple state machines for washing machine timers, microwave user interfaces, and rice cooker profiles, while 12 I/O pins accommodate keypad scan, LCD segment control, and buzzer PWM via Timer1. The internal 4/8 MHz oscillator removes the need for an external crystal, reducing BOM cost. Operation from 2.0 V to 5.5 V aligns with regulated 3.3 V or 5 V rails typical in appliance designs, and the Extended -40 C to +125 C grade tolerates the elevated ambient temperatures found inside motor enclosures.
پیشنهادی
Battery-Powered Sensor Nodes
The PIC16F526-E/P is well matched to wireless sensor node firmware running on a 3 V coin-cell or 2 x AA battery pack. The 8-bit core and 1.5 KB Flash comfortably host interrupt-driven A/D sampling of thermistor or battery voltage, while the analog comparator enables zero-crossing wakeup without spinning the CPU. Three ADC channels multiplex multiple sensors (temperature, light, motion). With sleep current in the microamp range (per datasheet DC electrical specs), a duty-cycled sensor node achieves multi-year battery life. The 14-pin PDIP package is easy to hand-solder into hobbyist-friendly environmental monitoring boards.
پیشنهادی
LED Lighting Controllers
The PIC16F526-E/P controls constant-current LED drivers for decorative and architectural lighting, generating PWM via Timer1 or the analog comparator paired with Timer0. The 20 MHz CPU gives 5 MIPS throughput, plenty for addressable WS2812-style bit-banged protocols and dim-to-warm color blending in fixtures. Its 12 I/O pins fan out to multiple LED strings or DMX-style channels. The Extended temperature grade ensures operation inside sealed luminaires where ambient can reach 70-85 C, and the 2.0 V to 5.5 V VDD matches both 3.3 V and 5 V LED-driver topologies without level shifters.
پیشنهادی
Remote Controls and IR Key Fobs
The PIC16F526-E/P is ideal for IR remote controls, RF key fobs, and wireless wall switches because it combines a small Flash footprint with deterministic interrupt latency. Three ADC channels read analog keys (e.g., sliders or potentiometers) while digital I/O pins scan matrix keypads. Timer1 can generate 38 kHz carrier for IR transmission and timer-capture can decode incoming IR bursts. With sleep current in the microamp range, fobs run for years on a CR2032 coin cell. The 14-pin PDIP supports low-cost through-hole PCB assembly for hand-built prototypes and small production runs.
پیشنهادی
Small Industrial Control Modules
In industrial control sub-modules like relay drivers, optocoupler interfaces, and small PLC expansion cards, the PIC16F526-E/P delivers 5 MIPS deterministic response and the Extended -40 C to +125 C grade tolerates cabinet environments. Its 12 I/O pins drive status LEDs, read optocoupler inputs, and trigger solid-state relays. Three ADC channels measure 4-20 mA loop current or 0-10 V analog process signals when properly scaled. The 14-pin PDIP makes the device socketable for service-friendly field replacement in legacy industrial control panels.
پیشنهادی
Educational and Hobby Electronics
The PIC16F526-E/P is widely used in classroom and hobbyist microcontroller tutorials because the 14-pin PDIP is breadboard-friendly and the PIC16 instruction set is well documented in introductory textbooks. The 1.5 KB Flash fits dozens of example projects (blinky LEDs, ADC thermometers, PWM motor control, servo driving) while ICSP allows live re-flashing without removing the chip. The MPLAB X IDE and XC8 compiler (free edition) support the part directly. With -40 C to +125 C operating range and 2.0-5.5 V VDD, learners can transition from 3.3 V ESP8266/ESP32 comparisons to 5 V classic PIC experiments using the same chip.
پیشنهادی
خلاصه محصولات پیشنهادی
دادههای مرجع مهندسی برای PIC16F526-E/P — مقایسه، راهنمای طراحی و اطلاعات انطباق.
راهنمای انتخاب
مقایسه با جایگزینها
| پارامتر | این محصول | PIC16F526-I/P | PIC16F506-I/P | PIC16F506-E/P | PIC16F505-I/P | PIC16F54-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 14-Pin PDIP | 14-Pin PDIP - same | 14-Pin PDIP - same | 14-Pin PDIP - same | 14-Pin PDIP - same | 14-Pin PDIP - same |
| Program Memory | 1.5 KB Flash | 1.5 KB Flash | 1.5 KB Flash | 1.5 KB Flash | 1.5 KB Flash | 0.75 KB Flash |
| RAM | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 25 bytes |
| CPU Speed | 20 MHz / 5 MIPS | 20 MHz / 5 MIPS | 20 MHz / 5 MIPS | 20 MHz / 5 MIPS | 20 MHz / 5 MIPS | 20 MHz / 5 MIPS |
| ADC | 3 ch x 8-bit | 3 ch x 8-bit | 3 ch x 8-bit | 3 ch x 8-bit | None | None |
| I/O Pins | 12 | 12 | 12 | 12 | 12 | 12 |
| Temperature Grade | Extended (-40 to +125 C) | Industrial (-40 to +85 C) | Industrial (-40 to +85 C) | Extended (-40 to +125 C) | Industrial (-40 to +85 C) | Industrial (-40 to +85 C) |
| Internal Oscillator | 4/8 MHz selectable | 4/8 MHz selectable | 31 kHz to 8 MHz (nanoWatt XLP) | 31 kHz to 8 MHz (nanoWalt XLP) | 4 MHz internal | External only |
تفاوتهای کلیدی
- Pinout-compatible drop-in path to PIC16F506 with nanoWatt XLP low-power (در مقابلPIC16F506-E/P)
- Extended -40 to +125 C grade included without separate ordering code (در مقابلPIC16F526-I/P (Industrial))
- Self-contained ADC + analog comparator on-chip (در مقابلPIC16F505-I/P (no ADC))
یادداشتهای طراحی
Estimated: at VDD=5.5 V and 20 MHz oscillator, IDD active current is approximately 4.5 mA per the datasheet DC characteristics, giving roughly 25 mW total chip dissipation. At VDD=3.3 V and 4 MHz internal oscillator, IDD drops to ~1 mA (estimated). Decouple VDD (pin 14) with a 100 nF ceramic capacitor placed within 5 mm of the pin and add a bulk 10 uF tantalum or aluminum electrolytic cap on the board supply rail. For battery-powered designs, place the MCU in Sleep mode between ADC samples to reduce average current to the microamp range per the nanoWatt electrical specs.
Place the 14-pin PDIP socket (if used) so that ICSP pins RA0/RA1 (ICSPCLK/ICSPDAT on the device) and MCLR (pin 4) remain accessible at the PCB edge for programming. Route the VDD and VSS (pins 14 and 7) directly to a low-impedance power plane; avoid running noisy relay or triac traces near the analog inputs RA0-RA3 to prevent ADC reading errors. Keep crystal traces (if an external resonator is used) short and guard them with ground pour; otherwise rely on the internal 4/8 MHz oscillator to eliminate the crystal and its loading capacitors entirely.
Do not forget the MCLR pull-up resistor: pin 4 (RA3/MCLR/VPP) requires an external pull-up to VDD (typically 10 kOhm) to avoid spurious resets, and the MCLR/VPP input must be allowed to rise to 13.5 V during ICSP high-voltage programming if that mode is used. If using the analog comparator, configure the CVR register before enabling the comparator output on RA2. Finally, ensure that unused I/O pins are configured as outputs low (not inputs floating) to minimize current consumption through CMOS input hysteresis.
اطلاعات انطباق
Lead-free / RoHS compliant per Microchip product page. Extended (-40 to +125 C) temperature grade exceeds AEC-Q100 Grade 1 (-40 to +125 C) but the part has not been formally AEC-Q100 qualified; check with Microchip for automotive PPAP availability. Halogen-free status not stated in provided data.