MK139 relay manual activation (external switch)

Hi. I’ve just assembled this kit (works fine) hoping that somehow would be able to activate the relay manually as well. With a mechanical external switch.
What I want is to turn on the lamp either claping or turning on the switch.
For instance I can short out (with a switch) pins 1 and 7 of the PIC12C508A (following the schematic diagram included) to get this done but unfortunately this trick overrides de claping switching and makes it useless.
I need to activate the clap signal with a switch. I assume this is perfectly achievable. ¿Can you help me?

It is logical that a switch will allways override the clap action.
There is one (untested) possibility:

Inject a current limited +5VDC (e.g. 1K resistor in series) into the CLAP input.
if you do that in the rythm of the claps, e.g. by means of a pushbutton, then the PIC will turn on the relay as if it has received a clap signal.

[quote=“VEL417”]It is logical that a switch will allways override the clap action.
There is one (untested) possibility:

Inject a current limited +5VDC (e.g. 1K resistor in series) into the CLAP input.
if you do that in the rythm of the claps, e.g. by means of a pushbutton, then the PIC will turn on the relay as if it has received a clap signal.[/quote]

Indeed. It works with a pushbutton but it’s quite tricky to make the right push :laughing: That is in 1clap mode. 2clap mode is only for “Simon” experts :smiling_imp:
Thank you very much anyway.