Fan 220v when switched from speed 2 to speed 1 toggles an input pin on my micro controller.
Simple circuit Micro has 1 input pin which is used with a pull up configuration, with a 500ms delay toggles an output pin high or low.
Micro is powered from a built in USB socket in a seperate wall outlet.
HELP. What can I do to restict this issue. I've tried putting a series diode to the 5V supply to the micro with several different capacitors.
Utilising a DC battery is not viable
Simple circuit Micro has 1 input pin which is used with a pull up configuration, with a 500ms delay toggles an output pin high or low.
Micro is powered from a built in USB socket in a seperate wall outlet.
HELP. What can I do to restict this issue. I've tried putting a series diode to the 5V supply to the micro with several different capacitors.
Utilising a DC battery is not viable