|
Re: Connecting LCD module to RC
There is a standard for parallel controlled LCDs called HD44780. It looks like this module follows that standard. Basically you have 8 data pins and an RS E and RW line. Each of these gets connected to the digital IO pins on the RC. The LCD is capable of operating in a 4 bit mode in which only 4 of the data pins are used if you are tight on available digitla IOs. You can draw power from the gnd and 5v lines of one of the digital IOs. You will need a 10k potetiometer with the wiper connected to VEE pin and the other two pins conencted to ground and 5v. This allows you to adjust the contrast on the LCD. The programming is fairly straigntforward, just google hd44780 for info on how to control it.
If you want to drive this off any of the serial ports, i would recommend getting a different LCD that is serial to start with or buying a backpack like the one mentioned above.
__________________
1139 Alumni
Last edited by Rickertsen2 : 13-07-2006 at 21:23.
|