Shop OBEX P1 Docs P2 Docs Learn Events
16x2 LCD — Parallax Forums

16x2 LCD

garylakegarylake Posts: 41
edited 2010-12-12 19:07 in Propeller 1
I have searched the forum for information on how to wire up and program an LCD to the Propeller and have not found anything. Could someone point me in the right direction on how to do this.

Thanks

Comments

  • MagIO2MagIO2 Posts: 2,243
    edited 2010-12-12 10:13
    Hi garylake,
    I can't believe that there is no description for LCDs here at parallax! Maybe you did not search correctly.

    16x2 only tells us that the display has 16 characters per line and 2 lines. The most important question is what interface does it have? Is it a serial interface or is the interface HD44780 compatible or something else?

    Then you could have searched in the object exchange for "Serial LCD" or "HD44780". The idea for objects in the object exchange is to have the documentation included and a good documentation will tell you how to connect the device with the propeller.

    Have fun while learning to fly ... ;o)
  • RavenkallenRavenkallen Posts: 1,057
    edited 2010-12-12 10:27
    As Magio2 said, it would help to know what kind of LCD it is. If it is a HD44780, there are plenty of objects for it, but interfacing is a little difficult. If it is a serial LCD(Like one from Parallax or Sparkfun), interfacing it is much easier and there is quite a few objects out there. In my experience, it is good to have both. The true HD44780 lcd is nice because it is cheap and most have the flexible 4 bit option(you will still need 7- 8 I/O lines). Serial is good because you don't need any external components( Except for a resistor in some cases) and that makes it way easier to use...Having knowledge of the HD44780 is good because it is a industry standard... Good luck
  • garylakegarylake Posts: 41
    edited 2010-12-12 12:46
    16 Characters x 2 Lines
    5 x 8 Dots with Cursor
    Built in Controller (HD44780 or equivalent)
    +5V Power Supply
    1/16 Duty Circle

    My search for LCD in the forum only brought up Basic Stamp results.
  • hover1hover1 Posts: 1,929
    edited 2010-12-12 16:04
    garylake wrote: »
    16 Characters x 2 Lines
    5 x 8 Dots with Cursor
    Built in Controller (HD44780 or equivalent)
    +5V Power Supply
    1/16 Duty Circle

    My search for LCD in the forum only brought up Basic Stamp results.

    Since no one else asked, is it Serial or parallel interface? That makes a difference.

    Do you have a part #? or data sheet?

    Jim
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-12-12 16:25
    I'm pretty sure there is a parallel 20x4 driver in the Obex, because I copied it to the dracblade/kyedos/CP/M emulation. Parallel drivers are all pretty much the same if they use the HD44780 - you can use the same code for 8x2, 16x2, 20x2, 20x4, 40x4 etc.

    Serial uses less pins. Is yours parallel or serial?
  • garylakegarylake Posts: 41
    edited 2010-12-12 17:21
    parallel or serial?

    I don't really know. This is where I got it.

    http://www.futurlec.com/LED/BLUELCD16x2BL.shtml
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-12-12 17:28
    That one is parallel. There are a few examples on the Obex. Maybe try the Spin ones before looking at the PASM code. eg http://obex.parallax.com/objects/484/
  • hover1hover1 Posts: 1,929
    edited 2010-12-12 17:32
    Looks like it's a parallel interface. In that case, I refer you back to Jon's post (#2), where he has a driver to check out.

    Jim
    garylake wrote: »
    parallel or serial?

    I don't really know. This is where I got it.

    http://www.futurlec.com/LED/BLUELCD16x2BL.shtml
  • garylakegarylake Posts: 41
    edited 2010-12-12 19:07
    Ok, looks like I got the answers I needed to wire it up and test it out. Thanks a lot.

    I will post back when I get it going.
Sign In or Register to comment.