PIC18LF4682-I/P - 8-Bit MCU, 80KB Flash, ECAN, 40-PDIP | Microchip
料号: PIC18LF4682-I/P ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 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 概述
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.
直接替换替代料: PIC18LF4682-I/P ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18LF4682-I/P (相同外形与封装尺寸) ——差异在于 Package, ADC, Program Memory (Flash), Core Architecture, CAN Module.
快速对比工具——选择替代料号进行并排对比:
PIC18F4682-I/P
✅ 直接替换✓ 有现货
$5.3 / 个
查看数据手册 →PIC18LF4682-I/PT
✅ 直接替换📋 参考替代料(不在目录中)
PIC18LF458-I/PT
✅ 直接替换✓ 有现货
$6.12 / 个
查看数据手册 →PIC18LF448-I/PT
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$2.95 / 个
查看数据手册 →PIC18LF4585-I/PT
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$6.34 / 个
查看数据手册 →PIC18LF4580-I/P
✅ 直接替换✓ 有现货
$4.85 / 个
查看数据手册 →PIC18F458-I/P
✅ 直接替换✓ 有现货
$7.45 / 个
查看数据手册 →PIC18LF4682-I/P 最大额定值与电气特性
| 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) |
| 封装 | 40-pin PDIP (DIP-40, 0.600 inch row spacing) |
| 安装类型 | Through-Hole |
| 工作温度 | -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 状态 | Compliant |
| Lead-Free | Yes |
PIC18LF4682-I/P 引脚配置
| 引脚 1 | RA0/AN0 — Digital I/O / Analog input 0 |
| 引脚 2 | RA1/AN1 — Digital I/O / Analog input 1 |
| 引脚 3 | RA2/AN2/VREF- — Digital I/O / Analog input 2 / ADC VREF- |
| 引脚 4 | RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC VREF+ |
| 引脚 5 | RA4/T0CKI/C1OUT — Digital I/O / Timer0 clock / Comparator 1 output |
| 引脚 6 | RA5/AN4/SS/HLVDIN — Digital I/O / Analog input 4 / SPI SS / HLVD input |
| 引脚 7 | RE0/RD/AN5 — Digital I/O / Read control for Parallel Slave Port / Analog input 5 |
| 引脚 8 | RE1/WR/AN6 — Digital I/O / Write control for PSP / Analog input 6 |
| 引脚 9 | RE2/CS/AN7 — Digital I/O / Chip Select for PSP / Analog input 7 |
| 引脚 10 | VDD — Positive supply (2.0V-3.6V) |
| 引脚 11 | VSS — Ground reference |
| 引脚 12 | OSC1/CLKI/RA7 — Crystal oscillator input / External clock input |
| 引脚 13 | OSC2/CLKO/RA6 — Crystal oscillator output / Clock output |
| 引脚 14 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input |
| 引脚 15 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 PWM output |
| 引脚 16 | RC2/CCP1/P1A — Digital I/O / CCP1 PWM output / Enhanced PWM output A |
| 引脚 17 | RC3/SCK/SCL — Digital I/O / SPI SCK / I2C SCL |
| 引脚 18 | RC4/SDI/SDA — Digital I/O / SPI SDI / I2C SDA |
| 引脚 19 | RC5/SDO — Digital I/O / SPI SDO |
| 引脚 20 | RC6/TX/CK — Digital I/O / EUSART TX / EUSART clock |
| 引脚 21 | RC7/RX/DT — Digital I/O / EUSART RX / EUSART data |
| 引脚 22 | RD0/PSP0/C1IN+ — Digital I/O / Parallel Slave Port data / Comparator 1 input + |
| 引脚 23 | RD1/PSP1/C1IN- — Digital I/O / PSP data / Comparator 1 input - |
| 引脚 24 | RD2/PSP2/C2IN+ — Digital I/O / PSP data / Comparator 2 input + |
| 引脚 25 | RD3/PSP3/C2IN- — Digital I/O / PSP data / Comparator 2 input - |
| 引脚 26 | RD4/PSP4/ECANRX — Digital I/O / PSP data / ECAN RX |
| 引脚 27 | RD5/PSP5/ECANTX — Digital I/O / PSP data / ECAN TX |
| 引脚 28 | RD6/PSP6/TX2/CK2 — Digital I/O / PSP data / EUSART2 TX / EUSART2 clock |
| 引脚 29 | RD7/PSP7/RX2/DT2 — Digital I/O / PSP data / EUSART2 RX / EUSART2 data |
| 引脚 30 | VSS — Ground reference |
| 引脚 31 | RB0/INT0/FLT0 — Digital I/O / External interrupt 0 / PWM fault input |
| 引脚 32 | RB1/INT1 — Digital I/O / External interrupt 1 |
| 引脚 33 | RB2/INT2/CANTX — Digital I/O / External interrupt 2 / CAN TX |
| 引脚 34 | RB3/INT3/CANRX — Digital I/O / External interrupt 3 / CAN RX |
| 引脚 35 | RB4/KBI0 — Digital I/O with interrupt-on-change |
| 引脚 36 | RB5/KBI1/PGM — Digital I/O with interrupt-on-change / LVP programming |
| 引脚 37 | RB6/KBI2/PGC — Digital I/O with interrupt-on-change / ICSP clock |
| 引脚 38 | RB7/KBI3/PGD — Digital I/O with interrupt-on-change / ICSP data |
| 引脚 39 | MCLR/RE3 — Master Clear reset input (active-low) / Digital I/O |
| 引脚 40 | VDD — Positive supply (2.0V-3.6V) |
典型应用
PIC18LF4682-I/P 适用于 6 应用s: 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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
推荐产品汇总
工程参考数据: PIC18LF4682-I/P ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | 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%) |
关键差异点
- Highest Flash/RAM in the PIC18F 40-pin family (对比 PIC18LF458-I/P)
- ECAN 2.0B with hardware acceptance filtering (对比 PIC18F458-I/P (legacy CAN))
- Lower-voltage LF core operation (对比 PIC18F4682-I/P (5V variant))
- 10-bit ADC with 11 channels vs 8 channels on LF458 (对比 PIC18LF458-I/P)
设计说明
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).
合规信息
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.