Double clap-on switch

Thread Starter

Jim Tau

Joined Aug 18, 2017
6
Good day all!
I'm designing a double clap on switch circuit that will turn on an led when you double clap and off when you clap once.

I'm designing it to use LM358 as a high and low pass filters followed by LM358 as precision rectification, peak detection, LM 358 as Schmitt trigger, LM358 as a buffer to Schmitt trigger Reference voltage, two cascaded 74LS112 negative edge triggered jk flip flops, a BC547 transistor and an led as an output.
When I tested my design on bread board, led goes on with a single clap.
I have run out of ideas on how I will achieve this in my design.
I will attache a picture of my design.

Please help!
Thanks
 

Attachments

ericgibbs

Joined Jan 29, 2010
8,586
hi,
Ideally you should add a power On Reset pulse to the two Bi-stables, to initialise them, ready for a clock clap.
E

EDIT:

Added a simple Rst,
The circuit as drawn will switch ON LED2 with just one Clap.
Recheck the Bi-stable logic.
E
 

Attachments

Last edited:

Thread Starter

Jim Tau

Joined Aug 18, 2017
6
hi,
Ideally you should add a power On Reset pulse to the two Bi-stables, to initialise them, ready for a clock clap.
E

EDIT:

Added a simple Rst,
The circuit as drawn will switch ON LED2 with just one Clap.
Recheck the Bi-stable logic.
E
Thanks.
How do I make it to go on with double clap? Please advice..
 

Colin55

Joined Aug 27, 2015
519
I did it with an 8 pin PIC chip and 5 external components. No skill required. Just stick them on a PC board and it works like magic.
 
Top