Shop OBEX P1 Docs P2 Docs Learn Events
BS2 Serial communication to computer — Parallax Forums

BS2 Serial communication to computer

trendtrend Posts: 112
edited 2004-09-17 16:58 in BASIC Stamp
I am looking to design a board that will allow· the bs2 to be programmed and communicate (via hyperterm) to a computer.

I believe the BOE board does this..
http://www.parallax.com/dl/docs/prod/boards/BOERevC.pdf

but I thought pin2(ATN) had to be enabled/dissabled for hyperterminal communication (like with a jumper)
Something like:

> BS2 Pin········· Computer Serial Port
> Pin 1 (Sout)
Pin2
> Pin2 (Sin)
Pin3
> Pin3(ATN)---jumper----pin4
> pin4(Vss)
pin5

·Is this how you do it safely?· And also, what would the bs2 program look like?

thanks! Lee

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-09-17 02:41
    You can skip the jumper -- install a couple caps like we do on our BOE boards.· This interface is compatible with our programming software and can be used to communicate with an external terminal program.· You can use SEROUT/SERIN or DEBUG/DEBUGIN depending on your baud requirements.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
    599 x 555 - 16K
  • trendtrend Posts: 112
    edited 2004-09-17 02:59
    WOW! what a turn around time.. was that 5 minutes?!

    Jon·you are great! You are always helping everyone out so much.·

    I thank you for the information.. I honestly searched google for this information.. but You can not always trust who the person is that says something.. but i know coming from you, this will work.

    Lee
  • SunflowerSunflower Posts: 48
    edited 2004-09-17 16:42
    Its been awhile since I've communicated.
    Can I open the DEBUG window weeks or years later and get working Stamp2 data?
    Or should I write a short laptop program to get data from DEBUG output?
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-09-17 16:53
    When you download a program to the BASIC Stamp the editor checks to see if there are any DEBUG or DEBUGIN instructions in your code. If either exist, a DEBUG window is opened automatically. If you connect your project later, you will probably want to open the DEBUG window manually, then reset your BASIC Stamp -- you'd do the same if you were using an external terminal application.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • SunflowerSunflower Posts: 48
    edited 2004-09-17 16:58
    Thanks!
Sign In or Register to comment.