Description
PIC16F887 Microcontroller
The PIC16F887 is an 8-bit CMOS microcontroller with Flash memory, widely used in embedded applications because of its versatility and advanced features.
Specifications:
- Microcontroller: PIC16F887
- Clock frequency: Up to 20 MHz
- Flash memory: 14 KB
- RAM: 368 bytes
- EEPROM: 256 bytes
- I/O pins: 36 pins
- Timer blocks: Two 8-bit timers, one 16-bit timer
- Interfaces: USART, SPI, I2C
- ADC channels: 10-bit, 14 channels
- Operating voltage: 2 V to 5.5 V
- Operating temperature: -40°C to 85°C
How it works:
The PIC16F887 executes instructions from its Flash memory, processes data in RAM, and communicates with peripherals through its many I/O pins. It supports in-circuit serial programming (ICSP) and offers several sleep-mode options to save energy.
Applications:
- Educational electronics projects
- Embedded systems and prototyping
- Industrial automation and control
- Robotics projects
- User interfaces
How to use it:
- Programming: Use a compatible PIC programmer (such as PICkit 3) and MPLAB IDE to program the microcontroller.
- Power supply: Connect a 5 V DC source to Vdd and ground to Vss.
- Connections: Use the I/O pins to connect sensors, actuators, and other peripherals.
- Development: Write and upload your code through MPLAB IDE, using the appropriate libraries for the peripherals in use.
Pinout: Pinout for the PIC16F887 (DIP 40):
- Vdd: Pins 11 and 32
- Vss: Pins 12 and 31
- OSC1/CLKI: Pin 13
- OSC2/CLKO: Pin 14
- MCLR/Vpp: Pin 1
- ADC: Pins AN0–AN13
- UART TX/RX: Pins 25 and 26 (RC6 and RC7)
Keywords: pic, development, programming, flash, microchip.









