Shop OBEX P1 Docs P2 Docs Learn Events
seriout to computer — Parallax Forums

seriout to computer

filip911filip911 Posts: 17
edited 2010-02-11 15:59 in BASIC Stamp
hi i connect my bs2 to computer and serin works well, but now i want to have duplex communication. how to get serout works. i read somewhere that connecting wire is not enought and i need max232. is it true and how to make that serout works

thx

Filip

Comments

  • dandreaedandreae Posts: 1,375
    edited 2010-02-10 14:27
    You can use the programming cable to communicate back the to the PC using SEROUT/SERIN by using pin 16 in the command line.· Pin 16 represents physical pins 1 and 2 on the stamp which are the TX and RX lines.

    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support·
  • upand_at_themupand_at_them Posts: 61
    edited 2010-02-10 17:10
    Filip, what you are seeing is that the computer can't understand the voltage levels that the stamp is sending. Some computers can, most can't. The solution is to use the standard levels, which is what the MAX232 produces...it converts chip voltages to RS232 communication voltages.

    I would recommend always using a MAX232 to convert both TX and RX lines. They are very easy to use. Some require only a few capacitors and some even have them built in.

    Verify my connections, but it should be like this:
    PC TXD line --> MAX232 R1in -- R1out --> Stamp
    PC RXD line <-- MAX232 T1out -- T1in <-- Stamp

    Mike
  • filip911filip911 Posts: 17
    edited 2010-02-10 20:03
    thx to both
  • filip911filip911 Posts: 17
    edited 2010-02-11 15:43
    is there and Nuts & Volts column for this??
  • filip911filip911 Posts: 17
    edited 2010-02-11 15:59
    i found. if someone need. there is link

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv89.pdf
Sign In or Register to comment.