Microchip Technology

PIC18F2221-I/SS - 8-Bit 40MHz 4KB Flash MCU 28-SSOP | Microchip

MPN: PIC18F2221-I/SS ✓ Hoạt động
4.2 V to 5.5 V Vdss 28-SSOP (0.209 inch / 5.30 mm body width) Package 40 MHz (16 MIPS) Speed 4 KB (2K x 16 words) Memory
MOQ: 1 |

PIC18F2221-I/SS Tóm tắt

The Microchip Technology PIC18F2221-I/SS is an 8-bit PIC18 enhanced Flash microcontroller built on a RISC architecture, delivering up to 40 MHz / 16 MIPS throughput and integrating 4KB (2K x 16) of self-programming Flash program memory in a 28-pin SSOP (Shrink Small Outline Package). It is qualified to the industrial -40C to +85C operating range (denoted by the -I suffix) and targets 5V systems requiring nanoWatt power management.

An 8-bit PIC microcontroller is a Harvard-architecture RISC CPU designed for deterministic, low-power embedded control. Within the broader taxonomy, PIC18 sits above baseline PIC10/12/16 parts and below 16-bit dsPIC/PIC24 and 32-bit PIC32 devices. The PIC18 family adds 16-bit instructions, a hardware multiplier, linear RAM access up to 4KB and C-compiler friendly addressing, making it a workhorse for cost-sensitive real-time control applications.

Key features of the PIC18F2221-I/SS include 256 bytes of EEPROM, 512 bytes of SRAM, 25 digital I/O pins, 13 channels of 10-bit Analog-to-Digital conversion, two analog comparators, two Capture/Compare/PWM modules, a Master Synchronous Serial Port configurable as SPI or I2C, an ICD (In-Circuit Debug) interface and nanoWatt technology with multiple power-managed modes including Idle, Sleep and peripheral gating.

Technically, the PIC18F2221 combines a hardware multiplier, 8x8 hardware multiply in a single cycle and 31-level stack with 200ns instruction execution at 20 MHz (40 MHz oscillator input via 4x PLL or external). The 10-bit ADC supports up to 13 analog input channels with acquisition time programmable via software, and the MSSP peripheral provides both SPI and I2C master/slave modes. The nanoWatt power-managed modes enable typical sleep currents in the microamp range, suitable for battery-backed designs.

Typical applications for the PIC18F2221-I/SS include low-cost consumer appliances, white-goods control boards, HVAC sensor interfacing, battery chargers, security alarm panels, motor control (small DC/BLDC via PWM and comparator) and industrial sensor hubs where 5V I/O and IEC 61010-1 isolation-friendly logic levels are required.

When designing with the PIC18F2221-I/SS, allocate a minimum 0.1uF decoupling capacitor adjacent to each VDD/VSS pair and follow Microchip's Emulation/ICD connection guidelines if you intend to use the on-chip debug hardware. Devices with the same flash size but different pin count exist (PIC18F2221 = 28-pin, PIC18F4321 = 44-pin); always match the package to the PCB footprint before sourcing.

Bộ thay thế dễ dàng lắp đặt cho PIC18F2221-I/SS — 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 PIC18F2221-I/SS (cùng hình factor và footprint) — khác nhau ở Operating Temperature, Package, Program Memory (Flash), ADC, Timers.

Microchip Technology
Operating Temperature: -40 C to +125 C (Extended grade)
Package: 28-pin SSOP
Program Memory (Flash): 8 KB (4K x 16)
Microchip Technology
Operating Temperature: -40 °C to +85 °C (industrial)
Package: 28-pin SSOP (Shrink Small Outline Package)
Program Memory (Flash): 8 KB (4K x 16 words)
Microchip Technology
Operating Temperature: -40C to +85C (Industrial)
Package: SSOP-28 (208 mil)
Program Memory (Flash): 4 KB (2K x 16)

PIC18F2221-I/SO

