Shop OBEX P1 Docs P2 Docs Learn Events
Novice Serial question — Parallax Forums

Novice Serial question

redrockerredrocker Posts: 10
edited 2009-05-14 20:43 in Propeller 1
I am going to attempt to connect the Propeller to a high resolution digital compass. The compass has an RS232 output from a MAX3221E chip from TI. As far as I know a Max232 changes the voltage from 0-5V TTL/cmos to+-12V and inverts the signal. I am confused about inputting an rs232 signal to the propeller.

1. Is it as simple as using another max 232 to convert the rs232 signal from the compass back to TTL?


Any suggestions

Thanks

Comments

  • KyeKye Posts: 2,200
    edited 2009-05-14 20:33
    Yup, that's the point of the chip.

    Make sure the default state of the line is high (the TTL line going to the propeller).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • redrockerredrocker Posts: 10
    edited 2009-05-14 20:43
    Thanks kye,

    Is the reason I want the line high because the signal is inverted twice=not inverted. Can I also do this with software by change the sign of the Baud rate to negative (see simple_serial.spin)?

    Adam
Sign In or Register to comment.