Is it possible to monitor a serial port for a simple push button switch that would cross two pins of a rs232 port? I am looking for a way to trigger an event in a patch with a simple push button switch, using an Arduino board seems over kill.
Here is an example I found on the net using a Python Serial Port Extension
Good suggestion but I was hoping to run the switch some distance from the computer over a XLR cable. The higher voltage would let me place the switch at some distance and the XLR connectivity allow for easy rigging and derigging.
Messing around in Realterm, a serial terminal program, I can see handshaking going on.
CTS, Clear to send, when pins 4 and 7 or 7 and 8 are crossed.
DCD, Data Carrier Detected, when pins 1 and 4 are crossed.
DRS, Data Set Ready, when pins 4 and 6 are crossed.