How to increase by SW the power consumption of ESP8266

YigalB
Posts: 11
Joined: Sun Mar 18, 2018 8:41 pm

How to increase by SW the power consumption of ESP8266

Postby YigalB » Mon Nov 11, 2024 8:04 pm

I know this sounds strange: How to increase by SW the power consumption of ESP8266 by 50mA.
The reason:
I use rechargeable battery to power the ESP8266 (Wemos D1 mini in that case).
When the charger is delivering less than 50mA , it shuts down after 30 seconds. I would like to prevent that - there is no way to modify the charger.
After adding resistor of 100 ohm between the 5V and Ground, the problem is solved.
I am wondering if there is a simple software way to do that.
Yes.. usually people are looking to reduce power consumption. Not in this case.

arjen1
Posts: 27
Joined: Sun Aug 06, 2023 4:48 pm

Re: How to increase by SW the power consumption of ESP8266

Postby arjen1 » Mon Jan 20, 2025 2:46 pm

Well you could use one GPIO port to do that, 2 resistors and a transistor

resistor 1 from GPIO port to base transistor, make it 1k Ohm
emitter to GND
Collector to 2nd resistor 100 Ohm, other end of resistor to the + of the charger.

Now when the current is too low, make GPIO port high --> transistor will draw 100 Ohm low and 50mA's.

Who is online

Users browsing this forum: No registered users and 11 guests