I'm trying to control the keyfob from arduino/esp32 with N-MOSFET by basically bypassing physical switch on the remote with an esp32 controlled MOSFET. It works, but I wanted to add a feature of reading key fob battery level too (so I can replace it on time) and this is where problems started :-)
When trying to share the ground with battery, the MOSFET switch stops working. When I connect those circuits separately everything works perfectly. Any chance to have both circuits working together?