Interfacing an LCD to the
PIC17C766
I used a 2X20 LCD that used the HD44780
driver. It will also work with an LCD that has an equivalent driver. I first
learned to interface to an LCD by using the code in the book “PIC’n up the
Pace” by David Benson. I will model all the LCD examples I put on this page after those examples because for me it made interfacing to an LCD easier to learn. After getting comfortable
with the way everything works you can write your own LCD interface that will be
faster, easier to write, and more efficient. Here is the information:
PIC17C766 to a 2X20 LCD.
Source
code is available here.
Schematic
of project is available here.
Close
up of LCD display is here.
The
84 pin PLCC to DIP adaptor was bought from JAMECO Electronics.
The
LCD is a 4x20 LCD from DataModul.