✅ Drop-In ⚠️ Thông số chưa được xác minh
📦 28-SOIC (0.300 inch body width)
Same 28-pin SOIC package; body width 7.50 mm vs 5.30 mm SSOP - drop-in electrically but different PCB footprint

📋 Tham chiếu thay thế (không có trong danh mục)

PIC18F2321-I/SS

✅ Drop-In
Microchip Technology
📦 28-SSOP
PIC18 8-bit RISC · 77 single-word instructions · 40 MHz · 10 MIPS (200 ns instruction cycle) · 8 KB (4K x 16 words) · 512 bytes · 256 bytes · 4.2 V to 5.5 V

Liên hệ để biết giá

Xem tài liệu →

PIC18F2420-I/SS

✅ Drop-In
📦 28-SSOP
16KB Flash vs 4KB (+300%), 10-bit ADC and identical peripherals in 28-SSOP

📋 Tham chiếu thay thế (không có trong danh mục)

PIC18F2520-I/SS

✅ Drop-In
📦 28-SSOP
32KB Flash and 1KB EEPROM vs 4KB/256B (+700% Flash, +300% EEPROM), same 28-SSOP

📋 Tham chiếu thay thế (không có trong danh mục)

PIC18F2221-E/SS

✅ Drop-In
📦 28-SSOP
Same die, extended -40C to +125C vs -40C to +85C industrial range; same SSOP-28

📋 Tham chiếu thay thế (không có trong danh mục)

PIC18F2221T-I/SS

✅ Drop-In ⚠️ Thông số chưa được xác minh
📦 28-SSOP
Same die, T = Tape & Reel packaging code; identical 28-SSOP, no electrical difference

📋 Tham chiếu thay thế (không có trong danh mục)

PIC18LF2221-I/SS

✅ Drop-In
Microchip Technology
📦 28-SSOP
PIC18 8-bit RISC · 4 KB (2K x 16) · 512 bytes · 256 bytes · 40 MHz (10 MIPS) · 2.0 V to 5.5 V · 25 · 10-bit, multiple channels

Liên hệ để biết giá

Xem tài liệu →

PIC18F2221-I/SS Tỷ lệ tối đa & tính chất điện

Product Type 8-bit Microcontroller (MCU)
Architecture PIC18 (Harvard RISC)
Family PIC18F2xx1/4xx1 Enhanced Flash with nanoWatt
Core / Data Bus Width 8-bit
Maximum CPU Speed 40 MHz (16 MIPS)
Instruction Cycle Time 200 ns at 20 MHz / 100 ns at 40 MHz
Program Memory (Flash) 4 KB (2K x 16 words)
Data EEPROM 256 bytes
Data SRAM 512 bytes
I/O Pins 25
ADC 10-bit, 13 channels
Comparators 2
CCP/ECCP Modules 2 CCP
Serial Interfaces 1x MSSP (SPI / I2C), AUSART
Supply Voltage (VDD) 4.2 V to 5.5 V
Nhiệt độ hoạt động -40C to +85C (Industrial, -I suffix)
Hộp 28-SSOP (0.209 inch / 5.30 mm body width)
Kiểu lắp đặt Surface Mount
Trạng thái RoHS Compliant
On-Chip Debug ICD (In-Circuit Debugger)
Program Memory Type Flash (self-programming)

Cấu hình chân PIC18F2221-I/SS

