PIC18F4550 interface with LCD using CCS PIC C compiler

PIC18F4550 LCD Example

This topic shows a simple example for interfacing LCD display with HD44780 controller with PIC18F4550 microcontroller using CCS PIC C compiler. 
In 4-bit mode there are 7 data lines between the PIC microcontroller and the LCD which are: RS, R/W, E, D4, D5, D6 and D7.

Interface PIC18F4550 with LCD circuit:
PIC18F4550 LCD example circuit schematic is shown below.
PIC18F4550 LCD example circuit
PIC18F4550 internal oscillator is used at 8MHz and MCLR pin function is disabled.
The button connected to RC0 used to increment a number displayed in the 2nd row as shown in the video below.
The PIC18F4550 microcontroller must be supplied with 5V (Pins VDD and VSS).

Interfacing PIC18F4550 with LCD CCS C code:

Interfacing PIC18F4550 with LCD video:
The following video shows the example in a hardware circuit.

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top