Shop OBEX P1 Docs P2 Docs Learn Events
Parallel LCD Trouble / looking for Examples — Parallax Forums

Parallel LCD Trouble / looking for Examples

andoando Posts: 11
edited 2006-02-28 18:45 in General Discussion
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

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-02-28 05:21
    Download our StampWorks 2.0 book -- it has enough parallel LCD examples to get you where you want to go.

    http://www.parallax.com/detail.asp?product_id=27220

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-28 06:02
    ando,

    ·· 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
  • andoando Posts: 11
    edited 2006-02-28 18:24
    Thanks for the replys. I knew my wiring was different. I tried the original wiring, but that didnt work and my lcd is slightly different so I took a best guess. Since I was soldering everything in I thought it was best to move my project back to the proto board. When I did, I must have gotten my lines crossed. See attached. So, moving forward, I ordered the BS2px and the 4x20 Serial LCD. Thanks to all for your help. is there a blown up stamp return policy? [noparse];)[/noparse]


    Regards,
    Joe
    500 x 375 - 40K
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-02-28 18:45
    Good job.
    See, kids? ·Anybody can do this.
    ·
Sign In or Register to comment.