PIC18F2221T-I/SO - 8-bit PIC MCU 4KB Flash 40MHz | Microchip
Артикул: PIC18F2221T-I/SO ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $3.85 | $3,85 |
| 10 | $3.5 | $35,00 |
| 100 | $3.05 | $305,00 |
| 500 | $2.62 | $1.310,00 |
| 1.000 | $2.3 | $2.300,00 |
PIC18F2221T-I/SO Обзор
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, optimized for low cost, deterministic real-time control, and ease of programming. PIC microcontrollers belong to the broader class of microcontrollers -> embedded controllers -> semiconductors. The PIC18F family is positioned in Microchip's mid-range 8-bit portfolio, above baseline PIC10/12/16 devices in peripheral integration and below PIC24/dsPIC parts in raw compute. It targets applications that need more code space, peripheral mix, and arithmetic throughput than entry-level PICs without paying for a 16-bit core.
Key features of the PIC18F2221T-I/SO include a 40 MHz internal oscillator source, three serial communication peripherals (I2C, SPI, and UART/USART with LIN support), 25 general-purpose I/O pins, nanoWatt Technology for power-managed sleep modes, and an industrial operating temperature range of -40C to +85C. The part's 28-SOIC (0.295 inch / 7.50 mm width) package makes it friendly to hand-soldering and rework on through-hole-style pad layouts.
Technically, the device is built on a CMOS process with Flash program memory that supports self-programming under firmware control. The nanoWatt Technology modes (Idle, Sleep, and a low-power Timer1 oscillator) allow standby currents in the microamp range, making the PIC18F2221 attractive for battery-backed or energy-harvesting designs. The 10-bit A/D converter with 10 channels simplifies mixed-signal designs that read multiple sensors without an external ADC.
Typical applications include small consumer appliances, sensor interface boards, USB-to-UART bridges, industrial control modules, automotive interior accessories (non-safety), and educational/hobbyist embedded platforms. The "T" suffix denotes Tape & Reel packaging and the "I" indicates the industrial -40C to +85C temperature grade.
When designing with this part, allocate sufficient decoupling on VDD/AVDD pairs and respect the 28-pin pinout multiplexed between analog and digital functions. Engineers familiar with the PIC18 instruction set can move code between PIC18F2221 and its 40-pin / 44-pin siblings (2321, 2420, 2520, 2525, 2620, 4520, 4550) with limited effort because of the family's upward compatibility.
This page synthesizes distributor pricing, drop-in SOIC-28 alternatives, and design notes not found in the manufacturer datasheet alone.
Аналоги без доработки для PIC18F2221T-I/SO — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F2221T-I/SO (тот же форм-фактор и посадочное место) — отличается по Operating Temperature, Package, ADC, Core Architecture, Program Memory.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18F2221-I/SO
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F2221-E/SO
✅ Прямая замена✓ В наличии
$2.55 / шт.
Открыть даташит →PIC18F2520-I/SO
✅ Прямая замена✓ В наличии
$4.65 / шт.
Открыть даташит →PIC18F2420-I/SO
✅ Прямая замена ⚠️ Характеристики не проверены📋 Справочный аналог (нет в каталоге)
PIC18F2321-I/SO
✅ Прямая замена ⚠️ Характеристики не проверены📋 Справочный аналог (нет в каталоге)
PIC18F2320-I/SO
✅ Прямая замена ⚠️ Характеристики не проверены📋 Справочный аналог (нет в каталоге)
PIC18F2221T-I/SO Максимальные параметры и электрические характеристики
| Core Architecture | PIC 8-bit Harvard RISC |
| Family | PIC18F |
| Instruction Set Width | 16-bit (77 single-word instructions) |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Program Memory | 4 KB (2K x 16) Flash |
| Data SRAM | 512 bytes |
| I/O Pins | 25 |
| ADC | 10-bit, 10 channels |
| Serial Interfaces | 1x I2C, 1x SPI, 1x UART/USART |
| Рабочая температура | -40C to +85C (Industrial, "I") |
| Корпус | 28-SOIC (0.295 inch / 7.50 mm width) |
| Packaging Form | Tape & Reel ("T") |
| Тип монтажа | Surface Mount |
| Статус RoHS | Compliant |
| Lead-Free | Yes |
Конфигурация выводов PIC18F2221T-I/SO
| Контакт 1 | RA2/AN2/VREF-/CVREF — GPIO RA2 / analog input AN2 / DAC negative reference / comparator reference output |
| Контакт 2 | RA3/AN3/VREF+ — GPIO RA3 / analog input AN3 / DAC positive reference |
| Контакт 3 | RA4/AN4/T0CKI — GPIO RA4 / analog input AN4 / Timer0 clock input (open-drain) |
| Контакт 4 | RA5/AN5/SS/LVDIN — GPIO RA5 / analog input AN5 / SPI slave select / low-voltage detect input |
| Контакт 5 | RA6/OSC2/CLKO — GPIO RA6 / oscillator output / clock output |
| Контакт 6 | RA7/OSC1/CLKI — GPIO RA7 / oscillator input / clock input |
| Контакт 7 | VSS — Ground reference |
| Контакт 8 | VDD — Positive supply voltage |
| Контакт 9 | RB0/INT0/AN12 — GPIO RB0 / external interrupt 0 / analog input AN12 |
| Контакт 10 | RB1/INT1/AN10 — GPIO RB1 / external interrupt 1 / analog input AN10 |
| Контакт 11 | RB2/INT2/AN8 — GPIO RB2 / external interrupt 2 / analog input AN8 |
| Контакт 12 | RB3/AN9/CCP2 — GPIO RB3 / analog input AN9 / Capture/Compare/PWM 2 output |
| Контакт 13 | RB4/AN11/KBI0 — GPIO RB4 / analog input AN11 / interrupt-on-change KBI0 |
| Контакт 14 | RB5/KBI1/PGM — GPIO RB5 / interrupt-on-change KBI1 / LVP programming input |
| Контакт 15 | RB6/KBI2/PGC — GPIO RB6 / interrupt-on-change KBI2 / ICSP clock |
| Контакт 16 | RB7/KBI3/PGD — GPIO RB7 / interrupt-on-change KBI3 / ICSP data |
| Контакт 17 | RC0/T1OSO/T1CKI — GPIO RC0 / Timer1 oscillator output / Timer1 clock input |
| Контакт 18 | RC1/T1OSI/CCP2 — GPIO RC1 / Timer1 oscillator input / Capture/Compare/PWM 2 |
| Контакт 19 | RC2/CCP1 — GPIO RC2 / Capture/Compare/PWM 1 output |
| Контакт 20 | RC3/SCK/SCL — GPIO RC3 / SPI clock / I2C clock |
| Контакт 21 | RC4/SDI/SDA — GPIO RC4 / SPI data in / I2C data |
| Контакт 22 | RC5/SDO — GPIO RC5 / SPI data out |
| Контакт 23 | RC6/TX/CK — GPIO RC6 / UART transmit / UART clock |
| Контакт 24 | RC7/RX/DT — GPIO RC7 / UART receive / UART data |
| Контакт 25 | RE3/MCLR/VPP — GPIO RE3 (input-only) / Master Clear reset / programming voltage |
| Контакт 26 | AVDD — Analog positive supply voltage (for ADC) |
| Контакт 27 | AVSS — Analog ground reference (for ADC) |
| Контакт 28 | VSS — Ground reference (second ground pin) |
Типичное применение
PIC18F2221T-I/SO подходит для 6 применениеs: Industrial Sensor Interface Board, Small Consumer Appliance Control, USB-to-UART Bridge / Debug Console, Automotive Interior Accessory Module, Battery-Powered Remote Sensor Node, Educational / Hobbyist Embedded Platform.
Industrial Sensor Interface Board
The PIC18F2221T-I/SO is well suited to industrial sensor interface boards because its 10-bit 10-channel ADC lets the MCU read multiple analog sensors (temperature, pressure, level) without an external ADC, while its 25 GPIO pins provide ample headroom for digital sensors, relays, and indicator LEDs. The 40 MHz core delivers 10 MIPS, enough for filtering and linearization routines on multiple channels in real time. The -40C to +85C industrial temperature rating matches factory-floor environments, and the SOIC-28 package simplifies rework on low-volume pilot builds. Place 100 nF and 10 uF decoupling on VDD/AVDD pairs close to the IC, and reserve a 4.7 kohm pull-up on I2C lines. Pairs naturally with MAX485 for RS-485 links.
Рекомендуется
Small Consumer Appliance Control
In small consumer appliances (coffee makers, humidifiers, simple kitchen gadgets), the PIC18F2221T-I/SO provides the right balance of cost, peripheral mix, and code space. The 4 KB Flash accommodates user-interface state machines plus sensor-handling routines, while nanoWatt Technology keeps idle current under 100 nA in standby - critical for mains-powered but energy-conscious appliances. The CCP module generates PWM for TRIAC-driven heater control or brushless-DC fan control, and the integrated UART enables Wi-Fi/Bluetooth module command exchange. The 28-SOIC footprint drops onto single-layer PCBs with hand-solderable pads, reducing BOM cost in a price-sensitive market segment.
Рекомендуется
USB-to-UART Bridge / Debug Console
The PIC18F2221T-I/SO can serve as a generic USB-to-UART or USB-to-SPI bridge when paired with an external USB controller such as the MCP2200 or FT232R, since the MCU's UART/USART supports up to 115.2 kbaud and LIN protocol. The 40 MHz core buffers packets and handles command parsing, while 512 B RAM is adequate for short command frames. Designers benefit from the SOIC-28 footprint for hand-prototyping and from Microchip's free MPLAB X IDE + XC8 toolchain for firmware development. Industrial temperature rating suits field-installable diagnostic tools. Consider this route when you want firmware-side protocol customization that fixed-function USB bridges cannot provide.
Рекомендуется
Automotive Interior Accessory Module
For non-safety automotive interior accessories (ambient lighting controllers, seat-position memory, mirror-adjustment modules), the PIC18F2221T-I/SO offers -40C to +85C operation and CAN/LIN-friendly peripherals that pair with external transceivers such as MCP2551 or MCP2025. The 10-bit ADC reads potentiometers and current shunts, and the PWM module drives LEDs and small DC motors. Tape & Reel packaging is required for high-volume automotive assembly lines. For harsher under-hood or safety-critical modules, migrate to PIC18F2221-E/SO (-40C to +125C) or AEC-Q100-qualified PIC18F K-series parts. Always add ESD protection on external connector pins and follow automotive EMC layout guidelines.
Рекомендуется
Battery-Powered Remote Sensor Node
Battery-powered remote sensor nodes benefit from the PIC18F2221T-I/SO's nanoWatt Technology, which puts the core into Sleep mode at under 100 nA while a low-power Timer1 oscillator runs the wake-up scheduler. The 10-bit ADC samples sensor signals periodically while the I2C/SPI bus interfaces with low-power radios (e.g., sub-1 GHz or BLE modules). 4 KB Flash accommodates simple application logic plus a custom protocol stack. The SOIC-28 footprint is hand-solderable for prototype runs of fewer than 100 units. For ultra-low-power designs, also consider migrating to PIC18F14K50-I/SO which adds native USB but at the cost of higher active current.
Рекомендуется
Educational / Hobbyist Embedded Platform
The PIC18F2221T-I/SO is an excellent teaching platform because the PIC18 instruction set has only 77 single-word instructions, the 4 KB Flash fits a complete introductory program set (GPIO, timers, ADC, UART), and the SOIC-28 footprint survives breadboard-friendly breakout boards. Universities and hobbyists benefit from the free MPLAB X IDE, XC8 compiler, and Microchip's PICkit programmer/debugger support. The 10 MIPS throughput is enough for real-time PWM demos, while the industrial temperature rating lets student projects run outdoors. Recommended starter peripheral set: potentiometer on AN0, LED on RC0, push-button on RB0, and UART to PC terminal.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F2221T-I/SO — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18F2221-I/SO | PIC18F2221-E/SO | PIC18F2520-I/SO | PIC18F2420-I/SO | PIC18F2321-I/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (0.295 inch) | 28-SOIC (0.295 inch) - same | 28-SOIC (0.295 inch) - same | 28-SOIC (0.295 inch) - same | 28-SOIC (0.295 inch) - same | 28-SOIC (0.295 inch) - same |
| Program Memory (Flash) | 4 KB | 4 KB | 4 KB | 32 KB | 16 KB | 8 KB |
| Data SRAM | 512 B | 512 B | 512 B | 1536 B | 768 B | 512 B |
| CPU Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C |
| ADC | 10-bit, 10 channels | 10-bit, 10 channels | 10-bit, 10 channels | 10-bit, 8 channels | 10-bit, 10 channels | 10-bit, 10 channels |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 25 |
| Packaging Form | Tape & Reel | Tube | Tube | Tube | Tube | Tube |
Ключевые отличия
- Highest pin-compatible Flash upgrade within SOIC-28 (против PIC18F2520-I/SO)
- Industrial temperature standard, automotive-friendly upgrade path (против PIC18F2221-E/SO)
- Industry-standard SOIC-28 vs space-saving QFN (против PIC18F2221T-I/ML)
Заметки по проектированию
Provide separate analog and digital supply rails (AVDD/AVSS and VDD/VSS) for ADC accuracy, with both pairs decoupled by 100 nF ceramic capacitors placed within 5 mm of the IC pins, and a common-mode ferrite bead between AVDD and VDD if switching noise is present on the digital rail. The PIC18F2221's nanoWatt Technology can drop supply current below 100 nA in Sleep mode when the system clock is gated off, but Timer1 can continue running from its low-power 32 kHz crystal to wake the CPU periodically.
Place the 28-SOIC package with its long axis along the dominant signal flow direction to simplify trace routing. Use a continuous ground plane on the bottom layer to provide a low-impedance return path for the high-frequency signals generated by SPI at 10 MHz and the UART at high baud rates. Reserve an unbroken copper pour under the IC's body to improve thermal dissipation, especially when running at 40 MHz full clock with all peripherals active. Avoid routing noisy switching traces (PWM, TRIAC drivers) directly under the analog pins to minimize crosstalk into the ADC.
Do not leave the MCLR pin (pin 25) floating - it must be pulled high through a 10 kohm resistor to VDD or driven by the ICSP programmer; a floating MCLR causes erratic resets and ICSP failure. When using the internal oscillator, configure the OSCCON register for the correct frequency (8 MHz, 4 MHz, 2 MHz, 1 MHz, 500 kHz, 250 kHz, 125 kHz) before any timing-critical peripheral is initialized. The RB5/PGM pin doubles as the low-voltage programming (LVP) enable; if you do not need LVP, disable it in the configuration bits to free RB5 as a general-purpose I/O.
Информация о соответствии
RoHS and REACH compliance confirmed by Microchip product page and DigiKey/Mouser listings as of 2026-09-26. Not AEC-Q100 qualified; for AEC-Q100 automotive applications, migrate to PIC18F K-series parts.