Greetings, partners from this forum.
I have this problem:
I built an alarm that is activated with a Push Button.
I have this Push Button in the bathroom, so a sick person can turn ON an alarm outside the bathroom, for the people outside get notice of when to take out the person from the bathroom.
In the bathroom, there's a floor fan (big one, very high speed), connected to an outlet installed there in the bathroom that is connected to the lamp (because originally there wasn't a specific and independent electrical outlet).
So here's the scenario:
If the person pushes the button, the alarm turns ON perfectly the time I determined.
But the strange and FUNNY thing is:
when I turn OFF the fan (or any movement of its "velocities" switch, for example, to slow down the fan or to speed up the fan), the alarm (that I repeat, is outside the bathroom) turns ON each time I move the fan's switch.
And the alarm, as you can see, made up of IC 555, I feed it with batteries (so the whole package, batteries, IC555, speakers, capacitors, resistors...) is outside the bathroom... IN the bathroom is only the two cables connected to the Push Button.
My question is:
What should I add to the circuit to prevent the alarm of turning ON every time I change the fan's speed ???
Because I have the push button, through the cables, connected, one side to GROUND of the battery, and the other side, to the Trigger Pin (Pin #2) of the IC555. A simple design as you can see.
The only thing I added to the whole thing is a capacitor 10uF between + and - of the battery (as a filter). But it doesn't help with the "strange turn ON".
Or should I add something to (or around) the cables inside the bathroom (or even the Push Button) to prevent them to induce voltage to the IC555 (thing I believe is what makes it to trigger and of course, activate the second IC555 that turns on the speaker).
Any help, advice, procedure..... I'll appeciate it.
Thanks for your time, folks !!!