1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice
rajbex

Serial LCD for low pin-count microcontrollers

Low pin-count microcontrollers like PIC12F series don't have enough I/O ports to directly drive a s

  1. rajbex
    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.

    [​IMG]

    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