PIC18F06Q40-I/ST - 64KB Flash 8-bit MCU | Microchip | TSSOP-14
MPN: PIC18F06Q40-I/ST ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.49 | $1.49 |
| 10 | $1.36 | $13.60 |
| 100 | $1.18 | $118.00 |
| 500 | $1.02 | $510.00 |
| 1,000 | $0.91 | $910.00 |
| 3,000 | $0.84 | $2,520.00 |
PIC18F06Q40-I/ST Overview
A microcontroller (MCU) is a single-chip computer containing a CPU, memory (Flash/SRAM/EEPROM), and programmable peripherals. The PIC18 architecture belongs to the Modified Harvard 8-bit RISC family and sits within the broader category of embedded microcontrollers. The PIC18-Q40 sub-family specifically targets real-time control and sensor-interface applications by integrating analog peripherals, math accelerators, and CIPs that reduce CPU overhead and BOM cost. The 14-pin TSSOP package places this part in the small-outline surface-mount family, suitable for compact sensor nodes and space-constrained designs.
Key differentiating features include the ADC^2 engine (automated oversampling, averaging, and threshold-comparison), two CLC blocks that let designers wire digital logic from on-chip peripherals without external glue, and a 32-bit CRC with memory scan for safety-critical firmware integrity checks. Communication options include I2C, SPI, UART with LIN support, and configurable IO. The on-chip 8-bit DACs and op-amp modules are useful for sensor excitation and bias generation.
The device is designed for deterministic real-time control. Its interrupt structure supports hardware-priority levels, allowing time-critical peripheral events to preempt the main loop. The 16 MIPS throughput, combined with the CWG and PWM modules, suits motor, lighting, and switched-mode power control loops, while the ADC^2 reduces software complexity for sensor fusion.
Typical applications include IoT sensor nodes, home-automation peripherals, battery chargers, LED lighting controllers, low-end BLDC fan drivers, small appliance control boards, and HVAC sensor interfaces. Automotive-grade variants (PIC18F06Q40-E/ST) are available for under-hood and cabin electronics requiring higher temperature tolerance.
When designing with this MCU, reserve the ADC channels first, since the 14-pin TSSOP exposes a limited number of dedicated analog pins. Use the internal FVR as the ADC reference to reduce external component count, and verify interrupt priorities against your real-time deadline budget before locking the firmware architecture.
This page synthesizes distributor pricing across multiple sources, pin-compatible drop-in alternatives from the same PIC18-Q40 family, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC18F06Q40-I/ST — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18F06Q40-I/ST (same form factor and footprint) — differing in ADC, DAC, Program Memory (Flash), Operating Temperature, Package.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F06Q40-E/ST
✅ Drop-In✓ In Stock
$0.81 / Unit
View Datasheet →PIC18F05Q40-I/ST
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F05Q41T-I/ST
✅ Drop-In✓ In Stock
$0.74 / Unit
View Datasheet →PIC18F05Q40T-I/ST
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC18F05Q41-E/ST
✅ Drop-In✓ In Stock
$0.72 / Unit
View Datasheet →PIC18F04Q40-I/ST
✅ Drop-In✓ In Stock
$0.82 / Unit
View Datasheet →PIC18F05Q40-E/ST
✅ Drop-In✓ In Stock
$0.98 / Unit
View Datasheet →PIC18F06Q40-I/ST Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit Enhanced Mid-range |
| Maximum CPU Frequency | 64 MHz |
| Performance (MIPS) | 16 MIPS |
| Program Memory (Flash) | 64 KB |
| SRAM | 4 KB |
| EEPROM | 512 B |
| Operating Voltage Range | 1.8 V to 5.5 V |
| ADC | 12-bit ADC with Computation (ADC^2) |
| DAC | 2 x 8-bit DAC |
| Package | 14-pin TSSOP (ST) |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +85C (Industrial) |
| Communication Interfaces | I2C, SPI, UART (LIN-capable) |
| Core Independent Peripherals | CLC, CWG, NCO, CRC/Scan |
| RoHS Status | Compliant |
| Lead-Free | Yes (per distributor listings) |
PIC18F06Q40-I/ST Pin Configuration
| Pin 1 | RA2/AN2 — Digital IO RA2 / Analog input AN2 |
| Pin 2 | RA3/AN3 — Digital IO RA3 / Analog input AN3 |
| Pin 3 | RA4/AN4 — Digital IO RA4 / Analog input AN4 |
| Pin 4 | RA5/MCLR — Digital IO RA5 / Master Clear (reset) input |
| Pin 5 | VDD — Positive supply voltage |
| Pin 6 | VSS — Ground reference |
| Pin 7 | RA1/AN1 — Digital IO RA1 / Analog input AN1 |
| Pin 8 | RA0/AN0 — Digital IO RA0 / Analog input AN0 |
| Pin 9 | RC5 — Digital IO RC5 |
| Pin 10 | RC4 — Digital IO RC4 |
| Pin 11 | RC3 — Digital IO RC3 |
| Pin 12 | RC2 — Digital IO RC2 |
| Pin 13 | RC1 — Digital IO RC1 |
| Pin 14 | RC0 — Digital IO RC0 |
Typical Applications
PIC18F06Q40-I/ST is suitable for 6 applications: IoT Sensor Nodes, Home-Automation Peripherals, LED Lighting Controllers, Battery Chargers and Power Management, Low-End BLDC Fan Drivers, Small Appliance and HVAC Sensor Interfaces.
IoT Sensor Nodes
The PIC18F06Q40-I/ST suits IoT sensor nodes because its 1.8 V to 5.5 V supply range covers single-cell Li-Ion (3.7 V nominal) and legacy 5 V sensor rails without level shifters. The 12-bit ADC^2 engine with automated oversampling and threshold-comparison offloads signal conditioning from the CPU, while the CLC and NCO Core Independent Peripherals let the MCU sleep while peripherals handle I/O in hardware - directly improving battery life. With 64 KB Flash, designers can host a small BLE/Wi-Fi stack plus a sensor-fusion loop. Compared with discrete ADC plus MCU solutions, the integrated ADC^2 + CIP approach reduces BOM cost and PCB area in a 14-pin TSSOP footprint.
Recommended
Home-Automation Peripherals
For smart switches, occupancy sensors, and HVAC peripherals, the PIC18F06Q40-I/ST offers a 14-pin TSSOP footprint that fits behind a wall plate or inside a small sensor housing. The 12-bit ADC^2 supports accurate thermistor, LDR, or PIR conditioning, while the UART (LIN-capable) and I2C simplify comms with host radios. The CWG module can directly drive a TRIAC for dimmer control without external logic. Compared with a discrete op-amp plus comparator design, the on-chip CLC and 8-bit DACs eliminate glue logic and reduce PCB complexity for low-cost home-automation products.
Recommended
LED Lighting Controllers
The PIC18F06Q40-I/ST works as an LED lighting controller by leveraging the Complementary Waveform Generator (CWG) for hardware-driven dimming and the on-chip 8-bit DACs for analog intensity trim. At 16 MIPS, the PIC18 core easily handles DMX-like or wireless lighting protocols, while the CLC block can implement fault-protection logic in hardware without CPU intervention. The 64 KB Flash holds protocol stacks plus color-mixing tables. Compared with a PWM-only timer solution, the CWG + CLC approach reduces firmware burden and improves flicker performance in dimmable luminaires.
Recommended
Battery Chargers and Power Management
The PIC18F06Q40-I/ST handles battery-charger CC/CV control loops using its on-chip 12-bit ADC^2 for accurate current/voltage sensing and the 8-bit DACs for reference generation. The CLC can implement hysteretic comparator behavior in hardware, offloading the charge-loop timing from the CPU. With 1.8 V-5.5 V operation and TSSOP-14 packaging, the device fits into compact charger modules for Li-Ion, NiMH, or lead-acid packs. Compared with a discrete op-amp + comparator charger, the integrated ADC^2 + CLC solution improves accuracy while reducing external component count.
Recommended
Low-End BLDC Fan Drivers
The PIC18F06Q40-I/ST drives low-end BLDC fan motors using its CWG for commutation timing, the NCO for precise speed references, and the 12-bit ADC for back-EMF sensing. The hardware CLC block implements sensorless startup ramps without CPU latency. With 64 KB Flash, firmware can store multiple fan-control curves and acoustic profiles. Compared with discrete gate-driver + op-amp BLDC solutions, this integrated MCU approach shrinks the BOM to one IC plus a half-bridge for low-wattage fan and pump designs.
Recommended
Small Appliance and HVAC Sensor Interfaces
The PIC18F06Q40-I/ST fits small-appliance and HVAC sensor-interface boards by combining 64 KB Flash for protocol stacks (Modbus, LIN, UART-based HVAC buses) with the ADC^2 engine for temperature/pressure sensor reading. The CLC and CRC/Scan peripherals improve firmware robustness for safety-critical appliances. The 14-pin TSSOP footprint and 1.8 V-5.5 V supply permit integration into space-constrained appliance control panels. Compared with a separate sensor AFE + MCU, the integrated ADC^2 + CIP architecture simplifies PCB layout and reduces total BOM cost for volume HVAC and appliance designs.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F06Q40-I/ST — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F06Q40-E/ST | PIC18F05Q40-I/ST | PIC18F05Q41T-I/ST | PIC18F04Q40-I/ST | PIC18F05Q40-E/ST |
|---|---|---|---|---|---|---|
| Package | 14-pin TSSOP (ST) | 14-pin TSSOP (ST) | 14-pin TSSOP (ST) | 14-pin TSSOP (ST) | 14-pin TSSOP (ST) | 14-pin TSSOP (ST) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 64 KB | 64 KB | 32 KB | 32 KB | 16 KB | 32 KB |
| SRAM | 4 KB | 4 KB | 4 KB | 4 KB | 4 KB | 4 KB |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) |
| Maximum CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| ADC | 12-bit ADC^2 | 12-bit ADC^2 | 12-bit ADC^2 | 12-bit ADC^2 | 12-bit ADC^2 | 12-bit ADC^2 |
| DAC | 2 x 8-bit | 2 x 8-bit | 2 x 8-bit | 2 x 8-bit | 2 x 8-bit | 2 x 8-bit |
| 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 | 1.8 V to 5.5 V |
| Unit Price (qty 1, USD) | 1.49 | 1.55 (estimated) | 1.30 (estimated) | 1.35 (estimated) | 1.20 (estimated) | 1.35 (estimated) |
Key Differentiators
- Highest Flash density in PIC18-Q40 TSSOP-14 family (vs PIC18F05Q40-I/ST)
- Industrial temperature grade at lower price than E/ST variant (vs PIC18F06Q40-E/ST)
- Direct TSSOP-14 pin compatibility across all PIC18-Q40 memory tiers (vs PIC18F04Q40-I/ST)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 5) and a bulk capacitor (>= 1 uF) on the same supply trace to suppress switching transients from internal core transitions. Estimated: at 64 MHz with all peripherals active, the supply current peaks approach 15 mA; at 1 MHz sleep plus ADC sampling, expect under 1 mA. The PIC18F06Q40-I/ST supports 1.8 V to 5.5 V operation, but core frequency scales with VDD - verify VDD >= 2.5 V before clocking above 32 MHz per the datasheet's frequency-vs-voltage curve.
Keep the MCLR/RA5 pin (pin 4) trace short to minimize noise pickup on the reset line; place a 10 kohm pull-up to VDD and a 100 nF cap to ground if hardware reset is required. Route analog signals (RA0-RA4) away from digital switching traces and place a ground pour under the TSSOP-14 footprint to reduce ADC crosstalk. The 14-pin TSSOP package's small thermal pad footprint makes it easy to keep analog ground and digital ground separated with a single-point tie near VSS (pin 6).
Do not exceed 5.5 V on any IO pin, even briefly, or the ESD clamp diodes will forward-bias. The TSSOP-14 package exposes only 6 PORTA pins and 6 PORTC pins; if your design needs more IO, migrate to a 20-pin PIC18F16Q40 variant rather than multiplexing critical peripherals. The ADC^2 hardware averaging requires the FVR (Fixed Voltage Reference) to be enabled and stable before triggering conversions - failing to wait the FVR ready flag causes spurious first-sample readings. Lastly, the on-chip DAC outputs are 8-bit and require an external buffer op-amp for low-impedance loads.
Compliance Information
RoHS compliant per DigiKey and Lisleapex distributor listings as of 2026-09-26. Lead-free per Microchip standard packaging. Halogen-free status not explicitly stated in retrieved data. AEC-Q100 not applicable - choose PIC18F06Q40-E/ST for harsher environments but AEC-Q100 automotive qualification is not implied.