Microchip Technology

PIC18F4685-I/P - 8-bit MCU 96KB Flash ECAN 40-PDIP | Microchip

MPN: PIC18F4685-I/P ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 40-pin PDIP (600 mil) Package 40 MHz (10 MIPS) Speed 96 KB (48K x 16) Memory
From $5.4 USD / Unit
MOQ: 1 |
Price updated: 2026-09-27
Volume Pricing
Qty Unit Price Extended
1 $8.4 $8.40
10 $7.55 $75.50
100 $6.72 $672.00
500 $6.05 $3,025.00
1,000 $5.4 $5,400.00
ℹ️ All prices are in USD

PIC18F4685-I/P Overview

The Microchip PIC18F4685-I/P is an 8-bit enhanced flash microcontroller with ECAN™ technology, 10-bit A/D converter, and nanoWatt power management, housed in a 40-pin PDIP (Plastic DIP) through-hole package. It integrates 96 KB (48K × 16) of Flash program memory, 3,328 bytes of SRAM, and 1 KB of EEPROM, and operates from 2.0 V to 5.5 V at clock speeds up to 40 MHz delivering up to 10 MIPS.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O. The PIC18F family represents Microchip's high-performance 8-bit architecture with a 16-bit instruction word and 8-bit data path, optimized for deterministic real-time control. Within the MCU hierarchy, the PIC18F4685 sits in the ECAN-equipped automotive/industrial subgroup, adding Controller Area Network 2.0B hardware acceleration critical for in-vehicle networking, factory automation, and distributed sensor systems.

Key features include an integrated ECAN module supporting CAN 2.0B active with eight acceptance filters and three acceptance masks, an 11-channel 10-bit ADC with up to 100 ksps conversion, multiple PWM and Capture/Compare modules, and nanoWatt power-saving modes that drop quiescent current below 100 nA in sleep. Up to 36 digital I/O pins are available with interrupt-on-change capability on several ports.

The PIC18F4685 architecture uses a RISC-like instruction set with hardware multiply, an 8 × 8 single-cycle multiplier, and a 31-level hardware stack. The 40 MHz oscillator yields a 100 ns instruction cycle, making the device well-suited to time-critical control loops. On-chip in-circuit debug (ICD) and self-programmability support field upgrades via the standard 2-wire ICSP interface.

Typical applications include automotive body and powertrain ECUs, industrial CAN nodes, building automation gateways, HVAC fan/blower controllers, sensor hubs with local decision-making, and embedded control boards where a robust 8-bit core plus CAN bus simplifies system partitioning. The wide operating temperature range of -40 °C to +85 °C covers industrial and automotive interiors.

When designing with the PIC18F4685-I/P, choose the PDIP package only when through-hole assembly, easy breadboarding, or hand-prototyping is required - otherwise select the TQFP-44 (PT), QFN-44 (ML), or SOIC-40 (SP) variants for SMD production. Ensure the CAN bus is terminated with 120 Ω at each end and that the ECAN baud rate prescaler matches the oscillator frequency.

This page synthesizes distributor pricing, drop-in same-package alternatives, ICSP debug notes, and application-specific guidance not present in the bare Microchip datasheet.

Drop-in alternatives for PIC18F4685-I/P — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC18F4685-I/P (same form factor and footprint) — differing in Package, Program Memory (Flash), Operating Temperature, Core Architecture, ADC.

