






The PIC16F887 is a powerful 8-bit microcontroller from Microchip Technology, part of the popular PIC16 family, running at up to 20 MHz. It features 14KB Flash memory, 368 bytes RAM, 256 bytes EEPROM, 35 I/O pins, 14-channel 10-bit ADC, 2 analog comparators, and full communication support including UART, SPI, and I²C. Ideal for automation, robotics, sensor interfacing, and general-purpose embedded systems, this MCU offers an excellent balance of performance, peripherals, and reliability for both hobbyists and professional engineers.
PIC16F887 هو متحكم دقيق 8 بت قوي من شركة Microchip Technology، ضمن عائلة PIC16 الشهيرة، ويعمل بسرعة تصل إلى 20 ميجاهرتز. يحتوي على ذاكرة Flash 14 كيلوبايت، و RAM 368 بايت، و EEPROM 256 بايت، و35 منفذ I/O، وADC 10 بت بـ 14 قناة، و2 مقارن تناظري، ودعم كامل للاتصالات بما في ذلك UART و SPI و I²C. مثالي لـ الأتمتة، والروبوتات، وواجهات الحساسات، والأنظمة المدمجة العامة، يقدّم هذا المتحكم توازناً ممتازاً بين الأداء والملحقات والموثوقية لكل من الهواة والمهندسين المحترفين.
The PIC16F887 is a versatile and feature-rich 8-bit Flash microcontroller from Microchip Technology, designed to meet the needs of a wide range of embedded electronics applications. As one of the most popular members of the PIC16 family, it has earned its reputation for reliability, ease of use, and a generous set of peripherals — making it a favorite choice in schools, universities, hobbyist workshops, and professional product designs alike.
Running at speeds up to 20 MHz with an external crystal (or up to 8 MHz using the internal precision oscillator), the PIC16F887 delivers ample processing power for most embedded tasks. It features a factory-calibrated internal oscillator with ±1% accuracy, a software-selectable frequency range from 8 MHz down to 32 kHz, and two-speed start-up mode — providing flexibility between performance and power consumption without requiring external components.
The microcontroller includes 14 KB of self-programmable Flash memory, 368 bytes of SRAM, and 256 bytes of EEPROM for non-volatile data storage. The high-endurance Flash and EEPROM cells are rated for 100,000 erase/write cycles (Flash) and 1,000,000 erase/write cycles (EEPROM) with over 40 years of data retention, ensuring long-term reliability in commercial and industrial deployments.
A standout feature of the PIC16F887 is its rich peripheral set: a 14-channel 10-bit Analog-to-Digital Converter (ADC) for precise analog measurements, 2 on-chip analog comparators with programmable voltage reference, 3 timers (TMR0 8-bit, TMR1 enhanced 16-bit with dedicated 32 kHz low-power oscillator, TMR2 8-bit with prescaler/postscaler), a CCP module for capture/compare/PWM, and an Enhanced CCP (ECCP) module with auto-shutdown and PWM steering for advanced motor control applications.
For communication, the PIC16F887 includes a Master Synchronous Serial Port (MSSP) supporting both SPI and I²C modes (with address mask capability), and an Enhanced USART (EUSART) with RS-485, RS-232, and LIN compatibility, Auto-Baud Detection, and Auto-Wake-Up on Start bit — making it ideal for automotive, industrial, and networked sensor applications.
The MCU also offers powerful safety and reliability features including a Power-on Reset (POR), selectable Brown-out Reset (BOR), Extended Watchdog Timer (WDT) with dedicated RC oscillator, fail-safe clock monitoring, and programmable code protection to safeguard your firmware. In-Circuit Serial Programming (ICSP) and In-Circuit Debugging (ICD) via just two pins simplify both development and field updates.
For low-power applications, the PIC16F887 supports Power-Saving Sleep mode and Ultra Low-Power Wake-Up (ULPWU) — making it suitable for battery-powered devices that must operate for years on a single battery.
Whether you're building a robot controller, sensor data logger, motor driver, smart home device, or industrial automation system, the PIC16F887 provides the performance, peripherals, and proven reliability to bring your project to life.