Electronic – Eliminate AC noise from DC supply

555accapacitordcnoise

I have built an automatic water tank using the circuit given below:

enter image description here

But this circuit was working well for 2 days. But after that, it triggers falsely. When a fan in another room is switched on, this circuit trigger the relay and motor will turn on.

I think this is due to AC noise. I was using 12v AC to DC converter supply, i.e, 12DC adapter.

Can anyone help me to avoid this situation?

Best Answer

Decouple the IC as said in the remarks above: 100 nF close to the IC across Vcc and GND. A 10uF or 100uF cap next to it will help too if the 12V power supply lines are long.

Moreover make sure the 100 ohm resistor (connected to up) is close to the transistor and both are close to the 555. And most important, add a 100 ohm between Low and pin 2 of the 555. The resistor should be close to the 555 again.

It is most likely the wire to pin 2 of the 555 picks up noise and makes the 555 trigger incorrectly. Adding a resistor close to the 555 willl attenuate that noise. If that resistor is far away, noise can still couple into the line and triggger the 555 incorrectly because it won't 'see' the 100 ohm resistor.