|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
PIC to LCD interface This article here is about how to interface PIC with LCD. Here in this project I am using PIC 16F84A and HD44780 compatible LCD. Though any character and line LCD can be used as long as it has HD44780 based controller, with minor software changes (see LINE2 routine in code), I used 16x2 line LCD. LCD can be interfaced both in 8 bit and 4 bit mode. I am using 4 bit interface mode so Port A and bit 0 of port B of PIC are free for any use. Let’s start with schematic. See the table for complete connection details.
The code provided writes HELLO WORLD! in the first line and LINE 2 in the second line, just for demo. Modify it for your purpose. download the source and hex from the link below. Related Documents
HD44780
datasheet My Email: s_guria@indiatimes.com
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||