Hi all,
As this is my first post I would first like to thank the arduino community for all the contributions. Arduinos are so cool ![]()
I have a CS background but know next to nothing in electronics, so please pardon the possible stupidity of my question.
I'm building a portable device. Its main components are :
- an arduino pro mini (16mhz 5v with 5v sensors)
- a single 18650 protected roaring lion.
- a module with a TP4056 with discharge protection which looks exactly like this one : TP4056 - Micro USB 5V 1A Lithium Battery Charger with Protection [TP4056-Protection-Modules] - US $1.20 : HAOYU Electronics : Make Engineers Job Easier
- a dc-dc "booster" regulator to feed my arduino with 5v
- a ON/OFF switch
When I ordered that TP4056 based module I was thinking that I would be able to use its OUT pins while charging, but according to the above website it looks like I can't do that. ("Important! Disconnect load when charging")
The problem is that the potential users of the device I'm working on might forget to turn off the device before charging.
=> How can I disconnect the load when there is some current through the IN pins ?
I have a TIP120 lying around. Can I use it to build a NOT gate and use the output of that gate to feed the load ?
Best regards,