|
Using serial LCD in I2C mode |
|
Tuesday, 17 July 2007 |
|
This project is a demo of using the serial LCD module in I2C mode driving a 16x2 LCD with LED backlight.

The micro-controller driving the LCD2S is the PIC18F2480 on a SBC28PC-IR2 board but you can use any controller with an I2C Master. The LCD2S must be set to I2C mode by setting the DIP switch at the back of the board to both 00 (off position). This will also give an address of 0x50. Parts List SBC28PC-IR2 LCD2S Micro-match cable Software There two files are required to control the LCD2S module. They are i2c_lcd2s.c and i2c_lcd.h The main.c give a simple demo of how to use the two files. It requires the Microchip C18 compiler. Download The full source can be downloaded. lcd2s.zip |