Shop OBEX P1 Docs P2 Docs Learn Events
Serial Communication — Parallax Forums

Serial Communication

Brian DalzielBrian Dalziel Posts: 17
edited 2005-12-22 19:49 in BASIC Stamp
Hello,

Should the two TX/RX wires normally be twisted when connecting between Stamps and using the SERIN/SEROUT commands? Thanks.

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2005-12-22 19:28
    No. Twisting a ground wire around TX, and another ground wire around RX, might help with noise isolation though.

    RS-232 (and TTL, for that matter) only drive a single wire. Twisting two wires together helps on 'differential' drivers (like RS423) which has an 'A' and a 'B' signal wire. The twist then helps the wires resist picking up RF noise from the environment. But the TX and RX wires you are using are carrying completely different data. Twisting them together would merely couple noise from one to the other.
  • Brian DalzielBrian Dalziel Posts: 17
    edited 2005-12-22 19:49
    Thanks A lot Allan. I wish I had a dollar for every time you helped me!
Sign In or Register to comment.