Shop OBEX P1 Docs P2 Docs Learn Events
Dual Head Serial Display — Parallax Forums

Dual Head Serial Display

firestorm.v1firestorm.v1 Posts: 94
edited 2006-04-10 14:15 in Robotics
This was a project that I got the idea from while at a Walmart. The Walmart cash registers have two LCD displays, one facing the customer that displays item name and price, and the other one that faces the operator that gives out diagnostic info, prompts, code, whatever.

I figured that doing something with the Basic Stamp, I could create one of these on my own.

So I did.

There were some stipulations:
1: It needs to use the onboard serial port
2: It had to be able to independently address each LCD
3: It had to be able to freely position the cursor on either display

I am pleased to announce that the project is complete and it works really well. I did this to teach myself how to use the I/O pins effectively by multiplexing and was rather pleased with what I came out with.

the LCD pinouts file contains information for connecting the displays to the LCD. I have grounded the pin for the contrast because with my LCDs that provided the most readable level.

I have included a Command refrence which is contained on the program comments. A good test of the LCDs would be as follows:

::P0100!
This is LCD 0 Line 1
::P0200!
This is LCD 0 Line 2
::P1100!
This is LCD 1 Line 1
::P1200!
This is LCD 1 Line 2

will print the following:

LCD 0 LCD 1
#
# #
#
|This is LCD 0 Line 1| |This is LCD 1 Line 1|
|This is LCD 0 Line 2| |This is LCD 1 Line 2|
#
# #
#


Hope you enjoy it!

Comments

Sign In or Register to comment.