Hands Free Switch Based on a Guitar Pedal

I based my switch on a guitar pedal. In order to close the circuit, you step on it, as with a guitar pedal. The inside of my switch has two pieces of aluminum foil separated by a thin piece of cardboard. When you step on the pedal, the two pieces of aluminum touch. Two wires from the circuit are connected to these foil pieces, and this completes the circuit. I also installed a push button.