PIC18F06Q40-E/ST - 64KB Flash 8-bit MCU, 14-TSSOP | Microchip
MPN: PIC18F06Q40-E/ST ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.62 | $1.62 |
| 10 | $1.46 | $14.60 |
| 100 | $1.21 | $121.00 |
| 500 | $1.05 | $525.00 |
| 1,000 | $0.92 | $920.00 |
| 2,500 | $0.81 | $2,025.00 |
PIC18F06Q40-E/ST Overview
What is a PIC18 microcontroller? The PIC18 family is Microchip's high-performance 8-bit microcontroller line, succeeding the PIC16 architecture with enhanced instruction set, larger memory addressing, and richer peripherals. PIC18F06Q40 belongs to the PIC18-Q40 sub-family, which targets space-constrained IoT, medical, and industrial designs by combining the legacy PIC18 core with modern CIPs. Within the broader taxonomy, PIC18 MCUs sit alongside PIC16 (mid-range) and PIC24/dsPIC (16-bit) families as foundational building blocks for embedded control.
Key features include 64 KB self-programmable Flash, 4 KB SRAM, 512 bytes EEPROM, an internal 64 MHz oscillator, and a wide 1.8V to 5.5V operating voltage. The 12-bit ADC with Computation supports up to 200 ksps conversion rate with automated post-processing (averaging, oversampling, threshold comparison) that offloads CPU work. Two 8-bit DACs, configurable PWM, CWG, SMT, and UART/SPI/I2C peripherals round out the integration. Peripherals such as the Configurable Logic Cell (CLC) and Peripheral Pin Select (PPS) provide flexible signal routing at runtime.
The PIC18F06Q40-E/ST uses the enhanced mid-range PIC18 core with a 16-bit instruction word and a 31-level hardware stack, executing most instructions in one instruction cycle (4 clock cycles). Its internal voltage regulator and high-frequency oscillator (HFINTOSC up to 64 MHz) simplify BOM by eliminating external clock components. The 14-pin TSSOP package keeps the design footprint under 30 mm².
Typical applications include sensor conditioning, motor control loops, IoT edge nodes, LED lighting drivers, and consumer white goods. The combination of small package, accurate ADC, and built-in DACs makes the device especially suitable for closed-loop control in industrial sensor modules.
When designing, leverage MPLAB X IDE with XC8 compiler for code development. Use Microchip's MPLAB Code Configurator (MCC) to initialize CIPs graphically and minimize firmware overhead. Confirm that the E temperature grade (-40C to +125C) matches your deployment environment; the -I grade offers 0C to +85C only.
This page synthesizes distributor pricing, drop-in pin-compatible alternatives, and application notes not found in the manufacturer datasheet alone, giving procurement and embedded engineers a single reference for the PIC18F06Q40-E/ST.
Drop-in alternatives for PIC18F06Q40-E/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-E/ST (same form factor and footprint) — differing in Package, ADC, PWM, Program Memory (Flash), Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F05Q40-E/ST
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$0.98 / Unit
View Datasheet →PIC18F05Q41-E/ST
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$0.72 / Unit
View Datasheet →PIC18F04Q40-E/ST
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F05Q40T-I/ST
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC18F05Q41T-I/ST
✅ Drop-In✓ In Stock
$0.74 / Unit
View Datasheet →PIC18F04Q41-E/SL
✅ Drop-In✓ In Stock
$0.79 / Unit
View Datasheet →PIC18F06Q40-E/ST Maximum Ratings & Electrical Characteristics
| Core | PIC18 enhanced mid-range 8-bit |
| CPU Speed | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 64 KB |
| SRAM | 4 KB |
| EEPROM | 512 B |
| Operating Voltage | 1.8 V to 5.5 V |
| ADC | 12-bit, with Computation (ADC2) |
| DAC | 2 x 8-bit |
| PWM | 16-bit, multiple channels |
| I/O Pins | 12 (in 14-pin package) |
| Package | 14-TSSOP |
| Operating Temperature | -40C to +125C (E grade) |
| Mounting Type | Surface Mount |
| MSL Level | 1 (per Microchip datasheet) |
| RoHS Status | Compliant |
PIC18F06Q40-E/ST Pin Configuration
| Pin 1 | RA5 — Bidirectional I/O with ICSPCLK |
| Pin 2 | RA4 — Bidirectional I/O with T0CKI |
| Pin 3 | RA3 — Bidirectional I/O with VPP/MCLR |
| Pin 4 | RA2 — Bidirectional I/O with ADC and DAC reference |
| Pin 5 | RA1 — Bidirectional I/O with ADC and DAC output 1 |
| Pin 6 | RA0 — Bidirectional I/O with ADC and DAC output 0 |
| Pin 7 | VSS — Ground reference |
| Pin 8 | RC5 — Bidirectional I/O with PWM output |
| Pin 9 | RC4 — Bidirectional I/O with SMBus I2C |
| Pin 10 | RC3 — Bidirectional I/O with SCL |
| Pin 11 | RC2 — Bidirectional I/O with SDA |
| Pin 12 | RC1 — Bidirectional I/O with PWM output |
| Pin 13 | RC0 — Bidirectional I/O with SOSCO crystal output |
| Pin 14 | VDD — Positive supply voltage (1.8V to 5.5V) |
Typical Applications
PIC18F06Q40-E/ST is suitable for 6 applications: Sensor Signal Conditioning Module, BLDC Motor Control Loop, IoT Edge Sensor Node, LED Lighting Driver Controller, Battery Management Unit (BMU), Industrial Control Module.
Sensor Signal Conditioning Module
The PIC18F06Q40-E/ST is well suited for analog sensor signal conditioning thanks to its 12-bit ADC2 with Computation feature. The ADC2 supports up to 200 ksps conversion rate with automated oversampling, averaging, and threshold-based interrupt generation, reducing firmware load on the 8-bit CPU. Paired with two 8-bit DACs for excitation or trimming, the device can condition signals from strain gauges, thermocouples, or photo sensors while leaving the 64 MHz CPU free to communicate via I2C/SPI to a host. The 14-TSSOP footprint fits in dense sensor modules under 30 mm squared, and the E grade handles industrial environments from -40C to +125C without thermal derating. Internal voltage reference and 1.8V to 5.5V VDD enable direct interface to 3.3V and 5V sensor rails.
Recommended
BLDC Motor Control Loop
For closed-loop motor control, the PIC18F06Q40-E/ST provides 16-bit PWM with complementary outputs and dead-band control, ideal for small brushless DC motor drivers. The CWG (Complementary Waveform Generator) and PWM channels synchronize with the ADC2 to implement field-oriented control (FOC) entry points or trapezoidal commutation. Despite being an 8-bit core, the 64 MHz CPU delivers 16 MIPS, sufficient for low-speed FOC loops or stepper sequencing. The two 8-bit DACs can set bias points for op-amp current sensing channels. Operating voltage up to 5.5V tolerates industrial 24V bus rails via local 5V regulation, and the -40C to +125C operating range suits automotive and industrial motor modules.
Recommended
IoT Edge Sensor Node
The PIC18F06Q40-E/ST serves as an ultra-low-power IoT edge node for battery-powered deployments, integrating sensor reading, local processing, and serial communication. The 12-bit ADC2 and built-in DACs handle analog sensing directly, while the 4 KB SRAM supports small protocol stacks. The CIPs (CLC, SMT, PPS) enable hardware-based sensor event detection with the CPU asleep, waking only on threshold crossings via interrupt. With VDD down to 1.8V, the device runs from a single Li-ion cell or 2x AA batteries. The 14-TSSOP package keeps the BOM compact for shrink-fit designs. Connect via UART, SPI, or I2C to a Wi-Fi or BLE module such as the ATWINC1500 or RN4870.
Recommended
LED Lighting Driver Controller
In LED lighting drivers, the PIC18F06Q40-E/ST provides multi-channel PWM control with 16-bit resolution for smooth dimming and color mixing. Its 16-bit PWM with dead-band control can drive both analog LED strings and digital LED chains via SPI. The ADC2 monitors voltage and current feedback from the LED array, while the 8-bit DACs set reference levels for current-mode drivers. The wide 1.8V to 5.5V VDD range allows direct connection to 3.3V or 5V LED driver rails. Operating from -40C to +125C, the E grade suits outdoor and architectural LED fixtures. The 14-TSSOP footprint minimizes PCB area in compact linear or architectural fixtures.
Recommended
Battery Management Unit (BMU)
The PIC18F06Q40-E/ST fits as the controller core in small battery management units for 1S to 4S Li-ion packs. Its 12-bit ADC2 reads individual cell voltages with hardware averaging, while the 8-bit DACs control reference thresholds for over-voltage and under-voltage protection comparators. The 64 KB Flash supports state-machine firmware for charge profiles (CC-CV, pulse) used in chargers and power banks. UART/SPI interfaces connect to fuel gauge ICs or host MCUs for telemetry. The 4 KB SRAM buffers telemetry data between reads. With E grade temperature range of -40C to +125C, the device operates in automotive battery management applications under hood or in portable power tool packs.
Recommended
Industrial Control Module
Industrial control modules benefit from the PIC18F06Q40-E/ST's extended -40C to +125C operating range, robust 5.5V VDD tolerance, and CIP-rich architecture. The device handles analog signal acquisition from PLC-style modules via 12-bit ADC2, executes deterministic control loops on the 64 MHz PIC18 core, and communicates with fieldbus networks via UART/SPI bridges. The two 8-bit DACs generate analog output signals for valve or motor references, while the 16-bit PWM drives proportional solenoids or heaters. PPS (Peripheral Pin Select) provides flexible pin mapping for dense PCB layouts. The 14-TSSOP package supports compact DIN-rail module designs where space is at a premium.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F06Q40-E/ST — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F05Q40-E/ST | PIC18F05Q41-E/ST | PIC18F04Q40-E/ST | PIC18F05Q40T-I/ST | PIC18F05Q41T-I/ST | PIC18F04Q41-E/SL |
|---|---|---|---|---|---|---|---|
| Package | 14-TSSOP | 14-TSSOP - same | 14-TSSOP - same | 14-TSSOP - same | 14-TSSOP - same | 14-TSSOP - same | 14-SOIC - different package, same pin count |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 64 KB | 32 KB (-50%) | 32 KB (-50%) | 16 KB (-75%) | 32 KB (-50%) | 32 KB (-50%) | 16 KB (-75%) |
| SRAM | 4 KB | 4 KB (same) | 2 KB (-50%) | 4 KB (same) | 4 KB (same) | 2 KB (-50%) | 2 KB (-50%) |
| EEPROM | 512 B | 512 B (same) | 256 B (-50%) | 256 B (-50%) | 512 B (same) | 256 B (-50%) | 256 B (-50%) |
| CPU Speed | 64 MHz | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) |
| Operating Temperature | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) | 0C to +85C (I) | 0C to +85C (I) | -40C to +125C (E) |
| Operating Voltage | 1.8V to 5.5V | 1.8V to 5.5V (same) | 1.8V to 5.5V (same) | 1.8V to 5.5V (same) | 1.8V to 5.5V (same) | 1.8V to 5.5V (same) | 1.8V to 5.5V (same) |
| ADC | 12-bit ADC2 with Computation | 12-bit ADC2 | 12-bit ADC2 updated | 12-bit ADC2 | 12-bit ADC2 | 12-bit ADC2 updated | 12-bit ADC2 updated |
| 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 | 2 x 8-bit |
Key Differentiators
- Largest Flash memory in 14-TSSOP PIC18-Q40 family (vs PIC18F05Q40-E/ST)
- Extended -40C to +125C temperature range for harsh environments (vs PIC18F05Q40T-I/ST)
- Full 4 KB SRAM for protocol stacks and data buffers (vs PIC18F05Q41-E/ST)
Design Notes
Decouple VDD with a 100 nF X7R ceramic capacitor placed within 5 mm of pin 14 (VDD). For ADC2 applications, add a 10 uF bulk capacitor in parallel to suppress VDD ripple during high-speed conversions. The PIC18F06Q40's internal voltage regulator requires both bulk and bypass capacitors per Microchip datasheet DS40002559C. Avoid routing high-frequency digital signals directly under the VDD trace to prevent noise coupling into the analog rail.
The PIC18F06Q40-E/ST in 14-TSSOP has a typical theta_JA of approximately 100 C/W (per Microchip package thermal data), allowing operation up to +125C junction at moderate current loads. For continuous 64 MHz operation at elevated ambient, copper pour under the exposed pad (when available in the TSSOP-14 variant) improves heat spreading. The device does not have an exposed thermal pad in standard TSSOP-14.
MCLR pin (RA3, pin 3) must not be left floating; tie it to VDD through a 10 kohm pull-up resistor or directly to VDD if not using external reset. Always configure unused I/O pins as outputs low to minimize current consumption in sleep mode. For ADC2 accuracy, ensure the negative reference (VSS) is clean and that the analog input impedance is below 10 kohm to avoid acquisition timing errors per datasheet ADC2 section.
Place a ground pour on the bottom layer connecting pin 7 (VSS) to all analog ground references. Keep analog signal traces short and away from PWM digital outputs to prevent coupling. Use Microchip's MPLAB Code Configurator (MCC) for peripheral initialization; PPS (Peripheral Pin Select) allows flexible pin mapping but locked configurations reduce code complexity. Refer to TB3135 application note for CIP configuration patterns.
Compliance Information
RoHS compliant per Microchip product page DS40002559C. AEC-Q100 not qualified - this part targets industrial and consumer applications. For AEC-Q100 qualified alternatives in the PIC18 family, contact Microchip directly.