seanano.org

lcd v0.2

This is a simple example of how to control a character LCD module through the parallel port. This code does not read back from the module but rather just implements time delays according to the spec sheet. This works fine for me but YMMV (Your Mileage May Vary).

This code assumes the following:

  • 4 x 20 character module with HD44780 or compatible controller
  • Data pins on LCD module connected to pins 2 - 9 (LSB - MSB) on parallel port
  • E (Enable) on LCD module connected to parallel port pin 1
  • RW (Read/Write) line on LCD module connected to parallel port pin 14
  • RS (Register Select) on LCD module connected to parallel port pin 16

    I wrote and tested this software for the Seiko L2014 LCD module but it should work with any 4x20 module without modification and with other modules with little modification.

    More info about the Seiko L2014 can be found on eio.com's page: http://www.eio.com/lcd2014.htm



    Download:


    Last modified: 01/01/2012 @ 06:24 am