SSOP-28 Package Pinout Diagram SSOP-28 5.3x10.2mm, P0.65mm, JEDEC MO-150. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SSOP-28
Chân 1 RA0/AN0 — PORTA bit 0 / Analog input channel 0
Chân 2 RA1/AN1 — PORTA bit 1 / Analog input channel 1
Chân 3 RA2/AN2/VREF-/CVREF — PORTA bit 2 / Analog input 2 / VREF- / Comparator VREF output
Chân 4 RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / VREF+
Chân 5 RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output
Chân 6 RA5/AN4/SS/HLVDIN/C2OUT — PORTA bit 5 / Analog input 4 / SSP slave select / High/Low-Voltage detect / Comparator 2 output
Chân 7 VSS — Ground reference
Chân 8 OSC1/CLKI/RA7 — Oscillator input / External clock input / PORTA bit 7
Chân 9 OSC2/CLKO/RA6 — Oscillator output / Clock output / PORTA bit 6
Chân 10 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Chân 11 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 I/O
Chân 12 RC2/CCP1 — PORTC bit 2 / CCP1 I/O
Chân 13 RC3/SCK/SCL — PORTC bit 3 / SSP SPI clock / I2C clock
Chân 14 RC4/SDI/SDA — PORTC bit 4 / SSP SPI data in / I2C data
Chân 15 RC5/SDO — PORTC bit 5 / SSP SPI data out
Chân 16 RC6/TX/CK — PORTC bit 6 / AUSART TX / AUSART clock
Chân 17 RC7/RX/DT — PORTC bit 7 / AUSART RX / AUSART data
Chân 18 VSS — Ground reference
Chân 19 VDD — Positive supply (4.2 V to 5.5 V)
Chân 20 RB0/AN12/INT0 — PORTB bit 0 / Analog input 12 / External interrupt 0
Chân 21 RB1/AN10/INT1 — PORTB bit 1 / Analog input 10 / External interrupt 1
Chân 22 RB2/AN8/INT2 — PORTB bit 2 / Analog input 8 / External interrupt 2
Chân 23 RB3/AN9/CCP2 — PORTB bit 3 / Analog input 9 / CCP2 I/O
Chân 24 RB4/AN11/KBI0 — PORTB bit 4 / Analog input 11 / Keyboard interrupt 0
Chân 25 RB5/KBI1/PGM — PORTB bit 5 / Keyboard interrupt 1 / LVP programming
Chân 26 RB6/KBI2/PGC — PORTB bit 6 / Keyboard interrupt 2 / ICD clock
Chân 27 RB7/KBI3/PGD — PORTB bit 7 / Keyboard interrupt 3 / ICD data
Chân 28 VDD — Positive supply (4.2 V to 5.5 V)

Ứng dụng tiêu biểu

PIC18F2221-I/SS phù hợp cho 6 Áp dụngs: White Goods and Home Appliance Control, HVAC and Building Automation Sensors, Industrial Sensor Hubs and IoT Gateways, Battery Chargers and Power Tools, Security and Alarm Panels, Small DC/BLDC Motor Control.

🏭

White Goods and Home Appliance Control

The PIC18F2221-I/SS is widely deployed in washing machines, dishwashers, refrigerators and microwave ovens where 5V digital I/O and 28-pin SSOP integration are standard. Its 25 digital I/O pins support keypad scanning, relay drivers, triac firing, buzzer PWM and segment-LCD control via external drivers; the 13-channel 10-bit ADC reads temperature sensors (NTC/PTC), water-level probes and humidity sensors. The PIC18 core executes household real-time control loops deterministically at 40 MHz / 16 MIPS, while nanoWatt sleep currents extend standby power budgets to <2 mW per board to meet Energy Star. The 4KB Flash holds typical appliance state machines and safety interlock firmware; the 256-byte EEPROM retains user preferences and fault logs across power cycles.

🌐

HVAC and Building Automation Sensors

In HVAC wall thermostats, indoor air-quality stations and variable-air-volume controllers, the PIC18F2221-I/SS acts as the central node that digitizes thermistor inputs, CO2/VOC sensor analog channels and occupancy-detector outputs while driving triac-controlled fan stages and communicating over RS-485 or I2C. The 13-channel 10-bit ADC provides 0.5C temperature resolution with proper averaging, and the 256-byte EEPROM stores calibration constants. The MSSP module can be configured as I2C master to scan sensor backbones; nanoWatt idle/sleep modes reduce average supply current to <100 uA for battery-backed wireless sensor variants. The 28-SSOP package suits compact wall-plate enclosures with vertical mounting.

🏭

Industrial Sensor Hubs and IoT Gateways

