PIC18F4685-I/PT - 8-bit 40MHz 96KB Flash MCU w/ ECAN | Microchip
N.º de pieza: PIC18F4685-I/PT ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $9.2 | $9,20 |
| 10 | $8.45 | $84,50 |
| 100 | $7.1 | $710,00 |
| 500 | $6.25 | $3.125,00 |
| 1.000 | $5.65 | $5.650,00 |
PIC18F4685-I/PT Descripción general
An 8-bit microcontroller is a CPU whose internal datapath and arithmetic logic unit process eight bits per clock; it is widely used in cost-sensitive and deterministic embedded designs. PIC18 fuses 8-bit legacy code compatibility with enhanced 16-bit-wide instruction words, enabling C-compiler-friendly code density while keeping peripheral integration high. PIC18F4685 sits inside the PIC18F family, which is Microchip's mid-range 8-bit MCU line used across automotive, industrial, and consumer embedded designs. The category hierarchy is: PIC18F4685 -> PIC18 microcontroller -> 8-bit MCU -> microcontroller -> embedded IC.
Key features include 3328 bytes of RAM, 1024 bytes of EEPROM, 36 digital I/O lines, an 11-channel 10-bit ADC, and nanoWatt Technology for ultra-low-power idle, sleep, and deep-sleep modes. The device operates from 4.2V to 5.5V across the industrial -40C to +85C temperature range. Serial interfaces include ECAN, I2C/SPI (MSSP), and an enhanced USART; two CCP/ECCP modules provide PWM and capture/compare. The TQFP-44 footprint is the standard 10x10 mm body with 0.8 mm pitch.
The PIC18F4685 uses a Harvard RISC architecture with a hardware 8x8 multiplier, achieving 10 MIPS at 40 MHz. Its ECAN module is CAN 2.0B active compliant, supporting both standard and extended identifiers, filters, and masks for in-vehicle body and powertrain networks. nanoWatt Technology drops idle current into the microamp range, extending battery life in portable sensor nodes. The device supports in-circuit serial programming (ICSP) and in-circuit debugging through ICD.
Typical applications include automotive ECAN body and chassis networks, industrial CAN-bus sensor nodes, HVAC control systems, motor-control interfaces, building automation nodes, and embedded sensor hubs requiring 10-bit analog digitization and moderate on-chip storage.
When designing with this device, note that VDD/AVDD must be decoupled with at least 0.1 uF ceramic capacitors placed within 5 mm of each power pin. The ECAN transceiver must be a separate external chip such as the MCP2551 or MCP2561; the PIC18F4685 contains only the protocol layer, not the physical layer.
This page synthesizes distributor pricing, parametric data, and drop-in alternatives drawn from Microchip product family datasheets and XAIPART's curated engineering database.
Alternativas directas para PIC18F4685-I/PT — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC18F4685-I/PT (mismo factor de forma y huella) — difiere en Package, ADC, Timers, Program Memory (Flash), I/O Pins.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F4685T-I/PT
✅ Sustitución directa✓ En stock
$6.89 / unidad
Ver hoja de datos →PIC18F4580-I/PT
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F4685-I/PT Valores máximos y características eléctricas
| Core Processor | PIC18F |
| Core Size / Data Bus Width | 8-bit |
| Maximum CPU Clock Speed | 40 MHz |
| Performance (MIPS) | 10 MIPS |
| Program Memory Type | Flash |
| Program Memory Size | 96 KB (48K x 16) |
| RAM Size | 3328 bytes |
| EEPROM Size | 1024 bytes |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Number of I/O Pins | 36 |
| ADC | 11 channels x 10-bit |
| Timers | 4 (Timer0/1/2/3) |
| Communication Interfaces | ECAN, I2C, SPI (MSSP), Enhanced USART |
| PWM / CCP Modules | 2 (CCP + ECCP) |
| Low-Power Modes | nanoWatt Technology (idle, sleep, deep sleep) |
| Rango de temperatura de funcionamiento | -40 C to +85 C (Industrial) |
| Encapsulado | 44-pin TQFP (10x10 mm, 0.8 mm pitch) |
| Tipo de montaje | Surface Mount |
| Lead Count | 44 |
| Instruction Set | 75 instructions, RISC, hardware 8x8 multiplier |
| Programming / Debug | ICSP, ICD (in-circuit debug) |
| Estado RoHS | Compliant |
| Sin halógenos | Compliant |
Configuración de pines de PIC18F4685-I/PT
| Pin 1 | RB0/INT0 — Port B bit 0 / External interrupt 0 |
| Pin 2 | RB1/INT1 — Port B bit 1 / External interrupt 1 |
| Pin 3 | RB2/INT2 — Port B bit 2 / External interrupt 2 |
| Pin 4 | RB3/CCP2 — Port B bit 3 / Capture/Compare/PWM 2 |
| Pin 5 | RB4 — Port B bit 4 |
| Pin 6 | RB5 — Port B bit 5 |
| Pin 7 | RB6/PGC — Port B bit 6 / ICSP clock |
| Pin 8 | RB7/PGD — Port B bit 7 / ICSP data |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply (4.2V-5.5V) |
| Pin 11 | RC0 — Port C bit 0 |
| Pin 12 | RC1 — Port C bit 1 |
| Pin 13 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| Pin 14 | RC3 — Port C bit 3 |
| Pin 15 | RC4 — Port C bit 4 |
| Pin 16 | RC5 — Port C bit 5 |
| Pin 17 | RC6/TX — Port C bit 6 / EUSART TX |
| Pin 18 | RC7/RX — Port C bit 7 / EUSART RX |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply (4.2V-5.5V) |
| Pin 21 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Pin 22 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Pin 23 | RA2/AN2 — Port A bit 2 / Analog input 2 |
| Pin 24 | RA3/AN3 — Port A bit 3 / Analog input 3 |
| Pin 25 | RA4 — Port A bit 4 |
| Pin 26 | RA5/AN4 — Port A bit 5 / Analog input 4 |
| Pin 27 | RE0/RD — Port E bit 0 / Parallel-port read |
| Pin 28 | RE1/WR — Port E bit 1 / Parallel-port write |
| Pin 29 | RE2/CS — Port E bit 2 / Parallel-port chip select |
| Pin 30 | AVSS — Analog ground reference |
| Pin 31 | AVDD — Analog positive supply |
| Pin 32 | RA6/OSC2 — Port A bit 6 / Crystal output |
| Pin 33 | RA7/OSC1 — Port A bit 7 / Crystal input |
| Pin 34 | RC2 — Port C bit 2 (alt) |
| Pin 35 | RC3 — Port C bit 3 (alt) |
| Pin 36 | RC4 — Port C bit 4 (alt) |
| Pin 37 | RD0 — Port D bit 0 |
| Pin 38 | RD1 — Port D bit 1 |
| Pin 39 | RD2 — Port D bit 2 |
| Pin 40 | RD3 — Port D bit 3 |
| Pin 41 | RD4 — Port D bit 4 |
| Pin 42 | RD5 — Port D bit 5 |
| Pin 43 | RD6 — Port D bit 6 |
| Pin 44 | RD7 — Port D bit 7 |
Aplicaciones típicas
PIC18F4685-I/PT es adecuado para 6 aplicacións: Automotive ECAN Body and Chassis Networks, Industrial CAN-bus Sensor Nodes, HVAC Control Systems, Motor Control and BLDC Driver Interfaces, Building Automation Nodes, Embedded Sensor Hubs with Analog Digitization.
Automotive ECAN Body and Chassis Networks
The PIC18F4685's integrated ECAN (CAN 2.0B active) peripheral makes it ideal for automotive body and chassis ECAN nodes. With 96 KB Flash, it can hold a full CANopen or J1939 stack alongside application firmware; with 3328 bytes RAM, it has enough headroom for CAN message buffering without external memory. Placed between the 5 V vehicle rail and the CAN bus via an external MCP2551/MCP2561 transceiver, the part delivers 10 MIPS at 40 MHz for deterministic message handling. The 11-channel 10-bit ADC supports body-module analog sensors (temperature, humidity, position). Compared to higher-end MCUs, the PIC18F4685 strikes a strong price/performance balance for cost-sensitive automotive nodes.
Recomendado
Industrial CAN-bus Sensor Nodes
For industrial CAN-bus sensor nodes (e.g., CANopen DS-301 or DeviceNet), the PIC18F4685 offers the program memory and RAM needed for protocol stacks plus sensor DSP. Operating from 4.2 V to 5.5 V at -40 C to +85 C, it directly handles 24 V industrial rails via a simple DC-DC or LDO front end. Its 11-channel 10-bit ADC digitizes 4-20 mA loop or 0-10 V sensor signals at up to ~30 kSPS aggregate. The ECAN module's filters and masks reduce host CPU load on noisy industrial buses. Compared to higher-bit MCUs, the PIC18F4685 is well-suited when the sensor interface does not need 12-bit resolution.
Recomendado
HVAC Control Systems
The PIC18F4685 is well suited to HVAC controller designs: 36 I/O pins drive triac-fired blower motors, damper actuators, and relay outputs; two CCP/ECCP modules generate zero-cross PWM for fan-speed and valve control. With 96 KB Flash, it can host a full HVAC state machine, scheduling logic, and a Modbus or CANopen slave stack. The 10-bit ADC handles thermistor inputs from multiple air and water sensors, while the USART supports RS-485 BMS communication. nanoWatt Technology keeps standby draw low during off-season idle.
Recomendado
Motor Control and BLDC Driver Interfaces
For BLDC and stepper motor control interfaces, the PIC18F4685 provides the capture/compare channels, ADC channels, and PWM frequency required for trapezoidal and FOC commutation. Its 40 MHz / 10 MIPS throughput is sufficient for sensored BLDC up to moderate RPM; for sensorless FOC, migrate to a dsPIC33. The ECCP module with dead-band control drives a three-phase half-bridge via external gate drivers; the ECAN module reports torque/speed back to a vehicle or industrial master. The wide 4.2-5.5 V supply range supports 5 V industrial power rails with simple bulk capacitance.
Recomendado
Building Automation Nodes
Building automation nodes (BACnet MS/TP, Modbus RTU, or CANopen) map naturally to the PIC18F4685. Its 96 KB Flash holds BACnet/Modbus stacks; its enhanced USART handles RS-485 transceivers; its MSSP supports SPI sensors and I2C EEPROM expansion. With 36 I/O and 11 ADC channels, a single MCU can read multiple thermistors, switch contacts, and drive relay outputs for lighting or HVAC dampers. The 4.2 V to 5.5 V range simplifies 24 V bus power designs via a single buck converter.
Recomendado
Embedded Sensor Hubs with Analog Digitization
For embedded sensor hubs that aggregate multiple analog inputs (temperature, pressure, light, flow), the PIC18F4685 provides 11 channels of 10-bit ADC, 96 KB Flash for local calibration tables, and ECAN/USART for upstream communication. nanoWatt idle modes extend battery life in remote sensor installations. The hardware 8x8 multiplier accelerates sensor linearization and unit-conversion math. Compared to soft-CPU solutions, the integrated peripherals reduce BOM and PCB area.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18F4685-I/PT — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | PIC18F4685T-I/PT | PIC18F4580-I/PT |
|---|---|---|---|
| Package | 44-pin TQFP (10x10 mm) | 44-pin TQFP (10x10 mm) - same | 44-pin TQFP (10x10 mm) - same |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same |
| Program Memory (Flash) | 96 KB | 96 KB | 64 KB (-33%) |
| RAM | 3328 bytes | 3328 bytes | 3328 bytes |
| EEPROM | 1024 bytes | 1024 bytes | 1024 bytes |
| Maximum Clock Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| ECAN Module | Yes (CAN 2.0B active) | Yes (CAN 2.0B active) | Yes (CAN 2.0B active) |
| ADC | 11 x 10-bit | 11 x 10-bit | 11 x 10-bit |
| I/O Pins | 36 | 36 | 36 |
| Supply Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V |
Diferenciadores clave
- Largest Flash in PIC18F458x family (frente a PIC18F4580-I/PT)
- ECAN (CAN 2.0B active) integrated (frente a dsPIC33EV64GM106)
- Standard 44-pin TQFP-44 (10x10 mm) package (frente a PIC18F4685-I/SP)
Notas de diseño
Decouple each VDD/AVDD pin with at least a 0.1 uF ceramic capacitor placed within 5 mm of the pin; add a bulk 10 uF tantalum or aluminum-polymer capacitor near the regulator. Tie VSS and AVSS to a single ground plane with a star connection at the MCU. For low-noise analog measurements, keep the AVDD rail separate from noisy digital rails; a ferrite bead plus LDO is recommended when the ADC must hit 10-bit ENOB.
The PIC18F4685's ECAN module is the protocol controller only - it drives TX/RX logic levels, not the bus differential signal. A separate external transceiver (MCP2551, MCP2561, TJA1050, or ISO1050) is mandatory; tying CAN lines directly to the MCU will damage the part and never achieve CAN compliance. Also remember to set the CANCTRL register and configure baud rate via BRGCON1/2/3 before enabling ECAN, otherwise the bus-off fault flag will not clear.
Keep the crystal (or external clock) traces short and symmetric; place guard ground around them to avoid coupling noise into the oscillator. Route the ICSP PGC/PGD lines to a 5-pin header with ground on both sides. Avoid routing CAN TX/RX traces parallel to high-current switching nodes for more than 25 mm; add a 100 ohm series termination if the bus stubs exceed the CAN spec.
Información de cumplimiento
RoHS compliant and lead-free per Microchip product documentation. Halogen-free status: compliant per Verified Web Data. Industrial -40C to +85C temperature grade; not AEC-Q100 automotive-qualified - for automotive AEC-Q100 designs use PIC18F4685 with explicit automotive part suffix or upgrade to dsPIC33. Country of origin: Philippines or Thailand per Microchip Direct listing.