PIC18F2682-I/SO - 8-bit MCU 80KB Flash ECAN 28-SOIC | Microchip
N.º da peça: PIC18F2682-I/SO ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $8.21 | $8,21 |
| 10 | $7.39 | $73,90 |
| 100 | $6.57 | $657,00 |
| 500 | $5.74 | $2.870,00 |
| 1.000 | $5.02 | $5.020,00 |
PIC18F2682-I/SO Visão geral
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), data memory (RAM), and a configurable set of peripherals onto one silicon die. Within the broader taxonomy, the PIC18F2682 sits in the 8-bit MCU category, which balances code density, deterministic interrupt response, and ultra-low power consumption for cost-sensitive embedded applications. Microchip's PIC18 family in particular uses a 16-bit instruction width with an 8-bit data path (Harvard architecture), giving it the high code density of a 16-bit instruction set while preserving the small footprint of an 8-bit MCU.
Key features of the PIC18F2682 include the ECAN module (CAN 2.0B active with hardware filtering and three transmit / two receive buffers), a 10-bit Analog-to-Digital Converter with up to 11 input channels, dual USART modules (one with LIN support), an MSSP peripheral for SPI and I2C (master/slave), a 16-bit capture/compare/PWM module, and nanoWatt technology that drops I/O current to under 100 nA in sleep mode. The 80 KB self-programmable Flash supports in-application programming through the ICSP interface.
The PIC18F2682 uses Microchip's enhanced 16-bit RISC core with 32-level hardware stack, an internal 8 MHz oscillator with PLL (yielding 32 MHz internal operation) and a 31 kHz secondary oscillator for low-power real-time-clock operation. The instruction set is backward-compatible with the PIC16 family while adding multiply and hardware divide, enabling deterministic single-cycle execution for time-critical control loops and CAN bit timing.
Typical applications include automotive body and chassis ECAN nodes, industrial control with CANopen or DeviceNet, building automation and HVAC controllers, sensor aggregation nodes with LIN bus, and battery-powered remote sensor platforms that benefit from the nanoWatt sleep modes. The wide operating voltage range also makes the part suitable for 5V industrial and 3.3V logic-level designs from a single part number.
When designing with this device, allocate the ECAN pinout carefully: the CANTX and CANRX pins share physical pins with PORTB bits and must be remapped via configuration registers if the host board wires them to non-default locations. Use the internal 31 kHz oscillator for the secondary clock to keep BOM cost low in timer-based applications.
Alternativas drop-in para PIC18F2682-I/SO — 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 PIC18F2682-I/SO (mesmo formato e footprint) — diferindo em Timers, Package, ADC, Program Memory (Flash), Operating Temperature.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F2680-I/SO
✅ Drop-In✓ Em estoque
$5.62 / unidade
Ver ficha técnica →PIC18F2685-I/SO
✅ Drop-In✓ Em estoque
$6.9 / unidade
Ver ficha técnica →PIC18F2680T-I/SO
✅ Drop-In✓ Em estoque
$6.15 / unidade
Ver ficha técnica →PIC18F2680-E/SO
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F2682-E/SO
✅ Drop-In✓ Em estoque
$5.95 / unidade
Ver ficha técnica →PIC18F2480-I/SO
✅ Drop-In✓ Em estoque
$4.13 / unidade
Ver ficha técnica →PIC18F2682-I/SO Classificações máximas e características elétricas
| Core Architecture | 8-bit PIC18 enhanced RISC (Harvard) |
| Program Memory (Flash) | 80 KB |
| Data Memory (RAM) | 3328 bytes |
| EEPROM | 1024 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| Temperatura de operação | -40C to +85C (industrial grade) |
| I/O Pins | 25 |
| ADC | 10-bit, up to 11 channels |
| CAN | 1 x ECAN 2.0B active (3 TX / 2 RX buffers) |
| USART | 2 (one with LIN support) |
| MSSP | SPI / I2C master and slave |
| Timers | 4 (Timer0/1/2/3) |
| CCP/ECCP Modules | 1 CCP + 1 ECCP (16-bit PWM) |
| Encapsulamento | 28-pin SOIC (SO) |
| Tipo de montagem | Surface Mount |
| Status RoHS | Compliant |
| Lead-Free / Halogen-Free | Lead-free; halogen-free status unknown |
Configuração de pinos do PIC18F2682-I/SO
| Pino 1 | MCLR/RE3 — Master Clear (Reset) input or digital input RE3 |
| Pino 2 | RA0 — PORTA bit 0 / analog AN0 |
| Pino 3 | RA1 — PORTA bit 1 / analog AN1 |
| Pino 4 | RA2 — PORTA bit 2 / analog AN2 |
| Pino 5 | RA3 — PORTA bit 3 / analog AN3 / VREF+ |
| Pino 6 | RA4 — PORTA bit 4 / analog AN4 |
| Pino 7 | RA5 — PORTA bit 5 / analog AN5 / VREF- |
| Pino 8 | VSS — Ground reference |
| Pino 9 | OSC1/RA7 — Crystal oscillator input / PORTA bit 7 |
| Pino 10 | OSC2/RA6 — Crystal oscillator output / PORTA bit 6 |
| Pino 11 | RC0 — PORTC bit 0 |
| Pino 12 | RC1 — PORTC bit 1 |
| Pino 13 | RC2 — PORTC bit 2 |
| Pino 14 | RC3 — PORTC bit 3 |
| Pino 15 | RC4 — PORTC bit 4 |
| Pino 16 | RC5 — PORTC bit 5 |
| Pino 17 | RC6 — PORTC bit 6 / TX1 (USART1 transmit) |
| Pino 18 | RC7 — PORTC bit 7 / RX1 (USART1 receive) |
| Pino 19 | VSS — Ground reference |
| Pino 20 | VDD — Positive supply voltage (2.0V to 5.5V) |
| Pino 21 | RB0 — PORTB bit 0 / interrupt-on-change |
| Pino 22 | RB1 — PORTB bit 1 / interrupt-on-change |
| Pino 23 | RB2 — PORTB bit 2 / interrupt-on-change |
| Pino 24 | RB3 — PORTB bit 3 / interrupt-on-change |
| Pino 25 | RB4 — PORTB bit 4 / interrupt-on-change |
| Pino 26 | RB5 — PORTB bit 5 / interrupt-on-change |
| Pino 27 | RB6 — PORTB bit 6 / PGC (ICSP clock) |
| Pino 28 | RB7 — PORTB bit 7 / PGD (ICSP data) |
Aplicações típicas
PIC18F2682-I/SO é adequado para 6 aplicaçãos: Automotive ECAN Body and Chassis Nodes, Industrial CANopen / DeviceNet Control Modules, LIN Bus Sensor Aggregator Nodes, Battery-Powered Remote Sensor Platforms, Building Automation HVAC Controllers, Elevator and Access Control Panels.
Automotive ECAN Body and Chassis Nodes
The PIC18F2682-I/SO is purpose-built for automotive body and chassis ECAN nodes where deterministic CAN 2.0B communication is essential. Its ECAN peripheral with three transmit and two receive buffers and hardware acceptance filtering allows the MCU to handle full 1 Mbps CAN traffic without software bit-banging, freeing CPU cycles for sensor sampling. The 80 KB flash and 3328 bytes RAM comfortably hold J1939 stack libraries plus application code, while the 10-bit ADC with up to 11 channels reads automotive sensors (temperature, position, switch inputs) directly. The wide 2.0V-5.5V supply range tolerates 12V automotive battery transients when paired with proper TVS protection. Its industrial -40C to +85C operating range covers most non-ECU locations.
Recomendado
Industrial CANopen / DeviceNet Control Modules
In industrial automation, the PIC18F2682-I/SO functions as a low-cost CANopen or DeviceNet slave node on a 28-pin SOIC footprint, ideal for motor starters, sensor hubs, and valve controllers. The 40 MHz / 10 MIPS performance supports CANopen stack execution plus deterministic PDO handling under 1 ms cycle times. nanoWatt sleep modes drop quiescent current to under 100 nA, enabling battery-backed industrial nodes that wake on CAN traffic. The MSSP peripheral operating in SPI mode allows high-speed connection to industrial gate drivers, while the ECCP 16-bit PWM module directly drives small DC motors and solenoid valves.
Recomendado
LIN Bus Sensor Aggregator Nodes
The PIC18F2682-I/SO serves as a LIN master or slave in automotive body sensor networks where one of its two USART peripherals is configured for LIN 1.3/2.0 with the auto-baud detect feature. Its 25 I/O pins allow direct connection of multiple switch, thermistor, and Hall-effect inputs that the LIN master polls and forwards over the sub-bus. The internal 8 MHz oscillator with 4x PLL eliminates an external crystal in cost-sensitive LIN slaves, while nanoWatt sleep allows nodes to wake only on LIN bus traffic for <1 mA average consumption in standby. The 28-pin SOIC package is friendly to reflow assembly in automotive Tier-1 contract manufacturing lines.
Recomendado
Battery-Powered Remote Sensor Platforms
For battery-powered sensor nodes, the PIC18F2682-I/SO leverages nanoWatt technology to achieve <100 nA sleep current with the Real-Time Clock running on the secondary 31 kHz oscillator, allowing multi-year battery life on a single CR2032 cell. The 10-bit ADC samples environmental sensors while the MSSP drives SPI sensors and the ECCP module wakes the system periodically to drive a piezo buzzer. The 80 KB flash and 3328 bytes RAM support over-the-air bootloader slots when paired with a wireless companion IC. The wide 2.0V-5.5V VDD range tolerates depleted battery voltage down to brown-out detection at 2.0V for safe shutdown.
Recomendado
Building Automation HVAC Controllers
The PIC18F2682-I/SO provides the central control for building HVAC thermostats and damper actuators where its ECAN module links to the building management system and the 16-bit ECCP PWM drives proportional damper motors. The 10-bit ADC reads NTC thermistors and humidity sensors while the MSSP drives I2C CO2 sensors and SPI displays. The industrial -40C to +85C operating range covers unconditioned plant-room environments. The internal 8 MHz oscillator with PLL removes external crystal cost in commercial thermostat designs, and the nanoWatt sleep modes cut standby power for energy compliance.
Recomendado
Elevator and Access Control Panels
The PIC18F2682-I/SO fits elevator call panels and access control keypads where its 80 KB flash stores multilingual menu strings and 3328 bytes RAM buffers ECAN messages from the elevator controller. The 16-bit ECCP PWM smoothly drives LED brightness for keypad backlights, while the MSSP in SPI mode drives character LCDs and OLEDs for floor status displays. The 25 I/O pins accommodate a 4x4 keypad matrix plus 8 LED indicators and relay drivers. Industrial temperature grade covers indoor equipment-room installations and the wide 2.0V-5.5V supply matches 24V industrial rails when used with a simple linear regulator.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F2682-I/SO — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F2680-I/SO | PIC18F2685-I/SO | PIC18F2480-I/SO |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SOIC (SO) | 28-pin SOIC (SO) - same | 28-pin SOIC (SO) - same | 28-pin SOIC (SO) - same |
| Program Memory (Flash) | 80 KB | 64 KB (-20%) | 96 KB (+20%) | 16 KB (-80%) |
| Data RAM | 3328 bytes | 3328 bytes | 3328 bytes | 768 bytes |
| EEPROM | 1024 bytes | 1024 bytes | 1024 bytes | 256 bytes |
| ECAN Module | Yes (CAN 2.0B active) | Yes (CAN 2.0B active) | Yes (CAN 2.0B active) | Yes (CAN 2.0B active) |
| Maximum Clock | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
Principais diferenciais
- Larger flash than the 64 KB PIC18F2680 with same ECAN capability (vs PIC18F2680-I/SO)
- Smaller die than PIC18F4685 with same ECAN in a smaller package (vs PIC18F4685)
- Includes ECAN, not just CAN, with three transmit buffers (vs PIC18F2620)
Notas de projeto
The PIC18F2682-I/SO operates from 2.0V to 5.5V VDD; place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 20) with a 10 uF bulk capacitor on the same rail. The internal voltage regulator requires a bulk capacitor on the AVDD rail even when the ADC is unused, per the Microchip datasheet (DS39761C) recommended layout. For automotive 12V battery applications, add a series Schottky diode or TVS to prevent load-dump transients from exceeding the absolute maximum rating of 7V on VDD.
Route the CANTX (pin RB2/CANIO alternative remap) and CANRX (pin RB3) differential pair as a tightly coupled 100 ohm differential microstrip to the CAN transceiver, keeping the length under 50 mm and avoiding splits in the ground plane. Place the CAN transceiver within 10 mm of the MCU and stitch the ground plane with vias around the bus traces. The MSSP pins for SPI or I2C should be reserved for high-impedance analog traces if used simultaneously as ADC inputs - never share these pins between ADC sampling and high-speed SPI traffic without careful sample-window timing.
Do not confuse PIC18F2682 with PIC18F2480 - both share the same 28-pin SOIC footprint, but PIC18F2480 has only 16 KB flash and 768 bytes RAM and may lack the ECAN module on some revisions; always verify the die mask on the package top marking. Also note the ECAN module uses shared pin remapping - the default CAN pins are on RB2/RB3, but configuration registers can move them to other PORTB positions; document the chosen remap in code comments. Finally, the ICSP pins (RB6/RB7) must not be pulled low at reset or the device will enter programming mode instead of executing user code.
The PIC18F2682-I/SO is a CMOS digital MCU with negligible internal power dissipation (<50 mW at full 10 MIPS), so thermal management is generally not required in the 28-pin SOIC package. However, in sealed automotive enclosures at +85C ambient, derate the clock speed or duty cycle to keep junction temperature below +125C; Microchip specifies a thermal resistance theta_JA of approximately 80 C/W for the SO package. For long-term reliability in high-ambient applications, choose the PIC18F2680-E/SO extended temperature variant qualified to +125C.
Informações de conformidade
RoHS and REACH compliance per Microchip product page. AEC-Q100 automotive qualification status should be confirmed with Microchip FAE for safety-critical applications. Microchip recommends this part for automotive designs with special ordering codes for full automotive grade.