The PIC18F2221-I/SS is suitable for low-cost industrial 4-20 mA / 0-10 V sensor hubs that aggregate analog inputs from a few field sensors and forward data via RS-485 or Modbus RTU to a PLC. The PIC18 RISC core delivers deterministic 100 ns instruction timing required for tight sensor sampling loops, while 13 ADC channels support a typical 8-sensor scan plus 5 housekeeping inputs. The AUSART module implements Modbus RTU slave without DMA load, and the 256-byte EEPROM retains Modbus address and calibration across maintenance. The 28-SSOP package supports dense PCB layouts where mechanical footprint is constrained; the -40C to +85C industrial grade supports cabinet or panel-mount environments.

⚡

Battery Chargers and Power Tools

Cordless-drill and Li-ion battery charger designs use the PIC18F2221-I/SS to perform CC/CV charge algorithms, monitor cell voltage via the 10-bit ADC, drive MOSFET half-bridges via the two CCP PWM channels, and signal LED status through the digital I/O. The 4KB Flash holds typical NiMH, Li-ion and lead-acid charge profiles; the 256-byte EEPROM saves battery cycle count and pack health data. nanoWatt sleep currents minimize standby drain on the battery pack, and the 40 MHz CPU allows synchronous current-mode control loop execution within a few microseconds. The 28-SSOP package fits inside charger base enclosures with the MCU and analog front-end on a single PCB.

🎥

Security and Alarm Panels

PIC18F2221-I/SS-based security panels implement PIR motion detector scanning via ADC, magnetic-contact zone monitoring on digital I/O, piezo-buzzer alarm drive via PWM and key-fob signal decoding on the AUSART or external interrupt. The 25 I/O pins support 8 zones plus a 4x4 keypad matrix and strobe/LED drivers, while 256 bytes EEPROM stores installer configuration and event logs across power failures. The PIC18 deterministic interrupt response (<100 ns) ensures no missed events even during busy serial housekeeping. The 28-SSOP package suits slim wall-mounted enclosures; nanoWatt sleep mode extends battery backup life to >5 years in typical alarm duty cycles.

🔧

Small DC/BLDC Motor Control

Small BLDC or DC motor controllers for fans, pumps and toys use the PIC18F2221-I/SS to generate complementary PWM via the two CCP channels, drive MOSFET gate signals on the digital I/O, read back-EMF or shunt current via the 10-bit ADC, and implement closed-loop speed control. The 40 MHz / 16 MIPS throughput allows 20 kHz PWM with full PID loop closure inside each commutation period. The 13 ADC channels read motor phase currents, DC bus voltage and PCB temperature; the MSSP SPI drives optional digital potentiometer or gate-driver fault monitoring. The 28-SSOP package fits inside the motor housing or controller base, and nanoWatt sleep enables standby current <1 mA.

Tóm tắt các sản phẩm được đề xuất

