PIC18F04Q40-I/SL - 8-bit MCU 64MHz 16KB Flash 14-SOIC | Microchip
Артикул: PIC18F04Q40-I/SL ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $1.1 | $1,10 |
| 10 | $1.04 | $10,40 |
| 100 | $0.93 | $93,00 |
| 500 | $0.82 | $410,00 |
| 1.000 | $0.74 | $740,00 |
PIC18F04Q40-I/SL Обзор
A PIC microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory, RAM, EEPROM, peripherals and I/O on one die. PIC18 devices use an enhanced 8-bit Harvard RISC architecture with 16-bit instructions, sitting in the Microchip taxonomy between PIC16 mid-range parts and PIC24/dsPIC 16-bit devices. The PIC18-Q40 sub-family targets space-constrained IoT, medical and industrial designs that need higher analog integration than PIC16 provides but do not require dsPIC DSP performance.
Key features of the PIC18F04Q40-I/SL include a 12-bit ADC with Computation (ADCC) that automates Capacitive Voltage Divider (CVD) techniques for advanced capacitive touch, averaging, filtering, oversampling and threshold comparison; two independent 8-bit DAC modules; a 16-bit Pulse-Width Modulation (PWM) peripheral with dual independent outputs on the same time base; and multiple communication interfaces (UART with LIN/DMX/DALI support, SPI and I2C). The 14-SOIC package exposes up to 12 I/O pins, the device runs from 1.8 V to 5.5 V, and integrated Core Independent Peripherals (CIPs) such as configurable logic cells and signal measurement timers offload tasks from the core.
Architecturally, the part uses Microchip's enhanced mid-range PIC18 core with a 31-level hardware stack, single-cycle 8x8 hardware multiplier and a four-phase PLL that doubles an internal 32 MHz oscillator to 64 MHz. The 12-bit ADCC can sample at hundreds of ksps while running automated post-processing, reducing firmware burden for touch and sensor applications. Vectored interrupts with fixed latency and a system bus arbiter with DMA capabilities keep real-time control loops deterministic.
Typical applications include capacitive touch user interfaces, LED driving with the 16-bit PWM, low-cost sensor nodes for IoT, battery-powered medical wearables, and small industrial control boards. The PIC18F04Q40-I/SL is well suited when a system needs touch sensing, an integrated DAC for set-point generation, and fast deterministic control loops in a 14-pin outline.
When designing with this MCU, plan for an external decoupling capacitor on VDD and reserve the ICSP/ICD pins (typically RA0/RA1) for in-circuit programming. The ADCC's CVD touch library from Microchip streamlines capacitive button and slider implementation but requires careful PCB guard layout to avoid false triggers. The MCU's nanoWatt XLP technology extends sleep current well below 1 uA for battery applications.
This page synthesizes distributor pricing, drop-in package-compatible alternatives from the same PIC18-Q40 family, and practical design notes not found in the standalone manufacturer datasheet, helping procurement and embedded engineers select, qualify and source the PIC18F04Q40-I/SL efficiently.
Аналоги без доработки для PIC18F04Q40-I/SL — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F04Q40-I/SL (тот же форм-фактор и посадочное место) — отличается по PWM, Package, ADC, DAC, Core Architecture.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18F05Q40-I/SL
✅ Прямая замена✓ В наличии
$0.78 / шт.
Открыть даташит →PIC18F15Q40-I/SL
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F04Q40-I/ST
✅ Прямая замена✓ В наличии
$0.82 / шт.
Открыть даташит →PIC18F04Q40T-I/SL
✅ Прямая замена✓ В наличии
$0.45 / шт.
Открыть даташит →PIC18F04Q40-E/SL
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F04Q40-I/P
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F04Q40-I/SL Максимальные параметры и электрические характеристики
| Family | PIC18-Q40 |
| Core Architecture | PIC18 enhanced 8-bit Harvard RISC |
| Program Memory (Flash) | 16 KB (16K x 8) |
| SRAM | 1 KB |
| EEPROM | 512 bytes |
| Maximum CPU Speed | 64 MHz |
| Operating Voltage Range | 1.8 V to 5.5 V |
| ADC | 12-bit with Computation (ADCC) |
| DAC | 2 x 8-bit |
| PWM | 16-bit, dual independent outputs |
| I/O Pins | Up to 12 |
| Корпус | 14-SOIC (SL) 3.9 mm body width |
| Рабочая температура | -40 °C to +85 °C (Industrial -I grade) |
| Communication Interfaces | UART (LIN/DMX/DALI), SPI, I2C |
| Тип монтажа | Surface Mount |
| Статус RoHS | Compliant |
Конфигурация выводов PIC18F04Q40-I/SL
| Контакт 1 | RA5 — I/O port A bit 5 / ICSP data |
| Контакт 2 | RA4 — I/O port A bit 4 |
| Контакт 3 | RA3 — I/O port A bit 3 / MCLR |
| Контакт 4 | RA2 — I/O port A bit 2 |
| Контакт 5 | RA1 — I/O port A bit 1 / ICSP clock |
| Контакт 6 | RA0 — I/O port A bit 0 |
| Контакт 7 | VSS — Ground reference |
| Контакт 8 | VDD — Positive supply (1.8 V to 5.5 V) |
| Контакт 9 | RB7 — I/O port B bit 7 |
| Контакт 10 | RB6 — I/O port B bit 6 |
| Контакт 11 | RB5 — I/O port B bit 5 |
| Контакт 12 | RB4 — I/O port B bit 4 |
| Контакт 13 | RC2 — I/O port C bit 2 |
| Контакт 14 | RC1 — I/O port C bit 1 |
Типичное применение
PIC18F04Q40-I/SL подходит для 6 применениеs: Capacitive Touch User Interface, Battery-Powered IoT Sensor Node, Precision LED Lighting and PWM Control, Industrial Control and Small Motor Drive, Medical Wearable and Portable Health Device, Automotive LIN Bus Sub-Node.
Capacitive Touch User Interface
The PIC18F04Q40-I/SL's 12-bit ADCC with Capacitive Voltage Divider (CVD) acquisition is purpose-built for capacitive touch user interfaces such as appliance front panels, dimmer switches and IoT control surfaces. The CVD peripheral automates scanning, averaging, oversampling and threshold comparison across up to 12 I/O pins, so a 4-to-8 button panel plus a slider can be implemented in a 14-SOIC with no external analog components. The 64 MHz core and the 16-bit PWM driving an LED indicator deliver instant feedback without an external touch controller. Pair this MCU with Microchip's mTouch CVD library, which provides validated firmware baselines and PCB guard-ring layout notes that reduce false triggers in noisy environments.
Рекомендуется
Battery-Powered IoT Sensor Node
Battery-powered IoT sensor nodes benefit from the PIC18F04Q40-I/SL's nanoWatt XLP technology, 1.8 V minimum supply and integrated 12-bit ADCC. The MCU can sleep at sub-1 uA between sensor reads, wake from ADCC threshold events or an interrupt, sample temperature, voltage or analog sensors and transmit via UART/SPI/I2C. Operating down to 1.8 V lets a single Li-ion or LiMnO2 cell run to cutoff without a boost converter, simplifying the power tree. The 16 KB Flash holds a complete application image with a small RTOS or state-machine firmware, while DMA offloads peripheral housekeeping to extend battery life.
Рекомендуется
Precision LED Lighting and PWM Control
LED lighting and color-mixing designs use the PIC18F04Q40-I/SL's 16-bit PWM with dual independent outputs on the same time base to drive RGB or tunable-white LED strings with sub-microsecond resolution. The two integrated 8-bit DACs generate analog set-points for dimming profiles or analog drivers, while the 12-bit ADCC closes the loop with photodiode feedback for constant-lumen output. Operating at 64 MHz gives ample headroom for DMX, DALI or LIN lighting-protocol stacks handled by the UART peripheral, all in a 14-pin SOIC that fits inside a small driver can.
Рекомендуется
Industrial Control and Small Motor Drive
Small industrial control boards and low-power motor drives rely on the PIC18F04Q40-I/SL's deterministic vectored interrupts, 16-bit PWM with complementary outputs and 12-bit ADCC. The MCU can run a brushed-DC or stepper control loop with current-sense feedback through the ADCC, while the PWM generates the drive waveforms with adjustable dead-band. Industrial -40 to +85 °C operation, integrated EEPROM for parameter storage and the system's DMA-capable bus arbiter keep response time consistent. A 14-SOIC footprint drops directly onto small actuator and valve-control PCBs.
Рекомендуется
Medical Wearable and Portable Health Device
The PIC18F04Q40-I/SL suits medical wearables and portable health devices thanks to its low-voltage operation, sub-1 uA XLP sleep modes and integrated analog front end. The 12-bit ADCC digitizes pulse-oximeter or heart-rate sensor outputs, the 8-bit DACs bias analog signal-conditioning chains, and the UART/LIN peripheral streams data over a Bluetooth HCI link to an external radio. The 14-pin SOIC and small BOM enable miniaturized form factors like fingertip SpO2 probes, ingestible sensors and adhesive patch monitors.
Рекомендуется
Automotive LIN Bus Sub-Node
Automotive LIN bus sub-nodes benefit from the PIC18F04Q40-I/SL's hardware UART with LIN 2.x support, the 12-bit ADCC for sensor conditioning and the -40 to +85 °C industrial temperature range (with the PIC18F04Q40-E/SL extended variant reaching +125 °C for under-hood zones). The 16-bit PWM drives small actuators such as HVAC flap motors and LED backlights, while the dual 8-bit DACs generate set-points for analog sensor emulation. LIN slave firmware fits comfortably in 16 KB Flash, and the 14-SOIC outline fits inside connector-integrated mechatronic modules.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F04Q40-I/SL — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18F05Q40-I/SL | PIC18F15Q40-I/SL | PIC18F04Q40-I/ST | PIC18F04Q40-E/SL |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 14-SOIC (SL) | 14-SOIC (SL) - same | 14-SOIC (SL) - same | 14-TSSOP (ST) | 14-SOIC (SL) - same |
| Flash Program Memory | 16 KB | 32 KB | 32 KB | 16 KB | 16 KB |
| SRAM | 1 KB | 2 KB | 2 KB | 1 KB | 1 KB |
| EEPROM | 512 B | 512 B | 512 B | 512 B | 512 B |
| Maximum CPU Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Temperature | -40 to +85 °C | -40 to +85 °C | -40 to +85 °C | -40 to +85 °C | -40 to +125 °C |
| ADC / DAC / PWM | 12-bit ADCC / 2x8-bit DAC / 16-bit PWM | 12-bit ADCC / 2x8-bit DAC / 16-bit PWM | 12-bit ADCC / 2x8-bit DAC / 16-bit PWM | 12-bit ADCC / 2x8-bit DAC / 16-bit PWM | 12-bit ADCC / 2x8-bit DAC / 16-bit PWM |
Ключевые отличия
- Integrated 12-bit ADCC with CVD automation in a 14-pin SOIC (против PIC16F18325-I/SL (PIC16 baseline with 10-bit ADC and no CVD))
- 16-bit PWM with dual independent outputs and DMA-capable peripheral architecture (против PIC18F24K22-I/SSVAO (older PIC18F K22 family, 10-bit PWM only))
- UART with LIN/DMX/DALI hardware support for lighting and automotive protocols (против ATMEGA328P-AUR (Atmel AVR with basic UART, no LIN hardware support))
Заметки по проектированию
Place a 100 nF X7R decoupling capacitor within 3 mm of the VDD pin (pin 8) and a bulk 10 uF tantalum or ceramic capacitor on the same node. The PIC18F04Q40-I/SL draws brief current spikes during ADCC acquisition and CVD charge-transfer events; tight decoupling prevents VDD droop that could reset the part. For battery applications, route VDD through a ferrite bead to isolate analog-noise-sensitive circuits from the MCU digital rail.
When using the ADCC for capacitive touch sensing, surround each touch pad with a hatched ground guard trace, and connect the guard back to a quiet MCU ground pin (VSS, pin 7) rather than noisy digital ground. Keep the touch pad traces short (under 50 mm) and avoid running them parallel to high-current PWM signals from pin 9-14. Add a 2-3 mm air gap between touch electrodes to avoid false coupling; Microchip's mTouch CVD design guide shows recommended pad geometries for 1.5-2.5 mm cover glass.
Reserve pins RA0 (pin 6) and RA1 (pin 5) for ICSP programming - do not place low-impedance loads on these pins in production hardware, or the in-circuit debugger will be unable to drive them during programming. Also leave the MCLR pin (RA3, pin 3) accessible with a 10 kohm pull-up to VDD, or use the internal MCLR fuse but provide an external ICSP connector footprint. Forgetting this is the most common reason production boards fail programming after final assembly.
If the PIC18F04Q40-I/SL drives external signals through pins RB4-RB7 (pins 9-12), keep traces short (<25 mm) or add 33 ohm series resistors to dampen reflections. The 64 MHz core produces 16 ns edges that are fast enough to couple into nearby analog traces; maintain at least 3 mm spacing between digital traces and the ADCC inputs (shared with port A pins). Use a guard ring around the ADCC input traces tied to quiet analog ground.
Информация о соответствии
RoHS and lead-free per Microchip product page; AEC-Q100 qualification applies only to the PIC18F-Q40 automotive variants with the -VAO suffix; halogen-free status not stated in the verified data.