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.
How to increase by SW the power consumption of ESP8266
Re: How to increase by SW the power consumption of ESP8266
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.
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 8 guests