PIC18F4520-E/P - 8-Bit 40MHz 32KB Flash MCU DIP-40 | Microchip
부품 번호: PIC18F4520-E/P ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $7.77 | $7.77 |
| 10 | $6.85 | $68.50 |
| 100 | $5.92 | $592.00 |
| 500 | $5.21 | $2,605.00 |
| 1,000 | $4.78 | $4,780.00 |
PIC18F4520-E/P 개요
An 8-bit microcontroller (MCU) is a single-chip computer that combines a CPU, memory (Flash, SRAM, EEPROM), peripherals (ADC, timers, UART, SPI, I2C), and I/O on a single silicon die. Within the broader taxonomy, the PIC18F4520 belongs to: microcontroller -> 8-bit MCU -> enhanced Flash MCU -> RISC MCU -> embedded controller -> semiconductor IC. The PIC18F family is widely adopted for cost-sensitive, deterministic embedded designs and sits between the older PIC16 mid-range family and the 16-bit dsPIC/PIC24 families in Microchip's portfolio.
Key features of the PIC18F4520 include a hardware 8x8 single-cycle multiplier, nanoWatt power management with multiple idle/sleep modes, a fail-safe clock monitor, and an internal 31 kHz to 8 MHz oscillator block with 4x PLL (for system clock up to 40 MHz). Four 16-bit timers/counters, two capture/compare/PWM modules, an enhanced USART, MSSP (SPI/I2C), and a parallel slave port round out the peripheral set. EUSART and PWMs are commonly used for motor and sensor interfacing.
The architecture uses a 16-bit instruction word with an 8-bit data path, providing C-compiler-friendly RISC design while retaining the deterministic interrupt latency PIC MCUs are known for. The wide 4.2V to 5.5V operating range simplifies integration with 5V sensors and drivers, while 1.8V to 3.6V operation at reduced clock is supported for low-power designs. nanoWatt technology can drop supply current below 1 uA in sleep mode.
Typical applications include industrial control panels, HVAC thermostats, motor control (BLDC/fan/pump), low-end embedded data acquisition, smart metering, automotive body electronics, and USB-to-UART bridges when paired with an external PHY. The 40-pin PDIP footprint remains popular for through-hole prototype boards, educational platforms, and replacement of legacy 8051 designs.
When designing with this part, choose the industrial temperature grade (-40C to +125C) for outdoor/automotive use; the E suffix here denotes the extended temperature range. Ensure decoupling capacitors are placed within 5 mm of the VDD/VSS pins and verify oscillator start-up time under your load conditions before locking the BOM.
This page synthesizes distributor pricing as of 2026-09-27, drop-in DIP-40 alternatives, and practical design notes that complement the manufacturer datasheet for engineers evaluating legacy PIC18 designs.
드롭인 대체품: PIC18F4520-E/P — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC18F4520-E/P (동일 폼 팩터 및 풋프린트) — 차이점: Package, Timers, Operating Temperature, Core Architecture, Mounting Type.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC18F4520-I/P
✅ 드롭인✓ 재고 있음
$5.35 / 개
데이터시트 보기 →PIC18F4420-E/P
✅ 드롭인✓ 재고 있음
$2.55 / 개
데이터시트 보기 →PIC18F45K22-E/P
✅ 드롭인✓ 재고 있음
$2.78 / 개
데이터시트 보기 →PIC18F442-E/P
✅ 드롭인✓ 재고 있음
$4.95 / 개
데이터시트 보기 →PIC18F4580-E/P
✅ 드롭인✓ 재고 있음
$4.41 / 개
데이터시트 보기 →PIC18F4480-E/P
✅ 드롭인✓ 재고 있음
$3.79 / 개
데이터시트 보기 →PIC16F877A-I/P
✅ 드롭인✓ 재고 있음
가격 문의
데이터시트 보기 →PIC18F4520-E/P 최대 정격 & 전기적 특성
| Family | PIC18F |
| Core | 8-bit RISC (PIC18 enhanced) |
| Program Memory | 32 KB Flash |
| RAM | 1536 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| 공급 전압 | 4.2 V to 5.5 V |
| 동작 온도 | -40C to +125C (E = extended) |
| I/O Pins | 36 |
| ADC | 10-bit, 13 channels |
| Timers | 4 x 16-bit |
| CCP/PWM Modules | 2 (Enhanced CCP) |
| Communication | EUSART, MSSP (SPI/I2C), Parallel Slave Port |
| 패키지 | 40-pin PDIP (DIP-40, 0.600 inch) |
| 실장 유형 | Through-Hole |
| Program Memory Type | Flash |
| Data Memory Type | SRAM + EEPROM |
| RoHS 상태 | Compliant |
| Lead-Free | Yes |
| Multiplier | 8x8 hardware single-cycle |
PIC18F4520-E/P 핀 구성
| 핀 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| 핀 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| 핀 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| 핀 4 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC VREF- |
| 핀 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+ |
| 핀 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 핀 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| 핀 8 | RE0/RD — PORTE bit 0 / PSP read control |
| 핀 9 | RE1/WR — PORTE bit 1 / PSP write control |
| 핀 10 | RE2/CS — PORTE bit 2 / PSP chip select |
| 핀 11 | VDD — Positive power supply (4.2V-5.5V) |
| 핀 12 | VSS — Ground reference |
| 핀 13 | OSC1/CLKI/RA7 — Oscillator input / external clock input / PORTA bit 7 |
| 핀 14 | OSC2/CLKO/RA6 — Oscillator output / clock output / PORTA bit 6 |
| 핀 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| 핀 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| 핀 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| 핀 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 핀 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| 핀 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| 핀 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| 핀 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| 핀 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 핀 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| 핀 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| 핀 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| 핀 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| 핀 28 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| 핀 29 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| 핀 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| 핀 31 | VSS — Ground reference |
| 핀 32 | VDD — Positive power supply (4.2V-5.5V) |
| 핀 33 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| 핀 34 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| 핀 35 | RB2/INT2 — PORTB bit 2 / external interrupt 2 |
| 핀 36 | RB3/CCP2 — PORTB bit 3 / CCP2 output |
| 핀 37 | RB4 — PORTB bit 4 (interrupt-on-change) |
| 핀 38 | RB5 — PORTB bit 5 (interrupt-on-change) |
| 핀 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| 핀 40 | RB7/PGD — PORTB bit 7 / ICSP data |
일반적인 애플리케이션
PIC18F4520-E/P 적합 용도: 6 애플리케이션s: Industrial Control Panels, HVAC Thermostats and Climate Control, BLDC Motor and Fan Control, Low-End Data Acquisition Modules, Smart Metering and Energy Monitoring, Automotive Body Electronics.
Industrial Control Panels
The PIC18F4520-E/P fits industrial control panels because its 32 KB Flash, 13-channel 10-bit ADC, and 36 I/O pins support multi-sensor data acquisition plus relay/driver outputs in a single chip. Its 4.2V to 5.5V supply range interfaces directly to 5V logic and 24V industrial rails via simple level shifters. The 40-pin PDIP package remains the most popular through-hole form for control cabinets and field-replaceable modules, allowing fast swap-out without surface-mount rework. The 10 MIPS core handles PID loops and HMI key-scan routines deterministically. Engineers pairing it with a PIC18F4520-E/ML companion in SMD form get a unified firmware codebase across PDIP and SOIC assembly variants.
추천
HVAC Thermostats and Climate Control
For HVAC thermostats, the PIC18F4520-E/P provides 13 ADC channels for NTC temperature sensing, capacitive touch or keypad input via the I/O ports, and PWM outputs to drive triac-controlled fan/blower stages. The enhanced CCP module delivers 10-bit PWM resolution sufficient for proportional damper and valve control. nanoWatt sleep modes reduce standby current to under 1 uA, satisfying Energy Star idle budgets for battery-backed thermostats. The extended -40C to +125C temperature rating is critical for rooftop or attic installations where ambient can exceed 70C in summer. The 40-pin PDIP simplifies UL-listed enclosure assembly lines that prefer through-hole for vibration tolerance.
추천
BLDC Motor and Fan Control
The PIC18F4520-E/P drives small BLDC motors and fans via its two Enhanced CCP modules generating complementary PWMs with programmable dead-band, suitable for 3-phase trapezoidal commutation. Its 40 MHz core and 10 MIPS throughput execute sensorless back-EMF zero-cross detection within tight control loops. The 36 I/O pins handle Hall-sensor inputs, fault inputs, brake outputs, and tachometer feedback simultaneously. Wide 4.2V to 5.5V operation tolerates rectified 24V industrial supply rails after a buck regulator. The 256-byte EEPROM stores calibration coefficients and fault history, useful for predictive maintenance in fan assemblies.
추천
Low-End Data Acquisition Modules
For low-channel-count data loggers and SCADA RTUs, the PIC18F4520-E/P combines a 13-channel 10-bit ADC, 1536-byte SRAM buffer, and 32 KB Flash for local protocol stacks. The EUSART handles RS-485 Modbus RTU at 115200 baud while the MSSP serves SPI sensors over a shared bus. The 256-byte EEPROM retains calibration constants across power cycles without external NVRAM. Industrial -40C to +125C temperature rating lets the module mount directly on a DIN rail next to power electronics. The DIP-40 footprint supports hand-solderable prototypes for proof-of-concept data acquisition before committing to a surface-mount production layout.
추천
Smart Metering and Energy Monitoring
In single-phase smart meters and energy monitors, the PIC18F4520-E/P samples voltage and current waveforms via the 10-bit ADC at sufficient rate for true-RMS calculation up to 16 harmonics. The hardware 8x8 multiplier accelerates energy integration math without firmware overhead. EUSART drives an isolated optical UART link to the utility concentrator, while the parallel slave port can connect to an external metrology coprocessor if accuracy requirements escalate. The 40-pin PDIP is favored by meter manufacturers with legacy through-hole assembly lines. Extended temperature grade supports outdoor meter cabinet deployments in tropical or desert climates.
추천
Automotive Body Electronics
The PIC18F4520-E/P serves automotive body controllers for window lifters, mirror adjusters, and interior lighting where the -40C to +125C extended temperature range meets AEC-Q100-style thermal expectations (verify AEC-Q100 qualification separately for production). Its EUSART supports LIN bus slave communication when paired with a LIN transceiver like the MCP2025. The 36 I/O pins drive multiple H-bridges and LED strings directly via discrete FET drivers. The 32 KB Flash fits typical body controller firmware including state machines, diagnostic routines, and bootloader. The DIP-40 package aids quick prototyping on bench setups before committing to a QFN production PCB.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC18F4520-E/P — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC18F4520-I/P | PIC18F4420-E/P | PIC18F45K22-E/P | PIC18F442-E/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP (DIP-40) | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same |
| Program Memory (Flash) | 32 KB | 32 KB | 16 KB | 32 KB | 16 KB |
| RAM | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 768 bytes |
| Maximum Clock Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 64 MHz (16 MIPS) | 40 MHz (10 MIPS) |
| Operating Temperature | -40C to +125C | -40C to +85C | -40C to +125C | -40C to +125C | -40C to +125C |
| ADC Channels / Resolution | 13 x 10-bit | 13 x 10-bit | 13 x 10-bit | 28 x 10-bit | 8 x 10-bit |
| I/O Pins | 36 | 36 | 36 | 36 | 34 |
| Supply Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 2.3 V to 5.5 V | 2.0 V to 5.5 V |
주요 차별점
- Largest Flash in classic 40-pin PIC18F4x20 family (vs PIC18F4420-E/P)
- Lower power consumption with newer core (vs PIC18F45K22-E/P)
- Extended temperature grade over industrial variant (vs PIC18F4520-I/P)
설계 노트
Estimated: PIC18F4520-E/P supply current at 40 MHz / 5V with all peripherals active is approximately 22 mA; in Sleep mode this drops to under 1 uA per Microchip datasheet 39631E. Use a 100 nF decoupling capacitor within 5 mm of each VDD/VSS pair (pins 11/12 and 31/32), plus a bulk 10 uF tantalum on the supply rail. For battery-backed designs, gate the MCU VDD via a load switch and route the MCLR pin through a dedicated supervisor like MCP130 for deterministic brown-out reset at 4.0V typical.
Do not leave the MCLR pin floating - either tie it to VDD through a 10 kohm resistor with a 100 nF decoupling cap, or drive it with a supervisor. For ICSP programming, RB6/PGC and RB7/PGD must not be pulled low at reset or the part will enter a programming mode inadvertently. The internal 31 kHz-8 MHz oscillator with 4x PLL must be configured via the OSCCON register before the HFINTOSC is enabled, otherwise the part may fail to start cleanly on power-up at cold temperature.
When using the EUSART at 115200 baud over long cables, place a 100 ohm series resistor and TVS diode near the MCU TX/RX pins for ESD and surge protection. For SPI buses running above 4 MHz, keep traces under 50 mm and place a 33 ohm series resistor close to the master SCK pin to dampen ringing. The MSSP module's I2C lines need 4.7 kohm pull-ups to VDD (or 2.2 kohm for Fast Mode 400 kHz); do not exceed the 400 pF bus capacitance budget.
규정 준수 정보
RoHS and lead-free per Microchip product page; PIC18F4520-E/P is not AEC-Q100 qualified - for automotive safety-critical use, contact Microchip about the automotive grade (typically -I/SP Q1 variants). REACH compliance is standard Microchip policy but specific statement not located in verified web data.