I am using a kind of electric lighter in my circuit in order to turn the fire on.
And also i have used some sensors that alert in danger by sending a signal to the MCU (ATmega 32) interrupt. The lighter works with 220 V AC in its input so I used a relay to switch it on and off. Also I used emitter common transistor to make the relay controllable from MCU. Right before it I have used an optocoupler to separate the power supply. But when the lighter starts working, the interrupt program begin and this is my problem.
I have used many methods for example i placed small capacitors on Interrupt's pin, used sound insulation cover around MCU, covering the lighter, covering lighter wires, using ferrite bead (on the output of the power supply of MCU), using big capacitors. They helped me to reduce this noise But not enough to solve my problem. What should I do?
Maybe the lighter is too powerful!