Power

From Let's Control It
Jump to navigation Jump to search

Under construction

The ESP8266 is not very power hungry, but it requires some special measures to operate in a predictable way and to avoid many spurious reboots.

Most disturbances are caused by problems with the power supply

First some facts:

ESP power usage.jpg

The ESP8266 uses between 50 mA and 170 mA

Since the ESP8266 is transmitting in bursts, it is easy to understand that this behavior will cause a lot of spikes and other undesired signals on the power lines and these can easily translate into unwanted resets and other disturbances. This also pops up when factory made boards like NodeMCU are being used, especially in conjunction with external devices.

What can you do?

1 - First, use a good power supply, capable to deliver 5 volt at 1 Amp.
2 - Mount capacitors across the power lines, as close as possible to the ESP8266.
3 - Mount a 10 nF (multi layer, preferably smd) capacitor from the reset terminal to ground.
4 - Use at least one 10uF (tantalum) and one 100 nF (multi layer) capacitor per externally connected device.
5 - Use a separate power supply to feed external devices.
6 - In some cases it helps to by-pass the diode on the NodeMCU board.

Power supply

Under construction


Capacitors

Under construction


Diode by-pass

Under construction