I have an RC radio handset(Taranis QX7) which doesn't have internal battery charger which means I had to remove the battery every time I needed to charge it.
So to improve it, I added a 15W USB-C charger board(link) inside and soldered it to the same connector on the PCB where the battery plugs into, great, now I can simply charge it with a USB-C cable.
but the problem I found is that after the radio sat for two weeks without being used the 2S 18650 battery that I'm using was at 4.2V!
So the battery is backfeeding the charger and being drained.
How can I prevent the battery from being drained?
Maybe some kind of diode between the charger and PCB?
If not then is it possible to add a mosfet between the charger and the PCB, and somehow make the mosfet turn on while charging but then turn off otherwise so no current can flow from the battery to charger?
I don't know if those ideas are possible because I'm not knowledgeable enough about electronics, what do you guys suggest?
So to improve it, I added a 15W USB-C charger board(link) inside and soldered it to the same connector on the PCB where the battery plugs into, great, now I can simply charge it with a USB-C cable.
but the problem I found is that after the radio sat for two weeks without being used the 2S 18650 battery that I'm using was at 4.2V!
So the battery is backfeeding the charger and being drained.
How can I prevent the battery from being drained?
Maybe some kind of diode between the charger and PCB?
If not then is it possible to add a mosfet between the charger and the PCB, and somehow make the mosfet turn on while charging but then turn off otherwise so no current can flow from the battery to charger?
I don't know if those ideas are possible because I'm not knowledgeable enough about electronics, what do you guys suggest?