PIC18LF4682-I/P - 8-Bit MCU, 80KB Flash, ECAN, 40-PDIP | Microchip
MPN: PIC18LF4682-I/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.85 | $6.85 |
| 10 | $6.18 | $61.80 |
| 100 | $5.49 | $549.00 |
| 500 | $4.92 | $2,460.00 |
| 1,000 | $4.41 | $4,410.00 |
PIC18LF4682-I/P Overview
An 8-bit microcontroller (MCU) is a single-chip computer optimized for embedded control. PIC18F-series MCUs are CISC-architecture 8-bit cores from Microchip, widely used in automotive body electronics, industrial control, and consumer appliances. Within the broader taxonomy, the PIC18LF4682 belongs to the PIC18F -> 8-bit MCU -> microcontroller -> embedded computing -> semiconductor family. The LF suffix indicates a low-voltage core that operates down to 2.0V, in contrast to the standard F variant which operates down to 4.2V.
Key features include nanoWatt technology for low-power Sleep and Idle modes, an enhanced CAN 2.0B controller with acceptance filters, an enhanced USART, MSSP (SPI/I2C), and up to 36 I/O pins. The 80KB Flash supports self-programming under firmware control, enabling in-field bootloaders, and the 10-bit ADC provides up to 11 channels with acquisition-time control.
The PIC18F4682 architecture uses a 16-bit instruction word with an 8-bit data path, offering 1MIPS/MHz performance and a hardware multiply engine. Peripherals are mapped via SFRs with context-switching support for RTOS use, and the ECAN module provides bit-stuffing, acceptance filtering, and bus-fault diagnostics for ISO 11898 networks.
Typical applications include CAN-based industrial sensor nodes, automotive body and chassis ECUs, HVAC control boards, motor-control front-ends, and battery-powered metering. The 40-PDIP package supports hand-soldered prototyping and through-hole production runs.
When designing, verify that the supply rail stays within 2.0V-3.6V across temperature; the LF core does not tolerate 5V. Use Microchip's MPLAB X IDE and the MPLAB ICD 3 or PICkit 5 for programming. Provide a 0.1uF decoupling capacitor within 5 mm of each VDD/VSS pair.
This page synthesizes distributor pricing, same-brand drop-in alternatives, and design notes not found on the manufacturer datasheet, optimized for engineers evaluating the PIC18LF4682-I/P for new designs or field replacements.
Drop-in alternatives for PIC18LF4682-I/P — 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 PIC18LF4682-I/P (same form factor and footprint) — differing in Package, ADC, Core Architecture, Program Memory (Flash), CAN Module.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F4682-I/P
✅ Drop-In✓ In Stock
$5.3 / Unit
View Datasheet →PIC18LF4682-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF458-I/PT
✅ Drop-In✓ In Stock
$6.12 / Unit
View Datasheet →PIC18LF448-I/PT
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.95 / Unit
View Datasheet →PIC18LF4585-I/PT
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$6.34 / Unit
View Datasheet →PIC18LF4580-I/P
✅ Drop-In✓ In Stock
$4.85 / Unit
View Datasheet →PIC18F458-I/P
✅ Drop-In✓ In Stock
$7.45 / Unit
View Datasheet →PIC18LF4682-I/P Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC |
| Family | PIC18F |
| Program Memory (Flash) | 80 KB (40K x 16) |
| Data Memory (SRAM) | 3328 bytes |
| Data EEPROM | 1024 bytes |
| Maximum CPU Speed | 40 MHz |
| Operating Voltage Range | 2.0 V to 3.6 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 11 channels |
| CAN Module | ECAN 2.0B |
| Communication Interfaces | ECAN, EUSART, MSSP (SPI/I2C) |
| Timers | 4 (Timer0/1/2/3) |
| Package | 40-pin PDIP (DIP-40, 0.600 inch row spacing) |
| Mounting Type | Through-Hole |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Low-Power Features | nanoWatt technology (Sleep, Idle, Run modes) |
| Self-Programming | Yes (Flash in-circuit) |
| Instruction Set Width | 16-bit |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC18LF4682-I/P Pin Configuration
| Pin 1 | RA0/AN0 — Digital I/O / Analog input 0 |
| Pin 2 | RA1/AN1 — Digital I/O / Analog input 1 |
| Pin 3 | RA2/AN2/VREF- — Digital I/O / Analog input 2 / ADC VREF- |
| Pin 4 | RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC VREF+ |
| Pin 5 | RA4/T0CKI/C1OUT — Digital I/O / Timer0 clock / Comparator 1 output |
| Pin 6 | RA5/AN4/SS/HLVDIN — Digital I/O / Analog input 4 / SPI SS / HLVD input |
| Pin 7 | RE0/RD/AN5 — Digital I/O / Read control for Parallel Slave Port / Analog input 5 |
| Pin 8 | RE1/WR/AN6 — Digital I/O / Write control for PSP / Analog input 6 |
| Pin 9 | RE2/CS/AN7 — Digital I/O / Chip Select for PSP / Analog input 7 |
| Pin 10 | VDD — Positive supply (2.0V-3.6V) |
| Pin 11 | VSS — Ground reference |
| Pin 12 | OSC1/CLKI/RA7 — Crystal oscillator input / External clock input |
| Pin 13 | OSC2/CLKO/RA6 — Crystal oscillator output / Clock output |
| Pin 14 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input |
| Pin 15 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 PWM output |
| Pin 16 | RC2/CCP1/P1A — Digital I/O / CCP1 PWM output / Enhanced PWM output A |
| Pin 17 | RC3/SCK/SCL — Digital I/O / SPI SCK / I2C SCL |
| Pin 18 | RC4/SDI/SDA — Digital I/O / SPI SDI / I2C SDA |
| Pin 19 | RC5/SDO — Digital I/O / SPI SDO |
| Pin 20 | RC6/TX/CK — Digital I/O / EUSART TX / EUSART clock |
| Pin 21 | RC7/RX/DT — Digital I/O / EUSART RX / EUSART data |
| Pin 22 | RD0/PSP0/C1IN+ — Digital I/O / Parallel Slave Port data / Comparator 1 input + |
| Pin 23 | RD1/PSP1/C1IN- — Digital I/O / PSP data / Comparator 1 input - |
| Pin 24 | RD2/PSP2/C2IN+ — Digital I/O / PSP data / Comparator 2 input + |
| Pin 25 | RD3/PSP3/C2IN- — Digital I/O / PSP data / Comparator 2 input - |
| Pin 26 | RD4/PSP4/ECANRX — Digital I/O / PSP data / ECAN RX |
| Pin 27 | RD5/PSP5/ECANTX — Digital I/O / PSP data / ECAN TX |
| Pin 28 | RD6/PSP6/TX2/CK2 — Digital I/O / PSP data / EUSART2 TX / EUSART2 clock |
| Pin 29 | RD7/PSP7/RX2/DT2 — Digital I/O / PSP data / EUSART2 RX / EUSART2 data |
| Pin 30 | VSS — Ground reference |
| Pin 31 | RB0/INT0/FLT0 — Digital I/O / External interrupt 0 / PWM fault input |
| Pin 32 | RB1/INT1 — Digital I/O / External interrupt 1 |
| Pin 33 | RB2/INT2/CANTX — Digital I/O / External interrupt 2 / CAN TX |
| Pin 34 | RB3/INT3/CANRX — Digital I/O / External interrupt 3 / CAN RX |
| Pin 35 | RB4/KBI0 — Digital I/O with interrupt-on-change |
| Pin 36 | RB5/KBI1/PGM — Digital I/O with interrupt-on-change / LVP programming |
| Pin 37 | RB6/KBI2/PGC — Digital I/O with interrupt-on-change / ICSP clock |
| Pin 38 | RB7/KBI3/PGD — Digital I/O with interrupt-on-change / ICSP data |
| Pin 39 | MCLR/RE3 — Master Clear reset input (active-low) / Digital I/O |
| Pin 40 | VDD — Positive supply (2.0V-3.6V) |
Typical Applications
PIC18LF4682-I/P is suitable for 6 applications: CAN-based Industrial Sensor Nodes, Automotive Body and Chassis ECUs, HVAC and Building Automation Controllers, Battery-Powered Metering and Telemetry, Motor Control Front-Ends (BLDC/PMSM FOC), Industrial Protocol Bridges (CAN-to-UART, CAN-to-SPI).
CAN-based Industrial Sensor Nodes
The PIC18LF4682-I/P's ECAN 2.0B controller with hardware acceptance filtering makes it an ideal node controller for ISO 11898 industrial networks. Its 80KB Flash stores application and communication stacks; the 3.25KB SRAM supports CAN message buffers and protocol stacks like CANopen or DeviceNet. At 40 MHz the core delivers 10 MIPS, ample for sensor conditioning, filtering, and CAN frame processing. The 10-bit ADC with 11 channels interfaces directly to analog sensor outputs (temperature, pressure, flow), while the LF core's 2.0V-3.6V range suits 3.3V industrial backplanes. The 40-PDIP package simplifies through-hole field-replacement maintenance in industrial cabinets.
Recommended
Automotive Body and Chassis ECUs
The PIC18LF4682-I/P targets automotive body electronics such as HVAC control, seat modules, lighting controllers, and mirror adjusters. Its ECAN module supports automotive CAN bus speeds up to 1 Mbps, while the nanoWatt low-power modes extend quiescent current on parked vehicles. The 80KB Flash accommodates AUTOSAR-style application code plus diagnostics (UDS/KWP2000), and the 10-bit ADC reads thermistor/position-sensor inputs. For chassis applications requiring higher reliability, the PIC18F4682-I/P (5V variant) is preferred. The 40-PDIP package supports both prototyping and low-volume ECU production.
Recommended
HVAC and Building Automation Controllers
Building automation controllers use the PIC18LF4682-I/P as a low-cost HVAC controller communicating over CAN with chiller units, air handlers, and zone dampers. The 80KB Flash accommodates scheduling algorithms, PID control loops, and a Modbus/CAN gateway. The 10-bit ADC with 11 channels reads temperature, humidity, and pressure sensors, while PWM outputs drive fan/valve actuators. nanoWatt technology allows battery-backed RTC operation during power events. The 40-PDIP package is well suited to HVAC control boards where through-hole components simplify field service.
Recommended
Battery-Powered Metering and Telemetry
The PIC18LF4682-I/P's LF (low-voltage) 2.0V-3.6V operation makes it a strong fit for battery-powered metering such as gas/water/heat meters and remote telemetry units. The nanoWatt Sleep mode consumes sub-microampere current, extending battery life to years; periodic wakeups from the Watchdog Timer read the ADC and transmit CAN/UART frames. The 10-bit ADC with internal reference measures battery voltage and sensor inputs. The 1KB EEPROM stores calibration constants and tamper logs without external memory. The 40-PDIP supports through-hole battery compartments and field replacement.
Recommended
Motor Control Front-Ends (BLDC/PMSM FOC)
For low-cost BLDC and PMSM motor control front-ends, the PIC18LF4682-I/P runs sensorless FOC algorithms at 40 MHz, generating PWM signals via its CCP/ECCP modules and reading back-EMF via the 10-bit ADC. The 80KB Flash fits vector-control state machines plus CAN diagnostics, while ECAN reports motor status to the host controller. For higher-performance FOC requiring DSP-class throughput, Microchip's dsPIC33 family is recommended; however, the PIC18LF4682-I/P remains cost-effective for fans, pumps, and small appliances up to ~500W.
Recommended
Industrial Protocol Bridges (CAN-to-UART, CAN-to-SPI)
The PIC18LF4682-I/P serves as a low-cost protocol bridge between CAN, UART, SPI, and I2C networks, common in legacy industrial equipment retrofits. The ECAN module reads CAN frames while MSSP (SPI/I2C) and EUSART interface to legacy peripherals; the 80KB Flash fits framing and routing logic. The 10-bit ADC provides optional analog monitoring of legacy rails. The 40-PDIP package simplifies insertion into existing PCB layouts during retrofit projects.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF4682-I/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F4682-I/P | PIC18LF458-I/P | PIC18LF4580-I/P | PIC18F458-I/P |
|---|---|---|---|---|---|
| Package | 40-pin PDIP | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 80 KB | 80 KB (same) | 32 KB (-60%) | 32 KB (-60%) | 32 KB (-60%) |
| SRAM | 3328 bytes | 3328 bytes (same) | 1536 bytes (-54%) | 1536 bytes (-54%) | 1536 bytes (-54%) |
| Operating Voltage | 2.0 V to 3.6 V | 4.2 V to 5.5 V | 2.0 V to 5.5 V (F-version) | 2.0 V to 3.6 V (same) | 4.2 V to 5.5 V |
| CAN Module | ECAN 2.0B | ECAN 2.0B (same) | Legacy CAN | ECAN 2.0B | Legacy CAN |
| ADC | 10-bit, 11 channels | 10-bit, 11 channels (same) | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels |
| Maximum Speed | 40 MHz (10 MIPS) | 40 MHz (same) | 40 MHz (same) | 40 MHz (same) | 40 MHz (same) |
| EEPROM | 1024 bytes | 1024 bytes (same) | 256 bytes (-75%) | 256 bytes (-75%) | 256 bytes (-75%) |
Key Differentiators
- Highest Flash/RAM in the PIC18F 40-pin family (vs PIC18LF458-I/P)
- ECAN 2.0B with hardware acceptance filtering (vs PIC18F458-I/P (legacy CAN))
- Lower-voltage LF core operation (vs PIC18F4682-I/P (5V variant))
- 10-bit ADC with 11 channels vs 8 channels on LF458 (vs PIC18LF458-I/P)
Design Notes
The PIC18LF4682-I/P requires a stable 2.0V-3.6V supply; bulk decoupling of 10uF plus 0.1uF ceramic within 5 mm of each VDD/VSS pair is recommended. For CAN networks, also place a 4.7uF tantalum bulk capacitor near the transceiver's VCC. Battery-powered designs should use a low-Iq LDO such as MCP1700 (1.6uA Iq) to maximize standby life. Avoid switching regulators with high ripple on VDD; if a switcher is required, add a ferrite bead and pi-filter on the supply rail.
Layout the 40-PDIP footprint with standard 0.100-inch row spacing (2.54 mm pitch); pin 1 is identified by a notched or dot-marked end of the package. Place ICSP header (PGC/PGD/MCLR/VDD/VSS) on a 0.1-inch header for production programming. The crystal/oscillator traces must be short (under 5 mm) with grounded guard traces; the ECAN RX/TX traces should be matched-length differential pair (within 5 mm) and routed away from switching nodes.
Estimated configuration fuse settings: disable the Watchdog Timer in software during init unless explicitly needed, configure the PLL for 40 MHz if an external 10 MHz crystal is used, and ensure the MCLR pin is pulled up via a 10k resistor with a 100nF cap to ground for proper reset. A common pitfall is leaving the LF core connected to a 5V rail - the LF variant does NOT tolerate 5V; the F-variant PIC18F4682 must be used instead. Self-programming Flash writes require unlocking sequence; never interrupt the write cycle or the row will be corrupted.
For CAN bus at 1 Mbps, keep the CANH/CANL differential traces to a controlled impedance of 120 ohms with a 120-ohm termination resistor at each bus end. Avoid stubs longer than 1/10 of the signal rise time. The MCP2551 transceiver should be placed within 25 mm of the MCU's ECAN TX/RX pins to minimize EMI susceptibility. For EMI-sensitive designs, add a common-mode choke on the bus and TVS diodes for ESD protection (e.g., PESD1CAN).
Compliance Information
RoHS compliant and Pb-free per Microchip product specifications. Industrial temperature grade -40C to +85C. Not AEC-Q100 qualified; for automotive applications requiring AEC-Q100, consider PIC18F4682-I/P automotive variants or consult Microchip's automotive MCU portfolio.