Microchip Technology

PIC18F1320-H/P - 8KB Flash 25MHz 8-bit MCU | Microchip

料号: PIC18F1320-H/P ✓ 量产中
有现货 1-3 个工作日内发货
2.0 V to 5.5 V Vdss as low as 0.1 uA Id 18-pin PDIP (0.300 inch / 7.62 mm) Package 25 MHz Speed 8 KB (4K x 16) Memory
低至 $2.88 USD / 件
最小起订量: 1 |
价格更新于: 2026-09-26
批量定价
数量 单价 小计
1 $4.5 $4.50
10 $4.05 $40.50
100 $3.6 $360.00
500 $3.24 $1,620.00
1,000 $2.88 $2,880.00
ℹ️ 所有价格均以 USD 计价

PIC18F1320-H/P 概述

The Microchip PIC18F1320-H/P is an 8-bit PIC18 RISC microcontroller with 8KB (4K x 16) of Flash program memory, 256 bytes of SRAM, and 256 bytes of EEPROM, housed in an 18-pin PDIP through-hole package. It operates at up to 25 MHz from a 2.0V to 5.5V supply, with 16 digital I/O pins and 10-bit ADC support, and is specified for the -40C to +85C industrial temperature range.

Key features include Microchip's nanoWatt Technology with six software-controlled power-managed modes that reduce standby current to as low as 0.1 microamp, and an internal oscillator option that eliminates the need for an external crystal in cost-sensitive designs. The device integrates CCP/ECCP modules, an enhanced USART, an MSSP module for SPI and I2C, and a 10-bit ADC with up to 7 channels. Self-programmability under firmware control, an ICD debug interface, and on-chip debugging support streamline field updates and reduce bill-of-materials cost.

Architecturally, the PIC18F1320 uses an enhanced Harvard RISC core with a hardware multiply routine and 31-level hardware stack, distinguishing it from earlier PIC16 architectures by offering C-compiler-friendly 16-bit instruction words. The 8KB Flash is organized as 4K x 16 words, allowing efficient code density for control loops, sensor processing, and consumer appliances. nanoWatt Technology is the umbrella term for the six sleep, doze, and run modes that orchestrate clock gating, peripheral shutdown, and dynamic oscillator switching under software control.

Typical applications include battery-powered sensor nodes, consumer appliances, low-cost motor control with the ECCP module, USB-to-serial bridges using the USART with an external transceiver, automotive interior accessories in the -40C to +85C range, and industrial control panels that benefit from self-programmability for field firmware upgrades. The internal oscillator option reduces part count and BOM cost in sealed, factory-calibrated products.

When designing with this device, ensure decoupling with a 0.1uF ceramic capacitor placed as close as possible to VDD/VSS, and respect the 5.5V absolute maximum on VDD to prevent latch-up. The 'H' suffix indicates the -40C to +85C industrial temperature range rather than the -40C to +125C extended range of the I-suffix parts; verify the operating envelope before selecting this variant.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes that are not typically found in the manufacturer datasheet alone, giving engineers a fast path from specification to bill-of-materials.

直接替换替代料: PIC18F1320-H/P ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: PIC18F1320-H/P (相同外形与封装尺寸) ——差异在于 Mounting Type, Oscillator, Package, Standby Current.

Microchip Technology
Mounting Type: Surface Mount
Oscillator: Internal + external options
Package: 28-QFN (ML) with exposed pad

快速对比工具——选择替代料号进行并排对比:

PIC18F1220-H/P

✅ 直接替换
📦 PDIP-18
same 18-pin PDIP pinout, Flash 4 KB vs 8 KB (-50%), pin-to-pin compatible

📋 参考替代料(不在目录中)

PIC18F1320-I/P

✅ 直接替换
📦 PDIP-18
same die and package, -40C to +125C extended industrial range vs -40C to +85C

📋 参考替代料(不在目录中)

ℹ️ 1 个跨封装料号已隐藏——不同封装需要 PCB 改动,并非真正的直接替换。 联系我们 如果您需要跨封装建议。

PIC18F1320-H/P 最大额定值与电气特性

