Capacitive touch sensor SPDT toggle using CD4027 Flip-Flop
Ron Czapala
Posts: 2,418
I took a cheap capacitive touch sensor from eBay and a CD4027 Dual J-K Master/Slave Flip-Flop ($.39 at Jameco) to simulate a SPDT toogle switch.
Of course, the input could be a physical momentary contact switch, microcontroller or TTL compatible device to drive the clock/input pins.
The circuit is basically this one http://www.electronicshub.org/jk-flip-flop-using-cd4027/ except I am using the output pins 1 (Q2) and 2 (NOT_Q2) to control the red and green LEDs.
NOTE: the outputs can source OR sink - the logic level reverses. Transistors or Mosfets can be used to drive loads like relays, etc
eBay http://www.ebay.com/itm/Touch-Sensor-Capacitive-Touch-Switch-Module-DIY-for-Arduino-Digital-TTP223B-/261758997611
Here is a little PCB with the same circuit
Of course, the input could be a physical momentary contact switch, microcontroller or TTL compatible device to drive the clock/input pins.
The circuit is basically this one http://www.electronicshub.org/jk-flip-flop-using-cd4027/ except I am using the output pins 1 (Q2) and 2 (NOT_Q2) to control the red and green LEDs.
NOTE: the outputs can source OR sink - the logic level reverses. Transistors or Mosfets can be used to drive loads like relays, etc
eBay http://www.ebay.com/itm/Touch-Sensor-Capacitive-Touch-Switch-Module-DIY-for-Arduino-Digital-TTP223B-/261758997611
Here is a little PCB with the same circuit
Comments
In particular, I love your "Archer" brand breadboard. Can you tell me what local store I can go to, in order to buy one?
No - but I know you are an eBay sorta guy anyway - here you go--- http://www.ebay.com/itm/ARCHER-276-169A-UNIVERSAL-BREADBOARD-/161553827435?pt=LH_DefaultDomain_0&hash=item259d5bc66b