PIC18F4682-I/PT - 8-bit 40MHz 80KB Flash MCU w/ CAN | Microchip
MPN: PIC18F4682-I/PT ✓ نشطPIC18F4682-I/PT نظرة عامة
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.
بدائل مباشرة لـ PIC18F4682-I/PT — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.
الطرازات في هذه السلسلة
طرازات من نفس السلسلة متوافقة تمامًا مع PIC18F4682-I/PT (نفس عامل الشكل والبصمة) — يختلف في Package, ADC, Program Memory (Flash), Operating Temperature, Core Architecture.
PIC18F4682-I/P
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F4682-I/ML
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F4685-I/PT
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F4680-I/PT
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PIC18F4585-I/PT
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F4580-I/PT
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PIC18F4682-I/PT الحدود القصوى والخصائص الكهربائية
| Core | PIC18 RISC 8-bit |
| Instruction Word Width | 16-bit |
| أقصى تردد للساعة | 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 |
| جهد التغذية | 4.2 V to 5.5 V |
| درجة حرارة التشغيل | -40C to +85C (Industrial, "I") |
| العلبة | 44-TQFP (PT) 10x10 mm |
| نوع التركيب | Surface Mount |
| مستوى MSL | 3 |
| حالة RoHS | Compliant |
| Programming | ICSP (in-circuit serial programming) |
تكوين أطراف PIC18F4682-I/PT
| دبوس 1 | RA2/AN2 — PORTA bit 2 / analog input 2 |
| دبوس 2 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / voltage reference + |
| دبوس 3 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| دبوس 4 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| دبوس 5 | VSS — Ground reference |
| دبوس 6 | OSC1/CLKIN — External oscillator / clock input |
| دبوس 7 | OSC2/CLKOUT — External oscillator / clock output |
| دبوس 8 | RA6 — PORTA bit 6 |
| دبوس 9 | RA7 — PORTA bit 7 |
| دبوس 10 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output |
| دبوس 11 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| دبوس 12 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| دبوس 13 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| دبوس 14 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| دبوس 15 | RC5/SDO — PORTC bit 5 / SPI data out |
| دبوس 16 | RC6/TX/CK — PORTC bit 6 / UART TX / synchronous clock |
| دبوس 17 | RC7/RX/DT — PORTC bit 7 / UART RX / synchronous data |
| دبوس 18 | VSS — Ground reference |
| دبوس 19 | VDD — Positive supply 4.2-5.5V |
| دبوس 20 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| دبوس 21 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| دبوس 22 | RB2 — PORTB bit 2 |
| دبوس 23 | RB3/CCP2 — PORTB bit 3 / CCP2 |
| دبوس 24 | RB4 — PORTB bit 4 |
| دبوس 25 | RB5/PGM — PORTB bit 5 / ICSP programming clock |
| دبوس 26 | RB6/PGC — PORTB bit 6 / ICSP clock |
| دبوس 27 | RB7/PGD — PORTB bit 7 / ICSP data |
| دبوس 28 | VSS — Ground reference |
| دبوس 29 | VDD — Positive supply 4.2-5.5V |
| دبوس 30 | RD0 — PORTD bit 0 |
| دبوس 31 | RD1 — PORTD bit 1 |
| دبوس 32 | RD2 — PORTD bit 2 |
| دبوس 33 | RD3 — PORTD bit 3 |
| دبوس 34 | RD4/PSP4 — PORTD bit 4 / parallel slave port |
| دبوس 35 | RD5/PSP5 — PORTD bit 5 / parallel slave port |
| دبوس 36 | RD6/PSP6 — PORTD bit 6 / parallel slave port |
| دبوس 37 | RD7/PSP7 — PORTD bit 7 / parallel slave port |
| دبوس 38 | VSS — Ground reference |
| دبوس 39 | VDD — Positive supply 4.2-5.5V |
| دبوس 40 | RE0/RD/AN5 — PORTE bit 0 / read control / analog input 5 |
| دبوس 41 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| دبوس 42 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| دبوس 43 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| دبوس 44 | RA1/AN1 — PORTA bit 1 / analog input 1 |
التطبيقات النموذجية
PIC18F4682-I/PT مناسب لـ 7 التطبيقs: 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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
ملخص المنتجات الموصى بها
بيانات مرجعية هندسية لـ PIC18F4682-I/PT — المقارنة وإرشادات التصميم ومعلومات الامتثال.
دليل الاختيار
المقارنة مع البدائل
| المعامل | هذا المنتج | 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 |
أبرز الفروقات
- Higher Flash density than PIC18F4585 in same package (مقابلPIC18F4585-I/PT)
- Includes ECAN 2.0B module absent on PIC18F4680 (مقابلPIC18F4680-I/PT)
- 5V-only operation suits legacy industrial rails (مقابلPIC18F45K80-I/PT)
ملاحظات التصميم
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.
معلومات الامتثال
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.