Dual Head Serial Display
firestorm.v1
Posts: 94
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!
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!
txt
947B
Comments
That cool.
Nice...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·
Any pictures of this working project?
Rob7
Pardon the mess, I wired this while at work.
I have since this post made an interface board that brings out the pins into a header that snaps into the white breadboard and also supples +5v to the LCDs independent of the little voltage regulator on the board.
The board has 10 pins: 4 data, E0,E1,RW,RS,and 2 grounds. (I had a single 10 pin header and didn't feel like breaking it apart.)