Introduction to PIC Microcontroller

Introduction to PIC Microcontroller

Features of PIC16F877 :
Peripheral Features :
Analog Features :
Pin Description of PIC16F877A :
Advantages of PIC :

Introduction to PIC Microcontroller

Microcontroller’s gives solutions for the whole performance range of 8-bit, 16-bit and 32-bit microcontrollers, with a powerful architecture, re-programming with flash memory and extensive easy-to-utilize development tools. There are many types of microcontrollers like 8051, AVR, PIC. In this article we are going to discuss about the PIC microcontroller. Let’s see:

PIC is a peripheral interface controller, developed by general instrument’s microelectronics, in the year of 1993. It is controlled by the software. They could be programmed to complete many task and control a generation line and many more. PIC microcontrollers are finding their way into new applications like smart phones, audio accessories, video gaming peripherals and advanced medical devices.

There are many PICs, started with PIC16F84 and PIC16C84. But these were the only affordable flash PICs. Microchip has recently introduced flash chips with types that are much more attractive, such as 16F628, 16F877 and 18F452. The 16F877 is around twice the price of the old 16F84, but has eight times the code size, much more RAM, much more I/O pins, a UART, A/D converter and a lot more.

 


Features of PIC16F877:

 

Core Features:
  • High-performance RISC CPU
  • Up to 8K x 14 words of FLASH program memory
  • 35 Instructions (fixed length encoding-14-bit)
  • 368×8 static RAM based data memory
  • Up to 256 x 8 bytes of EEPROM data memory
  • Interrupt capability (up to 14 sources)
  • Three addressing modes (direct, indirect, relative)
  • Power-on reset (POR)
  • Harvard architecture memory
  • Power saving SLEEP mode
  • Wide operating voltage range: 2.0V to 5.5V
  • High sink / source current: 25mA
  • Accumulator based machine
  • 3 Timer/counters (programmable pre-scalars)
    • Timer0, Timer2 are 8-bit timer/counter with 8-bit pre-scalar
    • Timer1 is 16-bit, can be incremented during sleep via external crystal/clock
  • Two capture, compare, PWM modules
    • Input capture function records the Timer1 count on a pin transition
    • A PWM function output is a square wave with a programmable period   and duty cycle.
  • 10-bit 8 channel analog-to-digital converter
  • USART with 9-bit address detection
  • Synchronous serial port with master mode and I2C Master/Slave
  • 8-bit parallel slave port
  • 10-bit, up to 8-channel Analog-to-Digital Converter (A/D)
  • Brown-out Reset (BOR)
  • Analog Comparator module (Programmable input multiplexing from device inputs and comparator outputs are externally accessible)
Peripheral Features:
Analog Features:
Pin Description of PIC16F877A:

PIC16F877A microcontroller is a 40-pin device and is one of the popular microcontrollers used in complex applications.


pin atmel

Advantages of PIC:
  • It is a RISC design
  • Its code is extremely efficient, allowing the PIC to run with typically less program memory than its larger competitors
  • It is low cost, high clock speed
A typical application circuit of PIC16F877A:

 

circuit

Leave a Reply

Your email address will not be published. Required fields are marked *