I have a pretty spiffy darkroom timer that I have designed, running on an Arduino Nano with a 4 digit LED display and some big chonky buttons for controls.
This works beautifully right now, using a USB-C “Decoy” PD gadget that provides 5 volts regardless of what USB-C source I plug in to.
I would like this to be battery powered, and my ever-present servant, ChatGPT, is having me use a 18650 3.7V battery with a TP4056 lithium battery charger module and a MT3608 boost power convertor to get the 5V–that then powers both the Arduino Nano and the 4-digit display. The current “Decoy” gadget will be dumped.
Everything was looking fine, and I was sorting out how to modify my case to house the components when ChatGPT casually mentioned the need to add a Schottky diode to prevent back flow from the MT3608 into the TP4056, and told me about all kinds of mayhem that could result without this precaution.
No matter where I look, I find sites that tell me about using a MOSFET + resistor + diode combination to solve this problem, and other sites that say the TP4056 can never be used to charge while the battery is under load.
The problem is, I don’t want to add a power switch. My design is such that the Arduino will always be on, so I can’t charge without load. The display will be off, and Arduino CPU in sleep mode, but it will still technically be “on”.
ChatGPT indicated that the single diode is sufficient though it the MOSFET solution is more efficient for other use cases, but for my darkroom timer this will work just fine.
Give it to me straight: Is ChatGPT leading me down a terrible path?
Can I safely do what I am trying to do with just an additional diode between the TP4056 and the boost convertor?