Serial LCD Interfacing
Chris Savage
Parallax EngineeringPosts: 14,406
If I could impose, I'd like to get a few opinions, or at least do a little survey regarding Serial LCDs...
·· Knight Designs has been using Hitachi-Based Parallel LCD Displays in all of our designs since 1990.· Since our switch from Z80s and other CPUs to the BASIC Stamp line, we've been using a Serial Chip to interface an LCD using only 1 I/O line.··Our need for information comes from the fact that·we've received numerous e-mails over the last 2 or 3 years wondering exactly what it is that we're using, since people cannot seem to figure out the non-standard command codes associated with this chip.
·· We recently purchased several chips from another individal who has his own line of Serial Backpack Chips, however,·we recently realized that this would be the same basic situation.· We would like to know what the majority of the Forum readers are using for LCD Displays, and how you're interfacing them.· Are they serial already?· If so, what brand?
···We'd like to eventually make it so that the free projects we post online can easily be built and understood by anyone.· We've seen far too much difference in the way that some displays work with different backpacks and chips, so we're trying to standardize.· I personally think what we need is an inexpensive (Under $6.00) Serial Chip that accepts standard commands, instead of using it's own language.· It should also support the BELL control code, so that sending CNTL-G will cause a beep.· And a few programmable I/O pins would be nice.· Last item should be backlight control.· All of these features exist on chips now, but either they are expensive or non-standard in the commands to do things.
·· LCD Displays can be gotten surplus for $10.00 for a 40X2 display.· Add a $5.00 serial chip, and for $15.00 you have a serial LCD.· We just need standardization.· Anyway, if anyone who wants to share could please reply, we'd appreciate it!
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
·· Knight Designs has been using Hitachi-Based Parallel LCD Displays in all of our designs since 1990.· Since our switch from Z80s and other CPUs to the BASIC Stamp line, we've been using a Serial Chip to interface an LCD using only 1 I/O line.··Our need for information comes from the fact that·we've received numerous e-mails over the last 2 or 3 years wondering exactly what it is that we're using, since people cannot seem to figure out the non-standard command codes associated with this chip.
·· We recently purchased several chips from another individal who has his own line of Serial Backpack Chips, however,·we recently realized that this would be the same basic situation.· We would like to know what the majority of the Forum readers are using for LCD Displays, and how you're interfacing them.· Are they serial already?· If so, what brand?
···We'd like to eventually make it so that the free projects we post online can easily be built and understood by anyone.· We've seen far too much difference in the way that some displays work with different backpacks and chips, so we're trying to standardize.· I personally think what we need is an inexpensive (Under $6.00) Serial Chip that accepts standard commands, instead of using it's own language.· It should also support the BELL control code, so that sending CNTL-G will cause a beep.· And a few programmable I/O pins would be nice.· Last item should be backlight control.· All of these features exist on chips now, but either they are expensive or non-standard in the commands to do things.
·· LCD Displays can be gotten surplus for $10.00 for a 40X2 display.· Add a $5.00 serial chip, and for $15.00 you have a serial LCD.· We just need standardization.· Anyway, if anyone who wants to share could please reply, we'd appreciate it!
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
Comments
my parallel hitachi compatible 2x16 LCD on my BS2 board appmod header
I used a simple shift register 74HC595 for simulating serial connection
using just 3 ports on my BS2. I also used the program that John Williams
write about this in some Nuts & volts issue i saw... (the comments are in GREEK)
I attached photos and Schematics about my board... I hope this help anyone
had the same problem connecting parallel LCDs on BS2.
The end goal is to make interfacing an LCD display more cost-effective to the hobbyist (Whom I believe makes up a huge chunk of Parallax's customers), as well as meeting the industry or common standard for commands associated with these serial displays, since most have special commands for line/cursor position, controlling extra ports, or beeping a piezo speaker attached.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Computer Specs
_______
"I had no professional training, I gave it my all, I have no regrets" -William Hung
_______
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
I am looking forward to see your design and code.
I use seetron ( expensive), matrix orbital ( to much code) and recently i got pic-n-lcd which i intend to test it soon. Looks like this one have more comands then seetron or others. I will post my experience with it, and wait for your code and schematic. I just bought a full evaluation set for sx and maybe this it will be my first touch with it (glad i can use basic and not assembler too)
Ion
I was able to create my LCD controller in SX/B in about two hours -- start to finish. I have a lot of experience with LCDs, of course, but SX/B made it all very easy. You can find my serial LCD controller in the Projects section of the SX/B help file. It is SEETRON command compatible except that I allow bi-direction communications so that you can read back the LCD RAM, and since I used an SX28, I also give the user serial control of the extra port (RC). You can set the port DDR bits, write to the port, and read from the port -- all through the same 1-wire serial link.
If you download and install the SX-Key software the projects folder contains a BS2 test program for the SX-based serial LCD.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Jon Williams) : 11/6/2004 3:04:07 PM GMT
I saw the project last night when I got the SX/B , but it was to late to open it and look in details.
I just moved a week ago and i am between boxes and work.
I will try it ASAP
Thanks again
Ion
Ion,
·· I too think the Seetron and Matrix Oribital Displays are a little on the expensive side when you consider the cost of a typical LCD (Surplus) and how much it costs to build your own serial interface.· I was also using the PIC-an-LCD from Dale Wheat, but at $9.95 per chip, I was trying to find something cheaper.· And while Peter Anderson has a Serial Chip for $4.95, it has yet another instruction set.
·· Jon convinced me the Seetron command set was the way to go, so his chip makes the most sense for compatibility and cost.· I think that will appeal more to the hobbyists.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Obviously this would require small changes to the existing code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·