Resource icon

Serial LCD for low pin-count microcontrollers 2010-09-28

Low pin-count microcontrollers like PIC12F series don't have enough I/O ports to directly drive a seven segment or character LCD display. However, it can be done with the use of a serial-in-parallel-out shift register. The idea is to first transfer the character data or LCD command serially from the microcontroller to the shift register, and when it is ready at the parallel output of the shift register, send an Enable signal to the LCD module to accept it. Of course LCD pins are connected at the parallel output of the shift register. The circuit below shows how to use a 74HC595 shift register for this purpose.



The challenging part of this project is the driver software, that controls the sequence of operations required to send LCD data and commands in an appropriate serial format to the shift register. I have written one in mikroC. Please check here for driver routine and further detail.
http://picboard.blogspot.com/2010/09/serial-lcd-for-low-pin-count-pic.html
Author
rajbex
Views
4,385
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from rajbex

Cookies are required to use this site. You must accept them to continue using the site. Learn more…