Forums > MaxMSP

Simple serial push button switch.

Feb 19 2014 | 12:44 pm

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

Feb 19 2014 | 1:26 pm

Hack an old keyboard
simple and not need of extra software / just max and key events

Feb 19 2014 | 2:30 pm

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

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP