PIC18F26K40-I/ML - 64KB Flash 8-bit MCU 28-QFN | Microchip
MPN: PIC18F26K40-I/ML ✓ چالاکPIC18F26K40-I/ML گشتی
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), working memory (RAM), non-volatile data storage (EEPROM), and configurable peripherals such as ADC, PWM, timers, and communication interfaces. Within the broader semiconductor hierarchy, the PIC18F26K40 sits in the 8-bit MCU class, beneath 16-bit dsPIC and 32-bit ARM Cortex-M families, and is designed for cost-sensitive, deterministic, low-power embedded control.
Key features include a 10-bit ADC with up to 24 channels, a 5-bit DAC, two comparators, multiple PWM/CWG/CCP/SMT modules, a windowed watchdog (WWDT), a CRC/SCAN memory integrity block, and Core Independent Peripherals (CIPs) that offload tasks from the CPU. The device operates across 2.3V to 5.5V, supports the nanoWatt XLP sleep modes, and provides 25 general-purpose I/O pins on this 28-pin variant.
Typical applications include consumer appliance control, IoT sensor nodes, low-power wireless remote controls, LED lighting controllers, motor control loops, and battery-powered instrumentation. The combination of 5V tolerance, large memory, and rich analog integration makes the part well suited for both retrofit legacy 5V designs and modern mixed-signal products.
When designing with this MCU, allocate the 64 KB Flash carefully between bootloader, application, and configuration words; verify VDDCORE decoupling against the datasheet, and use the dedicated ICSP pins (ICSPCLK/ICSPDAT) for production programming. The ML package has an exposed thermal pad that must be soldered to the ground plane for thermal and electrical performance. This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
جێگرەوەکانی جێگۆڕکێ بۆ PIC18F26K40-I/ML — هەمان پاکەت، پین بە پین گونجاو. ئەو بەشانەی پاکەتی جیاوازیان هەیە و پێویستیان بە چاککردنەوەی PCB هەیە لابراون.
جۆرەکان لەم زنجیرەیەدا
مۆدێلەکانی هەمان زنجیرە کە بە شێوەی ڕاستەوخۆ گونجاون لەگەڵ PIC18F26K40-I/ML (هەمان شێوە و پێکهاتەی شوێن) — جیاوازە لە ADC, Package, Program Memory (Flash), Operating Temperature, PWM Channels.
PIC18F26K40T-I/ML
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PIC18LF26K40-I/ML
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PIC18F25K40-I/ML
✅ جێگرەوەی ڕاستەوخۆ ⚠️ تایبەتمەندییەکان پشتڕاست نەکراونەتەوە📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PIC18F26K42-I/ML
✅ جێگرەوەی ڕاستەوخۆ ⚠️ تایبەتمەندییەکان پشتڕاست نەکراونەتەوە📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PIC18F26K40-E/MLVAO
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC18F24K40-I/ML
✅ جێگرەوەی ڕاستەوخۆ ⚠️ تایبەتمەندییەکان پشتڕاست نەکراونەتەوەپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC18F26K40-I/ML زۆرترین ڕێژە و تایبەتمەندییە کارەباییەکان
| Core | PIC18 8-bit RISC |
| CPU Speed (Max) | 64 MHz |
| Program Memory (Flash) | 64 KB (32K x 16) |
| Data RAM | 4 KB |
| Data EEPROM | 256 B |
| Operating Voltage | 2.3 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 24 channels |
| DAC | 5-bit |
| Comparators | 2 |
| Timers | 9 (8/16-bit) |
| PWM Channels | Multiple (CCP, PWM, CWG) |
| پاکێج | 28-QFN (ML) 6x6 mm with EP |
| پلەی گەرمیی کارکردن | -40C to +85C (Industrial) |
| جۆری دامەزراندن | Surface Mount |
| XLP (nanoWatt) | Yes |
| دۆخی RoHS | Compliant |
ڕێکخستنی پینی PIC18F26K40-I/ML
| پین 1 | RA3/AN17/SSP1MSPS — Bidirectional I/O / Analog input 17 / SSP1 master-out slave-in |
| پین 2 | RA2/AN18 — Bidirectional I/O / Analog input 18 |
| پین 3 | RA1/AN19 — Bidirectional I/O / Analog input 19 |
| پین 4 | RA0/AN20 — Bidirectional I/O / Analog input 20 |
| پین 5 | VDD — Positive supply voltage (2.3V - 5.5V) |
| پین 6 | VSS — Ground reference |
| پین 7 | RA7/OSC1/CLKIN — Bidirectional I/O / External clock input / Crystal oscillator input |
| پین 8 | RA6/OSC2/CLKOUT — Bidirectional I/O / Crystal oscillator output / Clock output |
| پین 9 | RC0 — Bidirectional I/O port C |
| پین 10 | RC1 — Bidirectional I/O port C |
| پین 11 | RC2/AN14 — Bidirectional I/O / Analog input 14 |
| پین 12 | RC3/AN15/SCL1 — Bidirectional I/O / Analog input 15 / I2C1 clock |
| پین 13 | RC4/SDA1 — Bidirectional I/O / I2C1 data |
| پین 14 | RC5 — Bidirectional I/O port C |
| پین 15 | RC6 — Bidirectional I/O port C |
| پین 16 | RC7 — Bidirectional I/O port C |
| پین 17 | RB7/ICSPCLK — Bidirectional I/O / ICSP clock (programming) |
| پین 18 | RB6/ICSPDAT — Bidirectional I/O / ICSP data (programming) |
| پین 19 | RB5/AN13 — Bidirectional I/O / Analog input 13 |
| پین 20 | RB4/AN11 — Bidirectional I/O / Analog input 11 |
| پین 21 | RB3/AN9 — Bidirectional I/O / Analog input 9 |
| پین 22 | RB2/AN8 — Bidirectional I/O / Analog input 8 |
| پین 23 | RB1/AN10 — Bidirectional I/O / Analog input 10 |
| پین 24 | RB0/AN12/INT0 — Bidirectional I/O / Analog input 12 / External interrupt 0 |
| پین 25 | VDDIO — I/O supply voltage (for PORTA/PORTB voltage tolerance) |
| پین 26 | VSS — Ground reference |
| پین 27 | RA5 — Bidirectional I/O port A |
| پین 28 | RA4 — Bidirectional I/O port A |
بەکارهێنانە باوەکان
PIC18F26K40-I/ML گونجاوە بۆ 7 بەکارھێنانs: Consumer Appliance Control, Battery-Powered IoT Sensor Node, LED Lighting Controller, Automotive Body Control Modules (non-safety), Industrial Sensor Interface Module, HMI / User Interface Panel, Motor Control (BLDC / Stepper).
Consumer Appliance Control
The PIC18F26K40-I/ML fits consumer appliance control boards where 5V tolerance, 25 I/O pins, and 64 KB Flash support both HMI driving and closed-loop motor/PWM control. Its 10-bit ADC and 5-bit DAC cover analog sensor readout for temperature, humidity, and current sensing, while CCP/CWG peripherals drive TRIAC or IGBT switches for heater regulation. XLP nanoWatt sleep modes reduce standby power to nanoamp levels between user interactions. Place decoupling 100nF + 1uF near VDDCORE/VDD per datasheet DS40001886.
پێشنیارکراو
Battery-Powered IoT Sensor Node
For IoT sensor nodes, the PIC18F26K40-I/ML provides nanoWatt XLP sleep currents in the nA range, waking on RTC or external interrupt to read sensors and transmit via a companion BLE/sub-GHz radio over UART/SPI. The 64 KB Flash accommodates OTA bootloader plus application, while the 10-bit ADC digitizes analog sensor outputs directly. The wide 2.3-5.5V supply range supports single-cell Li-ion, 2xAA, and even USB-powered designs without level shifters for legacy 5V sensors.
پێشنیارکراو
LED Lighting Controller
The PIC18F26K40-I/ML drives multi-channel LED lighting fixtures using its CCP/CWG/PWM peripherals for smooth dimming and color-mixing control. With 64 KB Flash and 4 KB RAM, firmware can implement DMX-512 or DALI receive plus closed-loop constant-current control. The 10-bit ADC reads photodiode feedback for ambient sensing; the CWG peripheral generates complementary PWM with dead-time control for half-bridge LED driver stages. Operating voltage up to 5.5V aligns with standard LED driver IC supply rails.
پێشنیارکراو
Automotive Body Control Modules (non-safety)
For non-safety automotive body electronics such as interior lighting, mirror control, or seat-position memory, the PIC18F26K40-I/ML offers 5V operation tolerant of load-dump transients (with external TVS) and -40C to +125C automotive temperature grade via PIC18F26K40-E variant. The 64 KB Flash handles LIN protocol stack plus application logic; CCP/CWG modules drive solenoids or motors. For AEC-Q100 qualified variants, designers should select the explicitly automotive-qualified ordering code per Microchip's selector guide.
پێشنیارکراو
Industrial Sensor Interface Module
In industrial 4-20 mA loop-powered transmitters, the PIC18F26K40-I/ML serves as the digital heart that digitizes the analog sensor, applies calibration in Flash-resident lookup tables, and drives an HART modem or 4-20 mA DAC output. The 10-bit ADC is sufficient for process variables; for higher accuracy, an external 16-bit ADC such as MCP3421 can be paired over I2C. The wide 2.3-5.5V supply allows direct connection to loop-powered 24V systems via a switching regulator such as MCP16311.
پێشنیارکراو
HMI / User Interface Panel
The PIC18F26K40-I/ML drives small graphical or segment LCDs and keypads via its 25 GPIO, with 64 KB Flash supporting a small RTOS-like state machine or UI library. The CWG peripheral can generate complementary drive signals for segment LCD bias; comparators handle cap-touch via charge-time measurement. The 5V tolerance simplifies interface to legacy 5V LCD modules without level shifters. PIC's deterministic interrupt latency is well suited to responsive button debouncing.
پێشنیارکراو
Motor Control (BLDC / Stepper)
The PIC18F26K40-I/ML drives small BLDC or stepper motors via its PWM, CCP, and CWG modules that provide complementary outputs with programmable dead time. The 10-bit ADC samples back-EMF or current-sense signals for sensorless or sensored commutation algorithms, while the WWDT and CRC/SCAN peripherals support ASIL-friendly fault detection (non-safety only). The 64 MHz core runs FOC at low to mid RPM; for high-RPM FOC consider dsPIC33. The exposed pad on the 28-QFN aids thermal dissipation at moderate PWM duty.
پێشنیارکراو
کورتەی بەرهەمە پێشنیارکراوەکان
داتای سەرچاوەی ئەندازیاری بۆ PIC18F26K40-I/ML — بەراوردکردن، ڕێنمایی دیزاین و زانیاری پابەندبوون.
ڕێنمایی هەڵبژاردن
بەراوردکردن لەگەڵ جێگرەوەکان
| پارامەتر | ئەم بەرهەمە | PIC18F26K40T-I/ML | PIC18LF26K40-I/ML | PIC18F25K40-I/ML | PIC18F26K42-I/ML | PIC18F24K40-I/ML |
|---|---|---|---|---|---|---|
| Package | 28-QFN (ML) 6x6 mm | 28-QFN (ML) - same | 28-QFN (ML) - same | 28-QFN (ML) - same | 28-QFN (ML) - same | 28-QFN (ML) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Core | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz |
| Flash | 64 KB | 64 KB | 64 KB | 32 KB | 64 KB | 16 KB |
| RAM | 4 KB | 4 KB | 4 KB | 2 KB | 4 KB | 1 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| ADC | 10-bit | 10-bit | 10-bit | 10-bit | 12-bit | 10-bit |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 25 |
جیاکەرەوە سەرەکییەکان
- 64 KB Flash + 4 KB RAM in 28-pin QFN (بەراورد بەPIC18F25K40-I/ML)
- Wide 2.3V-5.5V operating voltage (بەراورد بەPIC18LF26K40-I/ML)
- Rich Core Independent Peripherals (CIPs) (بەراورد بەPIC18F26K20-I/ML)
تێبینییەکانی دیزاین
Decouple VDD with a 100 nF X7R ceramic placed within 3 mm of the pin, plus a bulk 1 uF-10 uF tantalum or ceramic on the same node. The 28-QFN ML package has separate VDD and VDDIO pins; both need their own 100 nF caps. For low-noise ADC performance, add a ferrite bead on VDDIO or use a separate LDO to power the analog rail. Estimated: at 64 MHz / 3.3V active current is roughly 8-12 mA typical per DS40001886; sleep current drops to <100 nA with WDT disabled.
The 28-QFN (ML) package has a center exposed thermal pad (EP) that must be soldered to a ground copper pour of at least 1 square inch for thermal dissipation and electrical performance. Use an array of thermal vias (0.3 mm drill, 0.5 mm pitch) connecting the EP to the inner ground plane. Route high-speed signals (SPI, ICSP) away from the ADC analog inputs and place the analog ground island directly under the analog pins. Refer to Microchip AN2451 for 8-bit MCU PCB layout guidelines.
Do NOT drive the ICSPDAT/ICSPCLK pins (RB6/RB7) with external peripherals during programming - this can lock out ICSP and require high-voltage reset to recover. The PIC18F26K40 has an internal voltage regulator that requires an external decoupling capacitor on the VDDCORE pin (refer to datasheet DS40001886 for cap value and routing). Configuration bits (CONFIG1-7) must be set correctly - especially the WDT, BOR, and oscillator settings - before code can execute reliably from reset.
The PIC18F26K40 ADC accuracy depends on clean VDD, low-impedance external Vref, and proper acquisition time programming. For 10-bit accuracy at 64 MHz ADC clock, use at least 8 us acquisition time for high-impedance sources (10 kohm+); use a buffer op-amp (e.g., MCP6002) for sources above 10 kohm. Place the Vref bypass cap (100 nF) directly at the Vref+ pin. When using the FVR (Fixed Voltage Reference), enable it at least 5 us before ADC conversion to settle.
زانیاری پابەندبوون
RoHS/REACH compliant per Microchip product page. Industrial temperature grade -40C to +85C. For AEC-Q100 qualified variants, select PIC18F26K40-E (extended grade) ordering code; the -I/ML industrial-grade version is not AEC-Q100 qualified.