PIC16F818-I/ML - 8-Bit MCU, 20MHz, 1.75KB Flash, 28-QFN | Microchip
MPN: PIC16F818-I/ML ✓ Hoạt độngPIC16F818-I/ML Tóm tắt
What is a PIC16 microcontroller? The PIC16 family is a line of 8-bit CMOS Flash-based microcontrollers from Microchip Technology using a Harvard RISC architecture that executes single-cycle instructions. Within the broader hierarchy, a PIC16F sits below PIC18/PIC24/PIC32 devices and is typically chosen for cost-sensitive embedded control. The 'F' suffix denotes Flash program memory and '18' denotes 1.75 KB code space; the family uses the standard mid-range 14-bit instruction set.
Key features include 16 I/O pins with individual direction control, 5 channels of 10-bit Analog-to-Digital conversion (ADC), a capture/compare/PWM (CCP) module, an 8 MHz internal oscillator, and NanoWatt power management technology. The device supports both Master Synchronous Serial Port modes: 3-wire SPI and 2-wire I2C, selectable via configuration bits, making it ideal for sensor and peripheral expansion.
The PIC16F818-I/ML implements the enhanced mid-range 14-bit core with 35 single-word instructions, upward code compatibility with PIC16C7x, PIC16C62xA, PIC16C5X, and PIC12CXXX devices. The Harvard architecture separates program and data buses for single-cycle instruction throughput, while the NanoWatt feature set includes multiple idle and sleep modes that reduce quiescent current for battery-powered applications.
Typical applications include battery chargers, SMPS controllers, fan controllers, motor control loops, sensor interface boards, and consumer appliance controls. The combination of internal oscillator, ADC, and PWM peripherals enables single-chip closed-loop control without external components. The wide operating voltage range (2.0V to 5.5V) supports both 3.3V and 5V rails common in mixed-signal designs.
When designing with this device, allocate the analog and digital supply pins (AVDD/AVSS) to a clean rail with proper decoupling, and place a 0.1 uF ceramic bypass capacitor adjacent to each VDD/VSS pair. The internal oscillator accuracy of +/- 1% typical is adequate for UART and timing applications but should not be used where precision timing is required without calibration.
This page synthesizes distributor pricing, drop-in same-package alternatives from the PIC16F818 family, and practical design notes that complement the manufacturer datasheet.
Bộ thay thế dễ dàng lắp đặt cho PIC16F818-I/ML — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16F818-I/ML (cùng hình factor và footprint) — khác nhau ở Package, Operating Temperature, Core Architecture, Internal Oscillator, ADC.
PIC16F819-I/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F818-E/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F818T-I/ML
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F88-I/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F818-I/ML Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16 enhanced mid-range 8-bit RISC |
| Tần số xung maksimum | 20 MHz |
| Instruction Cycle Time | 200 ns |
| Program Memory (Flash) | 1.75 KB (1K x 14 words) |
| Data SRAM | 128 bytes |
| Data EEPROM | 128 bytes |
| I/O Pins | 16 |
| ADC | 5 channels, 10-bit resolution |
| CCP Module | Capture/Compare/PWM, 1 module |
| Internal Oscillator | 8 MHz (calibrated, +/- 1%) |
| Operating Voltage | 2.0 V to 5.5 V |
| Khoảng nhiệt độ hoạt động | -40 C to +85 C (Industrial) |
| Hộp | 28-QFN (6x6 mm) [ML suffix] |
| Kiểu lắp đặt | Surface Mount |
| Communication Peripherals | MSSP (SPI / I2C), USART not present on PIC16F818 |
| Power-Saving Modes | NanoWatt (Sleep, Idle, low-power oscillator) |
| Instruction Set | 35 single-word instructions, 14-bit |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC16F818-I/ML
| Chân 1 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Chân 2 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Chân 3 | RA2/AN2/VREF- — Digital I/O / Analog input 2 / ADC negative reference |
| Chân 4 | RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC positive reference |
| Chân 5 | RA4/AN4/T0CKI — Digital I/O / Analog input 4 / Timer0 clock input |
| Chân 6 | RA5/MCLR/VPP — Digital I/O / Master Clear reset (active low) / Programming voltage |
| Chân 7 | AVSS — Analog ground |
| Chân 8 | OSC1/CLKIN — Crystal oscillator input / external clock input |
| Chân 9 | OSC2/CLKOUT — Crystal oscillator output / clock output |
| Chân 10 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input |
| Chân 11 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 module |
| Chân 12 | RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1 output |
| Chân 13 | RC3/SCK/SCL — Digital I/O / MSSP SPI clock / I2C clock |
| Chân 14 | RC4/SDI/SDA — Digital I/O / MSSP SPI data in / I2C data |
| Chân 15 | RC5/SDO — Digital I/O / MSSP SPI data out |
| Chân 16 | RC6 — Digital I/O |
| Chân 17 | RC7 — Digital I/O |
| Chân 18 | VSS — Digital ground |
| Chân 19 | VDD — Digital positive supply |
| Chân 20 | RB0/INT — Digital I/O / External interrupt input |
| Chân 21 | RB1 — Digital I/O |
| Chân 22 | RB2 — Digital I/O |
| Chân 23 | RB3/PGM — Digital I/O / Low-voltage ICSP programming entry |
| Chân 24 | RB4 — Digital I/O |
| Chân 25 | RB5 — Digital I/O |
| Chân 26 | RB6/PGC — Digital I/O / ICSP clock |
| Chân 27 | RB7/PGD — Digital I/O / ICSP data |
| Chân 28 | AVDD — Analog positive supply |
Ứng dụng tiêu biểu
PIC16F818-I/ML phù hợp cho 6 Áp dụngs: Battery Charger Control, BLDC Fan Speed Controller, Sensor Interface Board, SMPS Secondary-Side Controller, Consumer Appliance Control, Motor Speed Control Loop.
Battery Charger Control
The PIC16F818-I/ML is well suited to battery charger control loops where its 10-bit ADC samples battery voltage and current while the CCP module drives a PWM signal into the switching FET. With 5 ADC channels, the device can monitor pack voltage, charge current, cell temperature via NTC, and supply rail simultaneously - matching the four-sensor requirement of most lithium-charger topologies. The NanoWatt Sleep mode drops quiescent current below typical self-discharge levels when charging completes, per the Microchip PIC16F818/819 datasheet (DS39598E).
Được đề xuất
BLDC Fan Speed Controller
Brushless DC fan control is a primary use case for the PIC16F818-I/ML because the device integrates a 10-bit ADC for back-EMF sensing, a CCP module generating the PWM drive, and a NanoWatt Sleep mode for standby. The 20 MHz CPU executes the commutation state machine in tens of microseconds, well within the PWM period of typical 25 kHz drives. With 16 I/O pins, the MCU can directly drive gate-driver enable lines and read Hall-effect or sensorless BEMF feedback without external logic, per the Microchip PIC16F818/819 datasheet (DS39598E).
Được đề xuất
Sensor Interface Board
The PIC16F818-I/ML serves as a sensor aggregator reading multiple analog sensors via its 5-channel 10-bit ADC and forwarding the digitized data over SPI or I2C to a host processor. The MSSP peripheral supports both 3-wire SPI at up to FOSC/4 and 2-wire I2C in Master or Slave mode, enabling connection to common sensor families. The 128-byte EEPROM stores calibration coefficients, eliminating external memory, while the internal 8 MHz oscillator removes the need for an external crystal - reducing BOM cost for compact sensor modules, per the Microchip PIC16F818/819 datasheet (DS39598E).
Được đề xuất
SMPS Secondary-Side Controller
In isolated switch-mode power supplies, the PIC16F818-I/ML sits on the secondary side and implements voltage-mode or peak-current-mode control using the 10-bit ADC for output voltage sensing and the CCP module for duty-cycle generation. Operating at 20 MHz, the device runs control loops at tens of kHz with deterministic timing derived from the internal 8 MHz oscillator. The 2.0 V to 5.5 V supply range matches secondary-side rails, and NanoWatt Sleep enables low standby power for Energy Star compliance, per the Microchip PIC16F818/819 datasheet (DS39598E).
Được đề xuất
Consumer Appliance Control
The PIC16F818-I/ML fits mid-volume consumer appliances such as coffee makers, blenders, and air purifiers where its 1.75 KB Flash accommodates user-interface state machines, its 16 I/O pins drive relays, seven-segment displays, and keypads, and its 5-channel ADC reads thermistors and water-level sensors. NanoWatt technology reduces standby power below 1 uA, helping meet global energy regulations. The 28-QFN 6x6 mm package supports compact appliance PCBs while the -40 C to +85 C industrial range covers under-cabinet and laundry environments, per the Microchip PIC16F818/819 datasheet (DS39598E).
Được đề xuất
Motor Speed Control Loop
Closed-loop DC motor control benefits from the PIC16F818-I/ML's combination of a 10-bit ADC reading tachogenerator or Hall-effect speed feedback and a hardware CCP generating the PWM drive signal. The 20 MHz CPU executes PI control loops with sub-microsecond resolution, allowing tight speed regulation under varying load. NanoWatt Sleep can halt the PWM and idle the core between speed updates for battery-powered tools. The same peripheral set scales across brushed DC, small BLDC, and unipolar stepper motors when paired with external H-bridge drivers, per the Microchip PIC16F818/819 datasheet (DS39598E).
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16F818-I/ML — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16F819-I/ML | PIC16F818-E/ML | PIC16F88-I/ML |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same |
| Program Memory (Flash) | 1.75 KB | 3.5 KB | 1.75 KB | 4 KB |
| Data SRAM | 128 bytes | 256 bytes | 128 bytes | 368 bytes |
| Data EEPROM | 128 bytes | 256 bytes | 128 bytes | 256 bytes |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| I/O Pins | 16 | 16 | 16 | 16 |
| ADC | 5 channels, 10-bit | 5 channels, 10-bit | 5 channels, 10-bit | 7 channels, 10-bit |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C |
| USART | No | No | No | Yes (1x USART) |
Bảo phân biệt quan trọng
- Lowest-cost 28-QFN PIC16 with internal oscillator (vsPIC16F88-I/ML)
- Identical 28-QFN footprint as PIC16F819 for design reuse (vsPIC16F819-I/ML)
- Industrial vs extended temperature tier in same die (vsPIC16F818-E/ML)
Ghi chú thiết kế
Estimated: at 20 MHz, 5.5 V, the PIC16F818-I/ML core draws approximately 10 mA typical. Adding a 0.1 uF ceramic bypass capacitor adjacent to each VDD/VSS pair (pins 19 and 18) and a 10 uF bulk capacitor at the board input reduces supply droop during GPIO switching transients. For ADC accuracy, AVSS (pin 7) and AVDD (pin 28) should connect to the digital ground and supply through a ferrite bead or 10 ohm resistor plus 0.1 uF + 10 uF decoupling, per the Microchip PIC16F818/819 datasheet (DS39598E) power-supply section.
The 28-QFN exposed thermal pad on the PIC16F818-I/ML must be soldered to the PCB ground plane for both thermal dissipation and electrical reference. Stencil apertures for the thermal pad should follow the Microchip QFN-28 land pattern recommendation (DS39598E package diagram): a central array of openings covering roughly 60% of the pad area to ensure reliable void-free solder joint. Keep digital switching traces away from the analog pins (RA0-RA3, RA5) to minimize ADC coupling noise.
Do not leave the MCLR pin (RA5/MCLR/VPP, pin 6) floating; the internal weak pull-up is enabled by configuration bit MCLRE but is not always sufficient in noisy environments. Tie MCLR to VDD through a 10 kohm resistor and place a 100 nF capacitor close to the pin to suppress ESD-induced resets. Configuration bits must be set explicitly in code: HS oscillator for >4 MHz, WDT off unless required, and LVP (RB3/PGM) disabled if not using low-voltage programming to free pin RB3 as standard GPIO, per the Microchip PIC16F818/819 datasheet (DS39598E).
Thông tin tuân thủ
RoHS and REACH compliance per Microchip product environmental certification page. AEC-Q100 qualification is not available on the PIC16F818 family; for automotive applications consider the PIC16F818-E/ML (extended temperature, not AEC-Q100) or a PIC16F1xxx family part carrying AEC-Q100 status.