Shop OBEX P1 Docs P2 Docs Learn Events
Wiring a Serial PC Connection problem — Parallax Forums

Wiring a Serial PC Connection problem

ChengmaniaChengmania Posts: 7
edited 2007-09-11 08:47 in BASIC Stamp
Hello everyone,

I have placed my BS2 Module on a Breadboard and I have soldered together a 9 Position Female D-Sub Connector according to the wiring diagram in the Stamp Manual. I plugged everything in the appropriate position on the BS2, powered everything up, and the Editor won't Identify the BS2.

The diagram I'm using is on page 28 of Basic Stamp Syntax and Ref Man v2.2

IS there anything I can check?

Any help would be awesome. Thanks

~Greg

Comments

  • LittleTykeLittleTyke Posts: 34
    edited 2007-09-03 15:01
    Reading from Jan Axelson's book "Serial Port Complete", page 103, subheading "The Basic Stamp", I note the following: "The carrier board connects DSR and RTS. This connection enables the host software to detect which port connects to the Stamp."

    If you go to www.amazon.com and search for this book, the Search Inside feature enabled, so you may be able to glean more information for free. But it's a worthwhile book to purchase if you're going to be doing serial comms!
  • ChengmaniaChengmania Posts: 7
    edited 2007-09-03 17:51
    Thank you for the replay. After reading it I was able to rewire my Connector and got results. It almost seems as if Basic Stamp Manual has it half backwards.

    Thanks again.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-09-03 18:51
    The Stamp itself doesn't use DTR and RTS, but the Stamp Editor uses these to make sure there's something connected to the other end of the serial port. The Stamp does echo everything received on its receive line back to the transmit line to the PC and the Stamp Editor uses this to indicate "loopback". The DTR line from the PC is used to reset the Stamp for downloading
  • ScottsBotsScottsBots Posts: 2
    edited 2007-09-10 18:57
    Is there a way to disable the echo to the xmit line? I am sharing a port with a mini-ssc and get a bunch of garbage queued up when i try to read from my BS2.
  • ChengmaniaChengmania Posts: 7
    edited 2007-09-10 20:22
    I wouldn't know.
    You should post a new topic.
    Sorry.
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2007-09-11 08:47
    Scott -
    The direct answer to your question is - no, it can not be disabled, but please note the following.

    That echo effect is only seen when one uses Pin Port 16, so if you use some other Pin Port, the problem will disappear. If necessary, use a MAX-232 (or equivalent) to restore the higher voltage levels used in RS-232 communications, on that "other" Pin Port.

    Regards,

    Bruce Bates

    Post Edited (Bruce Bates) : 9/11/2007 8:52:01 AM GMT
Sign In or Register to comment.