Shop OBEX P1 Docs P2 Docs Learn Events
RS232 -> PC oddity — Parallax Forums

RS232 -> PC oddity

ArchiverArchiver Posts: 46,084
edited 2001-05-11 07:54 in General Discussion
Hi all
I am using two stamp pins (BS2SX) for RS232 communication to a PC.
Data transmitted from the BS2 to the PC is flawless - Always.
Data transmitted to the BS2 from the PC is a bit hit and miss.
The BS2 might receive the first 5 bytes, sometimes 20 and then miss
a byte. It has no pattern that I can see and is driving me crazy.

My question is this :

Has anyone else encountered this ?
Could it be due to the BS2 not using true RS232 voltages ?
Should I be using a MAX233 anyway ?


Helllllllllp!!!

Regards

Steve Percy

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-05-10 17:54
    Hi Steve,
    I do this all the time, using a Max232, and haven't
    had this problem.
    Hope that helps
    Russ



    Original Message
    From: <percy@i...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, May 10, 2001 10:25 AM
    Subject: [noparse][[/noparse]basicstamps] RS232 -> PC oddity


    | Hi all
    | I am using two stamp pins (BS2SX) for RS232 communication to a PC.
    | Data transmitted from the BS2 to the PC is flawless - Always.
    | Data transmitted to the BS2 from the PC is a bit hit and miss.
    | The BS2 might receive the first 5 bytes, sometimes 20 and then miss
    | a byte. It has no pattern that I can see and is driving me crazy.
    |
    | My question is this :
    |
    | Has anyone else encountered this ?
    | Could it be due to the BS2 not using true RS232 voltages ?
    | Should I be using a MAX233 anyway ?
    |
    |
    | Helllllllllp!!!
    |
    | Regards
    |
    | Steve Percy
    |
    |
    |
    |
    | Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    |
    |
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-11 00:10
    Try slowing down the baud rate, the bs2 does not like reeiving data at 9600,
    try 4800 and see what happens.
    (Presuming you are using 9600)
    Regards,
    Chris

    Original Message
    From: <percy@i...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, May 10, 2001 10:25 PM
    Subject: [noparse][[/noparse]basicstamps] RS232 -> PC oddity


    > Hi all
    > I am using two stamp pins (BS2SX) for RS232 communication to a PC.
    > Data transmitted from the BS2 to the PC is flawless - Always.
    > Data transmitted to the BS2 from the PC is a bit hit and miss.
    > The BS2 might receive the first 5 bytes, sometimes 20 and then miss
    > a byte. It has no pattern that I can see and is driving me crazy.
    >
    > My question is this :
    >
    > Has anyone else encountered this ?
    > Could it be due to the BS2 not using true RS232 voltages ?
    > Should I be using a MAX233 anyway ?
    >
    >
    > Helllllllllp!!!
    >
    > Regards
    >
    > Steve Percy
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-11 07:54
    Steve
    Your BS2sx can probably not follow the speed of your PC, especially
    if you use SERIN formatters.
    Try lowering your bad rate.
    ECO
    Original Message
    From: <percy@i...>
    To: <basicstamps@yahoogroups.com>
    Sent: jeudi 10 mai 2001 16:25
    Subject: [noparse][[/noparse]basicstamps] RS232 -> PC oddity


    > Hi all
    > I am using two stamp pins (BS2SX) for RS232 communication to a PC.
    > Data transmitted from the BS2 to the PC is flawless - Always.
    > Data transmitted to the BS2 from the PC is a bit hit and miss.
    > The BS2 might receive the first 5 bytes, sometimes 20 and then miss
    > a byte. It has no pattern that I can see and is driving me crazy.
    >
    > My question is this :
    >
    > Has anyone else encountered this ?
    > Could it be due to the BS2 not using true RS232 voltages ?
    > Should I be using a MAX233 anyway ?
    >
    >
    > Helllllllllp!!!
    >
    > Regards
    >
    > Steve Percy
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
Sign In or Register to comment.