PIC18F4682-I/PT - 8-bit 40MHz 80KB Flash MCU w/ CAN | Microchip
N.º da peça: PIC18F4682-I/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $13.02 | $13,02 |
| 10 | $11.85 | $118,50 |
| 100 | $10.2 | $1.020,00 |
| 500 | $8.94 | $4.470,00 |
| 1.000 | $7.85 | $7.850,00 |
PIC18F4682-I/PT Visão geral
An 8-bit microcontroller (MCU) is a single-chip computer with an 8-bit data path that integrates a CPU, Flash/ROM program memory, SRAM data memory, and configurable peripherals on one die. 8-bit MCUs sit below 16-bit/32-bit MCUs and digital signal controllers in the embedded hierarchy, but above discrete logic in integration; they are dominant in cost-sensitive, deterministic, low-power control tasks such as CAN-node industrial sensing and appliance control. The PIC18F4682 specifically targets nodes that require on-chip CAN connectivity without an external transceiver control ASIC.
Key differentiating features include the 80 KB Flash (40K x 16) memory, 3,328 bytes of RAM, 1,024 bytes of EEPROM, a 10-bit A/D converter with up to 11 channels, and an Enhanced CAN (ECAN) module that meets the CAN 2.0B active specification with acceptance filters. The device operates from 4.2 V to 5.5 V across the industrial -40C to +85C temperature range, supports in-circuit serial programming (ICSP) via two pins, and offers four power-managed operating modes for nanoWatt low-power designs. The ECAN module is the chief differentiator versus the CAN-less PIC18F4620 in the same package.
Architecturally, the PIC18F4682 uses a Harvard RISC core with a 16-bit instruction word and an 8-bit data path, delivering up to 10 MIPS at 40 MHz. The Enhanced CAN module offloads bit timing, acceptance filtering, and message buffering from the core, allowing deterministic real-time CAN traffic without software polling. The instruction set includes a hardware 8x8 multiply and a 16-bit barrel shifter, supporting fast DSP-style arithmetic without a separate DSC.
Typical applications include industrial CAN-bus sensor nodes, automotive body and chassis sub-bus controllers (non-safety-critical), HVAC control boards, building-automation nodes, and embedded data-acquisition front ends. The combination of ECAN, 10-bit ADC, and ample Flash suits designs that stream digitized sensor data onto a CAN network. The 44-pin TQFP is large enough to expose full peripheral sets on most pins while keeping the board area moderate.
A key design trade-off is that this part is an older 5 V-only device without USB or the modern CRC/scanning peripherals found on newer PIC18 K-series parts. For new designs, evaluate the PIC18F45K80 (same 40 MHz, same TQFP, with ECAN) unless 5 V tolerance is mandatory. When designing with this MCU, ensure proper decoupling on VDD/VSS pairs and configure the CAN I/O to the bus voltage expected by the external transceiver.
Alternativas drop-in para PIC18F4682-I/PT — 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/PT (mesmo formato e footprint) — diferindo em Package, ADC, Program Memory (Flash), Operating Temperature, Core Architecture.
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 →PIC18F4682-I/ML
✅ Drop-In✓ Em estoque
$5.92 / unidade
Ver ficha técnica →PIC18F4685-I/PT
✅ Drop-In✓ Em estoque
$5.65 / unidade
Ver ficha técnica →PIC18F4680-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F4585-I/PT
✅ Drop-In✓ Em estoque
$5.73 / unidade
Ver ficha técnica →PIC18F4580-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F4682-I/PT Classificações máximas e características elétricas
| Core | PIC18 RISC 8-bit |
| Instruction Word Width | 16-bit |
| Frequência máxima de clock | 40 MHz |
| Program Memory (Flash) | 80 KB (40K x 16) |
| Data RAM | 3,328 bytes |
| Data EEPROM | 1,024 bytes |
| I/O Pins | 36 |
| ADC | 10-bit, up to 11 channels |
| CAN Module | ECAN 2.0B active |
| UART | 2 |
| SPI | 1 (master/slave) |
| I2C (MSSP) | 1 (master/slave) |
| Timers | 4 (Timer0/1/2/3) |
| Capture/Compare/PWM | 1 ECCP + 2 CCP |
| Tensão de alimentação | 4.2 V to 5.5 V |
| Temperatura de operação | -40C to +85C (Industrial, "I") |
| Encapsulamento | 44-TQFP (PT) 10x10 mm |
| Tipo de montagem | Surface Mount |
| Nível MSL | 3 |
| Status RoHS | Compliant |
| Programming | ICSP (in-circuit serial programming) |
Configuração de pinos do PIC18F4682-I/PT
| Pino 1 | RA2/AN2 — PORTA bit 2 / analog input 2 |
| Pino 2 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / voltage reference + |
| Pino 3 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 4 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Pino 5 | VSS — Ground reference |
| Pino 6 | OSC1/CLKIN — External oscillator / clock input |
| Pino 7 | OSC2/CLKOUT — External oscillator / clock output |
| Pino 8 | RA6 — PORTA bit 6 |
| Pino 9 | RA7 — PORTA bit 7 |
| Pino 10 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output |
| Pino 11 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| Pino 12 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Pino 13 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pino 14 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pino 15 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pino 16 | RC6/TX/CK — PORTC bit 6 / UART TX / synchronous clock |
| Pino 17 | RC7/RX/DT — PORTC bit 7 / UART RX / synchronous data |
| Pino 18 | VSS — Ground reference |
| Pino 19 | VDD — Positive supply 4.2-5.5V |
| Pino 20 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| Pino 21 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| Pino 22 | RB2 — PORTB bit 2 |
| Pino 23 | RB3/CCP2 — PORTB bit 3 / CCP2 |
| Pino 24 | RB4 — PORTB bit 4 |
| Pino 25 | RB5/PGM — PORTB bit 5 / ICSP programming clock |
| Pino 26 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pino 27 | RB7/PGD — PORTB bit 7 / ICSP data |
| Pino 28 | VSS — Ground reference |
| Pino 29 | VDD — Positive supply 4.2-5.5V |
| Pino 30 | RD0 — PORTD bit 0 |
| Pino 31 | RD1 — PORTD bit 1 |
| Pino 32 | RD2 — PORTD bit 2 |
| Pino 33 | RD3 — PORTD bit 3 |
| Pino 34 | RD4/PSP4 — PORTD bit 4 / parallel slave port |
| Pino 35 | RD5/PSP5 — PORTD bit 5 / parallel slave port |
| Pino 36 | RD6/PSP6 — PORTD bit 6 / parallel slave port |
| Pino 37 | RD7/PSP7 — PORTD bit 7 / parallel slave port |
| Pino 38 | VSS — Ground reference |
| Pino 39 | VDD — Positive supply 4.2-5.5V |
| Pino 40 | RE0/RD/AN5 — PORTE bit 0 / read control / analog input 5 |
| Pino 41 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| Pino 42 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| Pino 43 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pino 44 | RA1/AN1 — PORTA bit 1 / analog input 1 |
Aplicações típicas
PIC18F4682-I/PT é adequado para 7 aplicaçãos: Industrial CAN-bus Sensor Nodes, Automotive Body & Chassis Sub-bus Controllers, HVAC Control Boards, Building Automation Network Nodes, Embedded Data-Acquisition Front Ends, Appliance and White-Goods Controllers, Industrial Telemetry Gateways.
Industrial CAN-bus Sensor Nodes
The PIC18F4682-I/PT is engineered for distributed CAN sensor nodes that stream digitized field data onto a CAN 2.0B network, leveraging the integrated ECAN module and 80 KB Flash of program memory. With on-chip acceptance filters, dedicated TX/RX buffers, and 3,328 bytes of RAM, the part handles moderate-rate CAN traffic without burdening the 8-bit core. A typical node uses a digital sensor on AN0-AN3, the on-chip 10-bit ADC, and ECAN to push readings onto the bus. External isolation is achieved with an MCP2551 or TJA1050 CAN transceiver; firmware upgrades are straightforward via ICSP without disturbing the bus.
Recomendado
Automotive Body & Chassis Sub-bus Controllers
In body controllers and chassis sub-bus nodes that are not safety-critical, the PIC18F4682-I/PT delivers robust CAN connectivity with deterministic real-time performance. The ECAN module offloads message filtering, freeing the core to run PWM-driven actuators, sensor polling, and CANopen/J1939-style stacks. Operating temperature range -40C to +85C accommodates most passenger-compartment environments, though underhood applications should consider the "E" grade variant. The 1,024 bytes of EEPROM supports non-volatile parameter storage such as configuration, calibration, and node identity without external memory.
Recomendado
HVAC Control Boards
HVAC control boards benefit from the PIC18F4682-I/PT's combination of an 11-channel 10-bit ADC for temperature/pressure sensing and PWM outputs for motor/actuator control. The 4 CCP/ECCP peripherals generate precise PWM signals for variable-speed fan control and damper actuators, while UART peripherals interface with display modules and remote thermostats. Operating from 4.2 V to 5.5 V aligns with common HVAC 5 V rail designs. The 80 KB Flash supports full-feature firmware including PID control loops, scheduling, and user-interface state machines.
Recomendado
Building Automation Network Nodes
The PIC18F4682-I/PT is well-suited to BACnet, KNX, and proprietary building-automation sub-bus nodes requiring CAN-based communication alongside analog sensor inputs and digital outputs. The ECAN controller with 6 acceptance filters supports efficient multi-node addressing on a shared building backbone. UART/SPI/I2C peripherals interface with sensors, real-time clocks, and external EEPROM without additional ICs. The nanoWatt power-managed modes allow battery-backed wireless sensor nodes to sleep at microamp currents while maintaining network presence.
Recomendado
Embedded Data-Acquisition Front Ends
Multi-channel data-acquisition systems use the PIC18F4682-I/PT as a smart front-end that digitizes sensors and forwards readings over CAN or UART. The 10-bit ADC at the 40 MHz system clock samples up to 11 channels, while 3,328 bytes of RAM buffers measurement frames between transmissions. ECAN messaging reduces wiring in distributed test setups; UART provides local debug or legacy RS-485 fallback. The wide 4.2 V to 5.5 V supply range accommodates transducer excitation voltages without extra regulators.
Recomendado
Appliance and White-Goods Controllers
Washing machines, dryers, dishwashers, and similar white goods integrate the PIC18F4682-I/PT to combine motor control, user-interface polling, and CAN-bus connectivity for high-end models. The ECCP module generates complementary PWM for variable-frequency motor drives, while UART/SPI interface with display panels, keypads, and RFID readers. The 80 KB Flash supports full control algorithms plus diagnostics, and the 1,024-byte EEPROM retains cycle settings through power-loss events. The industrial -40C to +85C temperature range covers under-counter and laundry-room installations.
Recomendado
Industrial Telemetry Gateways
Compact industrial telemetry gateways leverage the PIC18F4682-I/PT to bridge legacy UART/RS-232 instrumentation onto a CAN-bus backbone. The dual UARTs accept two asynchronous sensor channels, while ECAN forwards framed telemetry to a higher-tier controller or PLC. SPI or I2C drives an external FRAM/EEPROM for non-volatile log storage. With 80 KB Flash, custom protocol converters (Modbus RTU to CANopen, ASCII to J1939) fit entirely on-chip. Industrial -40C to +85C operation and 5 V tolerance simplify integration into existing plant networks.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F4682-I/PT — 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-I/PT | PIC18F4680-I/PT | PIC18F4585-I/PT | PIC18F4580-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (PT) | 40-DIP (P) | 44-TQFP (PT) | 44-TQFP (PT) | 44-TQFP (PT) | 44-TQFP (PT) |
| Flash Memory | 80 KB | 80 KB | 96 KB | 64 KB | 48 KB | 32 KB |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 1,536 bytes |
| EEPROM | 1,024 bytes | 1,024 bytes | 1,024 bytes | 1,024 bytes | 1,024 bytes | 256 bytes |
| CAN Module | ECAN 2.0B | ECAN 2.0B | ECAN 2.0B | None | ECAN 2.0B | None |
| Supply Voltage | 4.2-5.5 V | 4.2-5.5 V | 4.2-5.5 V | 4.2-5.5 V | 4.2-5.5 V | 4.2-5.5 V |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
Principais diferenciais
- Higher Flash density than PIC18F4585 in same package (vs PIC18F4585-I/PT)
- Includes ECAN 2.0B module absent on PIC18F4680 (vs PIC18F4680-I/PT)
- 5V-only operation suits legacy industrial rails (vs PIC18F45K80-I/PT)
Notas de projeto
Place 0.1 uF decoupling capacitors as close as possible to every VDD/VSS pin pair (the 44-TQFP exposes multiple VDD pins at 19, 29, and 39). Add a single bulk 10 uF tantalum or ceramic capacitor near the VDD supply input. For ECAN nodes, the MCP2551 transceiver typically draws 50-75 mA during bus activity, so choose a 5 V regulator rated for at least 200 mA to handle combined MCU + transceiver peak draw. Use the nanoWatt SLEEP mode and configure unused peripherals to OFF to achieve < 5 uA standby current for battery-backed nodes.
Layout the 44-TQFP with continuous ground plane under and around the device; route high-speed ECAN traces (C1RX/C1TX) as short 50-ohm matched pairs to the CAN transceiver. Keep C1TX/C1RX traces away from PWM signals and clock traces to avoid coupling into the analog sensor inputs. The 10x10 mm TQFP allows 0.8 mm pitch traces with 0.25 mm/10 mil clearance - manageable on a 4-layer FR-4 PCB. Place the ICSP test points (RB6/PGC, RB7/PGD) on the board edge for production programming access.
Do not confuse the PIC18F4682 with the PIC18F4620 (CAN-less, 64 KB Flash) or PIC18F4680 (64 KB Flash, no ECAN). The "4682" suffix specifically denotes 80 KB Flash with ECAN; other PIC18F46x2 variants differ in peripheral mix. Also note that the PIC18F4682 is 5 V only - substituting the 3.3 V PIC18F45K80 will damage 5 V transceivers unless the system is redesigned for 3.3 V rails. Verify the exact part marking against your BOM before firmware development.
Informações de conformidade
RoHS compliant per Microchip product page (PT suffix denotes lead-free TQFP). Not AEC-Q100 qualified - choose automotive-grade PIC18 variants for AEC-Q100 applications.