Shop OBEX P1 Docs P2 Docs Learn Events
Bob-ii — Parallax Forums

Bob-ii

ArchiverArchiver Posts: 46,084
edited 2000-12-24 22:40 in General Discussion
Hello, I have a BSII and a BOB-II from Decade Engineering, I really
haven't done anything with my stamp other than play with leds so far.
Anyway I was trying to get the BOBII to display and can't get
anything at all I do get a blue screen so I am thinking that it is
wired ok. In my decade book that came with the BOB it says that the
stamp can be wired directly with one wire if the stamp is programmed
for inverted data output, well I think thats maybe where my prob is.
If someone that has messed with these could just send me a simple
line that I could send to my stamp that should display if wired
correctly that I can look at to see what I am doing wrong or missing,
I would really be greatful.


Heath
cnfusion@m...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-12-24 04:56
    Heath:

    The BOB II can be connected directly to a BSII I/O pin, no inversion is
    necessary (see BOBII manual, page 1 "Data Path"). The inverter is required
    for connection to a PC port or other "conventional" RS232 serial device.
    If you see the blue screen, you're getting video out of the BOB II OK. Your
    problem is probably programming and/or baud rate. The default baud rate for
    the BOB II is 9600bps.
    Here's a simple example of code from one of my applications:

    VIDX CON 84 ' Set serial mode to: non-inverted, 9600bps, 8 data, no
    parity.
    X=1 ' Set value of X to 1.
    SEROUT 1,VIDX,[noparse][[/noparse]"{A"] ' Initialize and clear the video display, BSII I/O
    pin 1 is used.
    SEROUT 1,VIDX,[noparse][[/noparse]"{C0000","OUT: ","{C0500",DEC X," "] 'Display "OUT" label
    and value of "X" in specified screen locations.
    END

    Good luck.

    Craig Latta

    > Hello, I have a BSII and a BOB-II from Decade Engineering, I really
    > haven't done anything with my stamp other than play with leds so far.
    > Anyway I was trying to get the BOBII to display and can't get
    > anything at all I do get a blue screen so I am thinking that it is
    > wired ok. In my decade book that came with the BOB it says that the
    > stamp can be wired directly with one wire if the stamp is programmed
    > for inverted data output, well I think thats maybe where my prob is.
    > If someone that has messed with these could just send me a simple
    > line that I could send to my stamp that should display if wired
    > correctly that I can look at to see what I am doing wrong or missing,
    > I would really be greatful.
    >
    >
    > Heath
    > cnfusion@m...
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-12-24 22:26
    > Hello, I have a BSII and a BOB-II from Decade Engineering, I really
    > haven't done anything with my stamp other than play with leds so far.
    > Anyway I was trying to get the BOBII to display and can't get anything at
    > all I do get a blue screen so I am thinking that it is wired ok. In my
    > decade book that came with the BOB it says that the stamp can be wired
    > directly with one wire if the stamp is programmed for inverted data
    > output, well I think thats maybe where my prob is. If someone that has
    > messed with these could just send me a simple line that I could send to my
    > stamp that should display if wired correctly that I can look at to see
    > what I am doing wrong or missing, I would really be greatful.

    We have a sample application on our downloads page for the BS2
    and the BOB-II:

    http://www.hvwtech.com/downloads.htm

    You can cut and paste patrs of that to get your setup working. It's
    probably something small; the BOB-II is really easy to use.

    Happy Holidays,


    Mark Hillier, VE6HVW
    President, HVW Technologies Inc.
    Canadian Distributors of Parallax Products and other Neat Stuff
    Tel: +403-730-8603 Fax: +403-730-8903
    NEWLY RENOVATED web site: http://www.hvwtech.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-12-24 22:40
    Heath,
    Try this simple program to display from BS2 to BOB2. Let me know if you
    have any problems.

    Charlie
    Burley, Idaho
    cstack@s...



    '=== Variables and Constants ===
    Baud CON 84 'Set to 9600 8N1 (non-inverted)
    Video CON 0 'Talk to BOB-II on pin P0
    '===============================
    INIT:
    SEROUT Video,Baud,[noparse][[/noparse]"{A"] 'Clear Screen
    Pause 10
    SEROUT Video,Baud,10, [noparse][[/noparse]"HELLO WORLD",cr]
    Pause 10
    SEROUT Video, Baud, 10, [noparse][[/noparse]"MERRY CHRISTMAS",cr]
    SEROUT Video,Baud ,10, [noparse][[/noparse]"HAPPY NEW YEAR",cr]
    PAUSE 10
    End
Sign In or Register to comment.