PIC18F2321-I/SS Microchip Technology Được sử dụng trong: White Goods and Home Appliance Control, Industrial Sensor Hubs and IoT Gateways, Security and Alarm Panels PIC18F2520-I/SS 32KB Flash drop-in for firmware with bootloader and OTA Được sử dụng trong: White Goods and Home Appliance Control, Small DC/BLDC Motor Control MCP1700-3302E 3.3V LDO regulator for auxiliary analog rail Được sử dụng trong: White Goods and Home Appliance Control MCP23S08 SPI I/O expander for additional keypad/segment drive lines Được sử dụng trong: White Goods and Home Appliance Control PIC18F2420-I/SS 16KB Flash upgrade with same peripherals for richer HVAC firmware Được sử dụng trong: HVAC and Building Automation Sensors, Battery Chargers and Power Tools MCP9808 High-accuracy I2C temperature sensor for precision thermostats Được sử dụng trong: HVAC and Building Automation Sensors, Security and Alarm Panels MCP2515 Standalone CAN controller for industrial HVAC buses Được sử dụng trong: HVAC and Building Automation Sensors MCP1702 Low-Iq LDO regulator for 5V sensor rails from 24V bus Được sử dụng trong: HVAC and Building Automation Sensors MCP2551 CAN transceiver for industrial fieldbus Được sử dụng trong: Industrial Sensor Hubs and IoT Gateways MAX31865 RTD-to-digital converter for PT100/PT1000 temperature sensing Được sử dụng trong: Industrial Sensor Hubs and IoT Gateways MCP23017 I2C 16-bit I/O expander for additional digital I/O channels Được sử dụng trong: Industrial Sensor Hubs and IoT Gateways MCP73123 Li-ion charge management companion IC Được sử dụng trong: Battery Chargers and Power Tools MCP6002 Low-power op-amp for current-sense amplification Được sử dụng trong: Battery Chargers and Power Tools, Small DC/BLDC Motor Control MCP1700 Low-Iq LDO for MCU rail in battery-powered designs Được sử dụng trong: Battery Chargers and Power Tools, Small DC/BLDC Motor Control PIC18F2221-E/SS Extended -40C to +125C grade for outdoor-ruggedized panels Được sử dụng trong: Security and Alarm Panels MCP2120 IrDA infrared encoder/decoder for key-fob receiver Được sử dụng trong: Security and Alarm Panels MCP8024 3-phase BLDC gate driver companion IC Được sử dụng trong: Small DC/BLDC Motor Control
What is the operating voltage of PIC18F2221-I/SS?
The PIC18F2221-I/SS operates from 4.2V to 5.5V on VDD, designed for nominal 5V systems per the PIC18F2221/4221/2321/4321 datasheet family. The internal core logic derives 3.3V via on-chip regulators, and a stable bulk decoupling capacitor of at least 0.1uF adjacent to each VDD/VSS pair is required to maintain ADC accuracy and minimize VDD droop during transient load events.
How much Flash program memory does the PIC18F2221-I/SS have?
The PIC18F2221-I/SS integrates 4KB of self-programming Flash program memory organized as 2K x 16 words, with 256 bytes of data EEPROM and 512 bytes of SRAM for variables and stack operations. The Flash is rated for a minimum of 100,000 erase/write cycles and supports in-application self-programming under firmware control, allowing bootloader and field-update designs.
What is the maximum CPU clock speed of PIC18F2221-I/SS?
The PIC18F2221-I/SS runs at up to 40 MHz oscillator input, delivering 16 MIPS throughput with a 100 ns instruction cycle. This is achieved either via a 40 MHz external clock or an external 10 MHz crystal feeding the internal 4x PLL. At 5V VDD, this speed is supported across the entire -40C to +85C industrial temperature range.
How many ADC channels does the PIC18F2221-I/SS have?
The PIC18F2221-I/SS includes a 10-bit Analog-to-Digital converter with 13 input channels multiplexed to the available 28-pin package pins. The ADC supports both single-ended and differential conversions (channel-dependent) and provides programmable acquisition time. Reference voltages can be VDD, VSS, or the dedicated VREF+ / VREF- package pins for ratiometric or absolute measurements.
What package does the PIC18F2221-I/SS ship in?
The PIC18F2221-I/SS is housed in a 28-pin Shrink Small Outline Package (SSOP-28) with 0.65 mm pin pitch and a 5.30 mm body width (0.209 inch), designated by the -I/SS suffix in the part number. The SSOP footprint is footprint-compatible with PIC18F2420, PIC18F2520, PIC18F2620, PIC18F2221, PIC18F4221, PIC18F4321 and other PIC18F 28-pin variants, easing PCB reuse.
Where can I buy PIC18F2221-I/SS and what is the current price?
The PIC18F2221-I/SS is in active production and stocked in quantity at major distributors including DigiKey (1212524), Mouser, LCSC (C184393), Avaq and Microchip USA. Pricing as of 2026-09-26 starts around $1.97 per unit at LCSC for cut-tape quantities and rises to approximately $4.52 at qty-1 from DigiKey. Volume breaks at qty 100/500/1000 are typically 20-40% lower than qty-1 pricing.
What is the lead time for PIC18F2221-I/SS in 2026?
Lead time for the PIC18F2221-I/SS as of 2026-09-26 is in stock at DigiKey, Mouser, LCSC and Microchip USA, with most distributors offering same-day or next-day shipping for quantities below 1,000 pieces. For volume orders above 5,000 pieces, lead time can extend to 4-8 weeks depending on whether the part ships from factory stock or scheduled production batches.
Is PIC18F2221-I/SS RoHS compliant?
Yes, the PIC18F2221-I/SS is RoHS compliant per Microchip's product declaration and is supplied in a lead-free matte-tin finish suitable for reflow soldering at peak temperatures up to 260C (JEDEC J-STD-020). The 28-SSOP package is halogen-free and complies with REACH SVHC requirements. The -I industrial temperature suffix also confirms it is the lead-free variant of this part.
PIC18F2221-I/SS vs PIC18F2520-I/SS - which one should I choose?
The PIC18F2221-I/SS and PIC18F2520-I/SS share the same 28-pin SSOP footprint and identical pinout, but differ in Flash size: PIC18F2221 has 4KB Flash and 256 bytes EEPROM while PIC18F2520 has 32KB Flash and 1KB EEPROM, with the same 1.5KB SRAM. Both run at 40 MHz / 16 MIPS. Choose PIC18F2221 for cost-sensitive 4KB-or-less code; choose PIC18F2520 when firmware growth or bootloader is anticipated.
What is the best drop-in replacement for PIC18F2221-I/SS?
The closest drop-in replacements for the PIC18F2221-I/SS in the same 28-SSOP package are PIC18F2420-I/SS (16KB Flash upgrade, footprint-compatible), PIC18F2520-I/SS (32KB Flash upgrade, footprint-compatible) and PIC18F2221-E/SS (extended -40C to +125C temperature variant). All three share pinout, peripherals and electrical ratings within drop-in tolerance. PIC18F2221-I/SO is the SOIC-28 footprint variant (not drop-in for SSOP PCB).
Can PIC18F2321-I/SS replace PIC18F2221-I/SS on my PCB?
Yes, the PIC18F2321-I/SS is a drop-in upgrade for the PIC18F2221-I/SS on the same 28-SSOP footprint. The PIC18F2321 doubles program Flash to 8KB, retains 256 bytes EEPROM and 512 bytes SRAM, and adds two more 10-bit ADC channels and a second comparator. Pinout, VDD range and CPU clock are unchanged, so no PCB rework is required. Only firmware size and linker script must be updated.
Where can I download the PIC18F2221-I/SS datasheet PDF?
The official PIC18F2221-I/SS datasheet (document 39609F covering PIC18F2221/4221/2321/4321, 402 pages) can be downloaded from Microchip's product page at microchip.com/en-us/product/PIC18F2221 or directly from the Microchip document server at ww1.microchip.com/downloads/aes/DeviceDoc/39609F.pdf. Third-party mirrors also exist on alldatasheet.com and hotenda.com for reference.
Where do I find the PIC18F2221-I/SS pinout?
The PIC18F2221-I/SS pinout is published in the PIC18F2221 datasheet (document 39609F), Section 1.0 "Device Overview", table 1-3 for the 28-pin SPDIP/SOIC/SSOP package. Pin 1 is RA0/AN0 located at the top-left of the package as marked by the dot indicator; pin 28 is RB7/KBI3/PGD. The same pinout table applies to PIC18F2321-I/SS, PIC18F2420-I/SS and PIC18F2520-I/SS.
What microcontroller can I substitute for PIC18F2221-I/SS from another brand?
For cross-brand substitution the PIC18F2221-I/SS is uniquely characterized by its Microchip PIC18 core, so an architecturally identical competitor 28-pin SSOP drop-in does not exist; alternatives are ATmega88PA-AU (Atmel/Microchip) or STM8S003K3 (STMicroelectronics), but all require firmware porting because the instruction set, peripherals and toolchain are different. Engineers seeking a true drop-in should stay within the PIC18 family.
What are the key specifications of PIC18F2221-I/SS that engineers should know?
The PIC18F2221-I/SS is an 8-bit 40 MHz PIC18 Flash MCU with 4KB Flash, 256B EEPROM, 512B SRAM, 25 digital I/O, 13x 10-bit ADC, 2 comparators, 2x CCP, 1x MSSP (SPI/I2C) and an AUSART, running at 4.2-5.5V over -40C to +85C in a 28-SSOP package. It is the lowest-cost, lowest-memory entry point of the PIC18F2x21 family and is drop-in-compatible with PIC18F2321, PIC18F2420 and PIC18F2520 on the same footprint.

