Shop OBEX P1 Docs P2 Docs Learn Events
BS2 VFD CU40026scpb-T20 code — Parallax Forums

BS2 VFD CU40026scpb-T20 code

ArchiverArchiver Posts: 46,084
edited 2003-05-05 10:06 in General Discussion
Hi I'm looking for code to use with my BS2, for learing.
I have used code with a 2x20 display (VFD)its a samsung 20F206DA4
it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
I cant get it too display text, not sure how to run the coding for
this display. I also wanted to know if I have to have certain jumpers
set on the display for it to work?
Any jumper setting and code help would be great!!!

Thanks
Glen

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-04-30 23:12
    Glen,

    The displays are limited to simple serial strings followed by a
    carriage return. Treat them like a serial display but send the data
    at 9600 baud TTL or use a MAX 232 chip to convert true serial data
    out from a stamp or terminal program to TTL to the display. The
    display uses a three-wire interface for +5 volts, Serial Data and
    Ground to connector CN2 and there is a solder link configuration
    required on the display to set the baud rate from 300 to 19200 at
    JA0. When sending commands to the display like clear screen you need
    to send ($0E) you can position the cursor top left by using CON 32. I
    could never find a data sheet on these displays on the Noritake web
    site but found all the information at http://www.farnell.com/uk.
    Enter their part number 232464 for the 20 x 1 or 232490 for the 20 x
    2 in the search box and download the pdf's

    Try this bit of code that I used with my 20 x 1 display

    N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    Clear_Screen CON $0E 'Clear Screen
    Char_Space CON 32
    Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    Pause 1000
    Serout 0,N9600,[noparse][[/noparse]"Hello",CR]


    --- In basicstamps@yahoogroups.com, "biggy_boy2000" <ghiggs@s...>
    wrote:
    > Hi I'm looking for code to use with my BS2, for learing.
    > I have used code with a 2x20 display (VFD)its a samsung 20F206DA4
    > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > I cant get it too display text, not sure how to run the coding for
    > this display. I also wanted to know if I have to have certain
    jumpers
    > set on the display for it to work?
    > Any jumper setting and code help would be great!!!
    >
    > Thanks
    > Glen
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-01 03:51
    Thanks for the info!! I'll give it a try.

    Glen
    Original Message
    From: "cyminex" <cyminex@t...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, April 30, 2003 6:12 PM
    Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code


    > Glen,
    >
    > The displays are limited to simple serial strings followed by a
    > carriage return. Treat them like a serial display but send the data
    > at 9600 baud TTL or use a MAX 232 chip to convert true serial data
    > out from a stamp or terminal program to TTL to the display. The
    > display uses a three-wire interface for +5 volts, Serial Data and
    > Ground to connector CN2 and there is a solder link configuration
    > required on the display to set the baud rate from 300 to 19200 at
    > JA0. When sending commands to the display like clear screen you need
    > to send ($0E) you can position the cursor top left by using CON 32. I
    > could never find a data sheet on these displays on the Noritake web
    > site but found all the information at http://www.farnell.com/uk.
    > Enter their part number 232464 for the 20 x 1 or 232490 for the 20 x
    > 2 in the search box and download the pdf's
    >
    > Try this bit of code that I used with my 20 x 1 display
    >
    > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > Clear_Screen CON $0E 'Clear Screen
    > Char_Space CON 32
    > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > Pause 1000
    > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    >
    >
    > --- In basicstamps@yahoogroups.com, "biggy_boy2000" <ghiggs@s...>
    > wrote:
    > > Hi I'm looking for code to use with my BS2, for learing.
    > > I have used code with a 2x20 display (VFD)its a samsung 20F206DA4
    > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > I cant get it too display text, not sure how to run the coding for
    > > this display. I also wanted to know if I have to have certain
    > jumpers
    > > set on the display for it to work?
    > > Any jumper setting and code help would be great!!!
    > >
    > > Thanks
    > > Glen
    >
    >
    > 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 2003-05-02 00:27
    Hi just tried it out set the jumpers on the back to 9600 and no parity. All
    that I am getting on the display is garble and odd cheracters. Could be a
    weak power supply, even though it is aregulated 5 volt supply.

    Glen
    Original Message
    From: "cyminex" <cyminex@t...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, April 30, 2003 6:12 PM
    Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code


    > Glen,
    >
    > The displays are limited to simple serial strings followed by a
    > carriage return. Treat them like a serial display but send the data
    > at 9600 baud TTL or use a MAX 232 chip to convert true serial data
    > out from a stamp or terminal program to TTL to the display. The
    > display uses a three-wire interface for +5 volts, Serial Data and
    > Ground to connector CN2 and there is a solder link configuration
    > required on the display to set the baud rate from 300 to 19200 at
    > JA0. When sending commands to the display like clear screen you need
    > to send ($0E) you can position the cursor top left by using CON 32. I
    > could never find a data sheet on these displays on the Noritake web
    > site but found all the information at http://www.farnell.com/uk.
    > Enter their part number 232464 for the 20 x 1 or 232490 for the 20 x
    > 2 in the search box and download the pdf's
    >
    > Try this bit of code that I used with my 20 x 1 display
    >
    > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > Clear_Screen CON $0E 'Clear Screen
    > Char_Space CON 32
    > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > Pause 1000
    > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    >
    >
    > --- In basicstamps@yahoogroups.com, "biggy_boy2000" <ghiggs@s...>
    > wrote:
    > > Hi I'm looking for code to use with my BS2, for learing.
    > > I have used code with a 2x20 display (VFD)its a samsung 20F206DA4
    > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > I cant get it too display text, not sure how to run the coding for
    > > this display. I also wanted to know if I have to have certain
    > jumpers
    > > set on the display for it to work?
    > > Any jumper setting and code help would be great!!!
    > >
    > > Thanks
    > > Glen
    >
    >
    > 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 2003-05-02 18:24
    Hi Glen,

    Possibly, they are fairly current hungry at 200 - 400ma when running,
    the 5 volt reg I'm using is a 1.5 amp 7805 with the voltage lifted
    slightly to 5.2 volts using a 27 ohm resistor between the + pin and
    ground off the reg. I reckon it's a baud rate problem as that baud I
    gave you ($4054) is real RS232. Since my first message I have found
    the display and the jumpers I have shorted for 9600 and operation are
    JA0 & JA4 with 1, 2 & 3 open. What I will do is try my display
    without the MAX232 inline and see I can get a fix on the baud and
    email it over.

    Cheers, Simon.

    --- In basicstamps@yahoogroups.com, "ghiggs" <ghiggs@s...> wrote:
    > Hi just tried it out set the jumpers on the back to 9600 and no
    parity. All
    > that I am getting on the display is garble and odd cheracters.
    Could be a
    > weak power supply, even though it is aregulated 5 volt supply.
    >
    > Glen
    >
    Original Message
    > From: "cyminex" <cyminex@t...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Wednesday, April 30, 2003 6:12 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code
    >
    >
    > > Glen,
    > >
    > > The displays are limited to simple serial strings followed by a
    > > carriage return. Treat them like a serial display but send the
    data
    > > at 9600 baud TTL or use a MAX 232 chip to convert true serial data
    > > out from a stamp or terminal program to TTL to the display. The
    > > display uses a three-wire interface for +5 volts, Serial Data and
    > > Ground to connector CN2 and there is a solder link configuration
    > > required on the display to set the baud rate from 300 to 19200 at
    > > JA0. When sending commands to the display like clear screen you
    need
    > > to send ($0E) you can position the cursor top left by using CON
    32. I
    > > could never find a data sheet on these displays on the Noritake
    web
    > > site but found all the information at http://www.farnell.com/uk.
    > > Enter their part number 232464 for the 20 x 1 or 232490 for the
    20 x
    > > 2 in the search box and download the pdf's
    > >
    > > Try this bit of code that I used with my 20 x 1 display
    > >
    > > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > > Clear_Screen CON $0E 'Clear Screen
    > > Char_Space CON 32
    > > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > > Pause 1000
    > > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    > >
    > >
    > > --- In basicstamps@yahoogroups.com, "biggy_boy2000" <ghiggs@s...>
    > > wrote:
    > > > Hi I'm looking for code to use with my BS2, for learing.
    > > > I have used code with a 2x20 display (VFD)its a samsung
    20F206DA4
    > > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > > I cant get it too display text, not sure how to run the coding
    for
    > > > this display. I also wanted to know if I have to have certain
    > > jumpers
    > > > set on the display for it to work?
    > > > Any jumper setting and code help would be great!!!
    > > >
    > > > Thanks
    > > > Glen
    > >
    > >
    > > 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 2003-05-02 18:58
    Hi Glen,

    Very odd this but the baud rate is 84? According to the BS manual
    this is for a line driver! ..anyway insert this line N9600 CON 84 and
    you should have ASCII characters displayed. I also know that when the
    display powers up if take about 2.5 seconds to get warm before
    characters can be displayed and if you don't use position cursor (CON
    $0E) the display scrolls from right to left. Good Luck. Simon.


    --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > Hi Glen,
    >
    > Possibly, they are fairly current hungry at 200 - 400ma when
    running,
    > the 5 volt reg I'm using is a 1.5 amp 7805 with the voltage lifted
    > slightly to 5.2 volts using a 27 ohm resistor between the + pin and
    > ground off the reg. I reckon it's a baud rate problem as that baud
    I
    > gave you ($4054) is real RS232. Since my first message I have found
    > the display and the jumpers I have shorted for 9600 and operation
    are
    > JA0 & JA4 with 1, 2 & 3 open. What I will do is try my display
    > without the MAX232 inline and see I can get a fix on the baud and
    > email it over.
    >
    > Cheers, Simon.
    >
    > --- In basicstamps@yahoogroups.com, "ghiggs" <ghiggs@s...> wrote:
    > > Hi just tried it out set the jumpers on the back to 9600 and no
    > parity. All
    > > that I am getting on the display is garble and odd cheracters.
    > Could be a
    > > weak power supply, even though it is aregulated 5 volt supply.
    > >
    > > Glen
    > >
    Original Message
    > > From: "cyminex" <cyminex@t...>
    > > To: <basicstamps@yahoogroups.com>
    > > Sent: Wednesday, April 30, 2003 6:12 PM
    > > Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code
    > >
    > >
    > > > Glen,
    > > >
    > > > The displays are limited to simple serial strings followed by a
    > > > carriage return. Treat them like a serial display but send the
    > data
    > > > at 9600 baud TTL or use a MAX 232 chip to convert true serial
    data
    > > > out from a stamp or terminal program to TTL to the display. The
    > > > display uses a three-wire interface for +5 volts, Serial Data
    and
    > > > Ground to connector CN2 and there is a solder link configuration
    > > > required on the display to set the baud rate from 300 to 19200
    at
    > > > JA0. When sending commands to the display like clear screen you
    > need
    > > > to send ($0E) you can position the cursor top left by using CON
    > 32. I
    > > > could never find a data sheet on these displays on the Noritake
    > web
    > > > site but found all the information at http://www.farnell.com/uk.
    > > > Enter their part number 232464 for the 20 x 1 or 232490 for the
    > 20 x
    > > > 2 in the search box and download the pdf's
    > > >
    > > > Try this bit of code that I used with my 20 x 1 display
    > > >
    > > > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > > > Clear_Screen CON $0E 'Clear Screen
    > > > Char_Space CON 32
    > > > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > > > Pause 1000
    > > > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    > > >
    > > >
    > > > --- In basicstamps@yahoogroups.com, "biggy_boy2000"
    <ghiggs@s...>
    > > > wrote:
    > > > > Hi I'm looking for code to use with my BS2, for learing.
    > > > > I have used code with a 2x20 display (VFD)its a samsung
    > 20F206DA4
    > > > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > > > I cant get it too display text, not sure how to run the
    coding
    > for
    > > > > this display. I also wanted to know if I have to have certain
    > > > jumpers
    > > > > set on the display for it to work?
    > > > > Any jumper setting and code help would be great!!!
    > > > >
    > > > > Thanks
    > > > > Glen
    > > >
    > > >
    > > > 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 2003-05-02 21:54
    That sounds good to me! I'll have to solder the Ja and remove the
    solder that I put on J4, for none parity. Ive already soldered the J1
    jumper. I tried it with and with out thde parity jumper.

    Glen
    --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > Hi Glen,
    >
    > Possibly, they are fairly current hungry at 200 - 400ma when
    running,
    > the 5 volt reg I'm using is a 1.5 amp 7805 with the voltage lifted
    > slightly to 5.2 volts using a 27 ohm resistor between the + pin and
    > ground off the reg. I reckon it's a baud rate problem as that baud
    I
    > gave you ($4054) is real RS232. Since my first message I have found
    > the display and the jumpers I have shorted for 9600 and operation
    are
    > JA0 & JA4 with 1, 2 & 3 open. What I will do is try my display
    > without the MAX232 inline and see I can get a fix on the baud and
    > email it over.
    >
    > Cheers, Simon.
    >
    > --- In basicstamps@yahoogroups.com, "ghiggs" <ghiggs@s...> wrote:
    > > Hi just tried it out set the jumpers on the back to 9600 and no
    > parity. All
    > > that I am getting on the display is garble and odd cheracters.
    > Could be a
    > > weak power supply, even though it is aregulated 5 volt supply.
    > >
    > > Glen
    > >
    Original Message
    > > From: "cyminex" <cyminex@t...>
    > > To: <basicstamps@yahoogroups.com>
    > > Sent: Wednesday, April 30, 2003 6:12 PM
    > > Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code
    > >
    > >
    > > > Glen,
    > > >
    > > > The displays are limited to simple serial strings followed by a
    > > > carriage return. Treat them like a serial display but send the
    > data
    > > > at 9600 baud TTL or use a MAX 232 chip to convert true serial
    data
    > > > out from a stamp or terminal program to TTL to the display. The
    > > > display uses a three-wire interface for +5 volts, Serial Data
    and
    > > > Ground to connector CN2 and there is a solder link configuration
    > > > required on the display to set the baud rate from 300 to 19200
    at
    > > > JA0. When sending commands to the display like clear screen you
    > need
    > > > to send ($0E) you can position the cursor top left by using CON
    > 32. I
    > > > could never find a data sheet on these displays on the Noritake
    > web
    > > > site but found all the information at http://www.farnell.com/uk.
    > > > Enter their part number 232464 for the 20 x 1 or 232490 for the
    > 20 x
    > > > 2 in the search box and download the pdf's
    > > >
    > > > Try this bit of code that I used with my 20 x 1 display
    > > >
    > > > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > > > Clear_Screen CON $0E 'Clear Screen
    > > > Char_Space CON 32
    > > > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > > > Pause 1000
    > > > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    > > >
    > > >
    > > > --- In basicstamps@yahoogroups.com, "biggy_boy2000"
    <ghiggs@s...>
    > > > wrote:
    > > > > Hi I'm looking for code to use with my BS2, for learing.
    > > > > I have used code with a 2x20 display (VFD)its a samsung
    > 20F206DA4
    > > > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > > > I cant get it too display text, not sure how to run the
    coding
    > for
    > > > > this display. I also wanted to know if I have to have certain
    > > > jumpers
    > > > > set on the display for it to work?
    > > > > Any jumper setting and code help would be great!!!
    > > > >
    > > > > Thanks
    > > > > Glen
    > > >
    > > >
    > > > 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 2003-05-03 00:55
    Yes changing the string at the top of the code to N9600 CON 84 worked
    great!!. Ok thats two vfd diplays figued out one more lcd display to
    go.

    Thanks for all of your help Simon

    Glen

    --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > Hi Glen,
    >
    > Very odd this but the baud rate is 84? According to the BS manual
    > this is for a line driver! ..anyway insert this line N9600 CON 84
    and
    > you should have ASCII characters displayed. I also know that when
    the
    > display powers up if take about 2.5 seconds to get warm before
    > characters can be displayed and if you don't use position cursor
    (CON
    > $0E) the display scrolls from right to left. Good Luck. Simon.
    >
    >
    > --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > > Hi Glen,
    > >
    > > Possibly, they are fairly current hungry at 200 - 400ma when
    > running,
    > > the 5 volt reg I'm using is a 1.5 amp 7805 with the voltage
    lifted
    > > slightly to 5.2 volts using a 27 ohm resistor between the + pin
    and
    > > ground off the reg. I reckon it's a baud rate problem as that
    baud
    > I
    > > gave you ($4054) is real RS232. Since my first message I have
    found
    > > the display and the jumpers I have shorted for 9600 and operation
    > are
    > > JA0 & JA4 with 1, 2 & 3 open. What I will do is try my display
    > > without the MAX232 inline and see I can get a fix on the baud and
    > > email it over.
    > >
    > > Cheers, Simon.
    > >
    > > --- In basicstamps@yahoogroups.com, "ghiggs" <ghiggs@s...> wrote:
    > > > Hi just tried it out set the jumpers on the back to 9600 and no
    > > parity. All
    > > > that I am getting on the display is garble and odd cheracters.
    > > Could be a
    > > > weak power supply, even though it is aregulated 5 volt supply.
    > > >
    > > > Glen
    > > >
    Original Message
    > > > From: "cyminex" <cyminex@t...>
    > > > To: <basicstamps@yahoogroups.com>
    > > > Sent: Wednesday, April 30, 2003 6:12 PM
    > > > Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code
    > > >
    > > >
    > > > > Glen,
    > > > >
    > > > > The displays are limited to simple serial strings followed by
    a
    > > > > carriage return. Treat them like a serial display but send
    the
    > > data
    > > > > at 9600 baud TTL or use a MAX 232 chip to convert true serial
    > data
    > > > > out from a stamp or terminal program to TTL to the display.
    The
    > > > > display uses a three-wire interface for +5 volts, Serial Data
    > and
    > > > > Ground to connector CN2 and there is a solder link
    configuration
    > > > > required on the display to set the baud rate from 300 to
    19200
    > at
    > > > > JA0. When sending commands to the display like clear screen
    you
    > > need
    > > > > to send ($0E) you can position the cursor top left by using
    CON
    > > 32. I
    > > > > could never find a data sheet on these displays on the
    Noritake
    > > web
    > > > > site but found all the information at
    http://www.farnell.com/uk.
    > > > > Enter their part number 232464 for the 20 x 1 or 232490 for
    the
    > > 20 x
    > > > > 2 in the search box and download the pdf's
    > > > >
    > > > > Try this bit of code that I used with my 20 x 1 display
    > > > >
    > > > > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > > > > Clear_Screen CON $0E 'Clear Screen
    > > > > Char_Space CON 32
    > > > > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > > > > Pause 1000
    > > > > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    > > > >
    > > > >
    > > > > --- In basicstamps@yahoogroups.com, "biggy_boy2000"
    > <ghiggs@s...>
    > > > > wrote:
    > > > > > Hi I'm looking for code to use with my BS2, for learing.
    > > > > > I have used code with a 2x20 display (VFD)its a samsung
    > > 20F206DA4
    > > > > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > > > > I cant get it too display text, not sure how to run the
    > coding
    > > for
    > > > > > this display. I also wanted to know if I have to have
    certain
    > > > > jumpers
    > > > > > set on the display for it to work?
    > > > > > Any jumper setting and code help would be great!!!
    > > > > >
    > > > > > Thanks
    > > > > > Glen
    > > > >
    > > > >
    > > > > 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 2003-05-05 03:29
    Just when I though it was all figured out.
    Now Im trying to get text on the second line, to get it to scroll
    from right to left and to verticaly scrol. Ive been over the VFd
    instruction sheets several times and tried different code.This thing
    sure works different fron my other VFD. any clues on how to do this
    stuff.

    Glen
    --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > Hi Glen,
    >
    > Possibly, they are fairly current hungry at 200 - 400ma when
    running,
    > the 5 volt reg I'm using is a 1.5 amp 7805 with the voltage lifted
    > slightly to 5.2 volts using a 27 ohm resistor between the + pin and
    > ground off the reg. I reckon it's a baud rate problem as that baud
    I
    > gave you ($4054) is real RS232. Since my first message I have found
    > the display and the jumpers I have shorted for 9600 and operation
    are
    > JA0 & JA4 with 1, 2 & 3 open. What I will do is try my display
    > without the MAX232 inline and see I can get a fix on the baud and
    > email it over.
    >
    > Cheers, Simon.
    >
    > --- In basicstamps@yahoogroups.com, "ghiggs" <ghiggs@s...> wrote:
    > > Hi just tried it out set the jumpers on the back to 9600 and no
    > parity. All
    > > that I am getting on the display is garble and odd cheracters.
    > Could be a
    > > weak power supply, even though it is aregulated 5 volt supply.
    > >
    > > Glen
    > >
    Original Message
    > > From: "cyminex" <cyminex@t...>
    > > To: <basicstamps@yahoogroups.com>
    > > Sent: Wednesday, April 30, 2003 6:12 PM
    > > Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code
    > >
    > >
    > > > Glen,
    > > >
    > > > The displays are limited to simple serial strings followed by a
    > > > carriage return. Treat them like a serial display but send the
    > data
    > > > at 9600 baud TTL or use a MAX 232 chip to convert true serial
    data
    > > > out from a stamp or terminal program to TTL to the display. The
    > > > display uses a three-wire interface for +5 volts, Serial Data
    and
    > > > Ground to connector CN2 and there is a solder link configuration
    > > > required on the display to set the baud rate from 300 to 19200
    at
    > > > JA0. When sending commands to the display like clear screen you
    > need
    > > > to send ($0E) you can position the cursor top left by using CON
    > 32. I
    > > > could never find a data sheet on these displays on the Noritake
    > web
    > > > site but found all the information at http://www.farnell.com/uk.
    > > > Enter their part number 232464 for the 20 x 1 or 232490 for the
    > 20 x
    > > > 2 in the search box and download the pdf's
    > > >
    > > > Try this bit of code that I used with my 20 x 1 display
    > > >
    > > > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > > > Clear_Screen CON $0E 'Clear Screen
    > > > Char_Space CON 32
    > > > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > > > Pause 1000
    > > > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    > > >
    > > >
    > > > --- In basicstamps@yahoogroups.com, "biggy_boy2000"
    <ghiggs@s...>
    > > > wrote:
    > > > > Hi I'm looking for code to use with my BS2, for learing.
    > > > > I have used code with a 2x20 display (VFD)its a samsung
    > 20F206DA4
    > > > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > > > I cant get it too display text, not sure how to run the
    coding
    > for
    > > > > this display. I also wanted to know if I have to have certain
    > > > jumpers
    > > > > set on the display for it to work?
    > > > > Any jumper setting and code help would be great!!!
    > > > >
    > > > > Thanks
    > > > > Glen
    > > >
    > > >
    > > > 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 2003-05-05 10:06
    Hi Glen,

    These things are tricky and you have the advantage here as I don't
    have a 20 x 2 display to play with. I'm guessing but I think its line
    feed Hex 0A followed by a carriage return to move the line down one,
    to scroll the characters its hex 12. Set them as constraints and I
    think you need to send each command to the display one at a time with
    a delay of a few milliseconds between each.

    Good luck Simon.

    --- In basicstamps@yahoogroups.com, "Glen Higgs" <ghiggs@s...> wrote:
    > Just when I though it was all figured out.
    > Now Im trying to get text on the second line, to get it to scroll
    > from right to left and to verticaly scrol. Ive been over the VFd
    > instruction sheets several times and tried different code.This
    thing
    > sure works different fron my other VFD. any clues on how to do this
    > stuff.
    >
    > Glen
    > --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > > Hi Glen,
    > >
    > > Possibly, they are fairly current hungry at 200 - 400ma when
    > running,
    > > the 5 volt reg I'm using is a 1.5 amp 7805 with the voltage
    lifted
    > > slightly to 5.2 volts using a 27 ohm resistor between the + pin
    and
    > > ground off the reg. I reckon it's a baud rate problem as that
    baud
    > I
    > > gave you ($4054) is real RS232. Since my first message I have
    found
    > > the display and the jumpers I have shorted for 9600 and operation
    > are
    > > JA0 & JA4 with 1, 2 & 3 open. What I will do is try my display
    > > without the MAX232 inline and see I can get a fix on the baud and
    > > email it over.
    > >
    > > Cheers, Simon.
    > >
    > > --- In basicstamps@yahoogroups.com, "ghiggs" <ghiggs@s...> wrote:
    > > > Hi just tried it out set the jumpers on the back to 9600 and no
    > > parity. All
    > > > that I am getting on the display is garble and odd cheracters.
    > > Could be a
    > > > weak power supply, even though it is aregulated 5 volt supply.
    > > >
    > > > Glen
    > > >
    Original Message
    > > > From: "cyminex" <cyminex@t...>
    > > > To: <basicstamps@yahoogroups.com>
    > > > Sent: Wednesday, April 30, 2003 6:12 PM
    > > > Subject: [noparse][[/noparse]basicstamps] Re: BS2 VFD CU40026scpb-T20 code
    > > >
    > > >
    > > > > Glen,
    > > > >
    > > > > The displays are limited to simple serial strings followed by
    a
    > > > > carriage return. Treat them like a serial display but send
    the
    > > data
    > > > > at 9600 baud TTL or use a MAX 232 chip to convert true serial
    > data
    > > > > out from a stamp or terminal program to TTL to the display.
    The
    > > > > display uses a three-wire interface for +5 volts, Serial Data
    > and
    > > > > Ground to connector CN2 and there is a solder link
    configuration
    > > > > required on the display to set the baud rate from 300 to
    19200
    > at
    > > > > JA0. When sending commands to the display like clear screen
    you
    > > need
    > > > > to send ($0E) you can position the cursor top left by using
    CON
    > > 32. I
    > > > > could never find a data sheet on these displays on the
    Noritake
    > > web
    > > > > site but found all the information at
    http://www.farnell.com/uk.
    > > > > Enter their part number 232464 for the 20 x 1 or 232490 for
    the
    > > 20 x
    > > > > 2 in the search box and download the pdf's
    > > > >
    > > > > Try this bit of code that I used with my 20 x 1 display
    > > > >
    > > > > N9600 CON $4054 'LCD Baud rate (9600) through MAX232
    > > > > Clear_Screen CON $0E 'Clear Screen
    > > > > Char_Space CON 32
    > > > > Serout 0,N9600,[noparse][[/noparse]Clear_Screen]
    > > > > Pause 1000
    > > > > Serout 0,N9600,[noparse][[/noparse]"Hello",CR]
    > > > >
    > > > >
    > > > > --- In basicstamps@yahoogroups.com, "biggy_boy2000"
    > <ghiggs@s...>
    > > > > wrote:
    > > > > > Hi I'm looking for code to use with my BS2, for learing.
    > > > > > I have used code with a 2x20 display (VFD)its a samsung
    > > 20F206DA4
    > > > > > it works great. I also have a CU40026CPB-T20 its a 2x40 VFD
    > > > > > I cant get it too display text, not sure how to run the
    > coding
    > > for
    > > > > > this display. I also wanted to know if I have to have
    certain
    > > > > jumpers
    > > > > > set on the display for it to work?
    > > > > > Any jumper setting and code help would be great!!!
    > > > > >
    > > > > > Thanks
    > > > > > Glen
    > > > >
    > > > >
    > > > > 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.