PIC18F1320-H/ML - 8KB Flash MCU, 25MHz, 28-QFN | Microchip
MPN: PIC18F1320-H/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.78 | $37.80 |
| 100 | $3.36 | $336.00 |
| 500 | $2.94 | $1,470.00 |
| 1,000 | $2.6 | $2,600.00 |
PIC18F1320-H/ML Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, memory (Flash/RAM), and programmable peripherals. It belongs to the hierarchy: PIC18F family -> 8-bit PIC -> RISC MCU -> microcontroller -> embedded IC -> semiconductor. The PIC18 family uses an enhanced Harvard architecture with a 16-bit instruction word, providing high code density and deterministic interrupt handling well suited to real-time embedded control.
Key features of the PIC18F1320-H/ML include nanoWatt Technology with six software-controlled power-managed modes, standby current as low as 0.1 microamps, an operating voltage range of 2.0V to 5.5V, on-chip 10-bit ADC, internal oscillator, and in-circuit serial programming (ICSP). The 28-pin QFN package offers a small footprint suitable for space-constrained designs, and the extended '-H' temperature grade targets industrial and high-temperature environments.
The PIC18F1320-H/ML uses an enhanced 8-bit CPU core with 77 effective instructions, hardware multiplier for 8x8 single-cycle operations, and a 25MHz clock delivering up to 10 MIPS performance. Integrated peripherals include a 10-bit ADC with up to 7 channels, comparators, PWM modules, and a synchronous serial port configurable for SPI or I2C. This integration enables compact designs without external components.
Typical applications include industrial sensor conditioning, low-power battery-operated instrumentation, motor control signal decoding, automotive body electronics (non-safety), and appliance control boards. The wide voltage range and ultra-low standby current suit battery-powered wireless sensor nodes and remote monitoring equipment.
When designing, ensure proper decoupling by placing 0.1uF and 10uF capacitors near the VDD pins, observe PCB layout guidelines for the exposed thermal pad of the QFN package, and select appropriate configuration bits for oscillator selection and brown-out reset thresholds.
This page combines distributor pricing, drop-in alternatives, and practical design notes not aggregated in a single place on the manufacturer datasheet, helping engineers evaluate the part for both new designs and existing firmware porting.
Drop-in alternatives for PIC18F1320-H/ML — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18F1320-H/ML (same form factor and footprint) — differing in Package, Mounting Type, Program Memory (Flash), Operating Temperature, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F1320-I/ML
✅ Drop-In✓ In Stock
$1.51 / Unit
View Datasheet →PIC18F1320-H/P
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.88 / Unit
View Datasheet →PIC18F1220-H/ML
✅ Drop-In✓ In Stock
$2.65 / Unit
View Datasheet →PIC18F1220-I/ML
✅ Drop-In✓ In Stock
$2.85 / Unit
View Datasheet →PIC18F1230-I/P
✅ Drop-In✓ In Stock
$3.05 / Unit
View Datasheet →PIC18F1320-H/ML Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 8 KB (4K x 16) |
| RAM | 256 bytes |
| EEPROM | 256 bytes |
| Maximum Clock Frequency | 25 MHz |
| Performance | 10 MIPS |
| I/O Pins | 16 |
| ADC | 10-bit, up to 7 channels |
| Operating Voltage | 2.0 V to 5.5 V |
| Standby Current | 0.1 uA (typical) |
| Oscillator | Internal + external options |
| Package | 28-QFN (ML) with exposed pad |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Instruction Set | 77 instructions, 16-bit word |
| Hardware Multiplier | 8 x 8 in one cycle |
| Programming | ICSP (In-Circuit Serial Programming) |
PIC18F1320-H/ML Pin Configuration
| Pin 1 | RA0/AN0 — Digital I/O / analog input channel 0 |
| Pin 2 | RA1/AN1 — Digital I/O / analog input channel 1 |
| Pin 3 | RA2/AN2/VREF- — Digital I/O / analog input channel 2 / ADC VREF- |
| Pin 4 | RA3/AN3/VREF+ — Digital I/O / analog input channel 3 / ADC VREF+ |
| Pin 5 | RA4/T0CKI — Digital I/O / Timer0 clock input |
| Pin 6 | RA5/AN4/SS/LVDIN — Digital I/O / analog channel 4 / SPI slave select / LVD input |
| Pin 7 | VSS — Ground reference |
| Pin 8 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock / digital I/O |
| Pin 9 | OSC2/CLKO/RA6 — Crystal oscillator output / clock output / digital I/O |
| Pin 10 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock |
| Pin 11 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 module |
| Pin 12 | RC2/CCP1 — Digital I/O / CCP1 module |
| Pin 13 | RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock |
| Pin 14 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 15 | RC5/SDO — Digital I/O / SPI data out |
| Pin 16 | RC6/TX/CK — Digital I/O / USART TX / USART clock |
| Pin 17 | RC7/RX/DT — Digital I/O / USART RX / USART data |
| Pin 18 | VSS — Ground (second pin) |
| Pin 19 | VDD — Positive supply |
| Pin 20 | RB0/INT0 — Digital I/O / external interrupt 0 |
| Pin 21 | RB1/INT1 — Digital I/O / external interrupt 1 |
| Pin 22 | RB2/INT2 — Digital I/O / external interrupt 2 |
| Pin 23 | RB3/CCP2 — Digital I/O / CCP2 module (alt) |
| Pin 24 | RB4 — Digital I/O / interrupt-on-change |
| Pin 25 | RB5 — Digital I/O / interrupt-on-change |
| Pin 26 | RB6/PGC — Digital I/O / ICSP clock (programming) |
| Pin 27 | RB7/PGD — Digital I/O / ICSP data (programming) |
| Pin 28 | MCLR/VPP/RA6 — Master clear / programming voltage / digital I/O |
Typical Applications
PIC18F1320-H/ML is suitable for 6 applications: Battery-Powered IoT Sensor Node, Industrial Sensor Conditioning Board, Low-Power Motor Control Signal Decoder, Automotive Body Electronics Module, Home Appliance Control Board, Portable Medical Monitoring Accessory.
Battery-Powered IoT Sensor Node
The PIC18F1320-H/ML is a strong fit for battery-powered IoT sensor nodes where standby current and integrated peripherals dominate the bill of materials. The 0.1 uA nanoWatt standby current allows years of life on a single CR2032 coin cell, while the 10-bit ADC (up to 7 channels) digitizes temperature, light, or analog sensor outputs without an external converter. The 2.0 V to 5.5 V operating range covers both 3.3 V and 5 V sensor rails without level translation. Designers wake the MCU briefly via Watchdog Timer, take a measurement, transmit via an external low-power radio, and return to sleep. Estimated: assuming 1 second active current of ~2 mA at 4 MHz and sleep current of 0.1 uA, duty cycle 0.1 percent yields average consumption well below 10 uA. The 28-QFN (ML) package keeps the footprint compact for miniature sensor form factors.
Recommended
Industrial Sensor Conditioning Board
In industrial sensor conditioning, the PIC18F1320-H/ML digitizes analog signals, applies linearization, and outputs standardized industrial protocols. Its 10-bit ADC delivers sufficient resolution for thermocouple, RTD, or process-voltage conditioning when paired with an op-amp front end; the 25 MHz clock rate provides 10 MIPS headroom for digital filtering. The H temperature grade tolerates extended industrial environments, while the wide 2.0 V to 5.5 V supply accepts 5 V, 3.3 V, or even 24 V-derived rails with a regulator. Estimated: at 25 MHz and 5 V, core current is approximately 12 mA per datasheet typical curves; IO pin drive capability supports direct opto-isolator interfacing on digital outputs. The 28-QFN (ML) package enables compact DIN-rail designs.
Recommended
Low-Power Motor Control Signal Decoder
The PIC18F1320-H/ML decodes position, RPM, or tachometer signals from BLDC or stepper motor feedback sensors in low-power motor control. Its 25 MHz core speed and hardware multiplier allow 8x8 single-cycle operations, sufficient for fast digital filtering of noisy quadrature or Hall-effect signals. The Capture/Compare/PWM (CCP) modules generate timing-critical PWM outputs at modest frequencies. H-grade temperature suits motor bay environments where ambient can exceed 85 C. Estimated: with PWM frequency 20 kHz and 8-bit resolution, timer setup leaves CPU free for protocol decoding; IO pin toggling rates are documented up to 25 MHz per datasheet. The 28-QFN footprint is small enough to mount directly on the motor control PCB or back of a smart actuator.
Recommended
Automotive Body Electronics Module
The PIC18F1320-H/ML fits non-safety automotive body electronics applications such as lighting controllers, mirror controls, and accessory modules. Its extended H temperature grade covers under-dash and door-module environments. The integrated ADC supports battery voltage monitoring, while PWM peripherals drive LED dimming or small motors. The 28-QFN (ML) package suits thin electronics assemblies behind trim panels. Per Microchip PIC18F1220/1320 datasheet DS39605, the device operates across 2.0 V to 5.5 V, covering 12 V automotive rails after a 5 V regulator. Estimated: for body modules requiring automotive qualification, consider AEC-Q100 qualified PIC18F family members; PIC18F1320-H/ML itself is not AEC-Q100 qualified per the datasheet ordering information.
Recommended
Home Appliance Control Board
The PIC18F1320-H/ML is used in white-goods and small-appliance controllers such as washing-machine submodules, dishwasher pumps, coffee machines, and air purifiers. Its 0.1 uA standby enables low standby-power compliance with energy regulations, while the ADC reads temperature, humidity, or level sensors. The 8 KB Flash accommodates state-machine firmware plus user-interface handling. The 28-QFN (ML) footprint supports compact control boards inside tight enclosures. Per Microchip datasheet DS39605, nanoWatt Technology provides six sleep modes, allowing the MCU to wake only on interrupts. Estimated: in a coffee-machine controller waking every 100 ms for sensor polling at 1 mA active, average draw is dominated by sleep current well under 100 uA.
Recommended
Portable Medical Monitoring Accessory
The PIC18F1320-H/ML serves portable medical accessory boards such as pill-dispenser timers, handheld pulse-oximeter interfaces, and remote-monitoring dongles. The 2.0 V to 5.5 V supply works directly from two alkaline cells, while nanoWatt Technology enables multi-year battery life. The 10-bit ADC reads simple analog sensors such as thermistors or photodiodes. The 28-QFN (ML) footprint allows slim, lightweight product designs. Per Microchip datasheet DS39605, the device supports an internal oscillator that eliminates the external crystal for BOM-cost-sensitive medical accessories. Estimated: ADC accuracy is 10-bit plus +/-1 LSB typical, sufficient for accessory indicators but not for diagnostic-grade instruments which require 16-bit converters. Designers should add IEC 60601 isolation where patient contact is required.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F1320-H/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F1320-I/ML | PIC18F1220-H/ML | PIC18F1220-I/ML | PIC18F1230-I/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (ML) | 28-QFN (ML) - same | 28-QFN (ML) - same | 28-QFN (ML) - same | 28-QFN (ML) - same |
| Program Memory (Flash) | 8 KB | 8 KB | 4 KB | 4 KB | 8 KB |
| RAM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum Clock Frequency | 25 MHz | 25 MHz | 25 MHz | 25 MHz | 25 MHz |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Temperature Grade | H (extended) | I (industrial) | H (extended) | I (industrial) | I (industrial) |
| I/O Pins | 16 | 16 | 16 | 16 | 16 |
Key Differentiators
- Extended H temperature grade in compact 28-QFN package (vs PIC18F1320-I/ML)
- 8 KB Flash vs 4 KB Flash (vs PIC18F1220-H/ML)
- General-purpose PIC18 peripheral set (vs PIC18F1230-I/P)
Design Notes
Place 0.1 uF and 10 uF decoupling capacitors as close as possible to the VDD (pin 19) and VSS (pins 7 and 18) pins of the PIC18F1320-H/ML. For the 28-QFN (ML) package, the exposed thermal pad must be soldered to a ground copper pour at least 1 square inch in area to meet the datasheet thermal resistance. Avoid routing noisy digital traces near the analog ADC inputs (RA0-RA5); use a ground guard ring around analog traces. The PGC (pin 26) and PGD (pin 27) traces for ICSP should be short, routed as a pair, and not crossed by signal traces to prevent programming glitches.
Take advantage of nanoWatt Technology to achieve the 0.1 uA standby current. Configure the Watchdog Timer, Brown-out Reset, and oscillator as needed in the configuration bits; enable Sleep mode in firmware and wake via Watchdog Timer interrupt or external interrupt (INT0/INT1/INT2 on RB0-RB2). Estimated: average current consumption is dominated by active-mode current and the sleep duty cycle; with 1 second sleep intervals and 10 ms active at 4 MHz, the average is well below 10 uA. Disable unused peripherals (ADC, comparators, USART) before entering sleep to minimize leakage.
Do not connect MCLR (pin 28) directly to VDD without a pull-up resistor or voltage divider; a 10 kohm pull-up is recommended. Ensure the configuration bits match the chosen oscillator source (internal RC vs external crystal); an incorrect configuration can lock the device. When using the ADC, allow adequate acquisition time per datasheet DS39605 (typically 19.7 us at 25 MHz) before initiating conversion. The 28-QFN (ML) exposed pad is electrically connected to VSS internally per Microchip package documentation - verify with the package drawing before PCB layout.
Compliance Information
RoHS compliant per Microchip product page. H temperature grade per datasheet suffix convention; exact operating temperature range should be confirmed from the datasheet ordering table. Not AEC-Q100 qualified - for automotive applications choose AEC-Q100-qualified PIC18 family members.