PIC18F4682-E/P - 8-bit 40MHz 80KB Flash MCU w/ ECAN | Microchip
N.º da peça: PIC18F4682-E/P ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $7.92 | $7,92 |
| 10 | $7.45 | $74,50 |
| 100 | $6.84 | $684,00 |
| 500 | $6.2 | $3.100,00 |
| 1.000 | $5.58 | $5.580,00 |
PIC18F4682-E/P Visão geral
A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory, RAM, and peripheral interfaces. PIC18F MCUs are 8-bit Harvard-architecture parts within Microchip's PIC (Peripheral Interface Controller) family, belonging to the broader category of microcontrollers, embedded processors, and semiconductors. The PIC18F series targets mid-range embedded designs requiring higher code density and richer peripherals than baseline PIC16F parts, while remaining more cost-effective than 16-bit PIC24F/dsPIC or 32-bit ARM Cortex-M families. The "F" denotes Flash program memory, allowing in-system reprogramming via ICSP.
Key features of the PIC18F4682 include 80 KB self-programmable Flash with 10K erase/write cycles endurance, 3328 bytes SRAM, 1024 bytes EEPROM with 1M erase/write cycles endurance, the Enhanced CAN 2.0B module supporting up to 1 Mbps with hardware filtering, and a 10-bit ADC with 11 input channels and 16 acquisition time options. The device also integrates two USART modules, MSSP (SPI/I2C), two CCP/ECCP modules, a 16-bit timer/counter, three 8-bit timers, nanoWatt power management with deep sleep current in the nanoamp range, and an 8x8 hardware multiplier for DSP-style operations.
The PIC18F4682 is built on Microchip's enhanced Flash process technology with on-chip debugging via ICD breakpoints and run-time reads. The ECAN module provides message acceptance filters, time stamping, and FIFO buffering, reducing host CPU load in CAN networks. The nanoWatt technology offers multiple idle modes (Idle, Deep Sleep, Sleep, and an ultra-low-power Real-Time Clock mode) that drop supply current substantially, enabling battery-backed designs.
Typical applications include industrial CAN-bus nodes, automotive body and chassis ECUs (CAN sub-bus), HVAC controls, building automation, smart metering, motor control with ECAN feedback, medical instrumentation, and embedded control systems that require network connectivity alongside analog and digital I/O. The ECAN integration is the principal differentiator: where competing 8-bit MCUs require an external CAN controller such as the MCP2515, the PIC18F4682 places the CAN MAC on-chip.
When designing with the PIC18F4682-E/P, verify Vdd decoupling with 100 nF plus bulk capacitors, route the CAN bus with proper 120-ohm termination at each end, and select between 20 MHz and 40 MHz operation modes using the internal PLL. The ICSP programming pins (PGC/PGD) must be accessible for in-system programming, and the MCLR reset pin should be pulled up through a 10 kohm resistor with optional capacitor for noise immunity.
This page consolidates distributor pricing, parametric comparisons against 7 alternatives, application context, and engineering design notes beyond what the manufacturer datasheet alone provides.
Alternativas drop-in para PIC18F4682-E/P — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F4682-E/P (mesmo formato e footprint) — diferindo em Program Memory (Flash), ADC, Core Architecture, EEPROM, Operating Temperature.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F4682-I/P
✅ Drop-In✓ Em estoque
$5.3 / unidade
Ver ficha técnica →PIC18F4685-E/P
✅ Drop-In✓ Em estoque
$6.2 / unidade
Ver ficha técnica →PIC18F4680-E/P
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F4585-E/P
✅ Drop-In✓ Em estoque
$5.07 / unidade
Ver ficha técnica →PIC18F46K22-I/P
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$2.61 / unidade
Ver ficha técnica →PIC18F46K80-I/P
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$4.78 / unidade
Ver ficha técnica →PIC18F4682-E/P Classificações máximas e características elétricas
| Core Architecture | PIC18F (8-bit Harvard RISC) |
| CPU Speed | 40 MHz maximum (10 MIPS) |
| Program Memory | 80 KB Flash (self-programmable) |
| Data Memory (RAM) | 3328 bytes SRAM |
| EEPROM | 1024 bytes |
| Operating Voltage | 4.2 V to 5.5 V |
| Temperatura de operação | -40 °C to +125 °C (E temp grade) |
| ADC | 10-bit, up to 11 channels |
| CAN Module | ECAN 2.0B (1 Mbps, hardware filtering) |
| USART Modules | 2 |
| MSSP (SPI/I2C) | 1 |
| CCP/ECCP Modules | 2 (1 ECCP + 1 CCP) |
| Timers | 3x 8-bit + 1x 16-bit |
| I/O Pins | 36 (on 40-pin PDIP) |
| Encapsulamento | 40-pin PDIP (P) |
| Tipo de montagem | Through-Hole (DIP) |
| Status RoHS | Compliant (lead-free) |
Configuração de pinos do PIC18F4682-E/P
| Pino 1 | MCLR/RE3 — Reset input / digital I/O |
| Pino 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pino 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pino 4 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / VREF- |
| Pino 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / VREF+ |
| Pino 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI SS |
| Pino 8 | RE0/RD/AN5 — PORTE bit 0 / read control / analog input 5 |
| Pino 9 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| Pino 10 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| Pino 11 | VDD — Positive supply voltage (+5V) |
| Pino 12 | VSS — Ground reference |
| Pino 13 | OSC1/CLKI/RA7 — Crystal/clock input / PORTA bit 7 |
| Pino 14 | OSC2/CLKO/RA6 — Crystal/clock output / PORTA bit 6 |
| Pino 15 | RC0/T1OSO/T13CKI — PORTC bit 0 / Timer1 oscillator output |
| Pino 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| Pino 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM |
| Pino 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pino 19 | RD0/C1IN+/PSP0 — PORTD bit 0 / CAN1 input + / PSP |
| Pino 20 | RD1/C1IN-/PSP1 — PORTD bit 1 / CAN1 input - / PSP |
| Pino 21 | RD2/C2IN+/PSP2 — PORTD bit 2 / CAN2 input + / PSP |
| Pino 22 | RD3/C2IN-/PSP3 — PORTD bit 3 / CAN2 input - / PSP |
| Pino 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pino 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pino 25 | RC6/TX1/CK1 — PORTC bit 6 / USART1 transmit / clock |
| Pino 26 | RC7/RX1/DT1 — PORTC bit 7 / USART1 receive / data |
| Pino 27 | RD4/ECCP1/P1B — PORTD bit 4 / Enhanced CCP1 / PWM1B |
| Pino 28 | RD5/P1C — PORTD bit 5 / PWM1C output |
| Pino 29 | RD6/P1D — PORTD bit 6 / PWM1D output |
| Pino 30 | RD7/P1E — PORTD bit 7 / PWM1E output |
| Pino 31 | VSS — Ground reference |
| Pino 32 | VDD — Positive supply voltage (+5V) |
| Pino 33 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| Pino 34 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| Pino 35 | RB2/INT2 — PORTB bit 2 / external interrupt 2 |
| Pino 36 | RB3/INT3/CCP2A — PORTB bit 3 / external interrupt 3 / CCP2 alt |
| Pino 37 | RB4/KBI0 — PORTB bit 4 / keyboard interrupt 0 |
| Pino 38 | RB5/KBI1 — PORTB bit 5 / keyboard interrupt 1 |
| Pino 39 | RB6/KBI2/PGC — PORTB bit 6 / keyboard interrupt / ICSP clock |
| Pino 40 | RB7/KBI3/PGD — PORTB bit 7 / keyboard interrupt / ICSP data |
Aplicações típicas
PIC18F4682-E/P é adequado para 6 aplicaçãos: Industrial CAN-bus Nodes, Automotive Body and Chassis ECUs, HVAC and Building Automation Controllers, Smart Metering and Energy Monitoring, Motor Control with ECAN Feedback, Medical Instrumentation Data Loggers.
Industrial CAN-bus Nodes
The PIC18F4682-E/P fits industrial CAN-bus nodes thanks to its integrated ECAN 2.0B module capable of 1 Mbps bus speed with hardware acceptance filtering, which offloads the CPU in multi-node CAN networks. Placed directly on a CAN sub-bus with an MCP2551 CAN transceiver and 120-ohm termination, the part executes local sensing/control while communicating via the on-chip ECAN MAC, eliminating the need for an external MCP2515 controller. The Extended -40 °C to +125 °C temperature grade suits factory-floor environments. The 10 MIPS at 40 MHz comfortably handles CAN stack plus local ADC and PWM loops.
Recomendado
Automotive Body and Chassis ECUs
The PIC18F4682-E/P is well suited for non-safety automotive body and chassis ECUs such as lighting controllers, seat modules, HVAC blend doors, and door-zone controllers on CAN sub-bus networks. The Extended -40 °C to +125 °C temperature grade handles under-hood and engine-bay thermal environments, while the ECAN 2.0B module interfaces directly to vehicle CAN buses at 500 kbps typical. Paired with a TLE7250-3 or MCP2551 CAN transceiver and TVS protection, the part delivers 10 MIPS at 40 MHz for real-time control loops. Migration to PIC18F-K80 series is recommended for CAN FD and ASIL support.
Recomendado
HVAC and Building Automation Controllers
The PIC18F4682-E/P fits HVAC and building automation controller designs where multiple sensor inputs (temperature, humidity, airflow) drive relay, valve, and fan outputs on a CAN network. The 10-bit ADC with 11 input channels captures analog sensor readings, while two USART and one MSSP (SPI/I2C) handle peripheral displays, keypads, and external EEPROM. The ECAN module links to a building-wide CAN bus for centralized control. Estimated power consumption is ~22 mA at 5V/40 MHz, with nanoWatt sleep modes reducing current to ~0.1 μA in standby.
Recomendado
Smart Metering and Energy Monitoring
The PIC18F4682-E/P is a strong fit for smart metering and energy monitoring endpoints that report consumption data over CAN or serial to a concentrator. Its 80 KB Flash accommodates metering firmware stacks with room for future feature growth, while 1024 bytes of EEPROM stores calibration constants and usage logs. The integrated ECAN module connects to meter-bus infrastructure, and the nanoWatt technology drops supply current to ~100 nA in deep sleep for battery-backed meter designs. The 36 I/O pins drive LED indicators and tamper-detection sensors.
Recomendado
Motor Control with ECAN Feedback
The PIC18F4682-E/P suits motor control applications where brushless DC or stepper motors require PWM commutation and CAN-based command/feedback. The ECCP module generates complementary PWM with dead-band control, while the ECAN module receives speed/torque commands and returns telemetry. The 10-bit ADC samples current shunt and back-EMF signals across 11 input channels. Migration to PIC18F-K80 adds higher-resolution PWM, while dsPIC33E parts offer true DSP-class motor control. Hardware multiplier accelerates PI/D current-loop calculations.
Recomendado
Medical Instrumentation Data Loggers
The PIC18F4682-E/P is suitable for medical instrumentation data loggers that capture analog biosignals via its 10-bit ADC and stream data over USB-serial bridges or CAN to a host processor. The 3328-byte RAM buffers raw ADC samples, while 1024-byte EEPROM retains device calibration data. The Extended temperature grade supports clinical and laboratory environments. For IEC 62304/ISO 13485-compliant designs, plan migration to dsPIC33 or PIC32MK families with built-in safety features. Pair with low-noise op-amps and isolation barriers per IEC 60601.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F4682-E/P — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F4682-I/P | PIC18F4685-E/P | PIC18F4680-E/P | PIC18F4585-E/P | PIC18F46K22-I/P | PIC18F46K80-I/P |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP (P) | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same |
| Program Memory (Flash) | 80 KB | 80 KB | 96 KB | 64 KB | 48 KB | 64 KB | 64 KB |
| RAM | 3328 bytes | 3328 bytes | 3.8 KB (3896 bytes) | 3328 bytes | 3328 bytes | 3.8 KB (3896 bytes) | 3.6 KB (3696 bytes) |
| EEPROM | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes |
| ECAN Module | ECAN 2.0B (1 Mbps) | ECAN 2.0B (1 Mbps) | ECAN 2.0B (1 Mbps) | None (no CAN) | Legacy CAN (not ECAN) | None (use K80 for CAN) | ECAN 2.0B + CAN FD-ready |
| ADC Resolution | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 12-bit, 28 channels | 12-bit, 11 channels |
| Operating Temperature | -40 °C to +125 °C (E) | -40 °C to +85 °C (I) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +85 °C (I) | -40 °C to +85 °C (I) |
Principais diferenciais
- Higher Flash density than PIC18F4680 (vs PIC18F4680-E/P)
- Integrated ECAN with hardware filter (vs PIC18F46K22-I/P)
- Drop-in extended temperature migration path (vs PIC18F4682-I/P)
Notas de projeto
PIC18F4682-E/P operating voltage range is 4.2-5.5 V. Decouple VDD/VSS pairs (pins 11/12 and 31/32) with a 100 nF ceramic capacitor in parallel with a bulk tantalum or electrolytic 1-10 μF capacitor placed within 10 mm of the IC. For battery-backed designs, the nanoWatt deep-sleep mode reduces supply current to ~100 nA, enabling multi-year standby. Estimated active current at 5 V/40 MHz is ~22 mA with ECAN enabled; verify your regulator headroom accordingly.
Route the CAN bus traces as a differential pair (CANTX/CANRX) with controlled impedance and 120-ohm termination at each end of the bus. Keep CAN traces short (<30 mm) and away from switching signals. The MCLR reset pin (pin 1) requires a 10 kohm pull-up to VDD with optional 100 nF capacitor for noise immunity; do not leave MCLR floating. ICSP pins PGC (39) and PGD (40) must remain accessible for in-circuit programming and debugging.
When migrating between -I (industrial) and -E (extended) temperature grades of the PIC18F4682, do not assume ADC readings are stable across the wider -40 °C to +125 °C range - re-validate your analog calibration. Avoid toggling shared analog pins (RA0-RA5) in firmware at high frequency because crosstalk degrades ADC accuracy; add a brief settling delay before ADC acquisition. ECAN interrupt priority must be set above application timers to prevent CAN message loss at high bus loads.
Informações de conformidade
RoHS compliant per Microchip product page. AEC-Q100 not specifically qualified; -E temp grade extends operating range but does not constitute AEC-Q100 certification. For AEC-Q100 automotive-qualified CAN MCUs, use PIC18F-K80 family. Lead-free assembly compatible.