RS232 COMS for peripherals
navegante1975
Posts: 2
Hello, I'm new to Parallax (BS2, SX Tect...) so if anyone can help me please.....
My project involves controlling 3 devices by sending RS232 commands, pretty simple overall, the peripherals Video switches)·just sit there and wait for the commands
So my question is, how can I acomplish this with a BS2, I know there is a serial port, but is it at RS232 levels? and how would you recommend adding the other 2-3 com ports
I guess I need to add a MAX232 circuit.. right? and can I use any PINS on the BS?
Any pointers to help me get started would be appreciated
Sincerely
Max
My project involves controlling 3 devices by sending RS232 commands, pretty simple overall, the peripherals Video switches)·just sit there and wait for the commands
So my question is, how can I acomplish this with a BS2, I know there is a serial port, but is it at RS232 levels? and how would you recommend adding the other 2-3 com ports
I guess I need to add a MAX232 circuit.. right? and can I use any PINS on the BS?
Any pointers to help me get started would be appreciated
Sincerely
Max
Comments
Any other I/O pins can be used for serial I/O and sometimes you can use them directly with an RS232 device without a MAX232. Inputs require a current limiting resistor, usually 22K. This is described in the Stamp Manual in the chapters on the SEROUT and SERIN statements. The voltage levels are not standard RS232, but work with most modern RS232 devices. If not, you can always use a MAX232.
So if these are the only limitations its not so bad, on the echo from the Stamp, I assume that if the device does not get the commnad its waiting for it will just dump it, and given that its a basic 3 wire Comm, the DTR will not be toggled, if that sounds correct. But does the port provide -15 - +15 RS232 driving voltages and is this the same with the other I/O pins?
Thanks again