Shop OBEX P1 Docs P2 Docs Learn Events
VFD Display Baud Rate Settings — Parallax Forums

VFD Display Baud Rate Settings

Alan BradfordAlan Bradford Posts: 172
edited 2008-12-03 19:43 in BASIC Stamp
I am trying to use a GU112x16G-7003 VFD from Parallax.
I ran the demo programs on a Stamp2 no problem.
Now I am trying to run another display (Same type) on a BS2px and the screen is all junk like a bad baud rate setting.
There is no documentation on changing the baud on the display (J0-J3)
The demo program is using 38.4k baud (Baud = 6)
Do I need to change anything for the px?

Thanks,
Alan Bradford
Plasma Technologies

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-12-03 17:00
    Is the BAUDMODE for a BS2px the same as that for a BS2?
  • Alan BradfordAlan Bradford Posts: 172
    edited 2008-12-03 17:06
    I dont know...I am sitting in a hotel room 1000 miles away from my shop with a slow internet connection.
    I did not bring my stamp manual and I have 49 min left on the manual download.
    Im a sorry site for sure...
    I hate last minute R&D projects...

    Thanks,
    Alan Bradford
    Plasma Technologies
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-03 17:08
    The baud value for the BS2px for 38.4K is 84. I hope this helps. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • Alan BradfordAlan Bradford Posts: 172
    edited 2008-12-03 18:10
    Thanks,
    That Works real good.

    Alan Bradford
    Plasma Technologies
  • flying_flipflying_flip Posts: 36
    edited 2008-12-03 18:17
    Here is what I use in all my programs.
    #SELECT $STAMP
      #CASE BS2, BS2E, BS2PE
        T1200 CON 813
        T2400 CON 396
        T9600 CON 84
        T19K2 CON 32
        T38K4 CON 6
      #CASE BS2SX, BS2P
        T1200 CON 2063
        T2400 CON 1021
        T9600 CON 240
        T19K2 CON 110
        T38K4 CON 45
      #CASE BS2PX
        T1200 CON 3313
        T2400 CON 1646
        T9600 CON 396
        T19K2 CON 188
        T38K4 CON 84
    #ENDSELECT
    
    

    Phil
  • Alan BradfordAlan Bradford Posts: 172
    edited 2008-12-03 18:47
    Where do you find all this stuff.
    I have been looking in the Stamp Manual and missed it.

    Also in the Demo Programs it shows lines of code to run the VFD, like ( SEROUT VFD, Baud, [noparse][[/noparse]$1F, $28, $77, $10, $01] ).
    I dont see anywhere it explains all the elements of the code.
    Thanks for the help.

    Alan Bradford
    Plasma technologies
  • flying_flipflying_flip Posts: 36
    edited 2008-12-03 19:15
    I have been digging into any and all code examples, nuts and volts columns, etc, to find "gems" to use or learn from.
    I had issues with my LCD when I switched to a BS2PX from the BS2, and found this gem.

    As to the Serout command.
    In the basic manual...

    SEROUT {Pin}, {Baud}, [noparse][[/noparse]{commands}]

    {Pin} => VFD would be the defined pin that your sending the signal on
    {Baud} => from your select and a CONstant defined in your program.
    The commands are different based on the LCD,VFD your using, but would/could be defined in your program after reading the VFD manual.

    Hope this helps.

    Phil
  • Alan BradfordAlan Bradford Posts: 172
    edited 2008-12-03 19:43
    Thanks Phil,

    I just got back from a meeting at the customer site, and the manual finished downloading.
    I saw the Serial information.
    The Noritake web site leaves lots to be desired.
    I requested the full data sheet and they will send it in 24-48 hours.
    I do have enough information to get this part of the rush job done.

    Once again thanks for the help evereyone.

    Alan Bradford
    Plasma Technologies
Sign In or Register to comment.