Shop OBEX P1 Docs P2 Docs Learn Events
Unknown Generic 2x16 LCD — Parallax Forums

Unknown Generic 2x16 LCD

NhoybNhoyb Posts: 9
edited 2005-04-08 13:02 in BASIC Stamp
Anyone,


Can I use any type of LCD for my BS2sx, I have this generic LCD which has a part number of PVC160203PTL03 841C and has a "MADE IN TAIWAN VER-A", its interface is like a parallel LCD.

How many types of LCD are there? confused.gif

I'm planning to use it as a real time·output for my BS2sx w/ BOE.·Also I tried to look-up the LCD's part number but to no avail. I'm new to electronics, and microcontroller programming. Is there a downloadable training manual for LCD interfacing for Basic Stamp with all kinds of LCD? Please your link will help a lot. Post Me!·sad.gif

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-07 17:58
    Download StampWorks -- it has LCD examples.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • dandreaedandreae Posts: 1,375
    edited 2005-04-07 18:18
    Hello,

    The BASIC Stamps are compatible with the·HD44780 series LCD driver from Hitachi.· I've attached a code that is made for the BASIC Stamp 2 and BS2sx·which will work if you change the stamp directive.



    Dave




    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Tech Support
    dandreae@parallax.com
    www.parallax.com



    Post Edited (Dave Andreae (Parallax)) : 4/7/2005 8:04:46 PM GMT
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-07 19:54
    Whoops ... that program won't work with the BS2sx as the LCD commands are not native to it. There are examples in StampWorks and for our LCD AppMod that will work with any BS2-family Stamp.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • NhoybNhoyb Posts: 9
    edited 2005-04-08 04:47
    Jon,

    Does that mean, I cant just plug any LCD on my BS2sx? I'm hoping that my generic LCD will work, LCD's cost to much.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Soul Still Bruns!!
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-08 05:10
    No, it doesn't. But most of the cheapie LCDs you find will be HD44780-compatible. When in doubt, track down the specs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • NhoybNhoyb Posts: 9
    edited 2005-04-08 11:09
    Jon, Anyone

    OK. I really need help on my cheapie LCD. It has 16 Interface connection which has the ff pin.

    1 VSS Ground 0V
    2 VDD Supply Voltage for Logic 5V±5%
    3 V0 Contrast Adjustment
    4 RS - H/L Register Selection H: Data Input L: intruction Code Input
    5 R/W - " Read/Write
    6 E - H.H->L Enable Signal
    Pin 7 to 14 DB0-DB7 - H/L
    15 A ---- No Connection
    16 K ---- No Connection

    * Note Pin 7 - 14 8 Bits
    * Pin 11 - 14 4 Bits

    The only document i have is this pin assignments.

    I dont know how to interface this on my BS2sx, someone PLEASE teach me. I'm afraid to experiment on my own I might fry my chip. Help on which pin goes to, and a simple program "HELLO WORLD" to understand basics of LCD Interfacing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Soul Still Bruns!!
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-08 13:02
    Really, you've been given enough guidance to get going -- so get going.· Here's the direct link to the StampWorks experiments:

    http://www.parallax.com/html_pages/downloads/sw/sw.asp

    Start with Experiment 11.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.