Dữ liệu tham khảo kỹ thuật cho PIC18F2221-I/SS — 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

Choose the PIC18F2221-I/SS when you need an industrial-temperature, 5V-tolerant 8-bit MCU with 4KB or less of Flash in a 28-SSOP footprint at the lowest possible cost. It is the right answer for white-goods, HVAC and small-motor controllers where firmware fits in 4KB and code growth is unlikely. Choose PIC18F2321-I/SS if you anticipate needing up to 8KB of Flash without redesigning the PCB. Choose PIC18F2420-I/SS or PIC18F2520-I/SS when firmware growth or a bootloader is anticipated. Choose PIC18F2221-E/SS for outdoor or automotive under-hood applications above +85C. Choose PIC18LF2221-I/SS when the system runs from a 2.0-3.3V rail. All variants share the same 28-SSOP footprint, peripherals and toolchain, allowing a single PCB to support an entire product family.

So sánh với các sản phẩm thay thế

Tham số Sản phẩm này PIC18F2321-I/SS PIC18F2420-I/SS PIC18F2520-I/SS PIC18F2221-E/SS PIC18LF2221-I/SS
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SSOP (5.30 mm) 28-SSOP - same 28-SSOP - same 28-SSOP - same 28-SSOP - same 28-SSOP - same
Program Flash 4 KB 8 KB (+100%) 16 KB (+300%) 32 KB (+700%) 4 KB (identical) 4 KB (identical)
Data EEPROM 256 B 256 B 256 B 1 KB 256 B 256 B
Data SRAM 512 B 512 B 768 B 1.5 KB 512 B 512 B
Maximum Clock 40 MHz / 16 MIPS 40 MHz / 16 MIPS 40 MHz / 16 MIPS 40 MHz / 16 MIPS 40 MHz / 16 MIPS 40 MHz / 16 MIPS
ADC Channels 13x 10-bit 13x 10-bit (same) 10x 10-bit 10x 10-bit 13x 10-bit (same) 13x 10-bit (same)
VDD Range 4.2 V to 5.5 V 4.2 V to 5.5 V 4.2 V to 5.5 V 4.2 V to 5.5 V 4.2 V to 5.5 V 2.0 V to 5.5 V
Operating Temperature -40C to +85C (Industrial) -40C to +85C -40C to +85C -40C to +85C -40C to +125C (Extended) -40C to +85C

