PIC16F1828-I/P - 7KB Flash 8-Bit MCU 20-PDIP | Microchip
MPN: PIC16F1828-I/P ✓ فعالPIC16F1828-I/P جائزہ
An MCU (microcontroller unit) is a single-chip computer that integrates a CPU core, non-volatile program memory, working RAM, and a range of digital/analog peripherals. The PIC16F1828 belongs to the PIC16 family of 8-bit microcontrollers from Microchip, which sits below the PIC18/dsPIC/PIC32 product tiers and uses a RISC-style modified Harvard architecture. Within the broader taxonomy, microcontrollers are classified as integrated circuits within the embedded computing category, alongside MCUs from competing architectures such as ARM Cortex-M0+ (e.g., STM32G0, ATSAM), AVR (ATmega), and 8051. Designers choose 8-bit PIC MCUs when low cost, ultra-low power (XLP nanoWatt technology), deterministic interrupt handling, and broad toolchain/middleware support outweigh raw MIPS.
Key features of the PIC16F1828 include the integrated mTouch capacitive sensing module, a Data Signal Modulator (DSM) for generating custom bit streams, a 5-bit DAC reference (CVREF), MI2C/SPI/EUSART with auto-baud, two Enhanced CCP and two standard CCP PWM modules, selectable voltage-reference comparators, and on-chip debug support without requiring a debug header. The device delivers nanoWatt XLP sleep currents typically below 50 nA, enabling years of operation from a coin cell. NFC access to AGD and ECG ECG AFE integration combined with high-fidelity signal chain interfaces support both battery-powered sensor nodes and line-powered human-interface designs.
Architecturally, the PIC16F1828 uses a 14-bit instruction word, two-stage pipeline, and a peripheral pin-select (PPS) engine that remaps digital functions onto a wide set of I/O pins. The device supports in-circuit serial programming (ICSP) via two pins and offers an optional external debug header (AC244043) for use with PICkit 3 or MPLAB ICD 3. Its 12 I/O blocks (I/O Ports: 12 per data brief) and 8-channel 10-bit ADC make the part suitable for mixed analog/digital signal acquisition.
Typical applications include consumer remote controls (PIR + capacitive touch keypads), battery-powered IoT sensor nodes, LED lighting controllers with PWM dimming, HVAC thermostat front-ends, low-cost motor control for small DC fans and pumps, and industrial control replacement signals requiring UART/SPI/I2C connectivity. Designers pick this part when cost, footprint, and ultra-low standby current dominate over compute throughput.
When designing with the PIC16F1828-I/P, route VDD and VSS with wide, short traces to a 100 nF bypass capacitor placed within 5 mm of the package pins, and add a 10 µF bulk capacitor at the board supply entry. The through-hole PDIP package supports hand-soldered prototypes and is designed to be soldered with standard wave-soldering or hand-soldering equipment. Always honor the absolute maximum ratings of 6.5 V on VDD to avoid latch-up.
This page synthesizes distributor pricing, drop-in same-package alternatives, pin-level design guidance, and PIC16 family comparison data not consolidated in the manufacturer datasheet alone.
کے لیے ڈراپ اِن متبادل PIC16F1828-I/P — یکساں پیکیج، پن سے پن مطابقت پذیر۔ مختلف پیکیج والے پرزے جن کے لیے PCB دوبارہ کام درکار ہو، شامل نہیں ہیں۔
اس سیریز میں مختلف ورژن
اسی سیریز کے ماڈلز جو ڈراپ اِن مطابقت رکھتے ہیں PIC16F1828-I/P (یکساں فارم فیکٹر اور فٹ پرنٹ) — میں مختلف Package, ADC, I/O Pins, Program Memory (Flash), Timers.
PIC16F1828-E/P
✅ ڈراپ-اِن📋 حوالہ جاتی متبادل (کیٹلاگ میں نہیں)
PIC16F1828-I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F1827-I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F1826-I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F1825-I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F1824-I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F1828-I/P زیادہ سے زیادہ ریٹنگز اور برقی خصوصیات
| Core | PIC16 enhanced mid-range 8-bit CPU |
| Instruction Set Size | 49 instructions, 14-bit word |
| Hardware Stack Depth | 16 levels |
| Maximum CPU Frequency | 32 MHz |
| Flash Program Memory | 7 KB (4K x 14 words) |
| RAM | 256 bytes |
| EEPROM | 256 bytes |
| I/O Pins | 12 |
| Supply Voltage (VDD) | 1.8 V to 5.5 V |
| آپریٹنگ درجہ حرارت | -40 °C to +85 °C (industrial) |
| ADC | 6 ch x 10-bit |
| Comparators | 2 with selectable voltage reference |
| PWM Modules | 2 ECCP + 2 CCP |
| Communication Peripherals | MI2C, SPI, EUSART w/auto-baud |
| پیکیج | 20-pin PDIP (through-hole) |
| ماؤنٹنگ ٹائپ | Through-Hole |
| MSL لیول | 1 (not moisture sensitive) |
| RoHS اسٹیٹس | Compliant |
PIC16F1828-I/P پن کنفیگریشن
| پن 1 | RA5/DT/CWG1A — Digital I/O / EUSART DT / CWG output A |
| پن 2 | RA4/CK/SRNQ — Digital I/O / EUSART CK / SR latch Q-output |
| پن 3 | RA3/MCLR/VPP — Digital I/O / Master Clear (reset) / Programming voltage |
| پن 4 | RA2/AN2/T0CKI — Digital I/O / Analog input 2 / Timer0 clock input |
| پن 5 | RA1/AN1/ICSPCLK — Digital I/O / Analog input 1 / ICSP clock |
| پن 6 | RA0/AN0/ICSPDAT — Digital I/O / Analog input 0 / ICSP data |
| پن 7 | VSS — Ground reference |
| پن 8 | RA7/OSC1/CLKIN — Digital I/O / Crystal oscillator input / external clock |
| پن 9 | RA6/OSC2/CLKOUT — Digital I/O / Crystal oscillator output / clock output |
| پن 10 | RC0/SOSCO/SCLKI — Digital I/O / Secondary oscillator output / secondary clock in |
| پن 11 | RC1/SOSCI/CCP2 — Digital I/O / Secondary oscillator input / CCP2 PWM |
| پن 12 | RC2/CCP1 — Digital I/O / CCP1 PWM |
| پن 13 | RC3/AN9 — Digital I/O / Analog input 9 |
| پن 14 | RC4/AN8/MDOUT — Digital I/O / Analog input 8 / DSM output |
| پن 15 | RC5/AN7/CCP3 — Digital I/O / Analog input 7 / CCP3 PWM |
| پن 16 | RC6/AN6/SS — Digital I/O / Analog input 6 / SPI slave select |
| پن 17 | RC7/AN5/SDI — Digital I/O / Analog input 5 / SPI data in |
| پن 18 | RB7/AN11/SDO — Digital I/O / Analog input 11 / SPI data out |
| پن 19 | RB6/AN10/SCK/SCL — Digital I/O / Analog input 10 / SPI clock / I2C clock |
| پن 20 | VDD — Positive supply voltage (1.8 V to 5.5 V) |
عام استعمالات
PIC16F1828-I/P کے لیے موزوں ہے 7 ایپلیکیشنs: Battery-Powered IoT Sensor Node, Capacitive Touch Keypad Front-End, HVAC Thermostat and Climate Sensor, LED Lighting Controller with PWM Dimming, Small DC Fan and Pump Motor Control, Consumer Remote Control (IR + Touch), Industrial UART/SPI Sensor Hub.
Battery-Powered IoT Sensor Node
The PIC16F1828-I/P fits battery-powered IoT sensor nodes due to its nanoWatt XLP technology delivering typical sleep currents below 50 nA and active currents in the microampere range. With 7 KB Flash and 256 bytes RAM, the device hosts a sensor acquisition loop, simple protocol stack (e.g., Modbus RTU over UART), and housekeeping code on coin-cell or 2xAA batteries. The 32 MHz HFINTOSC eliminates external crystals, reducing BOM cost and board area. The integrated 10-bit ADC and selectable voltage-reference comparators directly interface thermistors, photodiodes, and PIR motion sensors. The PIC16F1828-I/P is placed in a sensor daughter-board with a 100 nF decoupling capacitor, a 10 µF bulk cap, and a low-cost 32.768 kHz crystal for Sleep-with-RTC timing. Engineers select this part over Cortex-M0 alternatives when cost and standby current dominate over compute throughput. The 20-pin PDIP package is ideal for hand-assembled prototype nodes and field-replaceable sensor cartridges in industrial IoT deployments.
تجویز کردہ
Capacitive Touch Keypad Front-End
The PIC16F1828-I/P is well suited for capacitive-touch keypad front-ends thanks to its integrated mTouch capacitive sensing module, which provides hardware-driven charge-time measurement on up to 12 touch channels without external touch ICs. Combined with 2 ECCP + 2 CCP PWM modules, the device can drive LED backlighting and haptic feedback while scanning the keypad at low CPU overhead. The 32 MHz instruction rate supports a 50 Hz refresh across a 12-key matrix, and the nanoWatt XLP technology allows sleep between touches for battery-powered remote controls. The 256-byte RAM buffers debounced key events. The PIC16F1828-I/P is placed between the touch sensor PCB and the host MCU, communicating via SPI or UART. Engineers select this part over dedicated touch ICs when flexibility, GPIO expansion, and firmware-driven tuning matter more than BOM count. The 20-pin PDIP package supports hand-soldered prototypes and field-replaceable front-panel assemblies in consumer appliances.
تجویز کردہ
HVAC Thermostat and Climate Sensor
The PIC16F1828-I/P fits HVAC thermostat and climate sensor designs due to its 6-channel 10-bit ADC (which directly reads NTC thermistors and humidity sensors), 2 comparators with selectable voltage reference for thermostat switchover, and EUSART with auto-baud for HVAC bus connectivity. With 7 KB Flash, the part hosts a PID control loop, scheduling logic, and Modbus/Wi-Fi serial pass-through firmware. The 1.8 V to 5.5 V supply range accommodates both 3.3 V sensor rails and 5 V HVAC bus transceivers. The 32 MHz HFINTOSC drives the control loop without external crystals, lowering BOM cost. The PIC16F1828-I/P is placed on the thermostat main board with a 100 nF bypass cap, a 10 µF bulk cap, and an EEPROM (e.g., 24LC256) for setpoint storage. Engineers select this part over PIC18 alternatives when 7 KB Flash is sufficient and cost dominates. The 20-pin PDIP package supports through-hole thermostat assemblies with conventional wave-soldered manufacturing.
تجویز کردہ
LED Lighting Controller with PWM Dimming
The PIC16F1828-I/P fits LED lighting controller designs due to its 2 ECCP + 2 CCP PWM modules (each with 10-bit resolution), 32 MHz instruction rate, and MI2C/SPI/EUSART for DMX-512 or DALI bridge connectivity. With 7 KB Flash, the device hosts smooth-dim firmware, color-mixing algorithms, and DMX frame parsing. The nanoWatt XLP technology enables standby currents below 50 nA, which is critical for always-listening DMX receivers in architectural lighting. The 1.8 V to 5.5 V supply range accommodates both 3.3 V logic and 5 V DMX transceivers. The PIC16F1828-I/P is placed on the LED driver board with a 100 nF bypass cap, a MOSFET gate-driver (e.g., MCP1416), and a DMX transceiver (e.g., MAX485). Engineers select this part over 32-bit Cortex-M alternatives when deterministic PWM timing and low BOM cost dominate. The 20-pin PDIP package suits hand-soldered prototype lighting fixtures and through-hole assembly.
تجویز کردہ
Small DC Fan and Pump Motor Control
The PIC16F1828-I/P is well suited for small DC fan and pump motor controllers due to its 2 ECCP + 2 CCP PWM modules (with hardware fault-input shutdown), 6-channel 10-bit ADC for current/voltage sensing, and selectable voltage reference for comparator-based stall protection. With 7 KB Flash, the device hosts a closed-loop RPM controller, soft-start logic, and fault-recovery firmware. The 32 MHz HFINTOSC drives the loop without external crystals, and the nanoWatt XLP technology enables sleep modes between duty cycles. The 1.8 V to 5.5 V supply range accommodates 3.3 V logic and 5 V H-bridge drivers. The PIC16F1828-I/P is placed on the motor-control board with a 100 nF bypass cap, an H-bridge driver (e.g., DRV8870), and a current-sense resistor network. Engineers select this part over dedicated motor-control ICs when flexibility and field-tunable firmware matter more than integrated FOC. The 20-pin PDIP package supports through-hole fan assemblies with conventional manufacturing.
تجویز کردہ
Consumer Remote Control (IR + Touch)
The PIC16F1828-I/P fits consumer remote-control designs due to its integrated mTouch capacitive sensing, EUSART for IR modulation, PWM for IR carrier generation, and nanoWatt XLP technology delivering typical sleep currents below 50 nA. With 7 KB Flash, the device hosts IR protocol stacks (RC5, NEC, SIRC), touch-scanning firmware, and battery-life management. The 32 MHz HFINTOSC and 256-byte RAM support multi-protocol handling on a coin-cell battery. The 1.8 V to 5.5 V supply range accommodates 3 V CR2032 coin cells directly. The PIC16F1828-I/P is placed on the remote PCB with a 100 nF bypass cap, an IR LED with MOSFET driver, and a piezo buzzer for tactile feedback. Engineers select this part over low-cost 4-bit MCUs when capacitive touch and multi-protocol IR are needed. The 20-pin PDIP package supports hand-assembled prototypes and low-volume consumer electronics.
تجویز کردہ
Industrial UART/SPI Sensor Hub
The PIC16F1828-I/P fits small industrial sensor hubs due to its MI2C, SPI, and EUSART (with auto-baud) connectivity, 6-channel 10-bit ADC, and 12 I/O pins for sensor multiplexing. With 7 KB Flash, the device hosts Modbus RTU master/slave stacks, sensor polling loops, and digital filtering. The 32 MHz HFINTOSC drives deterministic communication timing, and the industrial -40 °C to +85 °C temperature range supports factory-floor deployment. The 1.8 V to 5.5 V supply range accommodates both 3.3 V and 5 V industrial sensors. The PIC16F1828-I/P is placed on the sensor-hub PCB with a 100 nF bypass cap, a 10 µF bulk cap, an RS-485 transceiver (e.g., MAX485), and pull-up resistors on the I2C bus. Engineers select this part over Cortex-M0+ alternatives when deterministic interrupt latency and BOM cost dominate. The 20-pin PDIP package supports hand-soldered prototype hubs and field-serviceable industrial assemblies.
تجویز کردہ
تجویز کردہ پروڈکٹس کا خلاصہ
کے لیے انجینئرنگ ریفرنس ڈیٹا PIC16F1828-I/P — موازنہ، ڈیزائن رہنمائی، اور تعمیل کی معلومات۔
انتخاب کی گائیڈ
متبادلات کے ساتھ موازنہ
| پیرامیٹر | یہ پروڈکٹ | PIC16F1828-E/P | PIC16F1827-I/P | PIC16F1826-I/P | PIC16F1825-I/P | PIC16F1824-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin PDIP | 20-pin PDIP - same | 20-pin PDIP - same | 20-pin PDIP - same | 20-pin PDIP - same | 20-pin PDIP - same |
| Flash Program Memory | 7 KB (4K x 14) | 7 KB | 7 KB | 8 KB | 14 KB | 4 KB |
| RAM | 256 B | 256 B | 512 B | 512 B | 512 B | 256 B |
| I/O Pins | 12 | 12 | 16 | 16 | 16 | 12 |
| Maximum CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Operating Temperature | -40 °C to +85 °C (industrial) | -40 °C to +125 °C (extended) | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C |
| mTouch Capacitive Sensing | Yes | Yes | Yes | Yes | Yes | Yes |
اہم امتیازی خصوصیات
- Same-package Flash upgrade option within family (بمقابلہPIC16F1826-I/P)
- Larger RAM option in same package (بمقابلہPIC16F1827-I/P)
- Extended temperature option in same package (بمقابلہPIC16F1828-E/P)
- Highest Flash density in 20-pin PDIP (بمقابلہPIC16F1825-I/P)
ڈیزائن نوٹس
The PIC16F1828-I/P operates from 1.8 V to 5.5 V on the VDD pin (pin 20). Place a 100 nF ceramic bypass capacitor within 5 mm of the VDD/VSS pins to suppress digital switching noise on the analog reference. Add a 10 µF bulk capacitor at the board supply entry to handle inrush during sleep-to-active transitions. Do not exceed the absolute-maximum VDD rating of 6.5 V to avoid latch-up. For battery life optimization, leverage the nanoWatt XLP Sleep mode (typical current below 50 nA) and wake on interrupt from mTouch or comparator modules.
The 20-pin PDIP package has a 2.54 mm pin pitch and supports through-hole assembly with wave soldering or hand-soldering. Route the ICSP clock and data pins (RA1/ICSPCLK and RA0/ICSPDAT) to a 6-pin header for PICkit 3 or MPLAB ICD 3 in-circuit debug. Keep analog input traces (RA0-RA3, RC3-RC7, RB6-RB7) short and guarded by ground traces to minimize digital-to-analog coupling. PCI14 is best paired with a low-impedance ground plane for clean ADC readings.
Do not forget the MCLR pull-up resistor on pin 3 (RA3/MCLR/VPP) - a 10 kΩ pull-up to VDD is required for normal operation, and the pin must be brought low only for external reset or ICSP programming. Do not exceed the absolute-maximum VDD rating of 6.5 V. When migrating from PIC16F1828-I/P to PIC16F1824-I/P, note the Flash size reduction (4 KB vs 7 KB) which may require code optimization. The 32 MHz HFINTOSC accuracy is typically ±1% over the industrial temperature range - use an external crystal if higher accuracy is required for UART communication.
Route VDD with wide, short traces to minimize voltage drop during high-current transients. Place the ICSP connector at the board edge for easy debug access, with RA0/RA1 routed to the ICSP header with short traces to avoid signal integrity issues. The mTouch capacitive sensing traces should be kept short and shielded to avoid crosstalk; place a ground guard ring around each touch pad for better noise immunity. For high-impedance analog inputs, minimize trace length and avoid routing near PWM output traces.
تعمیل کی معلومات
RoHS and REACH compliant per Microchip product page. PDIP package is lead-free (Pb-free) and halogen-free. AEC-Q100 qualification not applicable for industrial temperature grade; choose PIC16F1828-E/P for AEC-Q100-grade automotive applications.