Parallel LCD Trouble / looking for Examples
ando
Posts: 11
Hello,
I am a novice at most things pertaining to electronics hardware. I have a 4x20 Parallel LCD and I am at a loss. I have tried the 2x20 example code but it desnt work.
Here is how I am wired up
P0 - E
P1 - RS
P2 - RW
P3 - DB7
P4 - DB6
P5 - DB5
P6 - DB4
P7 - DB3
P8 - DB2
P9 - DB1
P10 - DB0
Questions:
1) Does anyone have a code and wiring example for this type of display?
2) When the manual says instruction = "0000110000" Should I add another 0 on the front because I have E wired up to P0?
3) From the sample code what is OUTB = Inst.HIGHNIB and OUTB = Inst.LOWNIB
As you can tell I am flying blind here and any help would be much appriciated. Attached you will find the Parallax 2x20 code and the Parallax 4x20 manual is at
http://www.parallax.com/dl/docs/prod/audiovis/DS4X20Parallel.pdf
Thanks in advance
Joe
I am a novice at most things pertaining to electronics hardware. I have a 4x20 Parallel LCD and I am at a loss. I have tried the 2x20 example code but it desnt work.
Here is how I am wired up
P0 - E
P1 - RS
P2 - RW
P3 - DB7
P4 - DB6
P5 - DB5
P6 - DB4
P7 - DB3
P8 - DB2
P9 - DB1
P10 - DB0
Questions:
1) Does anyone have a code and wiring example for this type of display?
2) When the manual says instruction = "0000110000" Should I add another 0 on the front because I have E wired up to P0?
3) From the sample code what is OUTB = Inst.HIGHNIB and OUTB = Inst.LOWNIB
As you can tell I am flying blind here and any help would be much appriciated. Attached you will find the Parallax 2x20 code and the Parallax 4x20 manual is at
http://www.parallax.com/dl/docs/prod/audiovis/DS4X20Parallel.pdf
Thanks in advance
Joe
Comments
http://www.parallax.com/detail.asp?product_id=27220
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
·· Your connections are incorrect for that code.· The documentation on that page clearly shows that E is connected to P0, RW is connected to P2 and RS is connected to P3.· P4 through P7 are connected to DB4 through DB7 on the module.· The code works and has been tested with many Hitachi Compatible Parallel Displays.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Regards,
Joe
See, kids? ·Anybody can do this.
·