Hi there,
Simple on/off touch switches are not hard to construct yourself. There are many
ways to go about this, but the key is to use a high input impedance device such
as a MOSFET or a CMOS ic gate.
If you provide three copper pads on a circuit board the operator then puts their
finger across two of the contacts. Normally this wouldnt short the contacts
very well, but for high input Z devices this will look like a short.
Connecting the center pad to the input of the device (cmos gate) and one outer
pad to +5v and the other pad to ground, when the user shorts input to +5 the gate
input sees a logical "high" on it's input. When the user shorts input to ground, the
gate input sees a logical "low" on it's input.
Sometimes a cmos latch ic will help to hold the state to keep the light (or whatever)
on or off, depending on the last shorted contacts.
Using a MOSFET transistor, once the gate is shorted one way or the other it
may very well stay in that state for a long period of time meaning you can get
away without any additional latching circuitry.
As a side note, one light i've contructed (several years ago) had a touch switch
on it. As you press harder the resistance decreases across the contacts, so you
can use this feature to dim the light. On mine, the harder you pressed the more
brighter the light would get up to maximum brightness.
The contacts are the same: simply two pads of copper clad on a pc board.
The finger shorts the contacts and that reduces the resistance across them.
When the finger is removed the resistance goes back up to several hundred megohms
or more.
In some cases you'll also need a low leakage cap across the contacts to keep
noise from triggering the circuit. I've also used a 20 megohm resistor as pull up.
Take care,
Al