PIC Controllers

PIC is a microcontroller family developed by Microchip Technology and has wide range of uses in embedded systems. The acronym PIC originally was referred to Peripheral Interface Controller. It has built-in Input-Output ports, ADC, DAC and supports various communication protocols Serial, I2C, SPI, CAN, LIN and USB. It is widely used in many applications like home automation, electric motor controlling, health monitoring, etc.

PIC Inside

Introduction to PIC Microcontroller

Basic overview of various PIC families and introduction to PIC18F4550.

Getting started with PIC18F4550 and MPLABX IDE

Start developing a code for PIC18F4550 using MPLABX IDE.

PIC18F4550 ADC

PIC18F4550 has 10-bit internal ADC with 13 input channels.


USART (Universal Synchronous Asynchronous Receiver Transmitter) module in PIC18F4550 is used for communicating with many devices serially.

PIC18F4550 Timer

PIC18F4550 has three 16-bit and one 8-bit timers. Timer is generally used for delay generation or event counting.

PIC18F4550 Timer Capture (CCP) mode

Capture mode in PIC is widely used to capture the time of an event occurrence. PIC18F4550 has two capture modules.

PIC18F4550 Timer Compare Mode

PIC18F4550 has internal compare mode which is used to generate waveform with various duty cycle also used to trigger an event.

PIC18F4550 PWM

Pulse Width Modulation (PWM) is a technique by which the width of a pulse is varied while keeping the frequency constant. PWM is generally used to control speed of the DC motors or servo motors.

PIC18F4550 On-Chip EEPROM

PIC18F4550 has 256 Byte EEPROM non-volatile memory which is used to store data.

PIC18F4550 External Interrupt

External interrupt is a mechanism for devices that interrupts the controller to get attention of controller. Here we are going to toggle LED using a switch as an external interrupt.

PIC18F4550 I2C

I2C (Inter Integrated Circuit) is a multi-master, multi-slave serial protocol which is used to communicate with low speed devices like EEPROM, RTC, Microcontrollers, some sensor modules like Gyro MPU, Magnetometer etc. I2C needs only Two wire for communication.

PIC18F4550 SPI

Serial Peripheral interface (SPI) is a communication protocol used by microcontroller for communicating with one or more devices serially over short distance. It is used to communicate with devices like SD card, EEPROM, Nokia display and also communication between two microcontrollers etc.

PIC18F4550 Watchdog Timer

Watchdog Timer (WDT) is a hardware timer which automatically resets the system when its timeout period exceeds. It is mostly used in Real Time Applications.

PIC18F4550 Sleep Mode

Sleep mode is mode in which PIC18F4550 will put itself in low power consumption state to save power.