Core PIC18 8-bit RISC
Program Memory (Flash) 8 KB (4K x 16)
RAM 256 bytes
EEPROM 256 bytes
Max CPU Frequency 25 MHz
Supply Voltage (VDD) 2.0 V to 5.5 V
工作温度 -40C to +85C (Industrial, 'H' suffix)
Digital I/O Pins 16
ADC 10-bit, up to 7 channels
封装 18-pin PDIP (0.300 inch / 7.62 mm)
Oscillator Internal and external support
Power-Managed Modes 6 (nanoWatt Technology)
Standby Current as low as 0.1 uA
Peripherals CCP/ECCP, EUSART, MSSP (SPI/I2C)
安装类型 Through-Hole
RoHS 状态 Compliant
MSL 等级 Not Applicable (through-hole)

PIC18F1320-H/P 引脚配置

DIP-18 Package Pinout Diagram DIP-18 18-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 18 2 17 3 16 4 15 5 14 6 13 7 12 8 11 9 10 DIP-18
引脚 1 RA2/AN2/VREF- — Bidirectional I/O, ADC input, ADC negative reference
引脚 2 RA3/AN3/VREF+ — Bidirectional I/O, ADC input, ADC positive reference
引脚 3 RA4/AN4 — Bidirectional I/O, ADC input, also open-drain option
引脚 4 RA5/MCLR/VPP — Master Clear reset (input) or programming voltage (input)
引脚 5 VSS — Ground reference
引脚 6 RA0/AN0 — Bidirectional I/O, ADC input
引脚 7 RA1/AN1 — Bidirectional I/O, ADC input
引脚 8 RB0/INT0 — Bidirectional I/O, external interrupt 0
引脚 9 RB1/INT1 — Bidirectional I/O, external interrupt 1
引脚 10 RB2/INT2 — Bidirectional I/O, external interrupt 2
引脚 11 RB3/CCP1 — Bidirectional I/O, Capture/Compare/PWM output
引脚 12 RB4 — Bidirectional I/O, interrupt-on-change
引脚 13 RB5 — Bidirectional I/O, interrupt-on-change
引脚 14 RB6/PGC — Bidirectional I/O, ICSP clock
引脚 15 RB7/PGD — Bidirectional I/O, ICSP data
引脚 16 VDD — Positive supply voltage (2.0V to 5.5V)
引脚 17 OSC1 — Crystal oscillator input or external clock input
引脚 18 OSC2 — Crystal oscillator output

典型应用

PIC18F1320-H/P 适用于 6 应用s: Battery-Powered Sensor Nodes, Consumer Appliance Control, USB-to-Serial Bridge / Cable Replacement, Low-Cost Motor Control (DC and Stepper), Educational / Hobbyist Prototyping, Automotive Interior Accessories.

🧩

Battery-Powered Sensor Nodes

The PIC18F1320-H/P's nanoWatt Technology with standby current as low as 0.1 uA makes it ideal for battery-powered sensor nodes that sleep for months and wake intermittently. Operating from 2.0V to 5.5V supports direct 3.3V Li-coin-cell or two-AA battery power. The 8 KB Flash holds sensor calibration and protocol stacks, the 10-bit ADC handles up to 7 analog channels, and the internal oscillator eliminates the external crystal in cost-sensitive designs, reducing BOM and PCB area.

🏭

Consumer Appliance Control

The PIC18F1320-H/P's ECCP module, 16 I/O pins, and self-programmability make it a strong fit for cost-sensitive consumer appliances such as coffee makers, fans, and small kitchen devices. The 8 KB Flash stores menu logic and calibration, while the on-chip 10-bit ADC reads keypad or sensor inputs. Reducing product cycles, the device offers dual-speed startup, internal oscillator for minimal BOM, and AC cycle timing via the EUSART.

🌐

USB-to-Serial Bridge / Cable Replacement

The PIC18F1320-H/P's EUSART module with hardware flow control and the MSSP's SPI mode are well suited for a USB-to-UART bridge when paired with an external USB transceiver. The 8 KB Flash holds the CDC bridge firmware and protocol descriptors, while the 25 MHz core provides ample throughput for 115.2 kbaud UART plus full-speed USB 1.1 HID traffic. Self-programmability enables in-field driver updates, and nanoWatt modes extend laptop battery life when the bridge is idle.

🏭

Low-Cost Motor Control (DC and Stepper)

