View Single Post
  #6   Spotlight this post!  
Unread 03-03-2007, 23:31
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: How to Hook up LCD

Quote:
Originally Posted by magical hands View Post
http://www.sparkfun.com/commerce/pro...roducts_id=255

The link leads to the LCD we are using. I am so confused on how to hook it up. I know that i have to attach it using RS32 but how do i connect RS232 to this LCD device since it has this small adapter attached to it???? and where do i connect this RS232 on the operator interface? Seems kinda a weird, its like i am going in circles.
The link you provided points to a conventional character type LCD display with a KS0066U controller on it. This controller is compatible with the older Hitachi HD44780 controller. Overall, this type of controller is very popular and if you use your favorite search engine with one of those part numbers and the phrase "source code", you'll find quite a bit of helpful information already targeted towards a "how to" approach as well as a variety of source code drivers.


In short, you'll need to connect the RS (register select), R/W (read /write), E (clock), and either 4 or 8 of the data lines to I/O pins on your microcontroller... in addition to providing power and a contrast adjustment pot.

Here are some links you may find helpful:
http://www.sourceboost.com/Products/...ampleCode.html
A posting in the sourceboost forum
http://panda.bg.univ.gda.pl/~janusz/software.html#lcd

If you poke around on the SourceBoost website, I was able to find several different versions of HD44780 compatible drivers written by a few different people.

Hopefully that will get you pointed in the right direction...
__________________
--Dave