Bảo phân biệt quan trọng

  • Smallest-Flash, lowest-cost entry point of the PIC18F2x21 28-SSOP family (vsPIC18F2321-I/SS)
  • Same 28-SSOP footprint as PIC18F2420 and PIC18F2520 for free firmware upgrades (vsPIC18F2520-I/SS)
  • Industrial temperature range at standard cost; extended range available as -E variant (vsPIC18F2221-E/SS)
  • Higher VDD range vs LF variant supports 5V-only systems (vsPIC18LF2221-I/SS)

Ghi chú thiết kế

Place a 0.1 uF X7R ceramic decoupling capacitor within 5 mm of each VDD/VSS pair (pins 19/18 and 28/18). Add a bulk 10 uF tantalum or aluminum-polymer capacitor at the regulator output to suppress Icc transient dips during CCP/PWM switching. The PIC18F2221 will draw up to 35 mA at 40 MHz; ensure the regulator can deliver at least 2x peak current for cold-start Flash programming.

Keep the 28-SSOP PCB footprint to JEDEC standard land pattern with 0.65 mm pin pitch. Route the MCLR/VPP reset line with a 10 kohm pull-up to VDD and a 100 nF capacitor to ground to enable in-circuit serial programming (ICSP). Reserve 0.1 inch-pitch test points for PGD (pin 27) and PGC (pin 26) to allow debug ICD connection without removing the IC from the board.