The PIC18F1320-H/P's ECCP module supports PWM, complementary outputs, and dead-band control for brushed DC and unipolar stepper motors at low power (under 1A). Operating at 25 MHz with hardware multiply and a 31-level stack makes the device capable of trapezoidal commutation loops, while nanoWalt Technology allows idle phases to drop standby current to 0.1 uA for battery-driven toys and pumps. Industrial -40C to +85C rating supports garage-door and HVAC damper actuators.

🧩

Educational / Hobbyist Prototyping

The PIC18F1320-H/P's 18-pin PDIP through-hole package, industry-standard ICSP programming interface, and free MPLAB X toolchain make it a favorite in university curricula and hobbyist projects. The 8 KB Flash comfortably fits bootloader plus student projects, the internal oscillator avoids crystal-handling errors, and the ICD debug interface supports in-circuit debugging with the PICkit 3 or 4. The 16 available I/O line up with common breakout boards such as Arduino-shield clones.

🚗

Automotive Interior Accessories

Within the -40C to +85C industrial range, the PIC18F1320-H/P can drive non-safety automotive interior accessories such as ambient lighting controllers, seat-heater switches, and HVAC knob decoders. The 10-bit ADC reads potentiometer or thermistor inputs for climate feedback, ECCP drives LED strings via PWM, and the EUSART interfaces with vehicle CAN bridges or LIN transceivers. For under-hood -40C to +125C applications, upgrade to the I-suffix variant with the same die and footprint.

推荐产品汇总

