New answers tagged

0

Turns out it was a board problem. Switched it for an older version of the NodeMCU. these things are not known for the reliability it seems.


0

It looks like the esp8266 Arduino core don't have a similar function. The getLocalTime in esp32 arduino core is a simple function implemented in esp32-hal-time.c. bool getLocalTime(struct tm * info, uint32_t ms) { uint32_t start = millis(); time_t now; while((millis()-start) <= ms) { time(&now); localtime_r(&now, info); ...


2

If you really don't sleep at all you can count with about 70 mA, with some short spikes when transmitting. Sleep mode disabled: (100 mA per division) But you don't need to disable sleep mode completely to use Wifi, you can be in Auto Light Sleep, which I think is the default for Arduino, Non-OS and RTOS. Auto Light Sleep: (100 mA per division) The Wifi ...


2

The short answer is - we don't know. Longer answer: It depends on such factors as: The board circuit (the BBBL (known as The Big Bright Blue LED) on some boards could drain about 10-20ma only by itself) The voltage regulator efficiency The battery controller circuit / quality / keying efficiency. The reasonable value is about 170-220 mA (taken from the PDF,...


1

The Board you are using contains an ESP-12F Module, along with other chips that make it easy/possible to connect to UART over USB and thus flash the chip. This USB-to-UART converter chip isn't related to the ESP-12F Module, so is unaffected when the ESP goes to sleep, so the converter continues to draw about 10mA. You can't do anything about this unless you ...


1

I researched the power supply shown in your photo and found this comment: esp8266 hilink


Top 50 recent answers are included