Shop OBEX P1 Docs P2 Docs Learn Events
standard RS 232 input — Parallax Forums

standard RS 232 input

SiriSiri Posts: 220
edited 2008-02-15 17:16 in Propeller 1
I am connecting a standard RS232 input to the propeller.
While reseaching this in the forum there were many discussions as to connecting direcrly to a propeller pin via 10K resistor.
The I found the attached schematic " Sewrial to Propeller" by parallax for programming via RS232.

Can I use this schematic just for the same purpose of receiving serial data from device with standard RS 232 ou-put.

?may be the "serial to propeller" unit will protect the propeller better.

I will appriciate any advise.

Thanks \,

Siri

Comments

  • LeonLeon Posts: 7,620
    edited 2008-02-14 17:25
    I've done that with other chips without any problems.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • hippyhippy Posts: 1,981
    edited 2008-02-14 18:24
    I'm doing it with a Propeller. Using a 560K current limiting resistor and a 10K pull-down on the PC side of that. The 560K should probably be lower for higher baud rates but works fine for me at 9600. I take the output pin via 330R just to give it some protection.
  • deSilvadeSilva Posts: 2,967
    edited 2008-02-14 19:20
    The transistor solution does not give "protection", but inverts the signals (which can as well be done by software, but the bootstrap routines don't do that, as they are written to work with the USB plug).

    The vague try to provide a minus voltage has never been reported to make any difference...
  • SiriSiri Posts: 220
    edited 2008-02-15 00:50
    Thanks for all the help.

    Iwill now start building the project.

    Siri
  • JoergJoerg Posts: 91
    edited 2008-02-15 17:16
    Hi
    My experience with series resistors and simple transistor solutions are rater disappointing.
    The other point is that i do not like using devices out of there specifications.

    Let me explain:
    A logical HI on a RS232 interface is represented by a voltage between -3V to -18V and
    a logical LO is represented by +3 to +18V! The range between -3V and +3V is a forbidden zone!!!
    You normally do not have any problems with that, but i had during my professional work plenty of trouble to solve
    problems on RS232 devices caused by being out of specs.

    So my suggestion is: use a interface with a converter chip like MAX3232

    Saluti Joerg
Sign In or Register to comment.