MCP9700 Active temperature sensor for ADC input 用于: Battery-Powered Sensor Nodes PIC18F1230-I/P Microchip Technology 用于: Battery-Powered Sensor Nodes, Low-Cost Motor Control (DC and Stepper) MCP1700 LDO regulator for 3.3V rail 用于: Consumer Appliance Control PIC18F1220-H/P Lower-cost alternative with 4 KB Flash 用于: Consumer Appliance Control, Educational / Hobbyist Prototyping PIC18F14K50-I/P USB-capable PIC18 cousin with integrated USB 用于: USB-to-Serial Bridge / Cable Replacement MCP2200 Pre-bundled USB-UART bridge option 用于: USB-to-Serial Bridge / Cable Replacement DRV8871 Dual H-bridge motor driver 用于: Low-Cost Motor Control (DC and Stepper) PICkit 4 Official in-circuit debugger / programmer 用于: Educational / Hobbyist Prototyping MCP2515 CAN controller for in-vehicle networks 用于: Automotive Interior Accessories PIC18F1320-I/P Same die, -40C to +125C extended range for under-hood 用于: Automotive Interior Accessories
What is the program memory size of PIC18F1320-H/P?
The PIC18F1320-H/P integrates 8 KB of Flash program memory organized as 4K x 16 words, paired with 256 bytes of SRAM and 256 bytes of EEPROM. According to Microchip datasheet 39605c, the 8 KB Flash is rated for a minimum of 100,000 erase/write cycles and supports self-programmability under firmware control, enabling in-field updates without an external programmer.
Is PIC18F1320-H/P RoHS compliant and in stock?
Yes, the PIC18F1320-H/P is RoHS compliant per the Microchip product page. As of 2026-09-26, DigiKey and Mouser list inventory in tube packaging; lead time is typically same-day for small orders, but large orders may require 4-6 weeks because the part is sourced through authorized distributors rather than directly from stock.
What is the difference between PIC18F1320-H/P and PIC18F1320-I/P?
The PIC18F1320-H/P carries the 'H' temperature-grade suffix denoting a -40C to +85C industrial operating range, while the PIC18F1320-I/P is the -40C to +125C extended-industrial variant. Both share the same 18-pin PDIP footprint, 8 KB Flash, 256B RAM, 256B EEPROM, and 25 MHz maximum CPU speed, making them pin-to-pin compatible upgrades.
How much does PIC18F1320-H/P cost and where can I buy it?
As of 2026-09-26, the PIC18F1320-H/P unit price at DigiKey and Mouser is approximately $4.50 at qty 1, dropping to roughly $2.88 at qty 1000. Both authorized distributors stock the part in 18-pin PDIP tubes; smaller cuts and custom reel packaging are unavailable due to the through-hole package.
Is PIC18F1320-H/P still in production in 2026?
Yes, the PIC18F1320-H/P remains in active production per the Microchip product page as of 2026-09-26. The PIC18 family is a long-running legacy platform, and Microchip continues to ship the 8 KB Flash variants for industrial and consumer customers that prefer through-hole PDIP for hand-prototyping, education, and repair-friendly designs.
Can PIC18F1320-H/P replace PIC18F1220 in an existing design?
Yes, the PIC18F1320-H/P is a drop-in upgrade for the PIC18F1220 in any 18-pin PDIP socket that does not require extended -40C to +125C operation. The PIC18F1320 doubles the Flash to 8 KB and adds an extra PWM output channel via the ECCP module; the PIC18F1220 provides 4 KB Flash without ECCP, so verify PWM requirements before swapping.
Does PIC18F1320-H/P support internal oscillator without external crystal?
Yes, the PIC18F1320-H/P supports an internal oscillator with software-selectable frequencies from 31 kHz to 8 MHz, configurable via the OSCCON register. According to the Microchip datasheet, the internal oscillator eliminates the external crystal in most designs, saving cost and PCB area, but external crystal mode is still supported when higher accuracy is needed.
What is nanoWatt Technology in PIC18F1320-H/P?
nanoWatt Technology is the marketing umbrella for six software-controlled power-managed modes in the PIC18F1320-H/P, reducing standby current as low as 0.1 uA. The modes include primary run, primary sleep, RC_RUN, RC_IDLE, SEC_RUN, and SEC_IDLE, orchestrated through the OSCCON register to manage clock sources, peripheral shutdown, and dynamic voltage scaling for battery applications.
How many ADC channels does PIC18F1320-H/P have?
The PIC18F1320-H/P integrates a 10-bit ADC with up to 7 analog input channels multiplexed onto shared pins. According to Microchip datasheet 39605c, the ADC supports both single-ended and differential conversion modes with acquisition time and clock prescaler controlled by firmware, achieving sample rates consistent with the 25 MHz instruction cycle.
Can I program PIC18F1320-H/P over the air or in the field?
Yes, the PIC18F1320-H/P supports self-programmability under firmware control, allowing in-application code updates via the EUSART or any available bootloader interface. According to Microchip application notes, this enables field firmware upgrades without removing the device from the PCB, and supports both full-program and erase-and-write flows.
What are the key specs of PIC18F1320-H/P engineers must know?
Engineers should know three key facts about PIC18F1320-H/P: it is an 8-bit PIC18 core at 25 MHz, integrates 8 KB Flash plus 256B SRAM and 256B EEPROM, and operates from 2.0V to 5.5V with nanoWalt standby current as low as 0.1 uA. The 18-pin PDIP package provides 16 digital I/O with 10-bit ADC support, making it ideal for battery-powered sensor nodes and educational platforms.
Where to download PIC18F1320-H/P datasheet PDF?
The PIC18F1320-H/P datasheet is published as document 39605c, available in PDF form at https://ww1.microchip.com/downloads/en/DeviceDoc/39605c.pdf. This is the shared datasheet for the PIC18F1220/1320 family covering 18/20/28-pin variants, and it includes electrical characteristics, memory maps, peripheral architecture, and programming specifications.
What is the best cross-brand equivalent for PIC18F1320-H/P?
There is no direct cross-brand drop-in equivalent for the PIC18F1320-H/P because the 18-pin PDIP pinout is Microchip-proprietary; competing 8-bit MCUs from NXP, ST, and Atmel use different pin assignments. The recommended path is to stay within Microchip's PIC18 family (PIC18F1220-H/P for less Flash, PIC18F1320-I/SP for industrial-extended temperature), keeping the same toolchain and debugger compatibility.
What is the lead time for PIC18F1320-H/P quantities over 1000?
Lead times for PIC18F1320-H/P orders above 1000 units typically run 6-10 weeks when channel inventory is low, as the part is sourced via DigiKey and Mouser rather than Microchip direct. As of 2026-09-26, both distributors show stock but with limited qty; bulk orders should be placed through Microchip's direct factory allocation program to secure guaranteed delivery slots.

工程参考数据: PIC18F1320-H/P ——对比、设计指导和合规信息。

选型指南

Choose PIC18F1320-H/P when you need a proven 8-bit PIC18 microcontroller in a through-hole 18-pin PDIP package for hand-prototyping, education, or repair-friendly designs in the -40C to +85C industrial range. Choose PIC18F1220-H/P if 8 KB Flash is unnecessary and you want to shave cost with the same footprint. Choose PIC18F1320-I/P if the design must survive -40C to +125C for under-hood or industrial-extended use. Choose PIC18F1320-I/SS only when committing to SMT assembly; it shares the die but requires an SSOP-20 footprint redesign.

