PIC18F6390-I/PT - 8-bit 40MHz LCD MCU 8KB Flash | Microchip
Teilenummer: PIC18F6390-I/PT ✓ Aktiv| Menge | Stückpreis | Gesamt |
|---|---|---|
| 1 | $8.2 | $8,20 |
| 10 | $7.38 | $73,80 |
| 100 | $6.55 | $655,00 |
| 500 | $5.85 | $2.925,00 |
| 1.000 | $5.25 | $5.250,00 |
PIC18F6390-I/PT Übersicht
An 8-bit microcontroller (MCU) is a single-chip computer that integrates an 8-bit CPU, program memory (Flash/ROM), data memory (RAM), peripherals, and I/O on one silicon die. PIC18F microcontrollers extend Microchip's baseline 8-bit PIC line by adding enhanced peripherals, larger memory spaces, and up to 10 MIPS throughput - making them mid-range 8-bit controllers widely deployed in consumer white goods, industrial HMIs, and metering products. The integrated LCD driver on the PIC18F6390 eliminates an external driver IC, reducing BOM cost and PCB area in segment-display applications.
Key features include 8K x 16 (8KB) of self-programmable Flash, 768 bytes of RAM, 256 bytes of EEPROM, 54 I/O pins, an integrated segmented LCD controller, nanoWatt power management for ultra-low sleep currents, and a 10-bit ADC. The 64-TQFP package provides generous I/O headroom for keypad scanning, sensor input, and LCD segment multiplexing simultaneously.
The CPU uses an enhanced Harvard architecture with separate program and data buses, sixteen 8-bit working registers, and a hardware multiplier that simplifies arithmetic for meter and sensor-signal processing. nanoWatt technology provides multiple power-managed modes including idle, sleep, and oscillator-switching options that drop quiescent current to microampere levels during idle periods.
Typical applications include handheld meters (gas/water/electric), thermostats, home security keypads, point-of-sale terminals, medical infusion pumps, industrial process displays, and appliance user interfaces with segment LCDs.
When designing with this device, allocate I/O pins for both the segment/commons of the LCD and keypad matrix. The internal LCD charge pump can supply glass bias from a single 3 V supply, but contrast is optimized when VDD is at 5 V. Use MPLAB X IDE with the XC8 compiler for firmware development.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a single source for parametric, sourcing, and application information.
Drop-in-Alternativen für PIC18F6390-I/PT – gleiches Gehäuse, Pin-kompatibel. Bauteile mit anderem Gehäuse, die eine PCB-Überarbeitung erfordern, sind ausgeschlossen.
Varianten dieser Serie
Modelle derselben Serie, die drop-in-kompatibel sind mit PIC18F6390-I/PT (gleiche Bauform und Footprint) – abweichend in Package, I/O Pins, Operating Temperature, Timers, LCD Driver.
Schnellvergleichstool – Wählen Sie Alternativbauteile für den Direktvergleich:
PIC18F6490-I/PT
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC18F6390-E/PT
✅ Drop-In✓ Auf Lager
$3.4 / Stück
Datenblatt ansehen →PIC18F6490-E/PT
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC18F8390-I/PT
✅ Drop-In✓ Auf Lager
$6.21 / Stück
Datenblatt ansehen →PIC18F8490-I/PT
✅ Drop-In✓ Auf Lager
$5.55 / Stück
Datenblatt ansehen →PIC18F6390-I/PT Grenzwerte & elektrische Eigenschaften
| Family | PIC18F |
| Series | PIC18F63xx |
| Core | PIC 8-bit RISC |
| Program Memory Type | Flash |
| Program Memory Size | 8 KB (4K x 16) |
| RAM Size | 768 bytes |
| EEPROM Size | 256 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Versorgungsspannung | 4.2 V to 5.5 V |
| I/O Pins | 54 |
| LCD Segments | Integrated segmented LCD driver (up to 128 segments) |
| ADC | 10-bit, 12 channels |
| Timers | 4 (16-bit / 8-bit) |
| Communication | EUSART, MSSP (SPI/I2C) |
| Gehäuse | 64-pin TQFP (10x10 mm, 1 mm height) |
| Montageart | Surface Mount |
| Betriebstemperatur | -40C to +85C (industrial grade) |
| RoHS-Status | Compliant |
| MSL-Level | 3 (168 hours) |
| nanoWatt Power Management | Yes (Idle/Sleep modes) |
PIC18F6390-I/PT Pin-Konfiguration
| Pin 1 | RA0/AN0/C1IN+/SEG12 — PORTA bit 0 / Analog input 0 / Comparator 1 IN+ / LCD segment 12 |
| Pin 2 | RA1/AN1/C2IN+/SEG7 — PORTA bit 1 / Analog input 1 / Comparator 2 IN+ / LCD segment 7 |
| Pin 3 | RA2/AN2/C2IN-/VREF-/SEG6 — PORTA bit 2 / Analog input 2 / Comparator 2 IN- / VREF- / LCD segment 6 |
| Pin 4 | RA3/AN3/C1IN-/VREF+/SEG5 — PORTA bit 3 / Analog input 3 / Comparator 1 IN- / VREF+ / LCD segment 5 |
| Pin 5 | RA4/T0CKI/SEG4 — PORTA bit 4 / Timer0 clock input / LCD segment 4 |
| Pin 6 | RA5/AN4/SEG3 — PORTA bit 5 / Analog input 4 / LCD segment 3 |
| Pin 7 | RA6/OSC2/CLKO — PORTA bit 6 / Oscillator output / Clock output |
| Pin 8 | RA7/OSC1/CLKI — PORTA bit 7 / Oscillator input / Clock input |
| Pin 9 | RC0/T1OSO/T13CKI/SEG32 — PORTC bit 0 / Timer1 oscillator out / LCD segment 32 |
| Pin 10 | RC1/T1OSI/CCP2/SEG33 — PORTC bit 1 / Timer1 oscillator in / CCP2 / LCD segment 33 |
| Pin 11 | RC2/CCP1/SEG34 — PORTC bit 2 / CCP1 / LCD segment 34 |
| Pin 12 | RC3/SCK/SCL/SEG35 — PORTC bit 3 / SPI clock / I2C clock / LCD segment 35 |
| Pin 13 | RC4/SDI/SDA/SEG36 — PORTC bit 4 / SPI data in / I2C data / LCD segment 36 |
| Pin 14 | RC5/SDO/SEG37 — PORTC bit 5 / SPI data out / LCD segment 37 |
| Pin 15 | RC6/TX/CK/SEG38 — PORTC bit 6 / EUSART TX / EUSART CK / LCD segment 38 |
| Pin 16 | RC7/RX/DT/SEG39 — PORTC bit 7 / EUSART RX / EUSART DT / LCD segment 39 |
| Pin 17 | RD0/PSP0/SEG40 — PORTD bit 0 / Parallel slave port data bit 0 / LCD segment 40 |
| Pin 18 | RD1/PSP1/SEG41 — PORTD bit 1 / Parallel slave port data bit 1 / LCD segment 41 |
| Pin 19 | RD2/PSP2/SEG42 — PORTD bit 2 / Parallel slave port data bit 2 / LCD segment 42 |
| Pin 20 | RD3/PSP3/SEG43 — PORTD bit 3 / Parallel slave port data bit 3 / LCD segment 43 |
| Pin 21 | RD4/PSP4/SEG44 — PORTD bit 4 / Parallel slave port data bit 4 / LCD segment 44 |
| Pin 22 | RD5/PSP5/SEG45 — PORTD bit 5 / Parallel slave port data bit 5 / LCD segment 45 |
| Pin 23 | RD6/PSP6/SEG46 — PORTD bit 6 / Parallel slave port data bit 6 / LCD segment 46 |
| Pin 24 | RD7/PSP7/SEG47 — PORTD bit 7 / Parallel slave port data bit 7 / LCD segment 47 |
| Pin 25 | VSS — Ground reference |
| Pin 26 | VDD — Positive supply (4.2 V to 5.5 V) |
| Pin 27 | RE0/RD/AN5/SEG48 — PORTE bit 0 / Read control for PSP / Analog input 5 / LCD segment 48 |
| Pin 28 | RE1/WR/AN6/SEG49 — PORTE bit 1 / Write control for PSP / Analog input 6 / LCD segment 49 |
| Pin 29 | RE2/CS/AN7/SEG50 — PORTE bit 2 / Chip select for PSP / Analog input 7 / LCD segment 50 |
| Pin 30 | RE3/IOC_VPP — PORTE bit 3 / Interrupt-on-change / Programming voltage |
| Pin 31 | VLCD1 — LCD bias voltage source 1 |
| Pin 32 | VLCD2 — LCD bias voltage source 2 |
| Pin 33 | VLCD3 — LCD bias voltage source 3 |
| Pin 34 | RF0/C1OUT/SEG51 — PORTF bit 0 / Comparator 1 output / LCD segment 51 |
| Pin 35 | RF1/C2OUT/SEG52 — PORTF bit 1 / Comparator 2 output / LCD segment 52 |
| Pin 36 | RF2/AN8/C2IN+/SEG53 — PORTF bit 2 / Analog input 8 / Comparator 2 IN+ / LCD segment 53 |
| Pin 37 | RF3/AN9/C2IN-/SEG54 — PORTF bit 3 / Analog input 9 / Comparator 2 IN- / LCD segment 54 |
| Pin 38 | RF4/AN10/C1IN-/SEG55 — PORTF bit 4 / Analog input 10 / Comparator 1 IN- / LCD segment 55 |
| Pin 39 | RF5/AN11/C1IN+/SEG56 — PORTF bit 5 / Analog input 11 / Comparator 1 IN+ / LCD segment 56 |
| Pin 40 | RF6/AN12/SEG57 — PORTF bit 6 / Analog input 12 / LCD segment 57 |
| Pin 41 | RF7/AN13/SEG58 — PORTF bit 7 / Analog input 13 / LCD segment 58 |
| Pin 42 | RG0/CCP3/SEG59 — PORTG bit 0 / CCP3 / LCD segment 59 |
| Pin 43 | RG1/TX2/CK2/SEG60 — PORTG bit 1 / EUSART2 TX / EUSART2 CK / LCD segment 60 |
| Pin 44 | RG2/RX2/DT2/SEG61 — PORTG bit 2 / EUSART2 RX / EUSART2 DT / LCD segment 61 |
| Pin 45 | RG3/CCP4/SEG62 — PORTG bit 3 / CCP4 / LCD segment 62 |
| Pin 46 | RG4/SEG63 — PORTG bit 4 / LCD segment 63 |
| Pin 47 | RH0/A16/SEG0 — PORTH bit 0 / External memory address bit 16 / LCD segment 0 |
| Pin 48 | RH1/A17/SEG1 — PORTH bit 1 / External memory address bit 17 / LCD segment 1 |
| Pin 49 | RH2/A18/SEG2 — PORTH bit 2 / External memory address bit 18 / LCD segment 2 |
| Pin 50 | RH3/A19/SEG8 — PORTH bit 3 / External memory address bit 19 / LCD segment 8 |
| Pin 51 | RH4/SEG9 — PORTH bit 4 / LCD segment 9 |
| Pin 52 | RH5/SEG10 — PORTH bit 5 / LCD segment 10 |
| Pin 53 | RH6/SEG11 — PORTH bit 6 / LCD segment 11 |
| Pin 54 | RH7/SEG24 — PORTH bit 7 / LCD segment 24 |
| Pin 55 | RJ0/SEG19 — PORTJ bit 0 / LCD segment 19 |
| Pin 56 | RJ1/SEG22 — PORTJ bit 1 / LCD segment 22 |
| Pin 57 | RJ2/SEG23 — PORTJ bit 2 / LCD segment 23 |
| Pin 58 | RJ3/COM0 — PORTJ bit 3 / LCD common 0 |
| Pin 59 | RJ4/COM1 — PORTJ bit 4 / LCD common 1 |
| Pin 60 | RJ5/COM2 — PORTJ bit 5 / LCD common 2 |
| Pin 61 | RJ6/COM3 — PORTJ bit 6 / LCD common 3 |
| Pin 62 | RJ7 — PORTJ bit 7 (general I/O) |
| Pin 63 | MCLR — Master clear reset input (active low) |
| Pin 64 | VDD — Positive supply (4.2 V to 5.5 V) |
Typische Anwendungen
PIC18F6390-I/PT ist geeignet für 7 Anwendungs: Handheld Gas/Water/Electric Meters, Programmable Thermostats, Home Security Keypads and Panels, Appliance User Interfaces (Washers, Ovens, Dishwashers), Medical Infusion Pumps and Portable Diagnostics, Industrial Process Displays and HMI Panels, Point-of-Sale Terminals and Printers.
Handheld Gas/Water/Electric Meters
The PIC18F6390-I/PT is purpose-built for handheld metering products thanks to its integrated segmented LCD controller capable of driving up to 128 segments, 768 bytes of RAM for meter-tariff and tamper-detection state, and nanoWatt sleep modes that drop quiescent current below 1 uA between sensor reads. In a typical gas meter, the PIC18F6390 runs from a 3.6 V lithium battery at 32 kHz with periodic wake-ups, samples a pulse-output flow sensor via a 10-bit ADC channel, accumulates volume in Flash, and updates a 4-common/32-segment LCD without an external driver IC. The 4.2 V minimum supply is well-suited to fresh lithium-thionyl-chloride chemistries. Engineers often pair it with a 32.768 kHz external crystal for RTC accuracy on time-of-use tariffs.
Empfohlen
Programmable Thermostats
The PIC18F6390-I/PT's integrated LCD driver, 54 I/O pins, and 10-bit ADC make it a strong fit for 7-day programmable thermostats with segment LCDs. The 10 MIPS throughput handles setpoint scheduling, filter-run-time accumulation, and PWM control of HVAC relays without a real-time OS. Typical designs use 8 I/O pins for the 4x4 keypad, 4 commons + 24 segments on the LCD glass, 2 ADC channels for temperature sensing via NTC thermistor dividers, and 2 PWM outputs for HVAC staging. The 4.2 V to 5.5 V supply aligns with common 24VAC-derived 5 V thermostat rails. nanoWatt idle mode keeps standby power under 50 mW to meet ENERGY STAR idle budgets.
Empfohlen
Home Security Keypads and Panels
The PIC18F6390-I/PT powers wired home-security keypads and alarm panels where a segmented LCD (or LED matrix via segment emulation) shows zone status, arming mode, and entry-delay countdown. The 8 KB Flash holds a typical alarm-panel state machine for 8 to 16 zones plus installer menus, and the 768 bytes of RAM cover the active zone table without external SRAM. Per-zone EOL supervision is implemented via ADC channels with the 12-channel 10-bit converter, and the EUSART/MSSP peripherals drive an RS-485 link to the main panel. nanoWatt sleep between keypad polls keeps quiescent draw under 100 uA, important for backup-battery runtime. The wide industrial temperature range -40C to +85C supports garage and unconditioned-space installations.
Empfohlen
Appliance User Interfaces (Washers, Ovens, Dishwashers)
The PIC18F6390-I/PT targets white-goods front-panel controllers in washing machines, dishwashers, and ovens that need a segmented LCD, rotary encoder input, and capacitive-touch button scanning. The 40 MHz core drives the encoder debouncing, child-lock state machine, and 7-segment cycle-time display without breaking a sweat, while the 54 I/O pins accept up to 16 touch keys plus the LCD and encoder. The integrated LCD charge pump eliminates the high-voltage bias inverter needed by competing MCUs, reducing BOM cost by approximately $0.40 per board. Industrial temperature grade -40C to +85C handles oven-door and motor-compartment thermal stress. Designers pair the MCU with a triac driver such as the MOC3021 for heater relay control and an IGBT gate driver for variable-speed motor inverters.
Empfohlen
Medical Infusion Pumps and Portable Diagnostics
The PIC18F6390-I/PT serves as the HMI controller in portable medical infusion pumps where a segmented LCD displays dose rate, volume-to-infuse, and alarm status. Its 8 KB Flash stores dose-protocol tables and alarm-log buffers in EEPROM, while the 10-bit ADC at 12 channels reads pressure-sensor and bubble-detector analog signals. The nanoWatt sleep modes and 4.2 V minimum supply make it compatible with 4-cell NiMH or single-cell Li-ion packs. The integrated LCD driver and 64-pin TQFP package keep the BOM small enough for handheld form factors. Per Microchip documentation, the PIC18F6390 is part of the same family as the PIC18F6490/8390/8490, providing upward code compatibility for designs scaling to 16 KB or more Flash.
Empfohlen
Industrial Process Displays and HMI Panels
The PIC18F6390-I/PT drives industrial process display modules that show tank level, flow total, temperature, and alarm status on a segmented LCD glass with 4 to 6 common planes. The 54 I/O pins handle the segment backplane, the keypad, the 4-20 mA loop-back ADC input, and a Modbus RTU RS-485 link simultaneously, eliminating the need for an external I/O expander. The 10 MIPS throughput sustains 50 ms Modbus polling plus LCD refresh at 60 Hz without jitter. Industrial-grade -40C to +85C operation and the wide 4.2 V to 5.5 V supply align with 24 V industrial rails regulated to 5 V. Engineers typically pair the MCU with an SN65HVD75 RS-485 transceiver and a TPS3823 supervisory reset for fail-safe startup.
Empfohlen
Point-of-Sale Terminals and Printers
The PIC18F6390-I/PT fits compact POS terminals and receipt printers that show transaction totals, change due, and printer-status on a small segment LCD. Its 40 MHz CPU handles keypad scanning, thermal-printhead bit-banging, and cash-drawer pulse generation concurrently, and 8 KB Flash is sufficient for the typical menu-driven firmware. The MSSP peripheral drives SPI to the thermal printhead, while the EUSART links to the main POS terminal over RS-232. The 64-pin TQFP provides enough I/O for the LCD, keypad matrix, printer motor control, and a status-LED bar without external multiplexing. Per the Microchip datasheet, the 768-byte RAM accommodates the active transaction record, reducing off-chip memory requirements to zero.
Empfohlen
Zusammenfassung der empfohlenen Produkte
Technische Referenzdaten für PIC18F6390-I/PT – Vergleich, Designhinweise und Compliance-Informationen.
Auswahlhilfe
Vergleich mit Alternativen
| Parameter | Dieses Produkt | PIC18F6490-I/PT | PIC18F6390-E/PT | PIC18F6490-E/PT | PIC18F8390-I/PT | PIC18F8490-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-pin TQFP (10x10 mm) | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 80-pin TQFP (12x12 mm) - larger | 80-pin TQFP (12x12 mm) - larger |
| Flash Memory | 8 KB | 16 KB | 8 KB | 16 KB | 8 KB | 16 KB |
| RAM | 768 bytes | 1.5 KB | 768 bytes | 1.5 KB | 768 bytes | 1.5 KB |
| Maximum CPU Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| I/O Pins | 54 | 54 | 54 | 54 | 68 | 68 |
| Supply Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V |
| Operating Temperature | -40C to +85C (industrial) | -40C to +85C (industrial) | -40C to +125C (extended) | -40C to +125C (extended) | -40C to +85C (industrial) | -40C to +85C (industrial) |
Wichtigste Unterscheidungsmerkmale
- Lowest-cost 8 KB Flash PIC18F with integrated segmented LCD controller in 64-pin TQFP (vs. PIC18F6490-I/PT)
- Industrial -40C to +85C temperature grade as standard (vs. PIC18F6390-E/PT)
- 64-pin TQFP with 54 I/O and integrated LCD - eliminates external driver (vs. PIC18F8390-I/PT)
Designhinweise
The PIC18F6390-I/PT operates from 4.2 V to 5.5 V; for designs running from a 3.3 V rail, use the PIC18F6490 LF (low-voltage) variant which operates down to 2.0 V. Add a 100 nF ceramic decoupling capacitor as close as possible to each VDD pin (two VDD pins on the 64-pin TQFP) and a 10 uF bulk tantalum or ceramic on the 5 V rail. The internal LCD charge pump draws dynamic current during segment transitions; size the bulk capacitor to handle the peak transient without drooping below the 4.2 V minimum.
Route the 32.768 kHz crystal traces to the OSC1/OSC2 pins (RA7/RA6) with short, symmetrical traces and a ground guard ring to minimize noise pickup. Place the VLCD1/VLCD2/VLCD3 bypass capacitors within 5 mm of the device pins to prevent LCD bias ripple. The LCD segment traces can be routed as 0.1 mm wide traces with 0.15 mm spacing; avoid routing them parallel to noisy switching traces such as the relay-driver outputs.
Do not exceed the 5.5 V absolute maximum on any pin including the MCLR pin; transient overshoot from an inductive load sharing the same supply can latch the device. Configure unused I/O pins as outputs driven low (not as inputs floating) to minimize sleep-mode current. When using the internal LCD controller, always enable the charge pump even if the segment count is small, to prevent ghosting on the display. Confirm the compiler optimization level: the Microchip XC8 compiler at -O2 or higher is required to fit typical meter firmware in 8 KB Flash.
At 40 MHz and 5.5 V VDD, the PIC18F6390-I/PT draws approximately 12 mA active. With the TQFP-64 package theta_JA of approximately 45 C/W on a 4-layer JEDEC test board, the junction temperature rise above ambient is only 0.5 C at full active load. No heatsinking is required. However, in a sealed enclosure with no airflow, derate by 30 percent and verify with a thermocouple on pin 1 during worst-case firmware loops.
The 10-bit ADC accuracy depends on a clean VREF+ reference. Use a dedicated 10 uF + 100 nF decoupling pair on the AVdd/VREF+ pin, and route the AVdd trace separately from digital VDD to avoid digital switching noise coupling into ADC conversions. Sample-and-hold acquisition time must be at least 1.4 uS at 5 V; configure ACQT bits accordingly in the ADCON2 register. For CT-sensor or pulse-input metering applications, use the comparator peripheral (C1OUT/C2OUT on RF0/RF1) instead of the ADC to achieve sub-microsecond response.
Compliance-Informationen
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - for automotive applications select the 'E' (extended temperature) variant or the PIC18F6390-I/PT in a follow-on automotive-grade part number.