Shop OBEX P1 Docs P2 Docs Learn Events
How to Disable Serial Echo on BS2? — Parallax Forums

How to Disable Serial Echo on BS2?

ScottsBotsScottsBots Posts: 2
edited 2007-09-11 00:18 in BASIC Stamp
Hi,

I have a Mini-SSC with a shared serial connection as my BS2. Because the BS2 echo's all bytes sent these get stored in the receive buffer of my PC, when I then go to receive actual data from my BS2, i.e. read compass, I get a bunch of garbage (queued serial xmits to SSC).

I would really like to disable the serial echo on 16 so that it does not echo what's sent back to my PC.

How can I do this?

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-09-10 20:52
    Hello,

    ·· You cannot disable the echo. There is literally a 4.7K resistor between the SIN and SOUT pins. On your PC Application you need to filter what you send prior to receiving responses. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-09-10 23:22
    And if you removed the 4.7 KOhm resistor you wouldn't be able to program it, nor recieve data from it, as the 'RX' line back to the PC uses the 'TX' line's voltage.

    You COULD add an inexpensive MAX232 circuit and use two other pins on the BS2 -- that would defeat the 'echo' problem.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-09-11 00:18
    If this is a critical need, you might consider the MoBoStamp-pe instead of a BS2. It has a port pin that can gate the echo on and off.

    -Phil
Sign In or Register to comment.