Shop OBEX P1 Docs P2 Docs Learn Events
Programing a BS2 using a zire71 Via serial port — Parallax Forums

Programing a BS2 using a zire71 Via serial port

BipedalBipedal Posts: 5
edited 2007-02-15 17:23 in Robotics
Hello,



I would like to start of this post with a thank you in advance.

I own a zire 71 and would like to program my Bots anywhere. I own a USB sync cable and a SERIAL sync cable and would like to know if it is possible to create pbasic code on my zire and then compile the data to my BS2?

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2007-02-11 15:39
    Bipedal -

    If your "Zire" is Windows or Linux compatible, the answer is probably yes. If not, the answer is probably no.

    What is a "Zire".

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • FranklinFranklin Posts: 4,747
    edited 2007-02-11 18:18
    You could use it to send commands to the stamp but not program it. (You could have a program on the stamp that would accept starting and ending coordinates and then navigate between them.)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • John R.John R. Posts: 1,376
    edited 2007-02-11 18:57
    Bruce;

    a Zire 71 is a Palm OS PDA.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John R.
    Click here to see my Nomad Build Log
  • LarryLarry Posts: 212
    edited 2007-02-11 19:17
    Six months ago I would have given the same answer as Franklin, but now there's new hope, if you don't mind using one of the old DOS IDE's

    There's a new DOS emulator for any Palm later than OS5, which you can find HERE: sourceforge.net/projects/palmdosbox

    It's new and buggy, but it might-- just --MIGHT run Stamp2.exe available HERE: www.warburtech.com/basic.stamps/basic.stamp.bs2-ic/
    (It might still be available on the Parallax website, but I haven't found it)

    It won't allow you to use the new 2.5 command set, but it's a start.

    It's actually been on my list of to-do items to see if it would work, but that list is longer than my arm and growing.

    So-- give it a shot and tell us how it goes.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • BipedalBipedal Posts: 5
    edited 2007-02-11 21:17
    Thanks to all of you.


    I have downloaded the dos box and it is incompatible with my pda, I get a error on my pda saying..."hold on i need to get my pda" Cant Load Module. I will try to contact the developer of dos box and see if i can get some assistance. Ill come back with a response once I obtain one.
  • GadgetmanGadgetman Posts: 2,436
    edited 2007-02-11 21:56
    Track down an old HP 95Lx, 100LX or 200LX

    These are DOS-based and with a keyboard and serial ports.
    (I used one myself, to program my BS2p24)
    You may have the software hang now and then after uploading to a BS2, particularly if you use the DEBUG screen, but that clears up after a minuter or five(Just enough time to make a nice cup of tea, in my experience) as the serial port interface may not be completely compatible...

    Just one warning, these machines, particularly those with the most RAM tends to be pricey on eBay as they are still popular with sailors, who use them to decode 'weatherfaxes'.

    A friend has a picture of one, and a description of how he used it on his pages, unfortunately, his boat was hit by a large cargo-ship in the atlantic and he lost his HP, his Psion and just about everything else.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't visit my new website...
  • Tom WalkerTom Walker Posts: 509
    edited 2007-02-12 19:24
    ...also, keep in mind that programming a BS2 is more than just a metter of the software. Very specific sequences (specific both in "when" as well as "what") of hardware activity (signal lines) must occur to program a Stamp...no matter which version of the software you use.

    Research into what is needed for programming and what the Zire can provide is probably in order.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Truly Understand the Fundamentals and the Path will be so much easier...
  • BipedalBipedal Posts: 5
    edited 2007-02-15 16:49
    I have been doing some research and Ybasic for palm could enable me to program the BS2, I have already created a custom Zire71 to Serial Cable, I just need some spare time to fiddle with the whole project. I'll keep you guys updated with my progress!
  • BipedalBipedal Posts: 5
    edited 2007-02-15 16:55
    I just thought of a intresting idea... Does anyone have any clue as to what programing language the BS2 compiler uses.
    If I could obtain that info, I could recreate a program that works almost like the original version.
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2007-02-15 17:23
    Bipedal -

    There is no complier for PBASIC per se, as it's an interpreted language. There is an Editor/IDE and the proprietary firmware, that's it in a nutshell.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
Sign In or Register to comment.