Post topics, source code that relate to the Arduino Platform

User avatar
By remcohn
#20354 did anyone ever measure the powerusage? i have a simple application:
Code: Select all#include <ESP8266WiFi.h>
#include <WiFiClient.h>
const char* ssid = "aaa"; const char* password = "bbb";
void setup(void) {
  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, password);
}

void loop(void) {
  delay(10000);
}


My module is a ESP-01, and i cannot get it below ~20mA. I measured this with a 1F 'gold cap' and a 1 Ohm resistor, to get rid of the worst spike.

Remco
User avatar
By lethe
#20358 Try removing the power LED. 20 mA is a typical max. LED forward current...
User avatar
By remcohn
#20359 oh wow, something i should have really done myself. i had it dangling up-side-down so never really noticed the led. but unfortunately, it doesnt make a measurable difference. Even with the huge cap, the current jumps up and down quite bit, between ~17 and ~29mA.

Remco