Shop OBEX P1 Docs P2 Docs Learn Events
TTL to RS232? — Parallax Forums

TTL to RS232?

JhhanJhhan Posts: 3
edited 2008-01-08 16:18 in General Discussion
·Hi, I'm trying to connect an ultrasonic sensor (SRF02) into the Javelin using a serial port

·However, I'm kind of stuck on how to perform a TTL to RS232 conversion.

·Can anybody help me how to do this?

·Or·are there any websites or other resources that can help?

·Thanks

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-01-08 02:29
    A max232 would do the job but just what are you trying and how do you envision it working?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-01-08 15:22
    Hello,

    This thread is being moved from the Stamps in Class Forum to the Javelin Forum. The SRF02 has both I2C and Serial interfaces…bear in mind that any I/O pin on the Javelin can be a serial I/O line and would be TTL. There’s no need to try an connect to the programming port. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-01-08 16:18
    See also this thread:
    http://forums.parallax.com/showthread.php?p=696420
    Edit: You must NOT use a level shifter like max232.
    The srf02·connects directly to the javelin I/O pins.

    regards peter

    Post Edited (Peter Verkaik) : 1/8/2008 4:23:03 PM GMT
Sign In or Register to comment.