PIC18F4682-I/ML - 8-bit 40MHz 80KB Flash MCU 44-QFN | Microchip
N.º da peça: PIC18F4682-I/ML ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $9.2 | $9,20 |
| 10 | $8.45 | $84,50 |
| 100 | $7.38 | $738,00 |
| 500 | $6.55 | $3.275,00 |
| 1.000 | $5.92 | $5.920,00 |
PIC18F4682-I/ML Visão geral
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O onto one silicon die. The PIC18 family sits within Microchip's 8-bit PIC portfolio as an enhanced architecture with 16-bit wide instructions, hardware multiply, and C-optimized design, making it a step up from baseline and mid-range PIC microcontrollers and a popular choice for cost-sensitive embedded control. The PIC18F4682 belongs to the PIC18F4680/4682/4685 sub-family, which adds the ECAN (Enhanced Controller Area Network) peripheral for automotive and industrial CAN bus nodes.
Key features of the PIC18F4682-I/ML include 80 KB (40K x 16) self-programmable Flash, 3.3 KB RAM, 1 KB EEPROM, 36 digital I/O pins, a 10-bit ADC with up to 11 channels, an Enhanced USART, MSSP (SPI/I2C), two CCP/ECCP modules, two 8-bit timers plus three 16-bit timers, and an ECAN module. The nanoWatt technology offers multiple power-managed modes (Idle, Sleep, and alternate clock sources) that drop supply current into the microamp range during idle periods, extending battery life in low-duty-cycle applications.
The architecture combines a Harvard-bus RISC core with a 16-bit instruction word and an 8-bit data path, a hardware 8x8 multiplier for fast arithmetic, an interrupt controller with vectored priorities, and an internal oscillator block. The QFN-44 package with exposed pad gives low thermal resistance for high-clock industrial environments, and the on-board In-Circuit Serial Programming (ICSP) and In-Circuit Debug (ICD) interfaces allow direct Flash programming through two pins without an external programmer.
Typical applications include CAN-connected industrial sensor nodes, automotive body and comfort electronics, HVAC controllers, building-automation gateways, USB-to-CAN bridges, and embedded motor-control front ends. The combination of ECAN, 10-bit ADC, and ample Flash makes it well suited to multi-node networks where each node runs local control and reports back through the bus.
When designing with this part, allocate the ECAN pins (CANTX/CANRX) and the ICP/ICSP pins (PGD/PGC) early in the schematic; these are multiplexed and remapping them mid-layout is painful. Use the exposed thermal pad as a thermal and ground anchor - a continuous ground plane under the QFN is essential for the 40 MHz clock and the high-current I/O switching to keep emissions low.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the standalone manufacturer datasheet. Engineers comparing PIC18F4682 with PIC18F4685 or PIC18F4585 will find the parametric comparison_table below particularly useful.
Alternativas drop-in para PIC18F4682-I/ML — 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-I/ML (mesmo formato e footprint) — diferindo em Package, Operating Temperature, CAN Module, Timers, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F4685-I/ML
✅ Drop-In✓ Em estoque
$6.48 / unidade
Ver ficha técnica →PIC18F4585-I/ML
✅ Drop-In✓ Em estoque
$5.53 / unidade
Ver ficha técnica →PIC18F4480-I/ML
✅ Drop-In✓ Em estoque
$4.89 / unidade
Ver ficha técnica →PIC18F4682-E/ML
✅ Drop-In✓ Em estoque
$7.4 / unidade
Ver ficha técnica →PIC18F4682T-I/ML
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F4682-I/ML Classificações máximas e características elétricas
| Core Architecture | PIC18 (8-bit RISC, Harvard bus) |
| Frequência máxima de clock | 40 MHz |
| Program Memory (Flash) | 80 KB (40K x 16) |
| Data RAM | 3.3 KB (3328 bytes) |
| Data EEPROM | 1 KB (1024 bytes) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 11 channels |
| CAN Module | ECAN (Enhanced CAN 2.0B) |
| Communication Peripherals | EUSART, MSSP (SPI / I2C) |
| Timers | 2 x 8-bit, 3 x 16-bit |
| CCP / ECCP Modules | 2 |
| Operating Temperature Range (I grade) | -40C to +85C (industrial) |
| Encapsulamento | 44-pin QFN (8x8 mm) with exposed pad |
| Tipo de montagem | Surface Mount |
| ICSP / ICD | Yes (In-Circuit Serial Programming / Debug) |
| Status RoHS | Compliant |
| Lead-Free | Yes |
Configuração de pinos do PIC18F4682-I/ML
| Pino 1 | RA2 — Digital I/O / analog input AN2 |
| Pino 2 | RA3 — Digital I/O / analog input AN3 / VREF+ |
| Pino 3 | RA4 — Digital I/O / analog input AN4 |
| Pino 4 | RA5 — Digital I/O / analog input AN5 / SS |
| Pino 5 | RA6 — Digital I/O / oscillator output |
| Pino 6 | RA7 — Digital I/O / oscillator input |
| Pino 7 | VSS — Ground reference |
| Pino 8 | VDD — Positive supply 4.2-5.5 V |
| Pino 9 | RB0 — Digital I/O / interrupt-on-change |
| Pino 10 | RB1 — Digital I/O / interrupt-on-change |
| Pino 11 | RB2 — Digital I/O / interrupt-on-change |
| Pino 12 | RB3 — Digital I/O / interrupt-on-change |
| Pino 13 | RB4 — Digital I/O / interrupt-on-change |
| Pino 14 | RB5 — Digital I/O / interrupt-on-change / PGM |
| Pino 15 | RB6 — Digital I/O / ICD PGC |
| Pino 16 | RB7 — Digital I/O / ICD PGD |
| Pino 17 | VSS — Ground reference |
| Pino 18 | VDD — Positive supply 4.2-5.5 V |
| Pino 19 | RC0 — Digital I/O |
| Pino 20 | RC1 — Digital I/O / CCP2 |
| Pino 21 | RC2 — Digital I/O / CCP1 / PWM |
| Pino 22 | RC3 — Digital I/O / SCL |
| Pino 23 | RC4 — Digital I/O / SDA |
| Pino 24 | RC5 — Digital I/O / SDO |
| Pino 25 | RC6 — Digital I/O / TX |
| Pino 26 | RC7 — Digital I/O / RX |
| Pino 27 | VSS — Ground reference |
| Pino 28 | VDD — Positive supply 4.2-5.5 V |
| Pino 29 | RD0 — Digital I/O / PSP data |
| Pino 30 | RD1 — Digital I/O / PSP data |
| Pino 31 | RD2 — Digital I/O / PSP data |
| Pino 32 | RD3 — Digital I/O / PSP data |
| Pino 33 | RD4 — Digital I/O / PSP data |
| Pino 34 | RD5 — Digital I/O / PSP data |
| Pino 35 | RD6 — Digital I/O / PSP data |
| Pino 36 | RD7 — Digital I/O / PSP data |
| Pino 37 | VSS — Ground reference |
| Pino 38 | VDD — Positive supply 4.2-5.5 V |
| Pino 39 | RE0 — Digital I/O / RD / AN5 |
| Pino 40 | RE1 — Digital I/O / WR / AN6 |
| Pino 41 | RE2 — Digital I/O / CS / AN7 |
| Pino 42 | RE3 — Digital I/O |
| Pino 43 | CANTX — ECAN transmit output |
| Pino 44 | CANRX — ECAN receive input |
Aplicações típicas
PIC18F4682-I/ML é adequado para 6 aplicaçãos: Industrial CAN Sensor Nodes, Automotive Body and Comfort Electronics, Building Automation Gateways, USB-to-CAN Bridge Adapter, Embedded Motor-Control Front End, Medical Device Control Boards.
Industrial CAN Sensor Nodes
The PIC18F4682-I/ML fits industrial CAN sensor nodes because its ECAN 2.0B module, 10-bit ADC with up to 11 channels, and 40 MHz PIC18 core handle one sensor read-and-broadcast loop in well under 1 ms. With 80 KB of Flash, designers can fit a CANopen or DeviceNet stack plus application code in a single image, while the 3.3 KB RAM is enough for CAN message buffers and ADC averaging. The 44-QFN package exposes 36 I/O pins for parallel sensor buses, and the 4.2-5.5 V supply matches the 5 V rail common on industrial backplanes. ECAN hardware filtering cuts host CPU load, leaving headroom for local PID or threshold logic.
Recomendado
Automotive Body and Comfort Electronics
In automotive body modules - door modules, seat controllers, HVAC panels - the PIC18F4682-I/ML provides the ECAN backbone that links the module to the vehicle CAN bus at 500 kbit/s or 1 Mbit/s. The 40 MHz core runs CAN interrupt handlers with comfortable margin while servicing local switches, lighting drivers, and LIN slaves. The 10-bit ADC with 11 channels reads seat-position potentiometers, thermistors, and current-sense shunts without an external mux. For under-dash mounting, the -40C to +85C industrial temperature range covers most cabin environments; engine-bay nodes should step up to the E grade (-40C to +125C). The 44-QFN footprint keeps the PCB small enough to fit inside a door-handle or mirror housing.
Recomendado
Building Automation Gateways
The PIC18F4682-I/ML suits building-automation gateways that bridge BACnet, Modbus, or KNX sub-buses onto a CAN-based backbone. Its EUSART handles RS-485 Modbus traffic, while the MSSP runs SPI or I2C for local sensor and keypad I/O, all multiplexed with the ECAN peripheral so the gateway can speak multiple protocols in parallel. With 80 KB of Flash, a small BACnet stack plus routing logic fit in a single image. The nanoWatt idle modes drop the gateway's standby draw to single-digit microamps, important for always-on wall controllers. The 36 I/O pins comfortably support the LCD, keypad, and relay outputs that building controllers typically expose on the front panel.
Recomendado
USB-to-CAN Bridge Adapter
A USB-to-CAN bridge uses the PIC18F4682-I/ML as the protocol engine that translates USB CDC frames from a host PC into ECAN frames on a CAN bus. The MSSP running in SPI mode talks to a USB-to-UART or USB-to-SPI bridge such as the MCP2200 or MCP2210, while the ECAN module handles bus arbitration at up to 1 Mbit/s. The 40 MHz core moves data through both buses without dropping frames, and the 3.3 KB RAM hosts the ECAN receive buffers plus a USB endpoint scratch area. The 44-QFN keeps the adapter PCB under 30 mm square so the bridge fits in a typical diagnostic-tool enclosure.
Recomendado
Embedded Motor-Control Front End
The PIC18F4682-I/ML works as a smart front end for small brushless DC or stepper motor drives, where the ECCP module generates PWM with programmable dead-time and the ECAN module reports torque, speed, and fault status back to a master controller. The 10-bit ADC samples phase currents and back-EMF at the PWM rate, while the QEI (Quadrature Encoder Interface) tracks rotor position for closed-loop control. The 80 KB Flash stores a sensorless or sensored BLDC algorithm with lookup tables for commutation timing. The 44-QFN with exposed pad dissipates the modest heat from the I/O drivers at typical 24 V/2 A motor levels.
Recomendado
Medical Device Control Boards
In Class II medical electronics such as infusion pumps, patient monitors, or diagnostic analyzers, the PIC18F4682-I/ML provides the deterministic 8-bit control that FDA-cleared designs often prefer. The ECAN module links the device to a bedside CAN backbone carrying waveform and alarm data, while the 10-bit ADC reads pressure, flow, or SpO2 sensor outputs. The 80 KB Flash stores a small RTOS plus the device's clinical protocol, and the 1 KB EEPROM holds non-volatile calibration constants that survive battery swaps. The -40C to +85C industrial temperature range covers hospital and ambulatory environments, and the 36 I/O pins drive keypads, LCDs, and buzzer/alarm outputs.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F4682-I/ML — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F4685-I/ML | PIC18F4585-I/ML | PIC18F4480-I/ML | PIC18F4682-E/ML | PIC18F4682T-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-QFN (8x8) | 44-QFN (8x8) - same | 44-QFN (8x8) - same | 44-QFN (8x8) - same | 44-QFN (8x8) - same | 44-QFN (8x8) - same |
| Program Flash | 80 KB | 96 KB | 48 KB | 16 KB | 80 KB | 80 KB |
| Data RAM | 3.3 KB | 3.3 KB | 3.3 KB | 768 B | 3.3 KB | 3.3 KB |
| Maximum Clock | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz |
| CAN Module | ECAN 2.0B | ECAN 2.0B | ECAN 2.0B | CAN 2.0A/B (legacy) | ECAN 2.0B | ECAN 2.0B |
| ADC Resolution | 10-bit | 10-bit | 10-bit | 10-bit | 10-bit | 10-bit |
| Temperature Grade | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Industrial (-40C to +85C) |
| Unit Price (qty 1) | USD 9.20 | USD 10.10 | USD 8.50 | USD 7.20 | USD 10.50 | USD 9.20 |
Principais diferenciais
- On-chip ECAN 2.0B peripheral (vs PIC18F4585-I/ML)
- 80 KB Flash in the 44-QFN footprint (vs PIC18F4480-I/ML)
- Industrial temperature grade with E variant for hot environments (vs PIC18F4682T-I/ML)
Notas de projeto
The 44-QFN exposed pad is the primary ground anchor and thermal path. Per the Microchip PIC18F4682 datasheet package section, the PCB land pattern must include a 5x5 array of vias on the exposed pad, tied to the ground plane. Skipping the vias raises junction temperature by 15-20 C and degrades ADC accuracy by 1-2 LSBs because of ground bounce on the analog reference. Estimated: at 40 MHz with all 36 I/O toggling, dissipation is around 0.25 W; without the via array, theta_JA rises from ~28 C/W to ~40 C/W.
ECAN pins CANTX/CANRX (pins 43/44 on the QFN) are NOT 5 V tolerant in some configurations, and the bus requires an external MCP2551 or similar transceiver. According to the Microchip PIC18F4682 datasheet, connecting the ECAN pins directly to a CAN bus without isolation will damage the MCU on the first bus fault. Always add 120 ohm termination at both ends of the bus, and place a TVS such as PESD1CAN on the bus pins for automotive EMC compliance.
Decouple VDD with a 100 nF ceramic placed within 5 mm of each VDD pin (pins 8, 18, 28, 38). The PIC18F4682 datasheet recommends a bulk 10 uF tantalum or ceramic on the main VDD rail. Estimated: the four VDD pins together can source up to 200 mA of I/O current at 40 MHz; without local decoupling, VDD sag during I/O switching will reset the ADC mid-conversion. Connect AVSS to VSS with a single-point star ground near the MCU.
Keep ICP/ICSP pins (PGD/PGC, RB6/RB7) accessible in the final layout even if you do not plan to use them in production. The PIC18F4682 datasheet's ICSP section shows that the debugger expects direct access to these pins with no series resistors above 100 ohm. Adding an LED or buffer in series will prevent in-circuit debugging and require rework to recover programming access during development.
Informações de conformidade
RoHS and lead-free per Microchip product page; -I grade is industrial (-40C to +85C), not AEC-Q100 automotive; for AEC-Q100 grade choose the automotive PIC18F variants. Halogen-free status not stated in verified data.