PIC18F2682-I/SP - 40MHz 8-bit MCU 80KB Flash ECAN DIP-28 | Microchip
部品番号: PIC18F2682-I/SP ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $6.92 | $6.92 |
| 10 | $6.18 | $61.80 |
| 100 | $5.42 | $542.00 |
| 500 | $4.79 | $2,395.00 |
| 1,000 | $4.31 | $4,310.00 |
PIC18F2682-I/SP 概要
A microcontroller (MCU) is a single-chip computer containing a CPU, memory, and programmable I/O peripherals. The PIC18 family is Microchip's high-performance 8-bit line, positioned within the broader 8-bit microcontroller taxonomy (MCU -> microcontroller -> embedded controller -> semiconductor). PIC18F parts add enhanced peripherals (ECAN, ADC, PWM) while retaining the classic PIC instruction set, making them a frequent choice for cost-sensitive industrial control and CAN-bus nodes.
Key features include 25 digital I/O pins, an internal oscillator block, an enhanced 10-bit ADC with up to 11 input channels, two enhanced USART modules, two MSSP ports for SPI/I2C, a 10-bit PWM module, and nanoWatt Technology for low-power sleep modes. Hardware ECAN support (CAN 2.0B active) is the defining peripheral, allowing direct connection to high-speed CAN bus networks without an external controller.
The PIC18F2682 uses a 16-bit modified Harvard architecture with separate program and data buses, supporting 75 instructions including hardware multiply. In-system programming via ICSP and ICD (in-circuit debugger) is supported, enabling firmware updates and debug in the final assembled board without removing the chip.
Typical applications include industrial CAN-bus nodes (CANopen, DeviceNet), automotive body controllers and sensor interfaces, building automation HVAC nodes, and embedded control with mixed analog/digital sensing. The DIP-28 package is favored for prototyping, educational kits, and low-volume industrial controllers where through-hole replacement is desired.
When designing with this device, use Microchip's MPLAB X IDE with XC8 compiler. Ensure decoupling capacitors (0.1 uF) are placed within 5 mm of VDD pins, and configure the ECAN module baud rate via the CANCON/CANSTAT registers per the CAN 2.0B timing diagrams in the datasheet. For sleep-mode designs, leverage the nanoWatt Technology features such as ultra-low-power wake-on-interrupt.
This page synthesizes distributor stock data, the same-family alternatives PIC18F2685/PIC18F4685 listed in Microchip literature, and practical ECAN design notes that go beyond the manufacturer datasheet pinout and register tables.
ドロップイン代替品: PIC18F2682-I/SP — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18F2682-I/SP (同一形状・フットプリント) — 相違点: Program Memory (Flash), Package, Core Architecture, Mounting Type, Operating Temperature.
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F2685-I/SP
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F2680-I/SP
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F2682-E/SP
✅ ドロップイン✓ 在庫あり
$7.62 / 個
データシートを見る →PIC18F2682-I/SP 最大定格&電気的特性
| Product Family | PIC18F |
| Core | PIC 8-bit |
| Core Architecture | Enhanced Harvard |
| Max CPU Frequency | 40 MHz (10 MIPS) |
| Program Memory (Flash) | 80 KB (40K x 16 words) |
| RAM | 3328 bytes |
| EEPROM | 1024 bytes |
| I/O Pins | 25 |
| ADC | 10-bit, up to 11 channels |
| Communication | ECAN, 2x USART (Enhanced), 2x MSSP (SPI/I2C) |
| PWM | 10-bit, 2 modules |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| 動作温度 | -40 C to +85 C (industrial grade) |
| パッケージ | 28-pin SPDIP (Skinny Plastic DIP) |
| 実装タイプ | Through-Hole |
| ICSP / ICD | Supported |
| Instruction Set | 75 instructions, hardware multiply |
| NanoWatt Technology | Yes (low-power modes) |
| RoHS ステータス | Compliant |
| Lead-Free | Yes |
PIC18F2682-I/SP ピン構成
| ピン 1 | RA0/AN0 — Port A bit 0 / analog input 0 |
| ピン 2 | RA1/AN1 — Port A bit 1 / analog input 1 |
| ピン 3 | RA2/AN2/Vref- — Port A bit 2 / analog input 2 / ADC Vref- |
| ピン 4 | RA3/AN3/Vref+ — Port A bit 3 / analog input 3 / ADC Vref+ |
| ピン 5 | RA4 — Port A bit 4 |
| ピン 6 | RA5/AN4 — Port A bit 5 / analog input 4 |
| ピン 7 | RA6 — Port A bit 6 |
| ピン 8 | OSC1/RA7 — Crystal oscillator input / Port A bit 7 |
| ピン 9 | OSC2/RA8 — Crystal oscillator output / Port A bit 8 |
| ピン 10 | RC0/T1OSO — Port C bit 0 / Timer1 oscillator output |
| ピン 11 | RC1/T1OSI — Port C bit 1 / Timer1 oscillator input |
| ピン 12 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| ピン 13 | RC3/CCP2 — Port C bit 3 / Capture/Compare/PWM 2 |
| ピン 14 | RC4 — Port C bit 4 |
| ピン 15 | RC5 — Port C bit 5 |
| ピン 16 | RC6/TX — Port C bit 6 / EUSART TX |
| ピン 17 | RC7/RX — Port C bit 7 / EUSART RX |
| ピン 18 | VSS — Ground reference |
| ピン 19 | VDD — Positive supply voltage (2.0-5.5V) |
| ピン 20 | RB0/INT0 — Port B bit 0 / External interrupt 0 |
| ピン 21 | RB1/INT1 — Port B bit 1 / External interrupt 1 |
| ピン 22 | RB2/INT2 — Port B bit 2 / External interrupt 2 |
| ピン 23 | RB3 — Port B bit 3 |
| ピン 24 | RB4 — Port B bit 4 |
| ピン 25 | RB5 — Port B bit 5 |
| ピン 26 | RB6/PGC — Port B bit 6 / ICSP clock |
| ピン 27 | RB7/PGD — Port B bit 7 / ICSP data |
| ピン 28 | MCLR/VPP/RE3 — Master clear reset / ICSP VPP / Port E bit 3 |
主な用途
PIC18F2682-I/SP の用途: 6 件s: Industrial CAN-bus Node (CANopen / DeviceNet), Automotive Body Controller / Sensor Interface, Building Automation HVAC Controller, Industrial Sensor / Data Acquisition Front-End, Educational / Embedded Development Platform, USB / Embedded Host Bridge with CAN.
Industrial CAN-bus Node (CANopen / DeviceNet)
The PIC18F2682-I/SP's integrated ECAN 2.0B active module makes it a strong fit for industrial CAN-bus nodes implementing CANopen (CiA 301/401) or DeviceNet slave profiles. With on-chip hardware acceptance filtering, message buffers, and bit rates up to 1 Mbps, the MCU can drive an 8-byte PDO at 1 ms cycle times without external CAN controller ICs. The 80 KB Flash accommodates a CANopen stack plus application code; the 3328-byte SRAM is sized for OD entries plus PDO buffers. Designers place a 60 ohm termination at the bus end and configure BRGCON registers per CAN timing diagrams. Unlike CAN-less MCUs, this part eliminates the SPI-to-CAN bridge, reducing BOM cost and PCB footprint. The industrial temperature grade (-40 to +85C) is required for factory-floor cabinets.
おすすめ
Automotive Body Controller / Sensor Interface
The PIC18F2682-I/SP suits automotive body electronics where multiple LIN/CAN nodes aggregate sensor data. Although its AEC-Q100 qualification is on the automotive grade variant (PIC18F2682-I/SP is the industrial grade), the part's ECAN module and 11-channel 10-bit ADC read wheel-speed, temperature, and pressure sensors with conversion rates up to 500 ksps. The 25 I/O pins drive MOSFET gates for body actuators (window, mirror, lock). Compared with automotive-only parts, the industrial grade is widely used in non-safety body systems and in-vehicle infotainment (IVI) peripherals where AEC-Q100 is not required. Combined with a 5V CAN transceiver and LIN transceiver, the MCU forms a complete body-electronics node. The nanoWatt Technology enables sleep currents under 100 nA for battery-saving wake-on-CAN scenarios.
おすすめ
Building Automation HVAC Controller
Building automation systems (BAS) running BACnet, LonWorks, or Modbus over RS-485 often use a PIC18F2682-I/SP as the node MCU thanks to its 25 I/O pins, 10-bit ADC for analog sensor inputs (temperature, humidity, CO2), and dual Enhanced USARTs for BACnet MS/TP or Modbus RTU communication. The 40 MHz CPU executes scheduling and PID loops at 10 MIPS, sufficient for HVAC damper and valve control. Compared with smaller PIC16 parts, the 80 KB Flash holds BACnet stack plus application logic; the EEPROM supports non-volatile setpoint retention through power cycles. The DIP-28 package is favored for field-replaceable controller cards in retrofit installations where socketed DIP is preferred over SMT. A 24V AC-to-5V DC supply with the MCU's 2.0-5.5V VDD range simplifies power design.
おすすめ
Industrial Sensor / Data Acquisition Front-End
The PIC18F2682-I/SP's 11-channel 10-bit ADC and dual MSSP (SPI/I2C) ports make it well-suited for industrial data-acquisition front-ends aggregating analog sensors (strain gauges, thermocouples, pressure transducers) and digital sensors over SPI or I2C. The 25 I/O lines handle discrete inputs and outputs; the 3328 bytes SRAM buffer scan data for forwarding to a host PLC over CAN or USART. With nanoWatt Technology, the part can sleep between scans, drawing nanoamps. Compared with external ADC ICs, the on-chip 10-bit ADC simplifies BOM; for higher precision the designer may pair the part with an external 16-bit ADC such as MCP3421 via I2C. The DIP-28 form factor is useful for legacy 4-20 mA loop-powered sensor designs and OEM instrumentation.
おすすめ
Educational / Embedded Development Platform
The PIC18F2682-I/SP is widely used in university embedded systems courses and PIC training kits because the 28-pin DIP-28 package fits standard 0.3-inch DIP sockets, breadboards, and trainer boards, allowing students to swap the chip in and out without soldering. The 40 MHz core, ECAN, USART, MSSP, PWM, and ADC expose nearly the full PIC18 peripheral set, providing realistic exposure to industrial MCU features. The MPLAB X IDE with XC8 compiler and PICkit 3/4 in-circuit debugger supports the part for hands-on labs. The ICSP interface allows programming and debugging on the trainer board without removing the chip. Compared with surface-mount-only modern MCUs, the DIP-28 form factor is essential for first-year lab experiences teaching low-level embedded C and assembly programming.
おすすめ
USB / Embedded Host Bridge with CAN
Although PIC18F2682-I/SP lacks native USB, designers can pair it with an external USB-to-UART bridge (MCP2200) or USB-to-SPI bridge (MCP2210) to add USB device connectivity while retaining the ECAN module for upstream fieldbus communication. This architecture is common in industrial gateways and diagnostic tools forwarding CAN traffic to a host PC for analysis. The 80 KB Flash holds USB-CDC class firmware plus CAN parsing; the 3328 bytes SRAM buffer CAN-to-USB frames. Compared with single-chip USB+CAN MCUs, this two-chip approach allows upgrades on either side independently. Combined with ECAN at 1 Mbps and USB Full Speed at 12 Mbps, the gateway streams CAN logs to a host application in real time.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18F2682-I/SP — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F2685-I/SP | PIC18F2680-I/SP | PIC18F2682-I/SO | PIC18F4685-I/P |
|---|---|---|---|---|---|
| Package | SPDIP-28 | SPDIP-28 - same | SPDIP-28 - same | SOIC-28 - cross-package | DIP-40 - cross-package |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 80 KB | 96 KB (+20%) | 64 KB (-20%) | 80 KB (same) | 96 KB (+20%) |
| RAM | 3328 bytes | 3328 bytes | 3328 bytes | 3328 bytes | 3328 bytes |
| Max CPU Frequency | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| ECAN Module | Yes (CAN 2.0B active) | Yes | No | Yes | Yes |
| I/O Pins | 25 | 25 | 25 | 25 | 36 (DIP-40) |
| ADC | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels |
| Operating Temperature | -40C to +85C (industrial) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Pin-Compatible (SPDIP-28) | Yes (this device) | Yes - same SPDIP-28 footprint | Yes - same SPDIP-28 footprint | No - SOIC-28, cross-package | No - DIP-40, cross-package |
主な差別化要因
- On-chip ECAN with hardware acceptance filtering (vs PIC18F2680-I/SP)
- Larger Flash memory for richer firmware (vs PIC18F2685-I/SP)
- Through-hole SPDIP-28 package for easy prototyping (vs PIC18F2682-I/SO)
設計ノート
The PIC18F2682 operates over 2.0V to 5.5V. Place a 0.1 uF decoupling capacitor within 5 mm of each VDD pin and a bulk 10 uF tantalum or aluminum polymer capacitor near the IC. When using the ADC, add a ferrite bead plus 10 ohm resistor on the AVDD rail and a separate analog ground pour to reduce digital switching noise coupling into ADC measurements. Brown-out reset (BOR) is enabled by default to prevent code runaway during VDD dips.
Route the ECAN TX/RX pins to MCP2551 transceiver with traces as short as possible and matched lengths (delta under 5 mm) to keep the bus edges clean. Place a 60 ohm termination resistor at each end of the CAN bus, not at the node. The CANH and CANL traces should be a differential pair with 120 ohm characteristic impedance and not cross any digital switching signal. Keep oscillator traces (OSC1/OSC2) short and surrounded by a ground guard ring to reduce EMI. The ICSP PGC/PGD pins should be accessible via a 6-pin header for in-circuit programming.
Do not forget to disable the watchdog timer (WDT) during development or set proper WDT postscaler to avoid unexpected resets. When using ECAN, configure BRGCON1/BRGCON2/BRGCON3 registers per the CAN bit timing tables in the datasheet for the target baud rate - incorrect configuration causes silent bus errors. Ensure the MCLR pin is pulled high via a 10 kohm resistor and not left floating. The ADC result requires acquisition time per the datasheet TAD table; reading too early after channel switching produces invalid data.
Estimated: at 40 MHz, 5V VDD, and full peripheral activity the PIC18F2682 draws approximately 25 mA (125 mW), with junction temperature rise of 7 C above ambient assuming standard DIP-28 theta_JA of 70 C/W. At industrial operating temperature of 85 C, junction reaches 92 C, well below the 150 C absolute max. Power-saving modes (Sleep/Idle and nanoWatt Technology) drop consumption to under 100 nA in Sleep with WDT disabled. Use Sleep for battery-backed or energy-harvested designs and wake via ECAN or external interrupt.
コンプライアンス情報
RoHS compliant per Microchip product page. Industrial temperature grade (-40C to +85C). Not AEC-Q100 qualified - choose AEC-Q100 automotive parts (e.g., PIC18F2682-I/SP automotive variant) for safety-critical applications. Halogen-free per Microchip green-compliance documentation.