PIC18F4520-I/PT - 8-Bit MCU 32KB Flash 40MHz TQFP-44
部品番号: PIC18F4520-I/PT ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $7.41 | $7.41 |
| 10 | $6.62 | $66.20 |
| 100 | $5.83 | $583.00 |
| 500 | $5.18 | $2,590.00 |
| 1,000 | $4.66 | $4,660.00 |
| 3,000 | $4.05 | $12,150.00 |
PIC18F4520-I/PT 概要
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile Flash program memory, volatile SRAM, EEPROM, and a rich peripheral set (timers, A/D, USART, I2C, SPI, PWMs, and I/O ports) into one package. The PIC18F sits in the upper tier of Microchip's 8-bit portfolio, offering nanoWatt power management, 10-bit ADC, and Extended Instruction Set capability. It belongs to the broader category of embedded controllers in the power management and microcontroller pyramid, used whenever a deterministic, low-cost control plane is needed.
Key differentiating features include 36 digital I/O pins, a 13-channel 10-bit A/D converter with 100 ksamples/s throughput, two analog comparators, two CCP modules and one ECCP module, hardware USART with LIN support, MSSP for SPI/I2C, and four timer modules (one 8-bit, three 16-bit). The Enhanced Flash supports 100K erase/write cycles typical and self-programmability under firmware control, enabling bootloaders and field updates without external programmers.
The architecture uses a 16-bit program path and an 8-bit data path, with 31 interrupt vectors and a vectored priority scheme. The ADC can be triggered from a dedicated timer for deterministic sampling. With five operating modes (Run, Idle, Sleep, Doze, and RC_RUN) plus the nanoWatt regulator, the device typically draws 7 µA in Sleep and 1.6 mA at 4 MHz/3.3 V, allowing years of operation from a battery in sensor applications.
Typical applications include industrial control panels, sensor hubs with analog front-end conditioning, automotive body and HVAC sub-systems, USB-to-UART bridges, motor control driver boards, and consumer white goods where deterministic performance, low BOM cost, and long-term firmware stability are required. The wide operating range (2.0 V to 5.5 V) makes the PIC18F4520 equally comfortable in 3.3 V battery-backed and 5 V mains-referenced designs.
When designing with this part, observe the boundary-scan rules in the in-circuit debug header (ICD/ICSP) and provide adequate decoupling: place a 100 nF ceramic as close as possible to each VDD/VSS pair plus a 10 µF bulk on the main rail. The PLCC vs TQFP package choice affects socket availability and PCB rework; pick PT (TQFP-44) for surface-mount production and keep I/P (DIP-40) only for breadboard prototypes.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
ドロップイン代替品: PIC18F4520-I/PT — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18F4520-I/PT (同一形状・フットプリント) — 相違点: Package, Timers, Core Architecture, Operating Temperature, Program Memory (Flash).
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F4520-I/P
✅ ドロップイン✓ 在庫あり
$5.35 / 個
データシートを見る →PIC18F4520-E/PT
✅ ドロップイン✓ 在庫あり
$4.3 / 個
データシートを見る →PIC18F4620-I/PT
✅ ドロップイン✓ 在庫あり
$5.45 / 個
データシートを見る →PIC18F4525-I/PT
✅ ドロップイン✓ 在庫あり
$4.18 / 個
データシートを見る →PIC18F458-I/PT
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F4520-I/PT 最大定格&電気的特性
| Core | PIC18 (8-bit, Harvard) |
| Instruction Set | 75 instructions, 16-bit opcodes |
| Program Memory (Flash) | 32 KB (16K x 16) |
| RAM (SRAM) | 1.5 KB (1536 bytes) |
| EEPROM | 256 bytes |
| Maximum CPU Clock | 40 MHz (10 MIPS per 4 clocks) |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 13 channels |
| Analog Comparators | 2 |
| CCP / ECCP Modules | 2 CCP + 1 ECCP |
| Timers | 1x 8-bit + 3x 16-bit + WDT |
| Communication | EUSART (LIN-capable), MSSP (SPI/I2C) |
| 動作温度 | -40 C to +85 C (Industrial) |
| パッケージ | 44-pin TQFP (PT), 10x10 mm, 0.8 mm pitch |
| 実装タイプ | Surface Mount |
| MSLレベル | 3 (168 hours) |
| RoHS ステータス | Compliant |
| Lead-Free | Yes (Pb-free matte tin) |
| In-Circuit Debug | ICD/ICSP two-wire interface |
PIC18F4520-I/PT ピン構成
| ピン 1 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| ピン 2 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| ピン 3 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / A/D reference minus |
| ピン 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / A/D reference plus |
| ピン 5 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| ピン 6 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| ピン 7 | RE0/RD/AN5 — PORTE bit 0 / Read control / Analog input 5 |
| ピン 8 | RE1/WR/AN6 — PORTE bit 1 / Write control / Analog input 6 |
| ピン 9 | RE2/CS/AN7 — PORTE bit 2 / Chip select / Analog input 7 |
| ピン 10 | VDD — Digital supply voltage (2.0-5.5 V) |
| ピン 11 | VSS — Digital ground |
| ピン 12 | OSC1/CLKI/RA7 — Oscillator input / external clock in / PORTA bit 7 |
| ピン 13 | OSC2/CLKO/RA6 — Oscillator output / clock out / PORTA bit 6 |
| ピン 14 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| ピン 15 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 I/O |
| ピン 16 | RC2/CCP1 — PORTC bit 2 / CCP1 I/O |
| ピン 17 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| ピン 18 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| ピン 19 | RC5/SDO — PORTC bit 5 / SPI data out |
| ピン 20 | RC6/TX/CK — PORTC bit 6 / EUSART TX / EUSART clock |
| ピン 21 | RC7/RX/DT — PORTC bit 7 / EUSART RX / EUSART data |
| ピン 22 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| ピン 23 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| ピン 24 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| ピン 25 | RB3/CCP2/MD — PORTB bit 3 / CCP2 I/O / ICSP data |
| ピン 26 | RB4/KB10 — PORTB bit 4 / interrupt-on-change / keypad row |
| ピン 27 | RB5/KB11/PGM — PORTB bit 5 / interrupt-on-change / ICSP clock |
| ピン 28 | RB6/KB12/PGC — PORTB bit 6 / ICSP clock / interrupt-on-change |
| ピン 29 | RB7/KB13/PGD — PORTB bit 7 / ICSP data / interrupt-on-change |
| ピン 30 | AVDD — Analog supply voltage |
| ピン 31 | AVSS — Analog ground |
| ピン 32 | VDD — Digital supply voltage |
| ピン 33 | VSS — Digital ground |
| ピン 34 | RD0/PSP0 — PORTD bit 0 / Parallel slave port bit 0 |
| ピン 35 | RD1/PSP1 — PORTD bit 1 / Parallel slave port bit 1 |
| ピン 36 | RD2/PSP2 — PORTD bit 2 / Parallel slave port bit 2 |
| ピン 37 | RD3/PSP3 — PORTD bit 3 / Parallel slave port bit 3 |
| ピン 38 | RD4/PSP4 — PORTD bit 4 / Parallel slave port bit 4 |
| ピン 39 | RD5/PSP5 — PORTD bit 5 / Parallel slave port bit 5 |
| ピン 40 | RD6/PSP6 — PORTD bit 6 / Parallel slave port bit 6 |
| ピン 41 | RD7/PSP7 — PORTD bit 7 / Parallel slave port bit 7 |
| ピン 42 | MCLR/VPP — Master clear reset / ICSP programming voltage |
| ピン 43 | VDD — Digital supply voltage |
| ピン 44 | VSS — Digital ground |
主な用途
PIC18F4520-I/PT の用途: 6 件s: Industrial Control Panels, Sensor Hubs and Data Loggers, USB-to-UART Bridge / Field Programmers, HVAC and Building Automation Sub-systems, Automotive Body Control Sub-modules, Consumer Electronics and Appliance UI.
Industrial Control Panels
The PIC18F4520-I/PT is well suited to industrial control panels thanks to its 44-pin TQFP industrial temperature rating (-40 C to +85 C), 5 V tolerance, and abundant parallel I/O (36 pins). It comfortably drives 7-segment or character LCDs through its 4 timers, while the 13-channel 10-bit ADC reads analog sensor inputs (pressure, temperature, current) directly. Its deterministic interrupt response and 32 KB Flash accommodate ladder-logic-style or IEC 61131 firmware for PLC-style sub-systems. Use it where a deterministic 8-bit control plane replaces external logic ICs, reducing BOM cost by 30-50%.
おすすめ
Sensor Hubs and Data Loggers
With 32 KB Flash and 1.5 KB SRAM, the PIC18F4520-I/PT is ideal for low-power sensor hubs and battery data loggers. The 13-channel 10-bit ADC supports arrays of thermistors, photocells, and strain gauges, while the MSSP block streams buffered samples to an external SPI Flash (e.g. 25LC256/25Q128). The nanoWatt sleep current (~7 µA) combined with RTCC wake sources delivers multi-year coin-cell operation in unattended field deployments. A/DSample triggered from CCP keeps data timestamps jitter-free.
おすすめ
USB-to-UART Bridge / Field Programmers
Although the PIC18F4520 itself lacks USB, it pairs naturally with a CP2102 or FT230X USB-to-UART bridge to deliver rugged field-programming instruments and console converters. Its 5 V-tolerant UART and 40 MHz CPU allow comfortable 921.6 kbaud rates over RS-232 with hardware flow control. Combined with the ICSP/ICD programming pins, a single TQFP-44 board doubles as an isolated serial gateway and a PIC programmer target. This is a classic XAIPART reference pattern for industrial comms bricks.
おすすめ
HVAC and Building Automation Sub-systems
Building automation sub-systems (fan controller boards, zone thermostats, occupancy hub nodes) fit the PIC18F4520-I/PT footprint thanks to its 5 V-tolerant I/O driving triacs and opto-couplers directly. The 1.5 KB SRAM holds filtered sensor state and LIN/network frames, while the EUSART LIN 1.2 master capability supports industry-standard HB-LED drivers and small fan clusters. Up to four PWM channels (via CCP/ECCP) handle closed-loop motor control up to tens of kHz. Industrial temperature grade ensures reliable closet-above-ceiling operation.
おすすめ
Automotive Body Control Sub-modules
For non-CAN automotive body sub-modules (window lifters, seat adjusters, mirror controls, interior LED dimmers), the -E/PT variant of the PIC18F4520 in the same TQFP-44 pinout carries the +125 C temperature grade. The Enhanced Flash supports over-the-air reflash through a bootloader, and the EUSART LIN 1.3 master handles Body & Chassis sub-bus communication. The internal ADC reads 13 analog sensors (door switch, hall-effect position, current sense), and the ECCP module generates drive PWM up to 10-bit precision.
おすすめ
Consumer Electronics and Appliance UI
The PIC18F4520-I/PT powers appliance UI controllers (washing machines, microwaves, induction cooktops, dispensers) where deterministic 8-bit response, robust 5 V I/O, and modest BOM cost matter more than raw clock speed. Drives character LCDs directly via the 4-bit parallel interface, scans matrix keypads through ADCs with debouncing firmware, and uses the 4 timers for beeper tones and motor PWM. Industrial-grade MTBF and the development ecosystem of MPLAB-X IDE also accelerate time-to-market for new product spins.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18F4520-I/PT — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F4520-E/PT | PIC18F4620-I/PT | PIC18F4525-I/PT | PIC18F458-I/PT | PIC18F4520-I/P |
|---|---|---|---|---|---|---|
| Package | 44-pin TQFP (PT), 10x10 mm | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | DIP-40 - different (not TQFP-44) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash Memory | 32 KB | 32 KB | 64 KB | 48 KB | 32 KB | 32 KB |
| RAM (SRAM) | 1.5 KB (1536 B) | 1.5 KB | 3.9 KB | 2.5 KB | 1.5 KB | 1.5 KB |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) |
| CAN Controller | No | No | No | No | Yes (CAN 2.0B) | No |
| USB Controller | No | No | No | No | No | No |
| Lifecycle Status | Active | Active | Active | Active | Active | Active |
主な差別化要因
- Largest Flash in the 44-pin PT pin-compatible family without CAN (vs PIC18F4525-I/PT)
- Pure drop-in upgrade path over the older PIC18F452 (vs PIC18F452)
- Does not integrate CAN - lower cost vs PIC18F4580 family (vs PIC18F458-I/PT)
設計ノート
Estimated: at 5 V VDD and a typical 5 mA active current budget, the PIC18F4520 dissipates approximately 25 mW - well within the TQFP-44's thermal headroom. Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD/VSS pair (pins 10/11, 30/31, 32/33, 43/44) plus a single 10 µF bulk capacitor on the main supply rail to handle inrush during ADC bursts. Place a ferrite bead in series with AVDD if analog performance is critical, since AVDD noise directly couples into the 10-bit ADC result.
The ICSP/ICD pins (RB6/PGC, RB7/PGD, MCLR/VPP) must be accessible in-circuit for programming and debugging. Add a 4.7 kΩ pull-up on MCLR/VPP and isolate any strong pull-down on these pins during reset. PORTB pins have weak internal pull-ups configurable via the RBPU bit; remember that digital inputs should not float when using PORTB interrupt-on-change, otherwise spurious interrupts may fire. The MSSP I2C pins (RC3/RC4) need 4.7 kΩ pull-ups to VDD since the I2C module only supports open-drain operation.
Estimated: with a 0.8 mm TQFP pin pitch, route all power traces at least 0.2 mm wide and stagger signal traces between layers to avoid parallel high-current motor PWM traces right beneath the MCU's analog pins. Place a copper polygon covering the thermal pad area on the bottom layer to spread heat - although the dissipation is modest for a pure control MCU, the same copper plane doubles as an EMI shield against switching converters on the same board. Keep the crystal/oscillator traces (OSC1/OSC2) within 5 mm of the MCU pins and guard them with a GND ring.
コンプライアンス情報
RoHS compliant per Microchip product page; -I/PT is industrial temperature grade (-40/+85 C), not AEC-Q100. For automotive temperature range use the -E/PT variant. Lead-free matte-tin (Pb-free) finish.