PIC18F13K22-E/P - 8-bit 48MHz XLP MCU 8KB Flash | Microchip | DIP-20
MPN: PIC18F13K22-E/P ✓ Hoạt độngPIC18F13K22-E/P Tóm tắt
A PIC microcontroller (Programmable Interface Controller, often described as a Peripheral Interface Controller) is a family of low-cost, low-power, Harvard-architecture microcontrollers based on RISC instruction sets. Within the broader taxonomy of integrated circuits, the PIC18F1XK22 sub-family belongs to Microchip's PIC18 "High-Performance" 8-bit line, sitting above the baseline PIC10/12/16 families in computational throughput and peripheral integration. The "K22" suffix specifically marks the nanoWatt XLP variant - devices engineered for ultra-low sleep current (down to tens of nano-amps in deep sleep), making them a preferred choice for battery-powered and energy-harvesting designs.
Key features include a 10-bit ADC with up to 12 channels, two PWM modules with enhanced capture/compare, an enhanced USART, MSSP (SPI/I2C), two comparators with selectable references, a 31 kHz internal oscillator, and internal oscillator accuracy of +/-1%. The 16-bit-wide instruction word plus 8-bit data path yields 2:1 code density over baseline PIC16 parts while keeping the C-compiler-friendly architecture and interrupt model familiar to PIC developers.
Typical applications include ultra-low-power remote sensors, battery-powered wireless nodes, white-goods and small-appliance controllers, automotive body and HVAC auxiliary modules (extended grade), general-purpose logic replacement, and educational/hobbyist platforms where a through-hole DIP package simplifies breadboarding. Designers often pair the -E/P with a PICkit programmer/debugger for in-circuit serial programming.
A critical design consideration is supply voltage - the PIC18F13K22-E/P operates from 4.2V to 5.5V (the E-grade datasheet specifies 5V nominal); drop-in migration to the F-grade (3.6V max) variants must be verified against the application's rail voltage. The Extended temperature grade (-40C to +125C) makes the -E/P suitable for underhood or industrial enclosures, but datasheet AC/DC specs must be re-checked at temperature extremes for timing-critical peripherals.
Bộ thay thế dễ dàng lắp đặt cho PIC18F13K22-E/P — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18F13K22-E/P (cùng hình factor và footprint) — khác nhau ở Package, ADC, Mounting Type, Operating Temperature, Communication.
PIC18F13K22-I/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F13K22-E/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F13K22T-I/SO
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F1320-I/P
✅ Drop-In ⚠️ Thông số chưa được xác minh📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F1220-I/P
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F13K22-E/P Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC18 (8-bit RISC, Harvard) |
| Product Family | PIC18F1XK22 nanoWatt XLP |
| Flash Program Memory | 8 KB (4K x 16) |
| RAM | 256 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 48 MHz |
| Operating Voltage | 4.2 V to 5.5 V |
| I/O Pins | 16 |
| ADC | 10-bit, up to 12 channels |
| Timers | Timer0/1/2/3 (16-bit and 8-bit) |
| Communication | EUSART, MSSP (SPI/I2C) |
| PWM | 2 modules (Enhanced Capture/Compare) |
| Comparators | 2 with selectable references |
| Temperature Grade | Extended (-40C to +125C) |
| Hộp | 20-pin PDIP (DIP-20, 0.300 inch) |
| Kiểu lắp đặt | Through-Hole |
| Cấp MSL | 1 |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC18F13K22-E/P
| Chân 1 | RA3/AN3/VREF+/C1IN+ — GPIO RA3 / ADC AN3 / positive voltage reference / comparator input |
| Chân 2 | RA4/AN4/T0CKI/C2OUT — GPIO RA4 / ADC AN4 / Timer0 clock / comparator 2 output |
| Chân 3 | RA5/MCLR/VPP/AN5 — Master Clear (reset) input / programming voltage / GPIO RA5 |
| Chân 4 | RA6/OSC2/CLKO — GPIO RA6 / crystal oscillator output / clock output |
| Chân 5 | RA7/OSC1/CLKI — GPIO RA7 / crystal oscillator input / clock input |
| Chân 6 | VSS — Ground reference |
| Chân 7 | VDD — Positive supply voltage (4.2V to 5.5V) |
| Chân 8 | RB0/AN10/INT0 — GPIO RB0 / ADC AN10 / external interrupt 0 |
| Chân 9 | RB1/AN8/C2INB — GPIO RB1 / ADC AN8 / comparator 2 input B |
| Chân 10 | RB2/AN9/C2INA — GPIO RB2 / ADC AN9 / comparator 2 input A |
| Chân 11 | RB3/AN7/C1INB — GPIO RB3 / ADC AN7 / comparator 1 input B |
| Chân 12 | RB4/AN11/C1INA — GPIO RB4 / ADC AN11 / comparator 1 input A |
| Chân 13 | RB5/CCP3 — GPIO RB5 / Capture Compare PWM 3 |
| Chân 14 | RB6/PGC — GPIO RB6 / ICSP clock (programming/debug) |
| Chân 15 | RB7/PGD — GPIO RB7 / ICSP data (programming/debug) |
| Chân 16 | RC0/P2A/CCP2 — GPIO RC0 / PWM 2 output A / Capture Compare PWM 2 |
| Chân 17 | RC1/P2B/CCP1 — GPIO RC1 / PWM 2 output B / Capture Compare PWM 1 |
| Chân 18 | RC2/AN6/P1A/CCP1 — GPIO RC2 / ADC AN6 / PWM 1 output A / CCP1 |
| Chân 19 | RC3/AN12/P1B — GPIO RC3 / ADC AN12 / PWM 1 output B |
| Chân 20 | RC4/SDA/SDI — GPIO RC4 / I2C data / SPI data in |
Ứng dụng tiêu biểu
PIC18F13K22-E/P phù hợp cho 6 Áp dụngs: Ultra-Low-Power Remote Sensor Node, Automotive Body and HVAC Auxiliary Controller, White Goods and Small Appliance Control, Educational Microcontroller Trainer Board, Battery Charging and Power Management Front-End, Logic Replacement and Custom Sequence Generator.
Ultra-Low-Power Remote Sensor Node
The PIC18F13K22-E/P is purpose-built for battery-powered remote sensor nodes thanks to its nanoWatt XLP deep-sleep current in the single-digit nano-amp range with full RAM retention, the integrated low-power Timer1 with 31 kHz crystal option, and the 10-bit ADC for periodic environmental sampling. With the 5V (-E) supply range and the extended -40C to +125C temperature grade, it can survive years on a single Li-SOCl2 primary cell outdoors, harvesting only micro-amps average load between wake-ups. The 8 KB Flash comfortably holds a state-machine plus a C-coded sensor fusion loop in MPLAB XC8.
Được đề xuất
Automotive Body and HVAC Auxiliary Controller
The -E temperature grade (Extended -40C to +125C) makes the PIC18F13K22-E/P suitable for non-safety automotive applications such as seat controller keypads, HVAC damper drivers, mirror position memories and small lighting sequencers. The 16 I/O pins can directly drive small relays, FET gates and PWM LEDs, while the EUSART links to body-domain LIN/CAN transceivers for diagnostic back-channel. Its 5V tolerance aligns with legacy automotive body controller rails (4.2-5.5V), and the DIP-20 form factor accelerates prototyping on the bench before migrating to the SO or QFN variants for production.
Được đề xuất
White Goods and Small Appliance Control
In coffee machines, dishwashers, microwave user interfaces and similar white-goods subsystems, the PIC18F13K22-E/P provides a robust 8-bit controller with sufficient Flash for state-machine plus HMI logic, plus the 10-bit ADC to read thermistors, water-level sensors and rotary encoders. The enhanced PWM modules can directly drive small brushed DC motors, solenoid valves and triac-fired heating elements through optocouplers. The 5V supply rail tolerates rectified mains-derived power with simple linear regulation, and the Extended temperature grade ensures reliable operation in confined enclosures that may reach 70-90C internally.
Được đề xuất
Educational Microcontroller Trainer Board
The through-hole PDIP-20 package of the PIC18F13K22-E/P is ideal for educational trainer boards and breadboard-based teaching kits, where students can swap the device in and out without soldering. The PIC18 instruction set is well-documented and supported by free MPLAB X IDE and XC8 compiler, while the 8 KB Flash and 48 MHz clock provide enough headroom for student projects ranging from blinking LEDs to PID-controlled motor loops. The ICSP (In-Circuit Serial Programming) interface uses only two pins (PGC/PGD), preserving the rest for student use.
Được đề xuất
Battery Charging and Power Management Front-End
The PIC18F13K22-E/P can serve as a supervisory MCU in single-cell Li-ion or Ni-MH charging front-ends, reading battery voltage and current via its 10-bit ADC, controlling a small FET-based linear or switch-mode charger through PWM, and managing status LEDs. The EUSART provides a debug/logging channel for firmware development, while the comparators can implement hardware-level over-voltage and over-current protection that runs independently of the CPU. The Extended temperature grade supports under-hood automotive or outdoor solar installations where charging controllers are deployed.
Được đề xuất
Logic Replacement and Custom Sequence Generator
When discrete 74HC logic would consume too much board area, the PIC18F13K22-E/P serves as a single-chip sequence generator, configurable state machine or timing controller. With 16 I/O, two PWM channels, two comparators and a 10-bit ADC, it replaces multiple 555 timers, latches and glue logic in a single 20-pin DIP. The 8 KB Flash stores arbitrary timing tables, while the EEPROM retains configuration across power cycles, ideal for industrial test fixtures, conveyor controllers and small machine retrofit applications.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC18F13K22-E/P — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC18F13K22-I/P | PIC18F13K22-E/ML | PIC18F13K22T-I/SO | PIC18F1320-I/P | PIC18F1220-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin PDIP (DIP-20) | 20-pin PDIP - same | 20-pin QFN | 20-pin SOIC | 20-pin PDIP - same | 20-pin PDIP - same |
| Flash Memory | 8 KB | 8 KB | 8 KB | 8 KB | 8 KB | 4 KB |
| RAM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Max CPU Frequency | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 40 MHz | 40 MHz |
| Operating Voltage | 4.2 V to 5.5 V | 3.6 V to 5.5 V | 4.2 V to 5.5 V | 3.6 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Temperature Grade | Extended (-40C to +125C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) |
| ADC | 10-bit, 12 channels | 10-bit, 12 channels | 10-bit, 12 channels | 10-bit, 12 channels | 10-bit, 12 channels | 10-bit, 7 channels |
Bảo phân biệt quan trọng
- Extended -40C to +125C temperature grade in a DIP-20 form factor (vsPIC18F13K22-I/P)
- nanoWatt XLP deep-sleep current in the single-digit nA range (vsPIC18F1320-I/P)
- 5V supply range (4.2-5.5V) targets legacy 5V industrial rails (vsPIC18F1220-I/P)
Ghi chú thiết kế
Place a 100 nF decoupling capacitor as close as physically possible to the VDD pin (pin 7), with a short, wide ground trace back to VSS (pin 6). Add a bulk 10 uF tantalum or aluminum electrolytic at the board's power-entry point. The PIC18F13K22-E/P nanoWatt XLP sleep current assumes a clean supply - regulator noise above 50 mVpp will raise sleep current and may corrupt ADC conversions at low sampling rates.
Never leave the MCLR/VPP pin (pin 3) floating - it must be tied to VDD through a 10 kohm resistor, otherwise spurious resets will occur in noisy environments. If in-circuit programming is required, use the standard ICSP header pinout (PGECX/PGEDX) and a 4.7 kohm pull-up on MCLR during programming. The 5V -E grade part cannot be migrated directly into 3.3V designs - verify Vmin against your rail before substitution with the -I or -F variants.
When using an external crystal on OSC1/OSC2 (pins 5 and 4), keep the crystal traces short and surrounded by a ground guard ring to minimize coupling into the high-impedance oscillator cell. Place load capacitors within 3 mm of the crystal pins, with their grounds returning directly to VSS. For low-power designs, prefer the internal 16 MHz HFINTOSC with PLL, and switch to the 31 kHz LFINTOSC during sleep to avoid the crystal startup latency penalty.
Thông tin tuân thủ
RoHS compliant per Microchip product page. Not AEC-Q100 qualified; use the Q1-suffixed part numbers for automotive qualification. Lead-free (Pb-free) matte-tin finish is standard.