Shop OBEX P1 Docs P2 Docs Learn Events
LCD and EDE702 — Parallax Forums

LCD and EDE702

ArchiverArchiver Posts: 46,084
edited 2001-09-22 16:16 in General Discussion
Hello All!

I just purchased an EDE702 lcd interface IC, and a 16x2 led that says
"ORION" on the back with "HD44780A00" on the lcd's chip. I have
connected the ede702 to the lcd as per the instructions (although I
am using a BSII). When I run a program to output text to the lcd, it
does nothing. The lcd lights up when power is applied so I assume it
is working properly. I am wondering if the hookup diagram that came
with the ede702 applies to my particular lcd. The pin functions for
my lcd are as follows:

Pin # Function

1 GND
2 +5
3 Liquid crystal driving voltage
4 RS
5 R/W
6 Enable
7 thru 14 Data Bus Line 0 thru 7
15 Anode
16 Cathode

The led's insructions states that the led is powered thru pins 15 &
16, so what good are pins 1 & 2?

Here is the little BSII prg I am using to test it with:

pause 500

serout 7,2400,[noparse][[/noparse]$fe]
serout 7,2400, [noparse][[/noparse]$01]
pause 10

serout 7,2400,[noparse][[/noparse]"Hello World!"]

serout 7,2400,[noparse][[/noparse]$fe]
serout 7,2400, [noparse][[/noparse]$c0]
pause 10

serout 7,2400,[noparse][[/noparse]"Line 2!"]

(I assume this program will output text to both lines of the lcd)

I hope my questions arent dumb, and I apologise for the length of
this
post, but I would love to get this going, and am having no luck on my
own.

I appreciate any help you guys can offer.

Thanks!

