PIC18F26K22-I/SP - 64KB Flash 8-Bit XLP MCU 28-SPDIP | Microchip
N.º da peça: PIC18F26K22-I/SP ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $4.1 | $4,10 |
| 10 | $3.65 | $36,50 |
| 100 | $3.2 | $320,00 |
| 500 | $2.85 | $1.425,00 |
| 1.000 | $2.55 | $2.550,00 |
PIC18F26K22-I/SP Visão geral
A microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, volatile data memory, and configurable peripherals. The 8-bit class targets cost-sensitive, deterministic control tasks such as sensor interfacing, motor driving, user I/O handling, and simple protocol bridging. PIC18F devices sit above baseline PIC10/12/16 parts by offering a 16-bit instruction word, a 31-level hardware stack, linear memory access, and a richer interrupt controller — features useful when C compilers are used and code density matters. PIC18F 'K' series parts add nanoWatt XLP for sleep currents often below 100 nA typical.
Key features include nanoWatt XLP extreme low-power with multiple idle/sleep modes, 25 I/O pins with peripheral pin select (PPS), two Enhanced USART modules, two MSSP (SPI/I2C) ports, a 12-bit ADC with computation (ADC2) oversampling, multiple 16-bit timers, and a charge time measurement unit (CTMU) for capacitive touch and ratiometric sensing. The device operates from 1.8 V to 5.5 V on wide-range Fosc and supports on-board 8 MHz to 64 MHz PLL-based operation.
The PIC18F26K22 uses a Harvard architecture with separate 16-bit instruction and 8-bit data paths, 31-level hardware stack, and an internal 16 MHz 0.5% accurate oscillator (HFINTOSC) that can be locked to 16 MHz or 64 MHz via the 4x PLL. The 12-bit ADC2 includes hardware averaging and automatic threshold scanning for low-MIPS sensor acquisition.
Typical applications include consumer remote controls, battery-powered sensor nodes, capacitive touch user interfaces, industrial control panels, USB-to-UART bridges (with external MCU-side USB transceiver), and home-automation HMI modules. The wide 1.8V-5.5V supply range suits single-cell Li-ion or two-AA designs that must hibernate in dark rooms for months.
When designing with this device, the Watchdog Timer, Brown-out Reset and POR should be configured to match the application's supply-rail behavior. PPS remapping lets designers reassign peripheral I/O to alternate pins to ease PCB routing, but each pin can serve only one peripheral function at a time. Use the MPLAB PICkit 5 or ICD 4 for programming and debugging.
This page synthesizes distributor pricing, drop-in SPDIP-package alternatives, and practical design considerations not found in the manufacturer datasheet alone.
Alternativas drop-in para PIC18F26K22-I/SP — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F26K22-I/SP (mesmo formato e footprint) — diferindo em ADC, Package, Operating Temperature, Timers, Core Architecture.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F27K22-I/SP
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F26K22-I/SO
✅ Drop-In✓ Em estoque
$2.62 / unidade
Ver ficha técnica →PIC18F25K22-I/SP
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$2.45 / unidade
Ver ficha técnica →PIC18F46K22-I/P
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$2.61 / unidade
Ver ficha técnica →PIC18F24Q10-I/SS
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$1.18 / unidade
Ver ficha técnica →PIC18F13K22-I/SO
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$1.49 / unidade
Ver ficha técnica →PIC18F26K22-I/SP Classificações máximas e características elétricas
| Core Architecture | PIC18 (8-bit Harvard) |
| Instruction Set | Enhanced PIC18, 16-bit instruction word |
| Program Memory (Flash) | 64 KB (32K x 16 words) |
| Data SRAM | 3896 bytes (3.9 KB) |
| Data EEPROM | 1024 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage (Fosc<=16 MHz) | 1.8 V to 5.5 V |
| Operating Voltage (full 64 MHz) | 2.3 V to 5.5 V |
| I/O Pins | 25 (with Peripheral Pin Select) |
| ADC | 12-bit, up to 19 channels (ADC2 with computation) |
| Timers | Multiple 8/16-bit (TMR0-TMR6 family) |
| Communication | 2x EUSART, 2x MSSP (SPI/I2C) |
| Low-Power Technology | nanoWatt XLP (<100 nA typical sleep) |
| Encapsulamento | 28-SPDIP (Skinny Plastic DIP) |
| Tipo de montagem | Through-Hole |
| Temperatura de operação | -40 C to +85 C (Industrial) |
| Status RoHS | Compliant |
| Lead-Free / Halogen-Free | Yes / Yes |
Configuração de pinos do PIC18F26K22-I/SP
| Pino 1 | RA0 — PORTA bit 0 / analog / CCP |
| Pino 2 | RA1 — PORTA bit 1 / analog / CCP |
| Pino 3 | RA2 — PORTA bit 2 / analog |
| Pino 4 | RA3 — PORTA bit 3 / analog |
| Pino 5 | RA4 — PORTA bit 4 / analog / T0CKI |
| Pino 6 | RA5 — PORTA bit 5 / analog |
| Pino 7 | RA6 — PORTA bit 6 / analog / OSC2 |
| Pino 8 | RA7 — PORTA bit 7 / analog / OSC1 |
| Pino 9 | VSS1 — Ground reference 1 |
| Pino 10 | VSS2 — Ground reference 2 |
| Pino 11 | VDD1 — Positive supply 1 |
| Pino 12 | RB0 — PORTB bit 0 / INT0 |
| Pino 13 | RB1 — PORTB bit 1 / INT1 |
| Pino 14 | RB2 — PORTB bit 2 / analog |
| Pino 15 | RB3 — PORTB bit 3 / analog / CCP |
| Pino 16 | RB4 — PORTB bit 4 / analog |
| Pino 17 | RB5 — PORTB bit 5 / analog |
| Pino 18 | RB6/PGC — PORTB bit 6 / ICSP PGC |
| Pino 19 | RB7/PGD — PORTB bit 7 / ICSP PGD |
| Pino 20 | RC0 — PORTC bit 0 / analog |
| Pino 21 | RC1 — PORTC bit 1 / analog / CCP |
| Pino 22 | RC2 — PORTC bit 2 / analog |
| Pino 23 | RC3 — PORTC bit 3 / analog / SCL |
| Pino 24 | RC4 — PORTC bit 4 / analog / SDA |
| Pino 25 | RC5 — PORTC bit 5 / analog / SDO |
| Pino 26 | RC6 — PORTC bit 6 / analog / TX |
| Pino 27 | RC7 — PORTC bit 7 / analog / RX |
| Pino 28 | VDD2 — Positive supply 2 |
Aplicações típicas
PIC18F26K22-I/SP é adequado para 6 aplicaçãos: Battery-Powered IoT Sensor Nodes, Consumer Remote Controls, Capacitive Touch User Interfaces, Industrial Control Panels, HVAC Sensor Modules, USB HID Bridge / UART Emulation Dongles.
Battery-Powered IoT Sensor Nodes
The PIC18F26K22-I/SP suits battery-powered IoT sensor nodes because nanoWatt XLP holds sleep current below 100 nA typical in Retention mode. With 64 KB Flash and 3896 B SRAM, it can run a 6LoWPAN or LoRaWAN style stack on a private sub-GHz radio plus on-chip ADC2 sweeping a sensor farm. Unlike simpler PIC16 parts, the K22 provides PPS for clean PCB routing when a 2.4 GHz antenna needs to be kept away from digital lines.
Recomendado
Consumer Remote Controls
Universal remote controls benefit from the PIC18F26K22-I/SP's 25 I/O and dual MSSP/I2C channels to scan 4x4 key matrices while driving IR LED drivers through PWM. NanoWatt XLP sleep keeps standby drain under a microamp, letting two AAA cells last the product lifetime. Compared with smaller PIC16F parts, the K22's PPS eliminates the need for remappable-pin PCB workarounds in densely packed handheld enclosures.
Recomendado
Capacitive Touch User Interfaces
The PIC18F26K22-I/SP drives capacitive touch sliders and buttons using the on-board CTMU, with 12-bit ADC2 achieving reliable touch sensing without dedicated touch controllers. CTMU's hardware timing translates capacitance changes into counts faster than polled ADC alone. Designers can wake the MCU only when a touch event is detected, then return to nanoWatt XLP sleep within microseconds after firmware processing.
Recomendado
Industrial Control Panels
Industrial control panels favor the PIC18F26K22-I/SP because of its 5.5 V tolerance on most I/O pins (no need for level shifters on 5 V buses), the 12-bit ADC with 19 channels for analog sensor trimming, and two EUSART ports for RS-485 / RS-232 / DMX traffic. The 28-SPDIP through-hole package simplifies hand-rework in factory-floor retrofits where surface-mount rework stations are scarce.
Recomendado
HVAC Sensor Modules
The PIC18F26K22-I/SP suits HVAC sensor modules because its 1.8 V to 5.5 V supply range tolerates typical 24 VAC rectified rails after LDO regulation, while nanoWatt XLP keeps idle draw from a sealed sensor housing low enough to meet building-energy standards. Two MSSP ports can drive SPI temperature/humidity chains simultaneously, freeing up PPS-mapped I/O for actuator drivers.
Recomendado
USB HID Bridge / UART Emulation Dongles
USB HID bridges benefit from the PIC18F26K22-I/SP's dual EUSART + 2x MSSP plus PPS remapping, allowing one EUSART to handle debug logging and the other to expose a CDC-style channel via USB HID-to-UART conversion. The 64 MHz CPU runs interrupt-driven USB descriptors without dedicated hardware USB. Compared with lower-pin PIC18F parts, the K22's 25 I/O allow a single MCU to handle both bus side and target UART side plus indicators.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F26K22-I/SP — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F27K22-I/SP | PIC18F26K22-I/SO | PIC18F25K22-I/SP | PIC18F24Q10-I/SS | PIC18F13K22-I/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP (through-hole) | 28-SPDIP (through-hole) - same | 28-SOIC (surface-mount) | 28-SPDIP (through-hole) - same | 28-SSOP (surface-mount) | 28-SOIC (surface-mount) |
| Program Flash | 64 KB | 128 KB | 64 KB (identical) | 32 KB | 16 KB | 8 KB |
| Data SRAM | 3896 B | 3896 B (same) | 3896 B (identical) | 2048 B | 1024 B | 256 B |
| Maximum CPU Speed | 64 MHz | 64 MHz (same) | 64 MHz (identical) | 64 MHz (same) | 64 MHz | 64 MHz |
| I/O Pins | 25 | 25 (same) | 25 (identical) | 25 | 25 | 25 |
| Operating Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V (same) | 1.8 V to 5.5 V (identical) | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| Low-Power Tech | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP (same) | nanoWatt XLP | eXtreme Low-Power (Q10 family) | nanoWatt XLP |
| Toolchain | MPLAB X + XC8 | MPLAB X + XC8 (same) | MPLAB X + XC8 (same) | MPLAB X + XC8 | MPLAB X + XC8 | MPLAB X + XC8 |
Principais diferenciais
- nanoWatt XLP extreme low-power with 64 MHz speed (vs PIC18F13K22-I/SO)
- More Flash and SRAM than smaller-footprint siblings (vs PIC18F13K22-I/SO)
- Through-hole package for hand-rework and prototyping (vs PIC18F26K22-I/SO)
- ADC2 with hardware averaging (vs PIC18F25K22-I/SP)
- PPS remapping (vs PIC18F46K22-I/P)
Notas de projeto
The PIC18F26K22-I/SP uses nanoWatt XLP to reach sub-100 nA typical current in Retention sleep mode. To achieve this, configure the FVR, ADC, comparators, and unused peripherals as off before executing the SLEEP instruction; the data sheet ERRATA documents that forgetting to disable the FVR can add ~30 uA continuous draw.
Operating temperature for the I/SP is -40 C to +85 C industrial range. For retrofit-style panel designs that live inside sealed enclosures, derate maximum Fosc at high ambient using the data sheet curves; at 85 C ambient, design to a CPU clock of 16 MHz or below to retain thermal margin.
Configuration bits must be set explicitly: LVP=1 enables ICSP with PGM pin, LVP=0 disables it and frees RC0/RC1. Forgetting to disable LVP can result in RB5/RC0 acting as temporary programming lines during ramp-up. Use an external pull-down on PGM for high-reliability starts unless you commit to LVP=0.
Place a 0.1 uF decoupling capacitor within 5 mm of each VDD pin and a 1 uF bulk capacitor within 10 mm of the package. The AVDD pin (when used with analog features) needs its own 10 uH inductor or ferrite-bead and 10 uF bypass cap, separating digital and analog supply from MCU side. For SPI runs above 10 MHz, route on inner layer with grounded adjacent via fence.
Informações de conformidade
RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified - this is an industrial-grade part, not an automotive part. The I/SP suffix indicates industrial temperature grade (-40 C to +85 C).