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.