Shop OBEX P1 Docs P2 Docs Learn Events
Capacitive touch sensor SPDT toggle using CD4027 Flip-Flop — Parallax Forums

Capacitive touch sensor SPDT toggle using CD4027 Flip-Flop

Ron CzapalaRon Czapala Posts: 2,418
edited 2015-05-12 18:28 in General Discussion
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

attachment.php?attachmentid=114154
800 x 600 - 64K

Comments

Sign In or Register to comment.