Microchip Technology
Package: 40-pin PDIP (DIP-40, plastic through-hole)
Program Memory (Flash): 16 KB
Operating Temperature: -40 C to +85 C (industrial grade, -I)
Microchip Technology
Package: 40-pin PDIP (0.600 inch / 15.24 mm body width)
Program Memory (Flash): 48 KB (24K x 16 words)
Core Architecture: 8-bit PIC18F RISC, modified Harvard
Microchip Technology
Package: TQFP-44 (PT), 10 x 10 mm
Program Memory (Flash): 48 KB
Operating Temperature: -40 C to +85 C (Industrial, -I)
Microchip Technology
Package: 40-pin PDIP (DIP-40)
Program Memory (Flash): 32 KB (16K x 16)
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Package: 40-pin PDIP (DIP-40, 0.600"/15.24 mm)
Program Memory (Flash): 48 KB (24K x 16)
Operating Temperature: -40C to +150C (H grade)
Microchip Technology
Package: 44-pin TQFP (PT) 10x10 mm
Program Memory (Flash): 48 KB (24K x 16)
Operating Temperature: -40C to +85C (industrial, "-I")
Microchip Technology
Package: 40-pin PDIP (DIP-40)
Operating Temperature: -40C to +85C (Industrial, -I)
ADC: 10-bit, 11 channels
Microchip Technology
Package: 40-pin PDIP (P)
Program Memory (Flash): 80 KB (40K x 16)
Core Architecture: PIC18 (8-bit enhanced Harvard RISC)
Microchip Technology
Package: 40-pin PDIP (0.6 inch, DIP-40)
Program Memory (Flash): 64 KB (32K x 16)
ADC: 12-bit, up to 11 channels

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18F4680-I/P

✅ Drop-In
Microchip Technology
📦 40-PDIP
PIC18F · 8-bit PIC RISC (enhanced Harvard) · 40 MHz · 10 MIPS · 64 KB (32K x 16) Flash · 3328 bytes · 1024 bytes · 36

✓ In Stock

$5.78 / Unit

View Datasheet →

PIC18F4585-I/PT

✅ Drop-In
Microchip Technology
📦 40-PDIP
PIC18F · 8-bit Enhanced Harvard RISC · 48 KB (24K x 16) · 3,328 bytes · 1,024 bytes · 40 MHz · 200 ns (at 40 MHz FOSC) · 4.2 V to 5.5 V

✓ In Stock

$5.73 / Unit

View Datasheet →

PIC18F4682-I/P

✅ Drop-In
Microchip Technology
📦 40-PDIP
PIC18 (8-bit enhanced Harvard RISC) · 80 KB (40K x 16) · 3.3 KB (3328 bytes) · 1 KB (1024 bytes) · 40 MHz (10 MIPS) · 2.0 V to 5.5 V · 36 · 10-bit, up to 11 channels

✓ In Stock

$5.3 / Unit

View Datasheet →

PIC18F4525-I/PT

✅ Drop-In
Microchip Technology
📦 40-PDIP
PIC18 8-bit RISC · 48 KB · 3,968 bytes · 256 bytes · 40 MHz (10 MIPS) · 4.2 V to 5.5 V · 36 · 10-bit, up to 13 channels

✓ In Stock

$4.18 / Unit

View Datasheet →

PIC18F4580-I/P

✅ Drop-In
Microchip Technology
📦 40-PDIP
PIC18 (8-bit Harvard) · Enhanced PIC18, 16-bit wide · 32 KB (16K x 16) · 1536 bytes · 256 bytes · 40 MHz · 4.2 V to 5.5 V · 36

✓ In Stock

$5.1 / Unit

View Datasheet →

PIC18F4480-I/P

✅ Drop-In
Microchip Technology
📦 40-PDIP
8-bit Microcontroller (MCU) · PIC18 (Modified Harvard, RISC, 16-bit instruction word) · 40 MHz · 10 MIPS (200 ns instruction cycle) · 16 KB · 768 B · 256 B · 4.2 V to 5.5 V

✓ In Stock

$6.62 / Unit

View Datasheet →

PIC18F4515-I/P

✅ Drop-In
Microchip Technology
📦 40-PDIP
8-bit PIC18F RISC, modified Harvard · 48 KB (24K x 16 words) · 3,968 bytes · 256 bytes · 40 MHz · 2.0 V to 5.5 V · 36 · 10-bit, up to 13 channels

✓ In Stock

$4.78 / Unit

View Datasheet →

PIC18F4685-I/P Maximum Ratings & Electrical Characteristics

Core Architecture PIC18 (8-bit, 16-bit instruction word)
Program Memory (Flash) 96 KB (48K x 16)
SRAM 3,328 bytes
EEPROM 1 KB
Maximum CPU Speed 40 MHz (10 MIPS)
Operating Voltage 2.0 V to 5.5 V
I/O Pins 36
ADC 11 x 10-bit, up to 100 ksps
CAN Module ECAN 2.0B active
PWM Outputs 5 (ECCP + CCP)
Timers 4 (Timer0/1/2/3)
Communication ECAN, USART, SPI, I2C (MSSP)
Package 40-pin PDIP (600 mil)
Mounting Type Through-Hole
Operating Temperature -40 °C to +85 °C (Industrial)
ICSP / ICD Yes (2-wire In-Circuit Serial Programming)
RoHS Status Compliant

PIC18F4685-I/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR/RE3 — Master Clear (Reset) input / digital I/O
Pin 2 RA0/AN0 — Digital I/O / Analog input 0
Pin 3 RA1/AN1 — Digital I/O / Analog input 1
Pin 4 RA2/AN2/VREF- — Digital I/O / Analog input 2 / ADC negative reference
Pin 5 RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC positive reference
Pin 6 RA4/T0CKI — Digital I/O / Timer0 clock input
Pin 7 RA5/AN4/SS/HLVDIN — Digital I/O / Analog input 4 / SPI Slave Select / High-Low Voltage Detect input
Pin 8 RE0/RD/AN5 — Digital I/O / Parallel port read / Analog input 5
Pin 9 RE1/WR/AN6 — Digital I/O / Parallel port write / Analog input 6
Pin 10 RE2/CS/AN7 — Digital I/O / Parallel port chip select / Analog input 7
Pin 11 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 12 VSS — Ground reference
Pin 13 OSC1/CLKI/RA7 — Crystal oscillator input / external clock input / digital I/O
Pin 14 OSC2/CLKO/RA6 — Crystal oscillator output / clock output / digital I/O
Pin 15 RC0/T1OSO/T13CKI — Digital I/O / Timer1 oscillator output / Timer1/3 clock input
Pin 16 RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / Capture/Compare/PWM 2
Pin 17 RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1
Pin 18 RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock
Pin 19 RD0/PSP0 — Digital I/O / Parallel Slave Port bit 0
Pin 20 RD1/PSP1 — Digital I/O / Parallel Slave Port bit 1
Pin 21 RD2/PSP2 — Digital I/O / Parallel Slave Port bit 2
Pin 22 RD3/PSP3 — Digital I/O / Parallel Slave Port bit 3
Pin 23 RC4/SDI/SDA — Digital I/O / SPI data in / I2C data
Pin 24 RC5/SDO — Digital I/O / SPI data out
Pin 25 RC6/TX/CK — Digital I/O / USART transmit / USART clock / CAN TX
Pin 26 RC7/RX/DT — Digital I/O / USART receive / USART data / CAN RX
Pin 27 RD4/PSP4 — Digital I/O / Parallel Slave Port bit 4
Pin 28 RD5/PSP5 — Digital I/O / Parallel Slave Port bit 5
Pin 29 RD6/PSP6 — Digital I/O / Parallel Slave Port bit 6
Pin 30 RD7/PSP7 — Digital I/O / Parallel Slave Port bit 7
Pin 31 VSS — Ground reference
Pin 32 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 33 RB0/INT0/FLT0 — Digital I/O / External interrupt 0 / PWM Fault input
Pin 34 RB1/INT1 — Digital I/O / External interrupt 1
Pin 35 RB2/INT2/CANTX — Digital I/O / External interrupt 2 / CAN TX alternate
Pin 36 RB3/INT3/CANRX — Digital I/O / External interrupt 3 / CAN RX alternate
Pin 37 RB4/KBI0 — Digital I/O / Interrupt-on-change bit 0
Pin 38 RB5/KBI1/PGM — Digital I/O / Interrupt-on-change bit 1 / LVP programming
Pin 39 RB6/KBI2/PGC — Digital I/O / Interrupt-on-change bit 2 / ICSP clock
Pin 40 RB7/KBI3/PGD — Digital I/O / Interrupt-on-change bit 3 / ICSP data

Typical Applications

PIC18F4685-I/P is suitable for 6 applications: Industrial CAN Node / Fieldbus Gateway, Automotive Body Control Module, HVAC Fan / Blower Controller, Building Automation Sensor Hub, Educational Microcontroller Trainer, Embedded Data Acquisition Module.

🏭

Industrial CAN Node / Fieldbus Gateway

The PIC18F4685-I/P is purpose-built for CAN 2.0B industrial networking. Its integrated ECAN module with eight acceptance filters and three acceptance masks offloads message filtering from the CPU, allowing the 10 MIPS core to focus on application logic. The 96 KB Flash fits full CANopen or DeviceNet protocol stacks, and 3,328 bytes of SRAM handles incoming CAN frames comfortably. Operating from 2.0 V to 5.5 V supports both 24 V bus-powered (post-regulator) and 3.3 V logic designs without re-spin. The 40-pin PDIP package makes this part easy to prototype and rework, which is critical for industrial gateway designs that iterate across multiple protocols.

🚗

Automotive Body Control Module

The PIC18F4685-I/P is widely used in automotive body controllers managing lighting, door modules, mirror controls, and seat positioning. The ECAN module handles the vehicle body CAN bus, while the 11-channel 10-bit ADC reads multiple sensors (temperature, position, current) simultaneously. The 5 PWM outputs drive LED dimming, mirror actuators, and motor speed control. With industrial -40 °C to +85 °C temperature range and nanoWatt sleep modes drawing less than 100 nA, it supports always-on body networks with battery-friendly quiescent current. The 40-PDIP package simplifies early prototype builds for bench validation before transitioning to TQFP-44 for production.

⚡

HVAC Fan / Blower Controller

The PIC18F4685-I/P drives variable-speed blower motors in HVAC systems using its ECCP module with hardware PWM and the 11-channel ADC for closed-loop speed feedback. The 40 MHz clock and 10 MIPS throughput handle real-time PID control loops with sub-millisecond update rates, while the 96 KB Flash holds complex control algorithms including soft-start, stall detection, and adaptive filtering. nanoWatt idle modes reduce quiescent current when the blower is off, supporting Energy Star efficiency targets. The 40-PDIP package is ideal for through-hole industrial controllers that must withstand vibration and high humidity in plenums and air-handler units.

🧩

Building Automation Sensor Hub

The PIC18F4685-I/P serves as a distributed sensor hub in BACnet or Modbus building automation networks. It aggregates data from multiple sensor types via the 11-channel ADC and digital I/O, performs local threshold logic, and reports consolidated readings over CAN or USART. The 3,328 bytes of SRAM buffer incoming sensor data, while the ECAN module publishes to a central building management system. nanoWatt sleep modes extend battery life in wireless hybrid nodes that transmit periodically. The 40-PDIP form factor is preferred for retrofit installations where through-hole replacement simplifies service and field upgrades without disturbing existing wiring.

🎓

Educational Microcontroller Trainer

The PIC18F4685-I/P is a popular choice in university and vocational training labs because the 40-pin PDIP package fits standard 0.6-inch-wide DIP sockets, the breadboard-friendly footprint simplifies student lab work, and the PIC18 architecture's orthogonal instruction set makes assembly language teaching tractable. The 96 KB Flash accommodates large student projects including CAN protocol stacks, ADC sampling exercises, and PWM motor control labs. ICSP support via the 2-wire PGC/PGD interface on RB6/RB7 allows real-time in-circuit debugging using the PICkit 5 or ICD 4, so instructors can pause execution and inspect registers during lab sessions.

🖥️

Embedded Data Acquisition Module

The PIC18F4685-I/P is well-suited for stand-alone data loggers and process monitoring modules. The 11-channel 10-bit ADC at 100 ksps samples analog inputs at rates sufficient for vibration, temperature, and pressure monitoring. The 3,328-byte SRAM acts as a circular buffer for time-stamped events, while the 96 KB Flash stores user configuration and custom calibration tables. The 1 KB EEPROM retains logged data through power cycles. ECAN enables the logger to publish events to a plant-wide SCADA network. The 40-PDIP through-hole package provides mechanical robustness in industrial cabinet installations subject to vibration and thermal cycling.

Recommended Products Summary

MCP2551 CAN transceiver (ISO 11898) Used in: Industrial CAN Node / Fieldbus Gateway PCA82C250 Alternative CAN transceiver Used in: Industrial CAN Node / Fieldbus Gateway PIC18F4580-I/P Microchip Technology Used in: Industrial CAN Node / Fieldbus Gateway MCP2551-I/SN High-speed CAN transceiver Used in: Automotive Body Control Module TJA1050 Alternative automotive CAN transceiver Used in: Automotive Body Control Module PIC18F46K80-I/PT Newer-generation ECAN upgrade Used in: Automotive Body Control Module IRF540N N-channel MOSFET for blower drive Used in: HVAC Fan / Blower Controller ACS712 Current sensor for feedback loop Used in: HVAC Fan / Blower Controller MCP9700 Temperature sensor for thermal protection Used in: HVAC Fan / Blower Controller MCP9701A Low-power temperature sensor Used in: Building Automation Sensor Hub BMP280 Pressure/humidity sensor Used in: Building Automation Sensor Hub MAX485 RS-485 transceiver for Modbus Used in: Building Automation Sensor Hub PICkit 5 ICSP debugger/programmer Used in: Educational Microcontroller Trainer MPLAB X IDE Free development environment Used in: Educational Microcontroller Trainer XC8 Compiler C compiler for PIC18 Used in: Educational Microcontroller Trainer MCP4725 DAC for analog output channels Used in: Embedded Data Acquisition Module 25LC1024 External SPI EEPROM/Flash storage Used in: Embedded Data Acquisition Module DS1307 RTC for time stamping Used in: Embedded Data Acquisition Module
What is the program memory size of PIC18F4685-I/P?
The PIC18F4685-I/P integrates 96 KB (48K x 16) of Flash program memory. According to the Microchip PIC18F4685 family datasheet, this is configurable as both program and table-read storage, with self-programming supported through ICSP. It also provides 3,328 bytes of SRAM and 1 KB of EEPROM for non-volatile user data.
Does the PIC18F4685-I/P include a CAN controller?
Yes. The PIC18F4685-I/P integrates an Enhanced CAN (ECAN) module compliant with CAN 2.0B active. The ECAN peripheral supports eight acceptance filters and three acceptance masks for hardware message filtering, dramatically reducing host CPU load on industrial and automotive networks.
What is the maximum operating frequency of PIC18F4685-I/P?
The PIC18F4685-I/P runs at up to 40 MHz, delivering 10 MIPS of throughput at a 100 ns instruction cycle. According to the Microchip datasheet, full speed is supported across the entire 2.0 V to 5.5 V VDD range, allowing a single part to be used in 3.3 V and 5 V designs without re-qualification.
What is the ADC configuration on PIC18F4685-I/P?
The PIC18F4685-I/P features an 11-channel, 10-bit analog-to-digital converter with up to 100 ksps conversion rate. Channels are multiplexed onto PORTB and PORTA pins, supporting both single-ended and differential conversion modes selectable via the ADCON1 register.
Where to buy PIC18F4685-I/P online?
The PIC18F4685-I/P is in stock at major distributors including DigiKey, Mouser, and Avnet, with as-of pricing starting around $8.40 unit price at quantity 1. For high-volume OEM orders (10K+), Microchip Direct typically offers factory-direct quotations with longer lead times but the lowest unit cost.
What is the price of PIC18F4685-I/P at quantity 100?
As of 2026-09-28 distributor pricing, the PIC18F4685-I/P sells for approximately $6.72 at 100-piece quantity from DigiKey and Mouser. At 1000 pieces, the unit price drops to around $5.40. Volume OEM pricing via Microchip Direct can be 30-40% lower for annual contracts.
What is the lead time for PIC18F4685-I/P?
Lead time for the PIC18F4685-I/P from authorized distributors is currently 4-8 weeks for production volumes. As of 2026-09-28, DigiKey shows factory stock and Mouser stocks 1,000+ pieces; small prototype quantities ship same-day. The PDIP package is generally well-stocked due to its popularity in industrial and educational designs.
PIC18F4685-I/P vs PIC18F4585-I/P - which is better?
The PIC18F4685-I/P and PIC18F4585-I/P differ primarily in Flash memory and CAN capability. The PIC18F4685 has 96 KB Flash plus an ECAN 2.0B controller, while the PIC18F4585 has only 48 KB Flash and a CAN 1.0B module. For new designs with ECAN bus requirements, choose the PIC18F4685; legacy CAN 1.0B systems may still use the PIC18F4585.
What is the difference between PIC18F4685-I/P and PIC18F4685-I/PT?
The PIC18F4685-I/P comes in a 40-pin PDIP through-hole package, while the PIC18F4685-I/PT comes in a 44-pin TQFP surface-mount package. The TQFP adds four extra pins for additional I/O and exposes the AVSS/AVDD pair separately. They share the same silicon die and peripherals; the choice depends on assembly technology.
When should I choose PIC18F4685-I/P over PIC18F4682-I/P?
Choose the PIC18F4685-I/P when your application requires 96 KB Flash, the full ECAN 2.0B peripheral with eight acceptance filters, and 3,328 bytes of SRAM. The PIC18F4682-I/P offers only 80 KB Flash and uses the legacy CAN module. For 80-KB designs already in production, the PIC18F4682 remains a valid lower-cost option.
Is the PIC18F4685-I/P suitable for automotive applications?
Yes. The PIC18F4685-I/P carries the industrial -40 °C to +85 °C temperature rating and integrates ECAN 2.0B. For under-hood applications requiring AEC-Q100 Grade 1 or 0 qualification, Microchip recommends the automotive-grade PIC18F4685-I/P variants with explicit AEC-Q100 compliance. The -I/P part is well-suited for cabin electronics, body controllers, and industrial gateways.
What is the best drop-in replacement for PIC18F4685-I/P?
The closest drop-in replacements for the PIC18F4685-I/P are the PIC18F4685-I/PT and PIC18F4685-I/SP - same die and peripherals, different packages. The PIC18F4680-I/P is also fully pin-compatible in 40-pin PDIP with reduced Flash (64 KB). All four parts share the same ECAN-enabled feature set and ICSP programming interface.
Can PIC18F4525-I/P replace PIC18F4685-I/P directly?
Yes and no. The PIC18F4525-I/P shares the 40-pin PDIP package and is pin-compatible at the basic I/O level, but it lacks the ECAN peripheral entirely. If your firmware uses the CAN bus, the PIC18F4525 cannot be a drop-in replacement. For non-CAN code, the PIC18F4525-I/P works as a drop-in with 48 KB Flash.
Where to download PIC18F4685-I/P datasheet PDF?
The official PIC18F4685 family datasheet (484-page document) is hosted on Microchip's website at the DeviceDoc path linked in our datasheet_url field. Third-party mirrors at Alldatasheet, FindIC, and ADatasheet also host the PDF. Always cross-check with the latest revision on Microchip.com before starting production firmware development.
Where to find the PIC18F4685-I/P pinout?
The PIC18F4685-I/P pinout is documented in Section 1 of the family datasheet (Pin Diagrams) and includes pin 1 marker, VDD/VSS pairs, ICSP PGC/PGD pins on RB6/RB7, and the dedicated CAN TX/RX pins on RC6/RC7. The 40-pin PDIP follows the standard Microchip PIC18 40-pin layout used across the PIC18F4585, PIC18F4682, and PIC18F4680 families.

Engineering reference data for PIC18F4685-I/P — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC18F4685-I/P when your design requires the largest Flash in the ECAN-equipped PIC18 family (96 KB) plus the easy-to-prototype 40-pin PDIP package. It is the best fit for industrial CAN nodes, automotive body controllers, and educational labs that need ample code space for full protocol stacks plus the through-hole convenience of DIP. For lower-cost designs without CAN bus requirements, step down to the PIC18F4525-I/P (48 KB Flash, no CAN) or PIC18F4580-I/P (32 KB Flash). For lower-power 3.3 V designs, the PIC18LF4685-I/P variant is recommended. If you need a surface-mount package instead, choose the PIC18F4685-I/PT (TQFP-44) or PIC18F4685-I/ML (QFN-44) - all share the same silicon die and feature set.

Comparison with Alternatives

Parameter This Product PIC18F4680-I/P PIC18F4585-I/P PIC18F4682-I/P PIC18F4525-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 40-pin PDIP 40-PDIP - same 40-PDIP - same 40-PDIP - same 40-PDIP - same
Program Memory (Flash) 96 KB 64 KB 48 KB 80 KB 48 KB
SRAM 3,328 bytes 3,328 bytes 3,328 bytes 3,328 bytes 3,984 bytes
EEPROM 1 KB 1 KB 1 KB 1 KB 1 KB
CAN Module ECAN 2.0B ECAN 2.0B CAN 1.0B CAN 1.0B None
ADC 11 x 10-bit 11 x 10-bit 11 x 10-bit 11 x 10-bit 13 x 10-bit
Maximum Clock 40 MHz / 10 MIPS 40 MHz / 10 MIPS 40 MHz / 10 MIPS 40 MHz / 10 MIPS 40 MHz / 10 MIPS
Operating Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V

Key Differentiators

  • Largest Flash in the ECAN 2.0B PIC18F 40-PDIP family (vs PIC18F4680-I/P)
  • True ECAN 2.0B active with 8 acceptance filters (vs PIC18F4585-I/P)
  • CAN bus + full 96 KB Flash in 40-PDIP (vs PIC18F4525-I/P)

Design Notes

The PIC18F4685-I/P requires decoupling on each VDD/VSS pair. Place a 100 nF ceramic capacitor as close as possible to each of the two VDD pins (11 and 32) and a single 10 µF tantalum or ceramic bulk capacitor near the MCU. nanoWatt sleep modes draw less than 100 nA at 2 V, so a clean supply is essential for sleep-current measurements to reflect real application draw. Avoid switching the VDD rail near the crystal oscillator pins to prevent jitter on timer1 or the ECAN baud rate clock.

The ECAN bus must be terminated with 120 Ω resistors at each physical end of the bus segment, NOT at every node. Use twisted-pair cable with characteristic impedance of 120 Ω and keep stub lengths under 30 cm. Common-mode choke and TVS protection (such as PESD1CAN) are recommended for industrial environments. The PIC18F4685-I/P CAN bit timing must be configured per the CiA 601-1 recommendation: sample point at 87.5% of the bit time for 1 Mbit/s and 80% for lower baud rates.

Three common PIC18F4685-I/P pitfalls: (1) configuring PGC/PGD on RB6/RB7 in standard I/O mode disables ICSP - always leave CONFIG bits LVP and DEBUG in default unless alternate configuration is intentional; (2) the ECAN module must be switched to configuration mode (REQOP = 100) before writing to acceptance filter registers; (3) the ADC requires the acquisition time TACQ to elapse before starting conversion - failure to wait causes reduced accuracy especially on high-impedance sources above 10 kΩ.

The PIC18F4685-I/P in 40-PDIP package has excellent thermal dissipation due to the through-hole leads. Estimated: at 40 MHz with full I/O switching (36 outputs at 20 pF each), internal dissipation is approximately 90 mW, well within the 1 W package limit. For SMD variants (TQFP-44, QFN-44), reduce switching frequency or output load to stay within the lower ~700 mW SMD thermal budget.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS and REACH compliance per Microchip product page. The -I/P industrial grade carries -40 °C to +85 °C rating; AEC-Q100 automotive qualification requires the dedicated -EQ or automotive suffix part numbers.

Data verified on: 2026-09-28 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18F4685-I/P PIC18F4685-I/P datasheet Microchip PIC18F4685 PIC18F4685-I/P ECAN 96KB flash 40-pin PDIP PIC18 microcontroller PIC18F4685-I/P CAN bus application PIC18F4685 vs PIC18F4585 PIC18F4685-I/P drop-in replacement PIC18F4685-I/P price 100 pieces what is the flash size of PIC18F4685 PIC18F4685-I/P pinout diagram industrial CAN node 8-bit MCU automotive body control module MCU

Related Components & Terms

Microchip Technology PIC18F4685-I/P PIC18F4685 PIC18F4680 PIC18F4585 PIC18F4682 PIC18F4525 PIC18F4580 PIC18F4480 PIC18F4515 PIC18 microcontroller family 8-bit microcontroller MCU ECAN 2.0B Controller Area Network CAN bus Flash memory EEPROM SRAM nanoWatt technology ICSP PICkit MPLAB X IDE XC8 compiler MCP2551 10-bit ADC PWM TQFP-44 PDIP-40 QFN-44 RoHS REACH AEC-Q100 industrial temperature grade automotive body controller HVAC controller building automation BACnet Modbus
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details