Stampboi

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-09-20 04:52
    At 9/19/2001 Wednesday 11:27 PM, stampboi@y... promulgated:
    >Hello All!
    >
    >I just purchased an EDE702 lcd interface IC, and a 16x2 led that says
    >"ORION" on the back with "HD44780A00" on the lcd's chip. I have
    >connected the ede702 to the lcd as per the instructions (although I
    >am using a BSII). When I run a program to output text to the lcd, it
    >does nothing. The lcd lights up when power is applied so I assume it
    >is working properly. I am wondering if the hookup diagram that came
    >with the ede702 applies to my particular lcd. The pin functions for
    >my lcd are as follows:
    >
    >Pin # Function
    >
    >1 GND
    >2 +5
    >3 Liquid crystal driving voltage
    >4 RS
    >5 R/W
    >6 Enable
    >7 thru 14 Data Bus Line 0 thru 7
    >15 Anode
    >16 Cathode
    >
    >The led's insructions states that the led is powered thru pins 15 &
    >16, so what good are pins 1 & 2?
    >
    >Here is the little BSII prg I am using to test it with:
    >
    > pause 500
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$01]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Hello World!"]
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$c0]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Line 2!"]
    >
    >(I assume this program will output text to both lines of the lcd)
    >
    >I hope my questions arent dumb, and I apologise for the length of
    >this post, but I would love to get this going, and am having no luck on my
    >own.
    >
    >I appreciate any help you guys can offer.
    >
    >Thanks!
    >
    >Stampboi
    >
    >Hi -

    I suspect your problem is in the specification for BAUDMODE in the serout
    commands. BAUDEMODE should be selected as shown in Table 5.82 on Page
    Numbered 297 in the Stamp Manual. One does NOT indicate the baud rate in the
    BAUDMODE parameter as you seem to have done. The BAUEMODE parameter is derived
    from the baud rate but it is not numerically identical. Please see the Stamp
    Manual for further details.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-20 05:48
    Your problem is that you are trying to run a standard parallel LCD with a
    serial signal. You can't do that. You need to connect the pins of the Stamp
    to the data pins of the LCD and not use the Serial output commands. The LED
    pins you mentioned 15 and 16 are for the LED backlight not the LCD. You still
    need to connect power to the LCD power pins 1 and 2.
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-20 07:01
    Pins 15 and 16 are for the backlighting only. Don't worry about them right
    now and don't connect power directly to them without checking the
    documentation unless you want to turn your display into a non-backlit model.

    Pins 1 & 2 power the electronics and pin 3 adjusts the contrast.

    Download the Basic Stamp 1 Application Notes from the Parallax site and
    check out the first set of notes. While this is for a BS1, the schematic is
    the same as far as which LCD pins are connected to power, etc...

    Original Message

    > I just purchased an EDE702 lcd interface IC, and a 16x2 led that says
    > "ORION" on the back with "HD44780A00" on the lcd's chip. I have
    > connected the ede702 to the lcd as per the instructions (although I
    > am using a BSII). When I run a program to output text to the lcd, it
    > does nothing. The lcd lights up when power is applied so I assume it
    > is working properly. I am wondering if the hookup diagram that came
    > with the ede702 applies to my particular lcd. The pin functions for
    > my lcd are as follows:
    >
    > Pin # Function
    >
    > 1 GND
    > 2 +5
    > 3 Liquid crystal driving voltage
    > 4 RS
    > 5 R/W
    > 6 Enable
    > 7 thru 14 Data Bus Line 0 thru 7
    > 15 Anode
    > 16 Cathode
    >
    > The led's insructions states that the led is powered thru pins 15 &
    > 16, so what good are pins 1 & 2?
    >
    > Here is the little BSII prg I am using to test it with:
    >
    > pause 500
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$01]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Hello World!"]
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$c0]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Line 2!"]
    >
    > (I assume this program will output text to both lines of the lcd)
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-20 17:34
    Here is a working schematic using this chip.
    http://www.j-com.net/lcd4x20.pdf

    It also works with a 4line x 20 LCD. Be sure the polarity is set correctly
    and the contrast resistor(s) are in place or you won't see anything.

    James R. Parish
    J-Tech Internet Services Division
    J-Com Enterprises, Inc.

    Original Message
    From: Bruce Bates [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=fV-Gi7ZFMcXn1qAwazqSswSfCrNA8Xz3RvzgYlBq7nP3BnfPABZsSx3Hq47_vWtz72OrNVDtpvNpiMAaMg]bvbates@u...[/url
    Sent: Wednesday, September 19, 2001 11:53 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] LCD and EDE702

    At 9/19/2001 Wednesday 11:27 PM, stampboi@y... promulgated:
    >Hello All!
    >
    >I just purchased an EDE702 lcd interface IC, and a 16x2 led that says
    >"ORION" on the back with "HD44780A00" on the lcd's chip. I have
    >connected the ede702 to the lcd as per the instructions (although I
    >am using a BSII). When I run a program to output text to the lcd, it
    >does nothing. The lcd lights up when power is applied so I assume it
    >is working properly. I am wondering if the hookup diagram that came
    >with the ede702 applies to my particular lcd. The pin functions for
    >my lcd are as follows:
    >
    >Pin # Function
    >
    >1 GND
    >2 +5
    >3 Liquid crystal driving voltage
    >4 RS
    >5 R/W
    >6 Enable
    >7 thru 14 Data Bus Line 0 thru 7
    >15 Anode
    >16 Cathode
    >
    >The led's insructions states that the led is powered thru pins 15 &
    >16, so what good are pins 1 & 2?
    >
    >Here is the little BSII prg I am using to test it with:
    >
    > pause 500
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$01]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Hello World!"]
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$c0]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Line 2!"]
    >
    >(I assume this program will output text to both lines of the lcd)
    >
    >I hope my questions arent dumb, and I apologise for the length of
    >this post, but I would love to get this going, and am having no luck on
    my
    >own.
    >
    >I appreciate any help you guys can offer.
    >
    >Thanks!
    >
    >Stampboi
    >
    >Hi -

    I suspect your problem is in the specification for BAUDMODE in the
    serout
    commands. BAUDEMODE should be selected as shown in Table 5.82 on Page
    Numbered 297 in the Stamp Manual. One does NOT indicate the baud rate in
    the
    BAUDMODE parameter as you seem to have done. The BAUEMODE parameter is
    derived
    from the baud rate but it is not numerically identical. Please see the
    Stamp
    Manual for further details.

    Regards,

    Bruce Bates


    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 2001-09-20 17:35
    Read up on the EDE702 BOZO... Serial to Parallel converter for LCD's

    James R. Parish
    J-Tech Internet Services Division
    J-Com Enterprises, Inc.

    Original Message
    From: azeasi@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=06OOayIheBcD8d23TKoJuLQcgO5wPrVpmmv0VoTv4992EjNCTrd1YNUSEgG9Enq3Hfv6Ql0]azeasi@a...[/url
    Sent: Thursday, September 20, 2001 12:48 AM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] LCD and EDE702

    Your problem is that you are trying to run a standard parallel LCD with
    a
    serial signal. You can't do that. You need to connect the pins of the
    Stamp
    to the data pins of the LCD and not use the Serial output commands. The
    LED
    pins you mentioned 15 and 16 are for the LED backlight not the LCD. You
    still
    need to connect power to the LCD power pins 1 and 2.

    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 2001-09-20 18:36
    Where can I find this?


    --- In basicstamps@y..., stampboi@y... wrote:
    > Hello All!
    >
    > I just purchased an EDE702 lcd interface IC, and a 16x2 led that
    says
    > "ORION" on the back with "HD44780A00" on the lcd's chip. I have
    > connected the ede702 to the lcd as per the instructions (although I
    > am using a BSII). When I run a program to output text to the lcd,
    it
    > does nothing. The lcd lights up when power is applied so I assume
    it
    > is working properly. I am wondering if the hookup diagram that
    came
    > with the ede702 applies to my particular lcd. The pin functions
    for
    > my lcd are as follows:
    >
    > Pin # Function
    >
    > 1 GND
    > 2 +5
    > 3 Liquid crystal driving voltage
    > 4 RS
    > 5 R/W
    > 6 Enable
    > 7 thru 14 Data Bus Line 0 thru 7
    > 15 Anode
    > 16 Cathode
    >
    > The led's insructions states that the led is powered thru pins 15 &
    > 16, so what good are pins 1 & 2?
    >
    > Here is the little BSII prg I am using to test it with:
    >
    > pause 500
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$01]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Hello World!"]
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$c0]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Line 2!"]
    >
    > (I assume this program will output text to both lines of the lcd)
    >
    > I hope my questions arent dumb, and I apologise for the length of
    > this
    > post, but I would love to get this going, and am having no luck on
    my
    > own.
    >
    > I appreciate any help you guys can offer.
    >
    > Thanks!
    >
    > Stampboi
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-20 19:07
    At 05:36 PM 9/20/01 +0000, you wrote:
    >Where can I find this?

    A datasheet and pricing details are available on our website at
    www.elabinc.com in the IC's section. Several BASIC Stamp compatible IC's
    are available.

    Note: we are currently considering taking on more qualified distributors to
    carry our Stamp related IC's. Please contact me off-list for consideration.


    Todd Peterson
    E-Lab Digital Engineering, Inc.

    (816) 257-9954 FAX: (816) 257-9945
    www.elabinc.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-21 00:14
    As it turned out, my problem was indeed with the baudmode setting...
    My LCD works great!!!

    Thanks go out to all you guys...its great to have a forum like this
    with so many talented people!!!

    Thanks again!

    Stampboi





    --- In basicstamps@y..., stampboi@y... wrote:
    > Hello All!
    >
    > I just purchased an EDE702 lcd interface IC, and a 16x2 led that
    says
    > "ORION" on the back with "HD44780A00" on the lcd's chip. I have
    > connected the ede702 to the lcd as per the instructions (although I
    > am using a BSII). When I run a program to output text to the lcd,
    it
    > does nothing. The lcd lights up when power is applied so I assume
    it
    > is working properly. I am wondering if the hookup diagram that came
    > with the ede702 applies to my particular lcd. The pin functions for
    > my lcd are as follows:
    >
    > Pin # Function
    >
    > 1 GND
    > 2 +5
    > 3 Liquid crystal driving voltage
    > 4 RS
    > 5 R/W
    > 6 Enable
    > 7 thru 14 Data Bus Line 0 thru 7
    > 15 Anode
    > 16 Cathode
    >
    > The led's insructions states that the led is powered thru pins 15 &
    > 16, so what good are pins 1 & 2?
    >
    > Here is the little BSII prg I am using to test it with:
    >
    > pause 500
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$01]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Hello World!"]
    >
    > serout 7,2400,[noparse][[/noparse]$fe]
    > serout 7,2400, [noparse][[/noparse]$c0]
    > pause 10
    >
    > serout 7,2400,[noparse][[/noparse]"Line 2!"]
    >
    > (I assume this program will output text to both lines of the lcd)
    >
    > I hope my questions arent dumb, and I apologise for the length of
    > this
    > post, but I would love to get this going, and am having no luck on
    my
    > own.
    >
    > I appreciate any help you guys can offer.
    >
    > Thanks!
    >
    > Stampboi
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-21 01:13
    One thing these folks supplying serial chips / interfaces should think about
    doing is have some sort of generic startup event they do on the first line
    of the LCD to let you know their interface is working.

    On any Stamp or OOPic project I build, I put an LED on one pin to use as a
    signal device to let me know the program is running, etc... Debug statements
    are nice, but if you don't have a PC connected you are out of luck.

    Original Message

    > As it turned out, my problem was indeed with the baudmode setting...
    > My LCD works great!!!
    >
    > Thanks go out to all you guys...its great to have a forum like this
    > with so many talented people!!!
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-22 16:16
    Can you possibly email me this document. I can not download it and
    am having problems getting.

    thank

    Mark
    adamsfamily40@h...

    --- In basicstamps@y..., "James R. Parish" <wiz@a...> wrote:
    > Here is a working schematic using this chip.
    > http://www.j-com.net/lcd4x20.pdf
    >
    > It also works with a 4line x 20 LCD. Be sure the polarity is set
    correctly
    > and the contrast resistor(s) are in place or you won't see
    anything.
    >
    > James R. Parish
    > J-Tech Internet Services Division
    > J-Com Enterprises, Inc.
    >
    >
    Original Message
    > From: Bruce Bates [noparse][[/noparse]mailto:bvbates@u...]
    > Sent: Wednesday, September 19, 2001 11:53 PM
    > To: basicstamps@y...
    > Subject: Re: [noparse][[/noparse]basicstamps] LCD and EDE702
    >
    > At 9/19/2001 Wednesday 11:27 PM, stampboi@y... promulgated:
    > >Hello All!
    > >
    > >I just purchased an EDE702 lcd interface IC, and a 16x2 led that
    says
    > >"ORION" on the back with "HD44780A00" on the lcd's chip. I have
    > >connected the ede702 to the lcd as per the instructions (although I
    > >am using a BSII). When I run a program to output text to the lcd,
    it
    > >does nothing. The lcd lights up when power is applied so I assume
    it
    > >is working properly. I am wondering if the hookup diagram that
    came
    > >with the ede702 applies to my particular lcd. The pin functions
    for
    > >my lcd are as follows:
    > >
    > >Pin # Function
    > >
    > >1 GND
    > >2 +5
    > >3 Liquid crystal driving voltage
    > >4 RS
    > >5 R/W
    > >6 Enable
    > >7 thru 14 Data Bus Line 0 thru 7
    > >15 Anode
    > >16 Cathode
    > >
    > >The led's insructions states that the led is powered thru pins 15 &
    > >16, so what good are pins 1 & 2?
    > >
    > >Here is the little BSII prg I am using to test it with:
    > >
    > > pause 500
    > >
    > > serout 7,2400,[noparse][[/noparse]$fe]
    > > serout 7,2400, [noparse][[/noparse]$01]
    > > pause 10
    > >
    > > serout 7,2400,[noparse][[/noparse]"Hello World!"]
    > >
    > > serout 7,2400,[noparse][[/noparse]$fe]
    > > serout 7,2400, [noparse][[/noparse]$c0]
    > > pause 10
    > >
    > > serout 7,2400,[noparse][[/noparse]"Line 2!"]
    > >
    > >(I assume this program will output text to both lines of the lcd)
    > >
    > >I hope my questions arent dumb, and I apologise for the length of
    > >this post, but I would love to get this going, and am having no
    luck on
    > my
    > >own.
    > >
    > >I appreciate any help you guys can offer.
    > >
    > >Thanks!
    > >
    > >Stampboi
    > >
    > >Hi -
    >
    > I suspect your problem is in the specification for BAUDMODE in the
    > serout
    > commands. BAUDEMODE should be selected as shown in Table 5.82 on
    Page
    > Numbered 297 in the Stamp Manual. One does NOT indicate the baud
    rate in
    > the
    > BAUDMODE parameter as you seem to have done. The BAUEMODE parameter
    is
    > derived
    > from the baud rate but it is not numerically identical. Please see
    the
    > Stamp
    > Manual for further details.
    >
    > Regards,
    >
    > Bruce Bates
    >
    >
    > 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/
Sign In or Register to comment.