PIC18F4585-H/P - 48KB Flash 8-bit MCU ECAN DIP-40 | Microchip
N.º da peça: PIC18F4585-H/P ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $8.28 | $8,28 |
| 10 | $7.62 | $76,20 |
| 100 | $6.93 | $693,00 |
| 500 | $6.21 | $3.105,00 |
| 1.000 | $5.55 | $5.550,00 |
PIC18F4585-H/P Visão geral
Key features include 48 KB Flash, 3,328 bytes RAM, 1,024 bytes of data EEPROM, 36 digital I/O pins, two 8-bit and three 16-bit timers, two analog comparators, an Enhanced USART, MSSP (SPI/I2C), and an Enhanced CAN 2.0B module supporting both standard and extended identifiers. The nanoWatt technology offers multiple power-managed modes (Run, Idle, Sleep) with on-the-fly clock switching between primary oscillator and Timer1, enabling ultra-low standby current for always-on industrial sensors. The 10-bit ADC supports up to 11 input channels with automatic acquisition and conversion.
Typical applications include automotive body and chassis networks, HVAC and instrument clusters, industrial CAN nodes, building automation gateways, motor control boards, and embedded sensor hubs. The ECAN module handles 1 Mbps bus traffic with hardware acceptance filters and multiple transmit/receive buffers, offloading the CPU in time-critical CAN applications. Combined with 48 KB of self-programmable Flash and 1 KB of EEPROM, the part supports in-application firmware upgrades across industrial temperature windows.
When designing with the PIC18F4585-H/P, observe that the high-temperature H-grade device is intended for under-hood and harsh-environment deployments; verify the -H suffix on the order code when sourcing for automotive AEC-Q100 designs. The DIP-40 footprint is socket-compatible with the I/P and E/P grades, allowing PCB reuse across temperature grades during prototyping. Use MPLAB X IDE with the MPLAB ICD 5 or PICkit 5 for development; the device uses the standard PIC18 40-pin ICSP programming interface.
Alternativas drop-in para PIC18F4585-H/P — 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 PIC18F4585-H/P (mesmo formato e footprint) — diferindo em Package, Operating Temperature, Program Memory (Flash), Timers, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F4585-I/P
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F4585-E/P
✅ Drop-In✓ Em estoque
$5.07 / unidade
Ver ficha técnica →PIC18F4685-I/P
✅ Drop-In✓ Em estoque
$5.4 / unidade
Ver ficha técnica →PIC18F4585-H/ML
✅ Drop-In✓ Em estoque
$7.85 / unidade
Ver ficha técnica →PIC18F4580-I/P
✅ Drop-In✓ Em estoque
$5.1 / unidade
Ver ficha técnica →PIC18F448-I/P
✅ Drop-In✓ Em estoque
$4.42 / unidade
Ver ficha técnica →PIC18F458-I/P
✅ Drop-In✓ Em estoque
$7.45 / unidade
Ver ficha técnica →PIC18F4585-H/P Classificações máximas e características elétricas
| Core Architecture | PIC18 8-bit RISC |
| Program Memory (Flash) | 48 KB (24K x 16) |
| RAM | 3,328 bytes |
| Data EEPROM | 1,024 bytes |
| Maximum CPU Speed | 25 MHz (10 MIPS) |
| Operating Voltage (Vdd) | 2.0 V to 5.5 V |
| Temperatura de operação | -40C to +150C (H grade) |
| Number of I/O Pins | 36 |
| Encapsulamento | 40-pin PDIP (DIP-40, 0.600"/15.24 mm) |
| ADC | 10-bit, up to 11 channels |
| Communication Interfaces | ECAN 2.0B, Enhanced USART, MSSP (SPI/I2C) |
| Timers | 2 x 8-bit, 3 x 16-bit |
| Analog Comparators | 2 |
| Power-Saving Modes | nanoWatt (Run / Idle / Sleep with on-the-fly clock switching) |
| Tipo de montagem | Through-Hole (PDIP) |
| Programming Interface | ICSP (In-Circuit Serial Programming) via MPLAB ICD 5 / PICkit 5 |
Configuração de pinos do PIC18F4585-H/P
| Pino 1 | MCLR/RE3 — Master Clear (reset) input / digital I/O RE3 |
| Pino 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pino 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pino 4 | RA2/AN2/Vref- — PORTA bit 2 / analog input 2 / ADC Vref- |
| Pino 5 | RA3/AN3/Vref+ — PORTA bit 3 / analog input 3 / ADC Vref+ |
| Pino 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Pino 8 | OSC1/RA7 — Oscillator input / PORTA bit 7 |
| Pino 9 | OSC2/RA6 — Oscillator output / PORTA bit 6 |
| Pino 10 | RC0/T1OSO — PORTC bit 0 / Timer1 oscillator output |
| Pino 11 | Vdd — Positive supply voltage |
| Pino 12 | Vss — Ground |
| Pino 13 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| Pino 14 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Pino 15 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pino 16 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pino 17 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pino 18 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| Pino 19 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| Pino 20 | Vss — Ground |
| Pino 21 | Vdd — Positive supply voltage |
| Pino 22 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| Pino 23 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| Pino 24 | RB2/INT2 — PORTB bit 2 / external interrupt 2 |
| Pino 25 | RB3/CANRX — PORTB bit 3 / ECAN receive pin |
| Pino 26 | RB4/CANTX — PORTB bit 4 / ECAN transmit pin |
| Pino 27 | RB5/PGM — PORTB bit 5 / ICSP programming |
| Pino 28 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pino 29 | RB7/PGD — PORTB bit 7 / ICSP data |
| Pino 30 | Vss — Ground |
| Pino 31 | Vdd — Positive supply voltage |
| Pino 32 | RD0/PSP0 — PORTD bit 0 / parallel slave port 0 |
| Pino 33 | RD1/PSP1 — PORTD bit 1 / parallel slave port 1 |
| Pino 34 | RD2/PSP2 — PORTD bit 2 / parallel slave port 2 |
| Pino 35 | RD3/PSP3 — PORTD bit 3 / parallel slave port 3 |
| Pino 36 | RD4/PSP4 — PORTD bit 4 / parallel slave port 4 |
| Pino 37 | RD5/PSP5 — PORTD bit 5 / parallel slave port 5 |
| Pino 38 | RD6/PSP6 — PORTD bit 6 / parallel slave port 6 |
| Pino 39 | RD7/PSP7 — PORTD bit 7 / parallel slave port 7 |
| Pino 40 | RE0/RD/AN5 — PORTE bit 0 / read strobe / analog input 5 |
| Pino 41 | RE1/WR/AN6 — PORTE bit 1 / write strobe / analog input 6 |
| Pino 42 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
Aplicações típicas
PIC18F4585-H/P é adequado para 7 aplicaçãos: Automotive CAN Bus Nodes, Industrial Sensor Hubs, HVAC Control Boards, Instrument Clusters and Driver Displays, Building Automation Gateways, Motor Control Boards (BLDC / Stepper), Embedded Sensor Data Loggers.
Automotive CAN Bus Nodes
The PIC18F4585-H/P's integrated ECAN 2.0B controller, 48KB self-programmable Flash, and -40C to +150C operating range make it ideal for automotive body and chassis ECUs communicating on CAN bus. The hardware acceptance filters and dual transmit buffers offload bus arbitration from the CPU, while nanoWatt power modes let the node enter sub-microamp sleep between CAN wake-up frames. In practice the MCU runs at 25 MHz (10 MIPS), reads CAN messages in hardware buffers, and processes them before re-entering sleep. Compared with a discrete CAN controller, the integrated ECAN removes a chip from the BOM and saves both PCB area and quiescent current in always-on automotive gateways.
Recomendado
Industrial Sensor Hubs
With 36 digital I/O, an 11-channel 10-bit ADC, two analog comparators, and three 16-bit timers, the PIC18F4585-H/P is well suited for industrial multi-sensor aggregation nodes that read temperature, pressure, flow, and digital inputs before transmitting aggregates over CAN or RS-485. The 48KB Flash holds MODBUS or CANopen stack images plus application firmware, and 1KB of EEPROM stores calibration data with byte-level endurance. Industrial -40C to +150C operation supports unshielded cabinet mounting. The nanoWatt sleep mode drops current under 1 uA, enabling battery-powered wireless sensor transmitters that wake periodically for measurements.
Recomendado
HVAC Control Boards
The PIC18F4585-H/P is a proven HVAC controller brain: its 11-channel ADC reads mixed temperature and pressure sensors, the three 16-bit timers drive triac-based phase-angle control for fans and compressors, and the ECAN module links the unit to a building automation backbone. The -H grade supports rooftop and boiler-room ambient extremes to +150C when paired with conformal coating. With 48KB Flash, a full BACnet or Modbus stack plus custom zoning logic fits in a single chip, and the 10 MIPS throughput keeps control loops well under 10 ms.
Recomendado
Instrument Clusters and Driver Displays
Automotive instrument clusters benefit from the PIC18F4585-H/P's CAN connectivity, 10-bit ADC for fuel/temperature gauges, PWM outputs for backlight dimming, and -40C to +150C operating window for under-dash mounting. The 48KB Flash supports gauge graphics libraries and CAN J1939 stacks. Multiple analog comparators enable direct tachometer signal conditioning without an external op-amp, and the Enhanced USART drives LIN or K-Line diagnostics. The H-grade device survives engine-bay heat soak during off-state parking.
Recomendado
Building Automation Gateways
The PIC18F4585-H/P serves as a low-cost BACnet MS/TP or CANopen gateway between field devices and a building management system. Its ECAN 2.0B controller and Enhanced USART support dual-protocol bridging, while 48KB Flash accommodates full BACnet stack and routing tables. The nanoWatt sleep mode enables 24/7 always-on operation at low energy cost. With 1KB EEPROM, gateway configuration survives power cycles without external NVM.
Recomendado
Motor Control Boards (BLDC / Stepper)
The PIC18F4585-H/P's three 16-bit timers with PWM, four hardware capture/compare channels, two analog comparators, and 25 MHz throughput support sensorless or Hall-sensor BLDC and stepper motor control loops. The ECAN module integrates the drive into a networked motion system, and the -H grade tolerates the elevated temperatures inside sealed motor housings. With 48KB Flash, application code can include FOC or trapezoidal commutation algorithms, fault handling, and CANopen DS402 motion profile without external memory.
Recomendado
Embedded Sensor Data Loggers
The PIC18F4585-H/P's 48KB Flash holds data-acquisition firmware, 3,328 bytes RAM buffers multi-sample averaging, and 1KB EEPROM stores hours of metadata or calibration. The 11-channel ADC at 25 MHz CPU captures analog sensors up to 50 ksps aggregate, while the MSSP interface logs to external serial EEPROM or SD cards. nanoWatt sleep mode drops current to nanoamp levels between samples, making the part suited for battery-powered remote loggers in industrial or environmental monitoring.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F4585-H/P — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F4585-I/P | PIC18F4585-E/P | PIC18F4685-I/P | PIC18F4580-I/P | PIC18F458-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP (DIP-40) | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same |
| Program Memory | 48 KB | 48 KB | 48 KB | 96 KB | 32 KB | 32 KB |
| Operating Temperature | -40C to +150C (H grade) | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C |
| ECAN Module | Yes (ECAN 2.0B) | Yes | Yes | Yes | No | Yes |
| CPU Speed | 25 MHz (10 MIPS) | 25 MHz | 25 MHz | 25 MHz | 25 MHz | 25 MHz |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 1,536 bytes | 1,536 bytes |
| Data EEPROM | 1,024 bytes | 1,024 bytes | 1,024 bytes | 1,024 bytes | 256 bytes | 256 bytes |
| ADC | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 8 channels |
| Unit Price (qty 1, USD) | 8.28 | ~7.10 | ~7.50 | ~9.20 | ~6.80 | ~7.40 |
Principais diferenciais
- Highest operating temperature in the PIC18F4585 family (vs PIC18F4585-I/P)
- Doubles Flash for future-proof designs (vs PIC18F4685-I/P)
- Lower cost for non-ECAN designs (vs PIC18F4580-I/P)
Notas de projeto
Estimated: at 25 MHz and 5V supply with all peripherals active, the PIC18F4585-H/P draws approximately 30 mA, dissipating 150 mW - well within the 1 W PDIP-40 rating without active cooling. At +150C ambient with 1W dissipation the die temperature approaches the +175C junction limit; for high-temperature H-grade applications verify junction-to-ambient thermal resistance (theta_JA) of approximately 70 C/W for PDIP-40 and reduce clock or use sleep modes to maintain margin.
Place two Vdd/Vss decoupling pairs close to pins 11/12 and 31/32 of the DIP-40 package: a 100 nF ceramic plus a 10 uF bulk tantalum for each pair. Add a 10 kohm pull-up on MCLR (pin 1) and a 100 nF cap on the MCLR line to prevent spurious resets. For ECAN designs, keep the CANTX (RB4) and CANRX (RB3) traces short and route a single ground plane under the ICSP header to minimize EMI.
Critical: the ECAN module requires configuration of the CANCON register bits to enter Configuration mode before modifying BRGCON1/2/3 for baud rate. Failing to do so silently writes are ignored. Also note that the -H grade has only 1KB of EEPROM, not 4KB - some legacy code referencing 4KB will read garbage. Always select the correct configuration bits for the ECAN module in the MPLAB X IDE before generating HEX files.
The ECAN CANTX and CANRX lines must go through an external transceiver (e.g. MCP2551) - they are 5V CMOS logic and cannot directly drive a CAN bus. Place the transceiver within 50 mm of the MCU; keep CANH and CANL traces parallel and length-matched within 10 mm. Add a 120 ohm termination resistor at each end of the bus, never in the middle. For EMI-sensitive environments add a common-mode choke between the transceiver and bus connector.
Informações de conformidade
RoHS and lead-free per Microchip product page. H-grade -40C to +150C operating range is not an AEC-Q100 certification; consult Microchip automotive product line for AEC-Q100 qualified PIC18 ECAN parts. Halogen-free status not explicitly stated in retrieved data.