Page 1 of 1

Supplement annex

Posted: Wed May 12, 2021 7:58 pm
by Jan Volk
Some measurements were made on various ESP modules without additional connections
via the USB port with a U96 13 In 1 Usb Tester Dc Digital Voltmeter Amperimetro.
What is striking is that the ESP-WROOM-32 draws in a lot of power for me WIFI.SLEEP
and SLEEP mode. Possibly a bad part?
This table can be included in the annex of the ESP modules.


ESP32 LOLIN32 Lite 4Mb Flash
OPTION.CPUFREQ ESP32 WiFi WIFI.SLEEP SLEEP
Freq. 240 MHz I = 152-153 mA I = 70 mA I = 6 mA
Freq. 160 MHz I = 120-128 mA I = 48 mA I = 6 mA
Freq. 80 MHz I = 84-117 mA I = 38 mA I = 6 mA

ESP32 LOLIN32 Pro 4Mb Flash 4Mb Ram
OPTION.CPUFREQ ESP32 WiFi WIFI.SLEEP SLEEP
Freq. 240 MHz I = 115-117 mA I = 56 mA I = 8 mA
Freq. 160 MHz I = 98-100 mA I = 40 mA I = 8 mA
Freq. 80 MHz I = 90- 92 mA I = 30 mA I = 8 mA

ESP32 ESP-WROOM-32 4Mb Flash
OPTION.CPUFREQ ESP32 WiFi WIFI.SLEEP SLEEP
Freq. 240 MHz I = 167-168 mA I = 89 mA I = 22 mA
Freq. 160 MHz I = 144-147 mA I = 68 mA I = 22 mA
Freq. 80 MHz I = 131-135 mA I = 56 mA I = 22 mA

ESP8266 WEMOS D1 mini 4Mb Flash
OPTION.CPUFREQ ESP8266 WiFi WIFI.SLEEP SLEEP
Freq. 160 MHz I = 84 mA I = 32 mA I = 8 mA
Freq. 80 MHz I = 78 mA I = 26 mA I = 8 mA


Supplement to WIFI.RSSI annex.

WIFI.RSSI Returns the intensity of the WIFI signal
received when connected in STA mode.
RSSI or this signal value is measured in decibels (db)
from 0 (zero) to -120 (minus 120). The closer the value to
0 (zero), the stronger the signal will be. An RSSI of
-55 (minus 55) is a stronger signal than -70 (minus 70).


Pow occurs twice here?

POW (x, y) Returns the number x raised to the power of y


WIFI.POWER pow Set the WiFi output power.
"Pow" defines the value in dBm.
The range is from 0 to 20.5.


[list][/list]

Re: Supplement annex

Posted: Thu May 13, 2021 8:45 am
by cicciocb
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Wed May 12, 2021 7:58 pm Pow occurs twice here?

POW (x, y) Returns the number x raised to the power of y


WIFI.POWER pow Set the WiFi output power.
"Pow" defines the value in dBm.
The range is from 0 to 20.5.
Hi Jan,
thanks for your feedback.

Maybe it could worth to create a dedicated post on the forum listing your measurements enabling someone else to reports these information for other kind of modules.

About the POW, I do not clearly understand your remark as

- POW(x,y) is a mathematical function (equivalent to x^y)
- WIFI.POWER pow is to set the power of the module

Re: Supplement annex

Posted: Thu May 13, 2021 8:54 am
by AndyGadget
Those sleep values look high to me, Jan. I'm getting a sleep current of 120µA on the modules I'm using.
A big factor in the sleep current is how well the device controls the UART shutdown in sleep mode and I wonder if by powering via the USB port you're keeping this awake.
Do you get the same values if you connect the power to the 5V input pin?

Re: Supplement annex

Posted: Fri May 14, 2021 9:50 am
by Fernando Perez
I would like to point out two things:
1) It would be very good if you could insert tables in the messages. I have tried the "Tables" extension for phpBB of "Sniper_E" and the result looks good, but I find it very complicated for users. Some other system?
image.png
2) A pending issue for me, and I suppose that for many users, it is the best way to minimize the consumption of our ESP8266 and ESP32 through the different Annex options. Could you open a thread in which we all expose our experiences? The times I have tried to use "Fast boot" in the Config page and wifi.sleep as the first line, I have ended up having to link the TX and RX pins together in order to regain access to my module. :cry: