Here is what I’d like to do: Wire a circuit that can either charge or discharge a single li-ion cell (3.0 to 4.2 V) or just do nothing at all. An ESP32 controls the circuit (max. 3.3 V). An INA219 monitors current and voltage (but that is the least of my issues).
For charging, I am planning to use a TP4056 module which would be permanently connected to a USB power supply. For the discharge, I’ll be using a load resistor and a MOSFET (Q1) as variable load. This N-channel MOSFET also acts as a switch, to turn off the discharging process when pulled to ground. Here is the schematic:
I am pretty sure that the second N-channel MOSFET (Q2) would not work in this configuration. Probably a P-channel would do the job, but that I am not sure of and neither do I know if I can control a P-channel MOSFET by directly connecting it to a GPIO pin of the ESP32.
Now my questions:
2 Asked on November 4, 2020 by kimv
4 Asked on October 29, 2020
1 Asked on October 23, 2020 by pat
1 Asked on October 21, 2020 by ishan-deo
1 Asked on October 14, 2020 by douglas
1 Asked on October 11, 2020 by grabantot
2 Asked on October 7, 2020 by bart
1 Asked on October 4, 2020 by and
0 Asked on October 2, 2020 by beatriz
1 Asked on September 18, 2020 by sarra-marmouche
2 Asked on September 15, 2020 by abcd123
3 Asked on September 10, 2020 by moiss-pacheco-gendrop
1 Asked on September 8, 2020 by meck
0 Asked on September 7, 2020 by kj7lnw
0 Asked on September 7, 2020 by orange1234
1 Asked on August 31, 2020 by gkhan
1 Asked on August 30, 2020 by govind-srivastav
Get help from others!