PIC16F526-E/P - 8-Bit MCU 1.5KB Flash 20MHz 14-PDIP | Microchip
料号: PIC16F526-E/P ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $1.5543 | $1.55 |
| 10 | $1.45 | $14.50 |
| 100 | $1.32 | $132.00 |
| 500 | $1.18 | $590.00 |
| 1,000 | $1.04 | $1,040.00 |
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.
直接替换替代料: PIC16F526-E/P ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16F526-E/P (相同外形与封装尺寸) ——差异在于 Internal Oscillator, Package, ADC, Operating Temperature, Program Memory Size.
快速对比工具——选择替代料号进行并排对比:
PIC16F526-I/P
✅ 直接替换✓ 有现货
$0.85 / 个
查看数据手册 →PIC16F506-I/P
✅ 直接替换✓ 有现货
$0.75 / 个
查看数据手册 →PIC16F506-E/P
✅ 直接替换✓ 有现货
$0.68 / 个
查看数据手册 →PIC16F505-I/P
✅ 直接替换✓ 有现货
$1.05 / 个
查看数据手册 →PIC16F54-I/P
✅ 直接替换✓ 有现货
$0.68 / 个
查看数据手册 →PIC16F505-E/P
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$0.65 / 个
查看数据手册 →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.