4X20 Parallel LCD help needed
Archiver
Posts: 46,084
I'm new to BasicStamps (any microcontrollers for that matter) and
have
a 44780 compatible 4X20 parallel LCD. I've got it wired correctly
based on a downloaded PDF file from Parallax based on a 4X20 LCD they
have for sale. When I run their program, 'parallal lcd 4X20.bs2',
(copied and pasted from the PDF file) I get only the first letter of
the text.
Can anyone post a BEDROCK simple program that will just display one
line of text in each of the 4 lines of my LCD? This would be
instructional for me as I should be able to figure out the basics of
how it's done.
The pins are as follows:
BS2 LCD
P0
E (enable)
P2
R/W (read/write)
P3
R/S (reset)
P4
DB4
P5
DB5
P6
DB6
P7
DB7
CON is grounded
VDD and VSS set properly
DB0
>DB3 are grounded.
DB4
>DB7 have 10K pull down resistors between them and the BS2
pins. Also, P0 has a 4.7K pull down resistor.
I don't know why they skipped P1 but they did. My guess is they did
it to keep the pin connections simple, i.e., P4 to DB4, P5 to DB5 etc.
Any BEDROCK SIMPLE demo program would be greatly appreciated.
thanks
elfa
have
a 44780 compatible 4X20 parallel LCD. I've got it wired correctly
based on a downloaded PDF file from Parallax based on a 4X20 LCD they
have for sale. When I run their program, 'parallal lcd 4X20.bs2',
(copied and pasted from the PDF file) I get only the first letter of
the text.
Can anyone post a BEDROCK simple program that will just display one
line of text in each of the 4 lines of my LCD? This would be
instructional for me as I should be able to figure out the basics of
how it's done.
The pins are as follows:
BS2 LCD
P0
E (enable)
P2
R/W (read/write)
P3
R/S (reset)
P4
DB4
P5
DB5
P6
DB6
P7
DB7
CON is grounded
VDD and VSS set properly
DB0
>DB3 are grounded.
DB4
>DB7 have 10K pull down resistors between them and the BS2
pins. Also, P0 has a 4.7K pull down resistor.
I don't know why they skipped P1 but they did. My guess is they did
it to keep the pin connections simple, i.e., P4 to DB4, P5 to DB5 etc.
Any BEDROCK SIMPLE demo program would be greatly appreciated.
thanks
elfa