PIC18F2682-E/SP - 80KB Flash 8-bit MCU with CAN | Microchip
部品番号: PIC18F2682-E/SP ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $11.9 | $11.90 |
| 10 | $10.71 | $107.10 |
| 100 | $9.52 | $952.00 |
| 500 | $8.57 | $4,285.00 |
| 1,000 | $7.62 | $7,620.00 |
PIC18F2682-E/SP 概要
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, designed for embedded control tasks that require deterministic real-time response, low power consumption, and minimal BOM cost. The PIC18F family extends Microchip's mid-range architecture with a 16-bit instruction word, hardware multiplier, and a C-friendly compiler target (MPLAB XC8), positioning it between baseline PIC16 parts and 16-bit dsPIC/PIC24 devices in Microchip's product taxonomy: 8-bit MCU -> PIC18F -> mid-range MCU -> microcontroller -> embedded processor -> semiconductor.
Key differentiating features of the PIC18F2682 include an integrated CAN 2.0B controller with hardware acceptance filters, an Enhanced Addressable USART that supports both RS-232 and LIN, a 10-bit ADC with up to 8 channels, and a nanoWatt Technology power-managed sleep mode. The device also carries 25 digital I/O lines, hardware Capture/Compare/PWM modules, and an ICD/In-Circuit Debugger interface.
Architecturally the PIC18F2682 uses a Harvard-style bus with separate instruction and data paths, enabling single-cycle instruction fetch except for branch and table-read operations. The Flash program memory supports self-programmability via ICSP, allowing field firmware updates without external programmers. The internal oscillator block provides selectable 8 MHz, 4 MHz, 31 kHz, and 32.768 kHz sources for low-power or timing-critical applications.
Typical applications include industrial CAN-bus node controllers, automotive body-electronics modules, embedded sensor hubs, and consumer appliance controllers. The combination of on-chip CAN and LIN peripherals makes it especially well suited to vehicle networks where a small 8-bit MCU replaces a more expensive 32-bit controller.
When designing with this part, place decoupling capacitors (100 nF ceramic plus 10 uF bulk) within 5 mm of the VDD pins, keep the MCLR pull-up to VDD, and ensure the crystal or external clock traces are short and guarded. For CAN applications the TX/RX pins must be paired with a CAN transceiver such as the MCP2551.
This page synthesizes verified distributor pricing, drop-in alternative cross-references, and practical CAN/LIN design notes not consolidated on any single manufacturer or distributor product page.
ドロップイン代替品: PIC18F2682-E/SP — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18F2682-E/SP (同一形状・フットプリント) — 相違点: Package, Timers, Mounting Type, RoHS Status, ADC.
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F2685-E/SP
✅ ドロップイン✓ 在庫あり
$10.85 / 個
データシートを見る →PIC18F2682-I/SP
✅ ドロップイン✓ 在庫あり
$4.31 / 個
データシートを見る →PIC18F2682-E/SO
✅ ドロップイン✓ 在庫あり
$5.95 / 個
データシートを見る →PIC18F2680-E/SP
✅ ドロップイン✓ 在庫あり
$7.75 / 個
データシートを見る →PIC18F2585-E/SP
✅ ドロップイン✓ 在庫あり
$5.02 / 個
データシートを見る →PIC18F2620-I/SP
✅ ドロップイン✓ 在庫あり
$4.85 / 個
データシートを見る →PIC18F2682-E/SP 最大定格&電気的特性
| Core Architecture | 8-bit PIC18 RISC (Harvard) |
| Program Memory (Flash) | 80 KB (40K x 16) |
| Data Memory (RAM) | 3328 bytes |
| EEPROM | 1024 bytes |
| Maximum CPU Clock | 40 MHz |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Operating Temperature (E grade) | -40C to +125C |
| Digital I/O Pins | 25 |
| ADC | 10-bit, 8 channels |
| Timers | 4 x 8/16-bit |
| CCP/ECCP Modules | 1 CCP + 1 ECCP |
| UART/USART | 1x EUSART (LIN-capable) |
| CAN Module | 1x CAN 2.0B with hardware filters |
| SPI / I2C | 1x SPI, 1x I2C (MSSP) |
| パッケージ | 28-pin SPDIP (0.300" / 7.62 mm) |
| 実装タイプ | Through-Hole (DIP) |
| MSLレベル | 1 (unlimited) |
| RoHS ステータス | Compliant (lead-free finish) |
PIC18F2682-E/SP ピン構成
| ピン 1 | MCLR/VPP/RE3 — Master Clear (reset) input or ICSP programming voltage; can be reconfigured as digital input RE3 |
| ピン 2 | RA0/AN0/CVREF — PORTA bit 0; analog input 0 or comparator voltage reference output |
| ピン 3 | RA1/AN1 — PORTA bit 1; analog input 1 |
| ピン 4 | RA2/AN2/VREF- — PORTA bit 2; analog input 2 or ADC negative reference |
| ピン 5 | RA3/AN3/VREF+ — PORTA bit 3; analog input 3 or ADC positive reference |
| ピン 6 | RA4/T0CKI — PORTA bit 4; Timer0 clock input |
| ピン 7 | RA5/AN4 — PORTA bit 5; analog input 4 |
| ピン 8 | VSS — Ground reference |
| ピン 9 | OSC1/CLKI/RA7 — Crystal oscillator input or external clock input |
| ピン 10 | OSC2/CLKO/RA6 — Crystal oscillator output or clock output |
| ピン 11 | RC0/T1OSO/T1CKI — PORTC bit 0; Timer1 oscillator output or clock input |
| ピン 12 | RC1/T1OSI — PORTC bit 1; Timer1 oscillator input |
| ピン 13 | RC2/CCP1 — PORTC bit 2; Capture/Compare/PWM 1 output |
| ピン 14 | RC3 — PORTC bit 3 |
| ピン 15 | RC4 — PORTC bit 4 |
| ピン 16 | RC5 — PORTC bit 5 |
| ピン 17 | RC6/TX/CK — PORTC bit 6; EUSART TX or clock line |
| ピン 18 | RC7/RX/DT — PORTC bit 7; EUSART RX or data line |
| ピン 19 | VSS — Ground reference (second VSS pin) |
| ピン 20 | VDD — Positive supply voltage (4.2 V to 5.5 V) |
| ピン 21 | RB0/INT0 — PORTB bit 0; external interrupt 0 |
| ピン 22 | RB1/INT1 — PORTB bit 1; external interrupt 1 |
| ピン 23 | RB2 — PORTB bit 2 |
| ピン 24 | RB3 — PORTB bit 3 |
| ピン 25 | RB4 — PORTB bit 4 |
| ピン 26 | RB5 — PORTB bit 5 |
| ピン 27 | RB6/PGC — PORTB bit 6; ICSP clock |
| ピン 28 | RB7/PGD — PORTB bit 7; ICSP data |
主な用途
PIC18F2682-E/SP の用途: 6 件s: Industrial CAN Bus Nodes, Automotive Body Electronics Modules, Embedded Sensor Hubs, Consumer Appliance Controllers, Building Automation Gateways, USB-to-CAN Adapter Cores.
Industrial CAN Bus Nodes
The PIC18F2682-E/SP is widely used as a CAN node controller on industrial fieldbus networks (CANopen, DeviceNet). The integrated CAN 2.0B engine with hardware acceptance filters (6 acceptance masks, 16 filters) and bit-rate up to 1 Mbps reduces CPU overhead versus software bit-banging. Paired with the Microchip MCP2551 CAN transceiver, a complete isolated node fits under 1 sq. inch of PCB. The 80 KB Flash accommodates CANopen stack plus application code.
おすすめ
Automotive Body Electronics Modules
Body control modules (BCM), instrument clusters, and HVAC controllers use the PIC18F2682-E/SP because the Extended -40C to +125C grade meets under-hood thermal requirements. The on-chip Enhanced USART drives LIN bus nodes for seat, mirror, and door-modular networks. The 10-bit ADC reads sensor inputs (temperature, lighting) directly, while ECCP modules generate PWM for lamp dimming and motor speed. The 80 KB Flash supports OEM diagnostic protocols via CAN.
おすすめ
Embedded Sensor Hubs
The PIC18F2682-E/SP serves as a low-power sensor hub in industrial and home-automation products. Its 8-channel 10-bit ADC combined with 4 timers/ECCP modules allow direct interfacing with temperature, pressure, flow, and humidity sensors. nanoWatt Technology sleep currents down to 100 nA enable battery-powered installations. The integrated CAN and LIN peripherals handle backhaul to a master PLC while the device samples sensors locally, reducing wiring cost.
おすすめ
Consumer Appliance Controllers
Washing machines, dishwashers, and induction cooktop controllers benefit from the PIC18F2682-E/SP's 25 I/O pins, ECCP PWM, and timer resources. The 80 KB Flash supports multi-language UI firmware, energy-management algorithms, and diagnostic routines. Hardware EUSART talks to inverter sub-modules while the ADC monitors motor current and temperature. The Extended grade supports appliance rear-panel environments that run warm under continuous duty.
おすすめ
Building Automation Gateways
BACnet and LonWorks-to-CAN gateways use the PIC18F2682-E/SP as the CAN-side translator. The 40 MHz CPU (10 MIPS) handles BACnet MS/TP framing in software while the hardware CAN module manages the fieldbus. Extended temperature grade and industrial EMI immunity from 4.2 V to 5.5 V operation suit 24V-rail industrial panels. The 1024-byte EEPROM stores configuration that survives power cycles, a critical building-automation requirement.
おすすめ
USB-to-CAN Adapter Cores
DIY and OEM USB-to-CAN dongles use the PIC18F2682-E/SP as the embedded CAN interface with a companion USB-serial bridge (MCP2200 or PIC18F14K50). The 25 I/O lines leave enough headroom for indicator LEDs, mode-select jumpers, and the SPI bus to an external memory. Developers favor this MCU because of MPLAB XC8 free-tier compiler, mature CAN libraries in Microchip's MLA, and field-proven long-life supply for industrial tool vendors.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18F2682-E/SP — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F2685-E/SP | PIC18F2682-I/SP | PIC18F2682-E/SO | PIC18F2680-E/SP |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP | 28-SPDIP - same | 28-SPDIP - same | 28-SOIC (surface-mount) | 28-SPDIP - same |
| Flash Memory | 80 KB | 96 KB (+20%) | 80 KB (same) | 80 KB (same) | 64 KB (-20%) |
| RAM | 3328 bytes | 3328 bytes (same) | 3328 bytes (same) | 3328 bytes (same) | 3328 bytes (same) |
| EEPROM | 1024 bytes | 1024 bytes (same) | 1024 bytes (same) | 1024 bytes (same) | 1024 bytes (same) |
| CAN 2.0B | Yes | Yes | Yes | Yes | Yes |
| Max Clock | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz |
| Operating Temperature | -40C to +125C (E grade) | -40C to +125C (E grade) | -40C to +85C (I grade) | -40C to +125C (E grade) | -40C to +125C (E grade) |
| Approx. Unit Price (qty 1) | $11.90 | $13.20 typical | $9.50 typical | $9.80 typical | $10.40 typical |
主な差別化要因
- On-chip CAN 2.0B controller with hardware acceptance filters (vs PIC18F2620-I/SP)
- Extended -40C to +125C temperature grade (vs PIC18F2682-I/SP)
- 80 KB Flash + 3328 B RAM (vs PIC18F2680-E/SP)
設計ノート
Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD pin (pin 20 on 28-SPDIP) plus a bulk 10 uF electrolytic or tantalum capacitor on the same rail. The PIC18F2682-E/SP requires a stable 4.2 V to 5.5 V supply; ripple must stay below 50 mVpp or the ADC accuracy degrades. Add a 10 kohm pull-up on MCLR to VDD and a diode clamp to prevent voltage spikes during in-circuit programming from resetting the device unintentionally.
When migrating code from PIC18F2682 to PIC18F2682-I/SP (or vice versa) only the temperature grade differs; the device ID register value used by ICSP programmers may differ between E and I grades. Update programmer scripts and bootloader version checks accordingly. Also be aware that the same "/SP" mark appears on PIC18F legacy parts that share the 28-pin DIP but use different pin remapping on PORTA - confirm the datasheet pinout before reusing layouts from older PIC18F242/252 designs.
For CAN bus design, the PIC18F2682-E/SP's CANTX/CANRX lines must be routed as a matched differential pair to the MCP2551 transceiver with characteristic impedance of 120 ohms and termination resistors at each end of the bus. Keep CANTX/CANRX traces short (<30 mm on FR4) to minimize radiated emissions. Use a 4-layer PCB with a continuous ground plane under the CAN routing area, and place a ferrite bead on the transceiver supply to suppress bus-induced supply noise from coupling into the MCU's ADC.
When using a high-speed crystal (above 20 MHz) on the OSC1/OSC2 pins, route the crystal traces as short as possible, guard them with ground, and place the load capacitors within 3 mm of the oscillator pins. For low-EMI designs, configure the internal oscillator block (INTOSC) at 8 MHz and enable the PLL for higher MIPS, eliminating the crystal as an EMI source entirely. Place analog inputs (AN0-AN4) away from the switching power converter area and route the analog ground back to the VSS pin 8/19 via a single point connection to avoid ground loops.
コンプライアンス情報
Microchip PIC18F2682-E/SP is RoHS-compliant with lead-free matte tin plating per the manufacturer's environmental compliance statement. AEC-Q100 qualification is NOT indicated for this part - automotive users should validate against their specific AEC-Q100 requirements or contact Microchip for the Q-grade variant. The E temperature grade (-40C to +125C) supports but does not imply AEC-Q100 compliance by itself.