I'm charging a 3.7V li-ion with a TP4056. The load (approximately 20mA) is connected in parallel with the li-ion. If I disconnect the battery while the TP4056 is receiving 5V on its input, I hear a buzzing sound. Once I reconnect the battery it dissappears.
Any idea what this could be?
MP2315 is stepping down a 12V battery to 5V. I also tried disconnecting R1 from 5V and injecting 5V from my RD6006. Same buzzing. Output with no battery: 40mVAC (an buzzes a lot), 1 battery: 60mVAC (still some buzzing), 2 batteries: 2.5mVAC (next to no buzz). Load is always 20mA (MCU + other things). Seems the TP4056 is more happy with more load. Scope of BAT+ at various battery loads is attached. Strangely enough, the 2 batteries have some bad spikes here and there, but less audible noisy. (The frequencies measured on the scope varies greatly from shot to shot.)
No battery:
1 battery:
2 batteries: