P.S. Sorry for my English. I am from Croatia.
Tools needed:
-Soldering iron and some solder
-Wire clippers or any other cutting tool
-Screwdriver
Parts needed:
-Arduino system
-Foot switch (I found mine in my workshop)
-Wire
-10k pull-down resistor or you can use one integrated in arduino
-Header connector
Computer with Linux (I am using Debian stable (Sid) with XFCE), python with installed serial and OS module and, of course, the Arduino program.
Remove these ads by
Signing UpStep 1The pedal switch
First you need to open it and find contacts for the switch.
If you have NC(normally closed), NO(normally opened) and COM(common). Use the NO and COM.
Strip the isolation form the wires off.
Now connect the wires to the NO and COM connectors and close up the casing.
| « Previous Step | Download PDFView All Steps | Next Step » |

















































simply send a ascii in a loop from pin 2 to pin 3 of the RS232, the footswitch breaks or contact this 2 wires. now you can read out pin 3: are there asciis incoming or not? the result can be used to start or do something - there is no need for more hardware or arduino in my case...the reactiontime of the footswitch was near realtime in my case, a few ms only...