Turning fan on/off resets NodeMCU
Posted: Tue Sep 10, 2019 5:19 pm
I have a feature in my project that if you pull pin 5 to ground (button) the NodeMCU will clear saved wifi settings and start a hotspot to enter wifi creds. This works as like I expect.
I wired a 12v 2a power supply to the NodeMCU and then plugged the power supply into a surge protector strip. There is a small fan on the strip too and I've noticed that the NodeMCU will start the reset function when the fan is turning on or off.
But it doesn't trip the NodeMCU every time though. It sometimes takes 2 times turning the fan on and off to trigger it, sometimes one. I've plugged another project into the same strip, wired differently and with 9v 1.5a VIN also has the wifi manager code, and the two nodes don't always trip at the same time.
What is going on?
I wired a 12v 2a power supply to the NodeMCU and then plugged the power supply into a surge protector strip. There is a small fan on the strip too and I've noticed that the NodeMCU will start the reset function when the fan is turning on or off.
But it doesn't trip the NodeMCU every time though. It sometimes takes 2 times turning the fan on and off to trigger it, sometimes one. I've plugged another project into the same strip, wired differently and with 9v 1.5a VIN also has the wifi manager code, and the two nodes don't always trip at the same time.
What is going on?