Esp32 shorts out tp4056 status pins when powered off
Posted: Wed Nov 29, 2023 1:04 pm
Hello, this is my first post, i hope I'm not in the wrong category I've been struggling with this problem for the last 2 days and for the life of me i cant figure it out.
Basically i have a tp4056 battery charging module with 2 wires coming from the open drain status pins (6 and 7) to a Esp32 devkit board pins 34 and 35. Everything works perfectly, i can read the tp4056 status charging/charged just by declaring the pins 34 and 35 as INPUT_PULLUP and digitalRead, however if the esp32 is powered off both status LED's on the tp4056 light up like they are shorted together or something. What could be causing this? Has anyone had this problem before? Could it be that the status LEDs also have pull up resistors and somehow interfere with the resistors inside the esp32 board when it's powered off?
Basically i have a tp4056 battery charging module with 2 wires coming from the open drain status pins (6 and 7) to a Esp32 devkit board pins 34 and 35. Everything works perfectly, i can read the tp4056 status charging/charged just by declaring the pins 34 and 35 as INPUT_PULLUP and digitalRead, however if the esp32 is powered off both status LED's on the tp4056 light up like they are shorted together or something. What could be causing this? Has anyone had this problem before? Could it be that the status LEDs also have pull up resistors and somehow interfere with the resistors inside the esp32 board when it's powered off?