Author Options:

Adding custom peripherals to your computer via the serial port Answered

I built a switch for my serial port based on the lirc IR receiver design


I tested it with the program winLIRC. It is designed for recording IR signals, so all it does is measure the numbers of pulses and spaces. When I tap the switch I can see the according pulses and spaces on the screen, so I know it works.

I'm wondering how I can add this switch as an extra key. Press when I press it a window minimizes, an icon flashes, it inserts the letter 'k', or just something.

Are that programs that I can use to monitor all action on COM1?

DCD = pin 1
RTS = pin 7
GND = pin 5

resistor is 4k7
diode is 1N4148


The forums are retiring in 2021 and are now closed for new topics and comments.