Shop OBEX P1 Docs P2 Docs Learn Events
SX and serial communications — Parallax Forums

SX and serial communications

aa200orionaa200orion Posts: 10
edited 2009-09-22 18:48 in General Discussion
I am using an SX on an SX Tech board and trying to transmit serial data out through pin RB.1·to a USB-Serial adapter board, Parallax # 28030 to a computer.· I'm using a program to dump any data that comes across.· All that is printed out on the comuter is·random data that has nothing to do with what I'm sending.· The command line is:· SEROUT·RB.1, T9600, $41.· I have tried various baud rates·with TRUE and INVERTED commands and nothing seems to work.· The dump program is one that I use all the time and I know it works.

Is there any circuitry that needs to be between pin RB.1 and the USB adapter board to prevent loading of the signal to the point where the USB adapter will not work properly?· I have looked in the NUTS & VOLTS columns and did not find that was of help, unless I missed it.


Any help will be greatly appreciated,

Jimmy

Comments

  • JonnyMacJonnyMac Posts: 9,213
    edited 2009-09-22 17:08
    That adapter is expecting RS-232 on the DB-9 side so you need to use N9600. For transmitting to the PC you would connect RB.1 to pin 2 of the DB-9, and ground on your SX board to pin 5 of the DB-9.

    When going between the SX and a USB port it's cleaner to use the USB2SER as it expects TTL levels on the serial side.
  • aa200orionaa200orion Posts: 10
    edited 2009-09-22 18:48
    Thanks, I'll give it a try.
Sign In or Register to comment.