PIC18F2523-I/ML - 8-Bit MCU, 32KB Flash, 12-bit ADC, 28-QFN | Microchip
MPN: PIC18F2523-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.07 | $7.07 |
| 10 | $6.36 | $63.60 |
| 100 | $5.4 | $540.00 |
| 500 | $4.85 | $2,425.00 |
| 1,000 | $4.45 | $4,450.00 |
PIC18F2523-I/ML Overview
A PIC18 microcontroller belongs to Microchip's 8-bit RISC architecture family - specifically the enhanced PIC18F2xxx/4xxx series introduced as successors to the original PIC16 mid-range parts. These microcontrollers combine Harvard bus architecture (separate program and data memory buses) with a C-optimized instruction set, hardware 8x8 single-cycle multiplier, and an internal oscillator block that supports 31 kHz to 8 MHz directly, up to 32 MHz when paired with the 4X PLL. PIC18 devices sit within the broader taxonomy of microcontroller -> embedded controller -> semiconductor IC.
Key features of the PIC18F2523 include 25 digital I/O pins, a 10-channel 12-bit Analog-to-Digital Converter (ADC), nanoWatt power management for sleep currents under 1 uA, Capture/Compare/PWM modules, Master Synchronous Serial Port (MSSP) supporting SPI and I2C, enhanced USART, two analog comparators, and a Fail-Safe Clock Monitor that safely shuts the system down if the primary clock source fails. The device operates from 4.2V to 5.5V and supports self-programmability of its Flash memory.
Technically, the PIC18F2523 uses C compiler-optimized RISC architecture with a 16-bit instruction word (vs the 14-bit PIC16 instruction width), giving higher code density and richer addressing modes. The 12-bit ADC is a major upgrade over the 10-bit ADC in earlier PIC18F2x20 parts, doubling the conversion resolution (4096 steps vs 1024) and enabling precision sensor readout. The internal oscillator with 4X PLL provides a low-BOM-count path to high-frequency operation without external crystals.
Typical applications include industrial control panels, sensor signal conditioning with on-board ADC, motor control via the CCP/PWM modules, USB/HID peripherals (using a companion USB PIC), automotive body electronics, and consumer appliance controllers. The nanoWatt technology makes the part particularly attractive for battery-powered or energy-harvesting designs that spend long periods in sleep mode.
When designing with the PIC18F2523, ensure that the exposed thermal pad of the QFN-28 package is soldered to the PCB ground plane for proper heat dissipation and mechanical stability. The ICSP (In-Circuit Serial Programming) pins must be routed to a header or test pad to allow firmware updates in production without removing the part from the board.
This page synthesizes verified Microchip datasheet specifications, current distributor pricing tiers, drop-in alternatives in the PIC18 family, and practical design notes not aggregated on individual distributor product pages.
Drop-in alternatives for PIC18F2523-I/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 PIC18F2523-I/ML (same form factor and footprint) — differing in ADC, Core Architecture, Package, Program Memory (Flash), Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F2423-I/ML
✅ Drop-In✓ In Stock
$4.21 / Unit
View Datasheet →PIC18F4523-I/ML
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F2520-I/ML
✅ Drop-In✓ In Stock
$4.1 / Unit
View Datasheet →PIC18F2523-E/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F2620-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K50-I/ML
✅ Drop-In✓ In Stock
$1.95 / Unit
View Datasheet →PIC18F2523-I/ML Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 RISC, 8-bit |
| CPU Speed | 40 MHz (10 MIPS) |
| Program Memory Type | Enhanced Flash |
| Program Memory Size | 32 KB (16K x 16) |
| RAM Size | 1536 bytes |
| I/O Pins | 25 |
| ADC | 10-channel, 12-bit |
| Supply Voltage | 4.2 V to 5.5 V |
| Package | 28-QFN (6x6 mm) with exposed pad (ML) |
| Operating Temperature | -40C to +85C (Industrial -I grade) |
| Internal Oscillator | 31 kHz to 8 MHz, up to 32 MHz with 4X PLL |
| Hardware Multiplier | 8x8 single-cycle |
| Communication Peripherals | MSSP (SPI/I2C), Enhanced USART |
| Timer Modules | Capture/Compare/PWM (CCP/ECCP) |
| Comparators | 2 analog comparators |
| Power-Saving Mode | nanoWatt Technology |
| Fail-Safe Clock Monitor | Yes |
| Mounting Type | Surface Mount (QFN) |
| RoHS Status | Compliant |
PIC18F2523-I/ML Pin Configuration
| Pin 1 | RA0/AN0 — PORTA bit 0 / Analog input channel 0 |
| Pin 2 | RA1/AN1 — PORTA bit 1 / Analog input channel 1 |
| Pin 3 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / ADC negative reference |
| Pin 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC positive reference |
| Pin 5 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pin 6 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| Pin 7 | VSS — Ground reference |
| Pin 8 | OSC1/CLKI/RA7 — Crystal input / External clock in / PORTA bit 7 (alternate) |
| Pin 9 | OSC2/CLKO/RA6 — Crystal output / Clock out / PORTA bit 6 (alternate) |
| Pin 10 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 11 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Pin 12 | RC2/CCP1 — PORTC bit 2 / Capture Compare PWM 1 output |
| Pin 13 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 14 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pin 15 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 16 | RC6/TX/CK — PORTC bit 6 / USART transmit / USART clock |
| Pin 17 | RC7/RX/DT — PORTC bit 7 / USART receive / USART data |
| Pin 18 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Pin 19 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Pin 20 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Pin 21 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| Pin 22 | RB4/PGEC1 — PORTB bit 4 / ICSP clock 1 |
| Pin 23 | RB5/PGED1 — PORTB bit 5 / ICSP data 1 |
| Pin 24 | RB6/PGC — PORTB bit 6 / In-circuit debugger clock |
| Pin 25 | RB7/PGD — PORTB bit 7 / In-circuit debugger data |
| Pin 26 | VDD — Positive supply (4.2V to 5.5V) |
| Pin 27 | AVDD — Analog positive supply (tying to VDD typically) |
| Pin 28 | MCLR/VPP — Master clear reset / Programming voltage input |
Typical Applications
PIC18F2523-I/ML is suitable for 6 applications: Industrial Sensor Acquisition, HVAC Climate Control Boards, Consumer Appliance Controllers, Automotive Body Electronics (Non-Safety), Battery-Powered Field Instrumentation, Education & Prototyping Boards.
Industrial Sensor Acquisition
The PIC18F2523-I/ML's integrated 10-channel 12-bit ADC delivers 4x more resolution than the older 10-bit ADC in the PIC18F2520, making it a natural fit for industrial multi-signal acquisition boards. At 10 MIPS throughput and 5V supply, it simultaneously samples 10 sensor inputs (thermistors, 4-20 mA loops via shunt, pressure transducers) at up to 100K samples/sec aggregate. The 32 KB Enhanced Flash accommodates complex Modbus RTU or CANopen protocol stacks used in factory automation. Industrial designers value the 25 I/O pin count for driving optocouplers, relay coils and status LEDs while the nanoWatt technology provides battery-backed backup telemetry during power dips.
Recommended
HVAC Climate Control Boards
HVAC climate-control boards benefit from the PIC18F2523-I/ML's combination of 10 ADC channels (for temperature/humidity/pressure sensors), 25 I/O pins (for relay drivers, triac firing, LCD multiplexing) and nanoWatt deep-sleep under 1 uA (for thermostats running on 2 AA cells). The 32 KB flash stores custom zoning algorithms and PID loops while the 1536-byte RAM is more than adequate for current sensor fusion. The Fail-Safe Clock Monitor enables safe fallback operation when external crystals fail in fan-coil units, preventing customer returns.
Recommended
Consumer Appliance Controllers
In consumer appliances - washing machines, dishwashers, coffee machines - the PIC18F2523-I/ML's 12-bit ADC accurately reads water level sensors and thermistor inputs, while the CCP/PWM modules drive triac-controlled heater elements and motor drivers. The nanoWatt sleep mode keeps standby power well below the EU 1W directive limit. Combined with the MSSP (SPI/I2C) bus the part easily interfaces to EEPROMs, real-time clocks, and OLED/User-Interface controllers. Cost-conscious appliance engineers standardize on this PIC18 family across product lines, sharing firmware libraries between SKUs.
Recommended
Automotive Body Electronics (Non-Safety)
While not AEC-Q100 qualified itself, the PIC18F2523-I/ML industrial-grade part is widely deployed in non-safety automotive body modules - interior lighting, seat-position memories, powered-mirror controllers, and liftgate release modules. The 25 I/O pins handle switch matrix debouncing, 12 ADC inputs monitor analog sensors, and the Enhanced USART connects to local CAN/LIN bridges. Engineers map pin assignments across PIC18F2423/2523/4523 QFN variants to support both compact and feature-rich SKUs in the same family.
Recommended
Battery-Powered Field Instrumentation
For portable battery-powered instruments (handheld data loggers, gas-leak detectors, ultrasonic flow meters) the PIC18F2523-I/ML's nanoWatt sleep draws under 1 uA, enabling multi-year operation on 2 AA cells when paired with a boost regulator. The 12-bit ADC ensures measurement accuracy without external signal conditioning, and the 32 KB flash stores calibration tables, lookup curves and compression algorithms. Engineers report typical idle current of 50-100 uA and active mode 5-10 mA at 5V, making the part competitive with newer ultra-low-power MCUs at this BOM tier.
Recommended
Education & Prototyping Boards
Educators and prototyping engineers favor the PIC18F2523-I/ML because its 28-QFN package is supported on most PIC breakout boards and the in-system ICSP programming lets students flash firmware without removing the chip. The 32 KB flash accommodates lab exercises and modest final projects, while the rich peripheral set (CCP, MSSP, USART, 2 comparators, 12-bit ADC) covers the full curriculum from GPIO blinker to PID temperature controller. PIC18 is supported by Microchip's MPLAB X IDE and XC8 compiler, both free for non-commercial use.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F2523-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F2423-I/ML | PIC18F2520-I/ML | PIC18F2523-E/ML | PIC18F2620-I/ML | PIC18F24K50-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same |
| Flash Memory | 32 KB | 16 KB (-50%) | 32 KB | 32 KB (extended temp) | 64 KB (+100%) | 16 KB (-50%) |
| ADC Resolution | 12-bit | 12-bit | 10-bit | 12-bit | 10-bit | 10-bit (12-bit on K42 gen) |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 25 |
| Operating Temperature | -40C to +85C (I grade) | -40C to +85C | -40C to +85C | -40C to +125C (E grade) | -40C to +85C | -40C to +85C |
| CPU Clock | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 48 MHz / 12 MIPS (K-series) |
| RAM | 1536 bytes | 768 bytes | 1536 bytes | 1536 bytes | 3936 bytes | 2048 bytes |
| USB Peripheral | No | No | No | No | No | Yes (USB 2.0 Full-Speed) |
Key Differentiators
- 12-bit ADC versus 10-bit ADC in older PIC18 family (vs PIC18F2520-I/ML)
- Industrial -40C to +85C temperature grade in standard part (vs PIC18F2423-I/ML)
- 32 KB Enhanced Flash with self-programmability (vs PIC18F24K50-I/ML)
Design Notes
The 28-QFN package has an exposed thermal pad on its underside that MUST be soldered to a PCB pad connected to the ground plane. Per Microchip's QFN package guidelines, the thermal pad carries most of the heat dissipation and provides critical mechanical anchoring, so reflow solder paste coverage and an adequate number of vias in the thermal-pad land are essential. Without proper soldering the part's operating temperature range derates significantly and mechanical reliability suffers under vibration.
Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 26 and 27 for the 28-QFN variant), and place a larger 10 uF bulk capacitor on the supply rail within 1 inch of the IC. Per Microchip PIC18 reference designs, a ferrite bead on AVDD is recommended if analog accuracy is critical. The PIC18F2523 operates from 4.2V to 5.5V only - for 3.3V operation, substitute the LF version (PIC18LF2523).
The PIC18F2523 shares a die family with PIC18F2423 (16 KB flash) and PIC18F4523 (40/44-pin). When migrating firmware between these parts, verify that firmware does not blindly use pages of flash beyond the target part's memory boundary; over-writing flash past the available memory will lock the part. Per Microchip application notes, use the __CONFIG directives and linker scripts to set code origin properly.
For applications sampling at >50 kHz on the 12-bit ADC, route analog input traces away from digital switching lines, use ground guard rings around analog signals, and consider dedicated AGND traces to the analog ground pin (VSS analog reference). Per the datasheet, the ADC achieves optimal performance when source impedance is below 2.5 kOhm and a 100 ns acquisition time is allowed.
Compliance Information
Industrial grade -40C to +85C only; for AEC-Q100 qualified variants see Microchip's auto-grade PIC18F25xx-VAO family. RoHS/REACH compliance verified via Microchip product page.