PIC18F66K90-E/MR - 64KB Flash 8-bit MCU LCD nanoWatt XLP | Microchip
MPN: PIC18F66K90-E/MR ✓ فعالPIC18F66K90-E/MR نمای کلی
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, and integrated peripherals such as timers, ADC, communication controllers, and I/O. The PIC18F family sits within Microchip's 8-bit RISC architecture hierarchy: PIC18F -> enhanced 8-bit core with C-friendly instruction set -> PIC family -> 8-bit microcontroller -> embedded processor -> semiconductor. nanoWatt XLP variants specifically target battery-powered designs where deep-sleep currents in the nA range are required.
Key features include 24 channels of capacitive touch support via the CTMU module, an integrated LCD driver with up to 192 segments, three independent CCP/ECCP modules, two MSSP (SPI/I2C) ports, two EUSART modules, a 12-bit ADC with up to 16 channels, and deep-sleep currents under 100 nA typical. The -E suffix denotes the extended (-40C to +125C) operating temperature range, qualifying the part for harsh-environment and automotive under-hood designs.
The PIC18F66K90 is built on an enhanced Harvard architecture with a modified 16-bit instruction word, providing a 78-instruction set that supports both compiler-friendly C and assembly. The CTMU produces a constant current that, combined with an internal timer, lets the ADC measure capacitance changes for touch buttons, sliders, and proximity sensors without external analog ICs. The LCD segment driver can drive up to 192 pixels with software-selectable contrast bias.
Typical applications include battery-powered LCD thermostats and remote controls, capacitive-touch user interfaces for appliances, utility metering with segment displays, portable medical monitors, industrial HMI panels, and ultra-low-power IoT sensor nodes. The combination of nanoWatt XLP, CTMU touch, and integrated LCD enables single-chip UI designs that previously required multiple discrete components.
When designing, place the exposed pad (EP) to a solid copper pour connected to VSS for thermal dissipation and electrical ground. Use MPLAB X IDE with XC8 compiler and the Microchip Code Configurator (MCC) for peripheral setup. Provide a 1 uF + 100 nF decoupling pair adjacent to each VDD pin and route the 32.768 kHz crystal traces symmetrically with a grounded guard ring to minimize RTC jitter.
This page synthesizes XAIPART distributor pricing, drop-in same-package alternatives, and practical touch/LCD design notes not found in the manufacturer datasheet alone, giving embedded engineers a single source for sourcing and engineering decision support.
جایگزینهای drop-in برای PIC18F66K90-E/MR — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC18F66K90-E/MR (همان فرمفاکتور و فوتپرینت) — متفاوت در Package, LCD Driver, ADC, Operating Temperature, Core.
PIC18F65K90-E/MR
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F65K90-I/MR
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F66K90T-I/MR
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F66K90-I/MR
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F65K90T-I/MRRSL
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F66K90-E/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F66K90-E/MR حداکثر مقادیر مجاز و مشخصات الکتریکی
| Core Architecture | 8-bit PIC18 enhanced Harvard |
| Program Memory (Flash) | 64 KB (32K x 16) |
| Data RAM | 4 KB |
| Maximum CPU Frequency | 64 MHz (16 MIPS) |
| Supply Voltage Range | 1.8 V to 5.5 V |
| محدوده دمای کاری | -40C to +125C (Extended, -E suffix) |
| I/O Pins | 54 |
| بستهبندی | 64-pin VQFN (MR), 9x9 mm, exposed pad |
| نوع نصب | Surface Mount |
| LCD Driver | Integrated segment LCD, up to 192 segments |
| Capacitive Touch (CTMU) | Yes, up to 24 channels |
| ADC | 12-bit, up to 16 channels |
| Communication Peripherals | 2x MSSP (SPI/I2C), 2x EUSART |
| Capture/Compare/PWM | 3x CCP/ECCP modules |
| Low-Power Technology | nanoWatt XLP |
| Deep-Sleep Current | typical <100 nA (XLP mode) |
| وضعیت RoHS | Compliant |
پیکربندی پین PIC18F66K90-E/MR
| پین 1 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| پین 2 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| پین 3 | RB2 — PORTB bit 2 |
| پین 4 | RB3 — PORTB bit 3 |
| پین 5 | RB4 — PORTB bit 4 |
| پین 6 | RB5 — PORTB bit 5 |
| پین 7 | RB6/PGC — PORTB bit 6 / ICSP clock |
| پین 8 | RB7/PGD — PORTB bit 7 / ICSP data |
| پین 9 | VSS — Ground reference |
| پین 10 | VDD — Positive supply (1.8-5.5 V) |
| پین 11 | RC0 — PORTC bit 0 |
| پین 12 | RC1 — PORTC bit 1 |
| پین 13 | RC2 — PORTC bit 2 |
| پین 14 | RC3 — PORTC bit 3 |
| پین 15 | RC4 — PORTC bit 4 |
| پین 16 | RC5 — PORTC bit 5 |
| پین 17 | RC6 — PORTC bit 6 |
| پین 18 | RC7 — PORTC bit 7 |
| پین 19 | VSS — Ground reference |
| پین 20 | VDD — Positive supply (1.8-5.5 V) |
| پین 21 | RD0 — PORTD bit 0 |
| پین 22 | RD1 — PORTD bit 1 |
| پین 23 | RD2 — PORTD bit 2 |
| پین 24 | RD3 — PORTD bit 3 |
| پین 25 | RD4 — PORTD bit 4 |
| پین 26 | RD5 — PORTD bit 5 |
| پین 27 | RD6 — PORTD bit 6 |
| پین 28 | RD7 — PORTD bit 7 |
| پین 29 | VSS — Ground reference |
| پین 30 | VDD — Positive supply (1.8-5.5 V) |
| پین 31 | RE0 — PORTE bit 0 |
| پین 32 | RE1 — PORTE bit 1 |
| پین 33 | RE2 — PORTE bit 2 |
| پین 34 | RE3 — PORTE bit 3 |
| پین 35 | RE4 — PORTE bit 4 |
| پین 36 | RE5 — PORTE bit 5 |
| پین 37 | RE6 — PORTE bit 6 |
| پین 38 | RE7 — PORTE bit 7 |
| پین 39 | VSS — Ground reference |
| پین 40 | VDD — Positive supply (1.8-5.5 V) |
| پین 41 | RF0 — PORTF bit 0 |
| پین 42 | RF1 — PORTF bit 1 |
| پین 43 | RF2 — PORTF bit 2 |
| پین 44 | RF3 — PORTF bit 3 |
| پین 45 | RF4 — PORTF bit 4 |
| پین 46 | RF5 — PORTF bit 5 |
| پین 47 | RF6 — PORTF bit 6 |
| پین 48 | RF7 — PORTF bit 7 |
| پین 49 | VSS — Ground reference |
| پین 50 | VDD — Positive supply (1.8-5.5 V) |
| پین 51 | RG0 — PORTG bit 0 |
| پین 52 | RG1 — PORTG bit 1 |
| پین 53 | RG2 — PORTG bit 2 |
| پین 54 | RG3 — PORTG bit 3 |
| پین 55 | RG4 — PORTG bit 4 |
| پین 56 | RG5 — PORTG bit 5 |
| پین 57 | RG6 — PORTG bit 6 |
| پین 58 | RG7 — PORTG bit 7 |
| پین 59 | VSS — Ground reference |
| پین 60 | VDD — Positive supply (1.8-5.5 V) |
| پین 61 | RA0 — PORTA bit 0 / analog input |
| پین 62 | RA1 — PORTA bit 1 / analog input |
| پین 63 | RA2 — PORTA bit 2 / analog input |
| پین 64 | RA3 — PORTA bit 3 / analog input |
| پین 65 | EP — Exposed thermal pad - tie to VSS |
کاربردهای معمول
PIC18F66K90-E/MR مناسب است برای 6 کاربردs: Battery-Powered Thermostat with LCD, Capacitive Touch HMI for Appliances, Utility Meter with Segment Display, Portable Medical Monitor, Industrial Control Panel with Segment LCD, Ultra-Low-Power IoT Sensor Node.
Battery-Powered Thermostat with LCD
The PIC18F66K90-E/MR is purpose-built for battery-powered thermostats. Its integrated 192-segment LCD driver eliminates the external charge-pump or HT1621 segment driver that legacy designs required, shrinking BOM cost by USD 0.50-1.00. Combined with nanoWatt XLP deep-sleep currents below 100 nA, two AA batteries can power the unit for 5+ years, replacing 24 V wall adapters. The 64 KB Flash fits full HVAC state machines, weekly scheduling, and ZigBee/BLE stacks. The 12-bit ADC reads NTC thermistors directly, and CTMU enables capacitive front-panel buttons for setpoint adjustment. Industrial-grade -40C to +125C operation handles unconditioned basement or attic mounting.
پیشنهادی
Capacitive Touch HMI for Appliances
The CTMU peripheral provides 24 channels of capacitive touch sensing without external analog ICs, making the PIC18F66K90-E/MR ideal for washing machines, ovens, and induction cooktops. The MCU measures capacitance changes by charging a sensor with a constant CTMU current and timing the discharge with the 12-bit ADC, achieving sub-10 pF resolution for sliders and wheels. The 64 MHz core handles real-time gesture recognition and debounce algorithms in firmware. The exposed pad (EP) keeps junction temperature manageable even with the LCD backlight driver and CTMU active. AEC-Q100-equivalent screening plus the extended -40C to +125C range survives kitchen and laundry environments with high humidity and heat.
پیشنهادی
Utility Meter with Segment Display
Electric, water, and gas meters benefit from the PIC18F66K90-E/MR combination of 192-segment LCD, CTMU tamper detection, and 64 KB Flash for tariff and time-of-use logic. The LCD driver supports 4-mux and 8-mux glass with software-selectable bias, so a single part handles mechanical roller replacement displays. nanoWatt XLP keeps quiescent draw low enough that lithium primary cells last the 20-year meter lifetime. The 12-bit ADC measures low-value shunt currents for Class 1 accuracy. UART peripherals drive optical probe or wireless M-Bus / LoRaWAN modules, and the extended temperature range tolerates outdoor meter enclosures from -40C winter to +85C rooftop installations.
پیشنهادی
Portable Medical Monitor
Portable pulse oximeters, glucose meters, and digital thermometers are common applications for the PIC18F66K90-E/MR. The MCU drives a small OLED or character LCD, runs the SpO2 or glucose sensor front-end over SPI, and the CTMU enables reliable capacitive power-button and selection controls that work with medical-grade gloves. The 64 KB Flash fits BLE stacks and FDA Class II firmware with calibration tables. nanoWatt XLP gives months of standby on a single CR2032 coin cell. Extended -40C to +125C operation is overkill for consumer use but supports IEC 60601-1-11 home-healthcare environmental testing for shipping and storage.
پیشنهادی
Industrial Control Panel with Segment LCD
Industrial HMI panels, motor controllers, and process transmitters benefit from the PIC18F66K90-E/MR integrated segment LCD, which avoids the cost of a TFT plus graphics library. The 54 I/O pins drive relay banks, sensor inputs, and isolated communication ports (RS-485 / CAN via external transceiver). Three CCP/ECCP modules generate PWM for valve and motor control up to 64 MHz core speed. ECCP auto-shutdown protects outputs on fault. The extended temperature range and the 1.8-5.5 V supply range tolerate 24 V industrial bus rails with simple LDO regulation, and the exposed pad supports continuous full-load operation at 70C ambient.
پیشنهادی
Ultra-Low-Power IoT Sensor Node
Battery-powered IoT sensor nodes - including LoRaWAN environmental sensors, smart agriculture probes, and wireless alarm contacts - are a primary application for the PIC18F66K90-E/MR. nanoWatt XLP delivers typical deep-sleep currents below 100 nA at 1.8 V, enabling 10+ year coin-cell life for periodic wakeup-and-transmit duty cycles. CTMU detects tamper switches or rain sensors via capacitance change. The 192-segment LCD shows last-measured values and RSSI without powering the radio. The 64 MHz core wakes, reads a sensor via I2C, transmits via UART-connected LoRa or BLE module, and returns to sleep in milliseconds. Industrial temperature rating covers outdoor and agricultural deployments.
پیشنهادی
خلاصه محصولات پیشنهادی
دادههای مرجع مهندسی برای PIC18F66K90-E/MR — مقایسه، راهنمای طراحی و اطلاعات انطباق.
راهنمای انتخاب
مقایسه با جایگزینها
| پارامتر | این محصول | PIC18F65K90-E/MR | PIC18F65K90-I/MR | PIC18F66K90T-I/MR | PIC18F66K90-I/MR | PIC18F65K90T-I/MRRSL | PIC18F66K90-E/PT |
|---|---|---|---|---|---|---|---|
| Package | VQFN-64 (MR) 9x9 mm | VQFN-64 (MR) 9x9 mm - same | VQFN-64 (MR) 9x9 mm - same | VQFN-64 (MR) 9x9 mm - same | VQFN-64 (MR) 9x9 mm - same | VQFN-64 (MR) 9x9 mm - same | TQFP-64 (PT) - different footprint |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 64 KB | 32 KB | 32 KB | 64 KB | 64 KB | 32 KB | 64 KB |
| RAM | 4 KB | 2 KB | 2 KB | 4 KB | 4 KB | 2 KB | 4 KB |
| Max Frequency | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| Operating Temperature | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) |
| LCD Segments | Up to 192 | Up to 192 | Up to 192 | Up to 192 | Up to 192 | Up to 192 | Up to 192 |
| CTMU Touch Channels | Up to 24 | Up to 24 | Up to 24 | Up to 24 | Up to 24 | Up to 24 | Up to 24 |
| nanoWatt XLP | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Qty-1 Price (USD) | 6.85 | approx. 5.95 | approx. 5.50 | approx. 6.50 | approx. 6.20 | approx. 5.50 | approx. 6.85 |
تفاوتهای کلیدی
- Highest Flash density in the 64-pin K90 family (در مقابلPIC18F65K90-E/MR)
- Extended temperature range for harsh environments (در مقابلPIC18F66K90-I/MR)
- Single-chip LCD + touch solution (در مقابلPIC18F66K22-I/MR)
- VQFN-64 footprint reuse across full K90 family (در مقابلPIC18F66K90-E/PT)
یادداشتهای طراحی
The 9x9 mm VQFN-64 (MR) package exposes the central thermal pad (pin 65) on the bottom of the IC. Solder this pad to a copper pour on the top layer of the PCB tied directly to VSS, with at least 4 thermal vias (0.3 mm drill, 0.5 mm pad) connecting the top pour to an internal ground plane. Estimated: at 64 MHz active with LCD and CTMU on, internal dissipation is around 30 mW, which a 20x20 mm copper pour handles without exceeding 70C junction at 25C ambient.
Place a 1 uF X7R ceramic capacitor plus a 100 nF X7R ceramic capacitor within 2 mm of each VDD pin (pins 10, 20, 30, 40, 50, 60). For nanoWatt XLP sleep currents below 1 uA total, the LDO feeding the MCU must also have sub-uA quiescent current. The MCP1700 (1.6 uA Iq) is a good match; the common MCP1117 / LM1117 LDOs have 5-11 mA Iq and waste battery capacity. Estimated: at 100 nA MCU sleep + 1.6 uA LDO Iq, total quiescent draw is about 1.7 uA per battery-powered node.
Route the 32.768 kHz crystal traces (SOSCO / SOSCI) symmetrically and keep them under 5 mm length. Surround the crystal with a grounded guard ring to prevent switching-noise coupling. Place a guard trace between analog inputs (PORTA, PORTB) and the segment-LCD drive pins to keep ADC measurements clean while the LCD is multiplexing at 64 Hz. The exposed pad (EP) must be soldered to VSS for both thermal dissipation and electrical ground reference.
Do not assume the EP is a no-connect: leaving it floating causes thermal runaway at high CPU loads and degrades ADC reference accuracy. Do not exceed 5.5 V on any VDD pin or 5.5 V on any I/O pin - the absolute maximum is 6.5 V but reliable operation above 5.5 V violates the spec. Always configure the MCLR pin with a 10 kohm pull-up to VDD for normal operation, unless the internal MCLR is disabled in CONFIG3H. Finally, ensure the ICD header pins do not share tracks with segment LCD outputs that toggle at high frequency - this couples noise into debug sessions.
اطلاعات انطباق
RoHS and lead-free per Microchip product page. Extended -E temperature grade (-40C to +125C) is not the same as full AEC-Q100 automotive qualification; for AEC-Q100-qualified PIC18 K90 variants consult Microchip automotive part numbering.