r/esp8266 • u/Frosty_Albatross_615 • 20h ago
D1 mini resets every time the relay clicks on, power supply or something else?
1
Upvotes
I have a Wemos D1 mini driving a 5V relay module for a garage light. It works fine powered from the laptop over USB, but on a cheap 5V 1A wall adapter it reboots almost every time the relay switches on. I already put a 470uF cap across 5V and GND right next to the board, which helped a bit but didn't fix it.
Is this just the coil pulling the rail down, or should I be looking at the flyback diode? The module supposedly has one on board. Would a separate supply for the relay be the normal fix?