Shop OBEX P1 Docs P2 Docs Learn Events
LCD - 4x20 display — Parallax Forums

LCD - 4x20 display

ArchiverArchiver Posts: 46,084
edited 2002-06-11 11:35 in General Discussion
Hi:
I am using a 4 x 20 LCD idplay with a BS2P stamp. The manual covers use of 1
and 2 line displays, but not 4 line, except to mention that scrolling won't
work.

Has anyone used a 4x20, and if so, can they provide the necessary overhead
software to make it work?

Thank you,
George

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-06-10 22:06
    You can work with a 4x20 display the same as 2x20 or 2x16 -- just initialize
    for multiple lines. The reason scrolling doesn't work with these displays is
    that physical line one wraps to phsyical line three. So ... don't try to
    scroll mutli-line displays.

    These are the constants I use for locating the cursor to a specific line:

    Line1 CON $00
    Line2 CON $40
    Line3 CON $14
    Line4 CON $54


    -- Jon Williams
    -- Parallax

    In a message dated 6/10/02 2:49:52 PM Central Daylight Time,
    csiaero1@p... writes:

    > I am using a 4 x 20 LCD idplay with a BS2P stamp. The manual covers use of 1
    > and 2 line displays, but not 4 line, except to mention that scrolling won't
    > work.
    >
    > Has anyone used a 4x20, and if so, can they provide the necessary overhead
    > software to make it work?
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-06-11 01:48
    Go to http://home.iae.nl/users/pouweha/lcd/lcd0.shtml to find out all you
    need to know to control these devices.

    cheers,

    Ben, Wellington, New Zealand.
    --


    > From: George <csiaero1@p...>
    > Reply-To: basicstamps@yahoogroups.com
    > Date: Mon, 10 Jun 2002 12:50:35 -0700
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: LCD - 4x20 display
    >
    > Hi:
    > I am using a 4 x 20 LCD idplay with a BS2P stamp. The manual covers use of 1
    > and 2 line displays, but not 4 line, except to mention that scrolling won't
    > work.
    >
    > Has anyone used a 4x20, and if so, can they provide the necessary overhead
    > software to make it work?
    >
    > Thank you,
    > George
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    > of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-06-11 02:06
    Thank you, Ben. More info that I ever wanted to know. Would love to
    see Pbasic code showing a BS2P driving a 4x20 display.
    George




    --- In basicstamps@y..., Ben Lennard <postmaster@s...> wrote:
    > Go to http://home.iae.nl/users/pouweha/lcd/lcd0.shtml to find out
    all you
    > need to know to control these devices.
    >
    > cheers,
    >
    > Ben, Wellington, New Zealand.
    > --
    >
    >
    > > From: George <csiaero1@p...>
    > > Reply-To: basicstamps@y...
    > > Date: Mon, 10 Jun 2002 12:50:35 -0700
    > > To: basicstamps@y...
    > > Subject: [noparse][[/noparse]basicstamps] Re: LCD - 4x20 display
    > >
    > > Hi:
    > > I am using a 4 x 20 LCD idplay with a BS2P stamp. The manual
    covers use of 1
    > > and 2 line displays, but not 4 line, except to mention that
    scrolling won't
    > > work.
    > >
    > > Has anyone used a 4x20, and if so, can they provide the necessary
    overhead
    > > software to make it work?
    > >
    > > Thank you,
    > > George
    > >
    > >
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@y...
    > > from the same email address that you subscribed. Text in the
    Subject and Body
    > > of the message will be ignored.
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
    > >
  • ArchiverArchiver Posts: 46,084
    edited 2002-06-11 02:31
    You can find LCD code for the BS2p on the Parallax web site. Nothing
    specific to the 4x20 display, but with the information you have now, it will
    be enough to get you going. Take a look at the BS2p "Plus Pack" page.

    -- Jon Williams
    -- Parallax

    In a message dated 6/10/02 8:07:31 PM Central Daylight Time,
    csiaero1@p... writes:


    > Thank you, Ben. More info that I ever wanted to know. Would love to
    > see Pbasic code showing a BS2P driving a 4x20 display.
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-06-11 11:35
    > Would love to see Pbasic code showing a BS2P driving a 4x20 display.

    It's easier than you'd think. I've managed to control a 2 x 20 display on a
    BS2 which doesn't even have the LCD commands built in. A 4 x 20 shouldn't
    be too much more effort. The 2 x 16's are easy to get in NZ via Dick Smith
    Electronics, but I'm not too sure where to get the other versions.

    The 2 x 20 was given to me by a guy who works at Captron in Auckland, so
    they may supply the other versions. Any Auckland Stampers on the list who
    could check for me?

    Cheers,


    Ben, Wellington, New Zealand.
    --


    > From: "inventorgeorge1" <csiaero1@p...>
    > Reply-To: basicstamps@yahoogroups.com
    > Date: Tue, 11 Jun 2002 01:06:38 -0000
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: LCD - 4x20 display
    >
    > Thank you, Ben. More info that I ever wanted to know. Would love to
    > see Pbasic code showing a BS2P driving a 4x20 display.
    > George
    >
    >
    >
    >
    > --- In basicstamps@y..., Ben Lennard <postmaster@s...> wrote:
    >> Go to http://home.iae.nl/users/pouweha/lcd/lcd0.shtml to find out
    > all you
    >> need to know to control these devices.
    >>
    >> cheers,
    >>
    >> Ben, Wellington, New Zealand.
    >> --
    >>
    >>
    >>> From: George <csiaero1@p...>
    >>> Reply-To: basicstamps@y...
    >>> Date: Mon, 10 Jun 2002 12:50:35 -0700
    >>> To: basicstamps@y...
    >>> Subject: [noparse][[/noparse]basicstamps] Re: LCD - 4x20 display
    >>>
    >>> Hi:
    >>> I am using a 4 x 20 LCD idplay with a BS2P stamp. The manual
    > covers use of 1
    >>> and 2 line displays, but not 4 line, except to mention that
    > scrolling won't
    >>> work.
    >>>
    >>> Has anyone used a 4x20, and if so, can they provide the necessary
    > overhead
    >>> software to make it work?
    >>>
    >>> Thank you,
    >>> George
    >>>
    >>>
    >>>
    >>> To UNSUBSCRIBE, just send mail to:
    >>> basicstamps-unsubscribe@y...
    >>> from the same email address that you subscribed. Text in the
    > Subject and Body
    >>> of the message will be ignored.
    >>>
    >>>
    >>> Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >>>
    >>>
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    > of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
Sign In or Register to comment.