PIC18F13K22-I/P - 8KB Flash 8-bit nanoWatt XLP MCU | Microchip
Teilenummer: PIC18F13K22-I/P ✓ Aktiv| Menge | Stückpreis | Gesamt |
|---|---|---|
| 1 | $2.18 | $2,18 |
| 10 | $1.96 | $19,60 |
| 100 | $1.62 | $162,00 |
| 500 | $1.38 | $690,00 |
| 1.000 | $1.21 | $1.210,00 |
PIC18F13K22-I/P Übersicht
What is an 8-bit flash microcontroller? An MCU (microcontroller unit) integrates a CPU core, program memory (flash), data memory (RAM), non-volatile data storage (EEPROM), and peripherals (ADC, timers, UART, I/O) on a single die. The PIC18 core is an enhanced 8-bit Harvard RISC architecture with C-compiler-friendly instruction set, 16-bit opcodes, and hardware multiply — well above the older PIC16 baseline. The PIC18F13K22 adds nanoWatt XLP sleep modes (down to single-digit nA typical) that let battery-powered products survive years on a coin cell, while still running code at 16 MIPS from a 64 MHz internal oscillator.
Key features include 16 I/O pins, an integrated 10-bit ADC with up to 11 channels, two PWM modules, one Enhanced USART, one MSSP (SPI/I2C), and a wide 1.8 V–5.5 V operating range. The 'I' temperature grade supports -40 °C to +85 °C industrial applications. Internal 16 MHz and 64 MHz oscillators eliminate external crystals on most designs.
Typical applications include consumer appliances, low-power IoT sensor nodes, battery-powered handheld instruments, and LED control. The 20-pin PDIP form factor remains the package of choice for through-hole hobby, education, breadboarding, and legacy industrial PCB designs where socketed replacement simplifies field service. The PIC18F13K22-I/P offers familiar MPLAB X IDE, XC8 compiler, and PICkit programmer support.
Drop-in-Alternativen für PIC18F13K22-I/P – gleiches Gehäuse, Pin-kompatibel. Bauteile mit anderem Gehäuse, die eine PCB-Überarbeitung erfordern, sind ausgeschlossen.
Varianten dieser Serie
Modelle derselben Serie, die drop-in-kompatibel sind mit PIC18F13K22-I/P (gleiche Bauform und Footprint) – abweichend in Program Memory (Flash), Package, ADC, Operating Temperature, Mounting Type.
Schnellvergleichstool – Wählen Sie Alternativbauteile für den Direktvergleich:
PIC18F14K22-I/P
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC18F13K22-E/P
✅ Drop-In✓ Auf Lager
$1.05 / Stück
Datenblatt ansehen →PIC18F13K22T-I/P
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC18F13K22-I/SO
✅ Drop-In✓ Auf Lager
$1.49 / Stück
Datenblatt ansehen →PIC18F13K22-I/SS
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC18F13K22-I/P Grenzwerte & elektrische Eigenschaften
| Product Family | PIC18F1XK22 (nanoWatt XLP) |
| Core | PIC18 8-bit RISC (Harvard) |
| Program Memory (Flash) | 8 KB (4K x 16) |
| Data RAM | 256 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 5.5 V (4.2 V–5.5 V typical at full speed) |
| I/O Pins | 16 |
| ADC | 10-bit, up to 11 channels |
| Timers | 4 (Timer0/1/2/3) |
| PWM Modules | 2 (Enhanced CCP) |
| Communication | 1x EUSART, 1x MSSP (SPI/I2C) |
| Gehäuse | 20-pin PDIP (DIP-20, 0.300 inch) |
| Betriebstemperatur | -40 °C to +85 °C (Industrial) |
| Montageart | Through-Hole (PDIP) |
| RoHS-Status | Compliant |
PIC18F13K22-I/P Pin-Konfiguration
| Pin 1 | RA7/OSC1/CLKI — Digital I/O / Oscillator crystal input / External clock input |
| Pin 2 | RA6/OSC2/CLKO — Digital I/O / Oscillator crystal output / Clock output |
| Pin 3 | RA5/MCLR/VPP — Digital I/O / Master Clear (reset) / Programming voltage |
| Pin 4 | RA4/AN4/T0CKI — Digital I/O / Analog input 4 / Timer0 clock input |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC positive voltage reference |
| Pin 6 | RA2/AN2/VREF- — Digital I/O / Analog input 2 / ADC negative voltage reference |
| Pin 7 | RA1/AN1 — Digital I/O / Analog input 1 |
| Pin 8 | RA0/AN0 — Digital I/O / Analog input 0 |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply voltage (1.8 V–5.5 V) |
| Pin 11 | RC7/AN9 — Digital I/O / Analog input 9 |
| Pin 12 | RC6/AN8 — Digital I/O / Analog input 8 |
| Pin 13 | RC5/AN7 — Digital I/O / Analog input 7 |
| Pin 14 | RC4/AN6 — Digital I/O / Analog input 6 |
| Pin 15 | RC3/AN5/CCP2 — Digital I/O / Analog input 5 / Enhanced CCP2 PWM output |
| Pin 16 | RC2/AN6/CCP1/P1A — Digital I/O / Analog input 6 / Enhanced CCP1 PWM output |
| Pin 17 | RC1/AN7/C2OUT — Digital I/O / Analog input 7 / Comparator 2 output |
| Pin 18 | RC0/AN8 — Digital I/O / Analog input 8 |
| Pin 19 | RB7/ICSPDAT — Digital I/O / ICSP data |
| Pin 20 | RB6/ICSPCLK — Digital I/O / ICSP clock |
Typische Anwendungen
PIC18F13K22-I/P ist geeignet für 6 Anwendungs: Battery-Powered IoT Sensor Node, Consumer Appliance Control Board, Hobbyist and Educational Electronics, LED Lighting and Display Control, Industrial Sensor Interface Module, Automotive Interior Accessory (Non-Safety).
Battery-Powered IoT Sensor Node
The PIC18F13K22-I/P fits low-power IoT sensor nodes because of its nanoWatt XLP sleep current (~20 nA typical in sleep with RTCC) and integrated 10-bit ADC for direct sensor readout. Its 8 KB flash holds sensor-fusion or LoRaWAN-style protocol stacks, while the wide 1.8–5.5 V supply range lets a 2x AA or Li-ion battery power the board without regulation. The MSSP supports I2C sensor buses; the EUSART handles UART links to radios. Compared to a switching regulator plus op-amp front-end, the PIC18's integrated ADC eliminates two external parts.
Empfohlen
Consumer Appliance Control Board
The PIC18F13K22-I/P suits small home appliances (coffee makers, blenders, fans) where the 20-pin PDIP through-hole form factor simplifies socketed service. Its 16 I/O pins drive triac/MOSFET power stages directly via PWM; the 10-bit ADC reads thermistor, motor current, or line voltage feedback. The PIC18's C-compiler-friendly instruction set reduces firmware development time. Industrial -40 to +85 °C temperature grade covers under-hood and kitchen environments.
Empfohlen
Hobbyist and Educational Electronics
The PIC18F13K22-I/P remains the go-to MCU for hobbyists and universities because the 20-pin PDIP fits standard 0.3-inch IC sockets, breadboards, and through-hole perfboards. PICkit 3/4 programmers debug code in-circuit via ICSP; the free MPLAB X IDE with XC8 C compiler supports modern development workflows. Sample code, datasheets, and application notes are abundant on Microchip's site, and the PIC18 architecture is widely documented in textbooks.
Empfohlen
LED Lighting and Display Control
The PIC18F13K22-I/P drives small LED lighting and indicator panels using its two Enhanced CCP PWM modules, which generate precise duty-cycle outputs at up to 64 MHz FOSC. The 10-bit ADC provides analog dimming or current-sensing feedback; the MSSP (SPI) chains addressable LED strips such as WS2812 (via bit-bang) or APA102 (native SPI). The wide 1.8–5.5 V supply accepts direct 5 V USB power or 3.3 V logic rails without level shifters.
Empfohlen
Industrial Sensor Interface Module
The PIC18F13K22-I/P acts as a smart 4–20 mA or 0–10 V sensor-to-Modbus gateway in industrial panels. Its 10-bit ADC digitizes analog sensor signals; the EUSART provides RS-485 Modbus RTU connectivity for SCADA systems; the MSSP supports I2C sensor expansion. The industrial -40 to +85 °C operating range covers factory-floor temperatures. DIP packaging simplifies field-replaceable module designs.
Empfohlen
Automotive Interior Accessory (Non-Safety)
The PIC18F13K22-I/P runs non-safety automotive interior accessories such as ambient lighting controllers, cup-holder LEDs, or cabin-ventilation trim. With an automotive-grade variant (PIC18F13K22T-I/P automotive screening) and -40 to +85 °C industrial temperature range, it handles under-dash thermal conditions. The PWM modules drive LED dimming smoothly; the ADC reads trim-switch positions. Note: for safety-critical body ECUs, migrate to AEC-Q100-qualified parts.
Empfohlen
Zusammenfassung der empfohlenen Produkte
Technische Referenzdaten für PIC18F13K22-I/P – Vergleich, Designhinweise und Compliance-Informationen.
Auswahlhilfe
Vergleich mit Alternativen
| Parameter | Dieses Produkt | PIC18F14K22-I/P | PIC18F13K22-E/P | PIC18F13K22-I/SO | PIC18F13K22-I/SS |
|---|---|---|---|---|---|
| Package | PDIP-20 (through-hole) | PDIP-20 - same | PDIP-20 - same | SOIC-20 (SMD) - same pinout | SSOP-20 (SMD) - same pinout |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 16 KB (+100%) | 8 KB (same) | 8 KB (same die) | 8 KB (same die) |
| Maximum Clock | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| Temperature Grade | Industrial -40 °C to +85 °C | Industrial -40 °C to +85 °C | Extended -40 °C to +125 °C | Industrial -40 °C to +85 °C | Industrial -40 °C to +85 °C |
| ADC | 10-bit, up to 11 ch | 10-bit, up to 11 ch | 10-bit, up to 11 ch | 10-bit, up to 11 ch | 10-bit, up to 11 ch |
| Mounting | Through-Hole (PDIP) | Through-Hole (PDIP) | Through-Hole (PDIP) | Surface Mount (SOIC) | Surface Mount (SSOP) |
| Price (qty 1, USD) | $2.18 | $2.35 (approx) | $2.25 (approx) | $2.05 (approx) | $2.10 (approx) |
Wichtigste Unterscheidungsmerkmale
- Mid-density 8 KB flash with nanoWatt XLP low-power sleep (vs. PIC16F886-I/P)
- Lower cost upgrade path to 16 KB flash in same footprint (vs. PIC18F14K22-I/P)
- Extended temperature option in identical package (vs. PIC18F13K22-E/P)
Designhinweise
Estimated: at 3.3 V VDD and 16 MHz HFINTOSC, the PIC18F13K22-I/P draws approximately 4–6 mA active and ~20 nA in sleep with RTCC and WDT disabled. For battery-life calculations, use datasheet Figure 35-3 (IDD vs FOSC). Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 10) and a 10 µF bulk capacitor near the ICSP header. The MCU has no internal voltage regulator, so VDD ripple directly affects ADC accuracy — keep ripple under 10 mV at full ADC gain.
Keep the ICSP header (6-pin standard Microchip layout) accessible on the PCB for in-circuit debugging and field firmware updates. Route the ICSPDAT/ICSPCLK lines (RB7/RB6) without series resistors in the production path — programmers include their own. The 20-pin PDIP footprint should leave room around the ICSP header for the PICkit clip to attach without removing the chip from socket.
Do not assume the 64 MHz oscillator is enabled by default — CONFIG1H must set FOSC = INTIO67 for internal 16 MHz, then OSCCON's IRCF bits select 64 MHz via the PLL. The MCLR pin (RA5) requires a 10 kΩ pull-up to VDD if used as reset; if unused, tie RA5 directly to VDD. Programming the PIC18F13K22 requires high-voltage (≈8 V) on MCLR in LVP mode is not available — use HVP via ICSP or an external programmer.
For ADC accuracy, route analog inputs (AN0–AN11) away from PWM outputs (CCP1/CCP2) and digital switching signals. Use a guard ring around the analog input pin on the PCB and tie unused analog pins to VSS through 1 kΩ resistors. Configure the ADC clock period (TAD) per datasheet Table 36-26 — at 64 MHz FOSC the ADC requires a prescaler of at least /16 to meet the minimum TAD of 0.7 µs.
Compliance-Informationen
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified — for automotive applications use the automotive-screened variant or migrate to AEC-Q100 parts. Lead-free matte-tin finish. Conflict-minerals reporting (CMRT v6.x) available on request.