PIC16F877A is the most commonly used entry-level 8-bit PIC Microcontroller. It is a 40-pin 8-bit Microcontroller with 14kB of program memory. It does not have an internal oscillator but can work up to 20MHz with external oscillators. The controller has 8 ADC channels with 10-bit resolution and also supports PWM on 2 pins. It has two 8-bit timers and one 16-bit timer and supports communication protocols like UART, SPI, and IIC.
Programming PIC Microcontroller
To program the PIC microcontroller you will need an IDE (Integrated Development Environment, a compiler, and an IPE (Integrated Programming Environment).
IDE: MPLABX v3.35
IPE: MPLAB IPE v3.35
Compiler: XC8
Microchip has given all these three software for free. They can be downloaded directly from their official page.
| CPU | 8-bit PIC |
|---|---|
| Architecture | 8 |
| Program Memory Size (Kbytes) | 14 |
| RAM (bytes) | 368 |
| EEPROM/HEF | 256/HEF |
| CPU Speed (MHz) | 20 |
| Peripheral Pin select (PPS) | No |
| Internal Oscillator | No |
| Of comparators | 2 |
| Of Operational Amplifier | 0 |
| Of ADC channels | 14 |
| Max ADC Resolution (bits) | 10 |
| ADC with Computation | No |
| Number of DAC Converter | 0 |
| Of 8-bit timers | 2 |
| Of 16-bit Timers | 1 |
| Of PWM outputs | 0 |
| Max PWM resolution | 10 |
| Of UART module | 1 |
| Of SPI Module | 1 |
| Of I2C module | 1 |
| Of USB Module | 0 |
| Minimum Operating Voltage (V) | 2 |
| Maximum Operating Voltage (V) | 5.5 |
For official government agricultural guidelines, scheme updates, and research initiatives, please visit the National Agriculture Portal. Click here →