Simple serial push button switch.
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
Hack an old keyboard
simple and not need of extra software / just max and key events
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.
I am not sure how or if max acknowledges these. This forum string from 2006 doesn't look promising
https://cycling74.com/forums/serial-flow-control-rtscts-handshaking/