Keep analog ADC inputs (RA0-RA5, RB0-RB2) away from high-current switching traces such as PWM outputs on RC1/RC2 and the DC bus. Use a single-point ground at the MCU's VSS pin and route noisy return currents (MOSFET gate drive, relay coils) through a separate ground plane region. If using the internal 4x PLL, place a 100 nF capacitor across the OSC1/OSC2 pins as datasheet section 3.0 indicates for crystal operation.

Do not confuse the -I/SS suffix (industrial temp / SSOP package) with -E/SS (extended temp / SSOP) or -I/SO (industrial temp / SOIC package). Verify ordering code with Microchip's part-number decoder before procuring - mismatches will result in non-pinout-compatible SSOP vs SOIC shipments. Also note that the LF (low-voltage) variants require different programming voltages than standard F parts.

For I2C bus operation via MSSP, place 4.7 kohm pull-ups on SCL (RC3) and SDA (RC4); for SPI master operation, ensure the SCK signal integrity by routing over a continuous ground plane. The AUSART TX/RX pins (RC6/RC7) are 5V TTL-level; for RS-485 add an external transceiver such as MCP2551. Always keep MCLR high during operation to avoid spurious resets.

Thông tin tuân thủ

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Không chì
Yes
Không halogen
Yes
Khoáng vật xung đột
Compliant

RoHS-compliant lead-free matte-tin finish per Microchip product declaration. Halogen-free per Microchip statement. AEC-Q100 qualification is not applicable to this general-purpose MCU; for automotive AEC-Q100 use the PIC18Fxxx-I/SS variant. REACH SVHC compliance is maintained per Microchip's chemical substance declarations.

Dữ liệu được xác minh vào: 2026-09-26 — dữ liệu được xác minh và quản lý bởi đội ngũ kỹ thuật phần cứng của XAIPART

Tìm kiếm liên quan

PIC18F2221-I/SS PIC18F2221-I/SS datasheet Microchip PIC18F2221 SSOP PIC18F2221 8-bit 40MHz 4KB Flash MCU 28-SSOP PIC microcontroller 4KB flash PIC18F2221-I/SS pinout PIC18F2221 vs PIC18F2321 vs PIC18F2520 PIC18F2221-I/SS buy price stock PIC18F2221 white goods home appliance control PIC18F2221 industrial temperature -40 to +85 PIC18F2221 drop-in replacement 28-SSOP PIC18F2221 BLDC motor control PWM what is the operating voltage of PIC18F2221 where to download PIC18F2221 datasheet PDF PIC18F2221-I/SS HVAC thermostat sensor hub

Các bộ phận và thuật ngữ liên quan

Microchip Technology PIC18F2221-I/SS PIC18F2321-I/SS PIC18F2420-I/SS PIC18F2520-I/SS PIC18F2221-E/SS PIC18LF2221-I/SS PIC18 family 8-bit microcontroller Flash memory EEPROM MSSP SPI I2C AUSART 10-bit ADC CCP / PWM nanoWatt 28-SSOP JEDEC J-STD-020 RoHS REACH ICSP ICD PIC18 instruction set
Báo giá nhanh RFQ
Hãy điền đầy đủ thông tin — đội ngũ bán hàng của chúng tôi sẽ phản hồi trong vòng 24 giờ
Mã sản phẩm Nhà sản xuất Kiểu đóng gói QTY Giá mục tiêu Phụ
✓
Báo giá đã gửi!

Chúng tôi sẽ trả lời email của bạn trong vòng 24 giờ

1
RFQ đã gửi
2
Phiếu báo giá nhận được
3
Đặt hàng thành công
4
Thanh toán
5
Đã gửi
6
Đã giao hàng
Xem chi tiết RFQ