与替代料对比

参数 本产品 PIC18F1220-H/P PIC18F1320-I/P PIC18F1320-H/SS
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-18 PDIP-18 (same) PDIP-18 (same) SSOP-20 (different)
Program Memory (Flash) 8 KB 4 KB 8 KB 8 KB
RAM 256 bytes 256 bytes 256 bytes 256 bytes
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes
Max CPU Frequency 25 MHz 25 MHz 25 MHz 25 MHz
Operating Temperature -40C to +85C -40C to +85C -40C to +125C -40C to +85C
ECCP Module Yes No (CCP only) Yes Yes
Standby Current (nanoWatt) as low as 0.1 uA as low as 0.1 uA as low as 0.1 uA as low as 0.1 uA

关键差异点

  • Doubles program memory versus PIC18F1220 (对比 PIC18F1220-H/P)
  • Industrial temperature range matches automotive interior (对比 PIC18F1320-I/P)
  • Through-hole PDIP for hand-prototyping and repair (对比 PIC18F1320-H/SS)

设计说明

Place a 0.1 uF ceramic bypass capacitor directly between VDD (pin 16) and VSS (pin 5), with leads less than 5 mm long to suppress high-frequency switching noise from the internal oscillator. Add a 10 uF bulk capacitor on the same rail if the supply source is more than 25 mm away. For battery applications driving high-current peripherals, monitor the BOR (Brown-Out Reset) threshold so the device does not enter undefined states as VDD droops below 2.0V.

Although the internal oscillator supports 31 kHz to 8 MHz without external components, an external crystal on OSC1/OSC2 (pins 17, 18) is recommended for UART baud-rate stability above 38.4 kbaud at room temperature. Configure the OSCCON register to switch between internal LF and HF modes via software; never leave OSCTUNE in default state for production units because factory-trimmed values are calibrated only at one frequency.

Do not confuse the H-suffix (-40C to +85C) with the I-suffix (-40C to +125C) when this device is used in under-hood or industrial-extended applications; the H variant will fail thermal verification. Always tie MCLR (pin 4) high through a 10 kohm pull-up to VDD, and place the ICSP programming connector so that the 6-pin header does not share analog traces, or analog readings will skew during debug sessions. Disable unused peripherals in firmware to fully benefit from nanoWatt Technology standby current.

For through-hole 18-pin PDIP layouts, use a standard 0.300 inch row spacing with 1 mm through-hole pads for hand-prototyping and repair. Reserve a 6-pin ICSP header footprint (typically a 2x3 0.1 inch header) connected to PGC/PGD/MCLR/VDD/VSS for in-circuit debugging without removing the device. Keep analog ADC traces short and away from the ECCP PWM signals, or place a ground guard ring around the analog pins RA0-RA5 to minimize crosstalk.

合规信息

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
无铅
Yes
无卤
Yes
冲突矿物
Compliant

RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified because the H-suffix industrial range targets non-safety applications; for AEC-Q100 automotive, use PIC18F1320-I/P in qualified designs.

数据核验日期: 2026-09-26 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

PIC18F1320-H/P datasheet PIC18F1320-H/P price PIC18F1320-H/P in stock Microchip 8KB Flash 18-pin microcontroller PIC18F1320-H/P vs PIC18F1220-H/P PIC18F1320-H/P pinout nanoWatt Technology PIC18F1320-H/P PIC18F1320-H/P battery powered sensor buy PIC18F1320-H/P DigiKey Mouser PIC18F1320-H/P lead time 1000 units is PIC18F1320-H/P RoHS compliant PIC18F1320-H/P distributor alternative PDIP-18 PIC18F microcontroller

相关元器件 & 术语

Microchip Technology PIC18F1320 PIC18F1320-H/P PIC18F1220-H/P PIC18F1320-I/P PIC18F1320-H/SS PIC18 8-bit microcontroller PIC18 core RISC architecture Harvard architecture nanoWatt Technology Flash memory 8 KB EEPROM 256 bytes SRAM 256 bytes 10-bit ADC ECCP module EUSART MSSP SPI I2C PDIP-18 package through-hole ICSP RoHS REACH Lead-free DigiKey Mouser Electronics
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情