I have a circuit that I designed myself. In summary, I feed the circuit with 2 CR2032 type batteries and try to get 3.3 V output from the LD1117 type regulator. However, I get 4.7 V output from the regulator. I also observe a drop in battery voltage, interestingly when I feed it on battery. By voltage drop, I mean it happens instantaneously, maybe it would be more correct to specify it as voltage loss.
Let me share with you the situations I have examined.
There was no change of state when I first connected parallel capacitors to the circuit. edit: I mean 10uf and 100nF(capacitors on the datasheet)
I tested the battery packs and batteries also out of circuit. There is no problem with them either.
When I set the same regulator up to the bluepill supply in the breadbord and tried to supply it without capacitor, I got a constant 3.3V output. However, when I supply the circuit with DC supply 6V from the outside, I constantly get 4.7V from the regulator output. And when I feed it with the battery, it initially comes to 4.7 in the same way, then the voltage of the batteries starts to decrease in a short time. When I deactivate, their voltage comes back to 3V.
I haven't had the opportunity to test it yet, but I'm thinking about the question of whether reverse current is coming from somewhere. Do you think putting a diode on the regulator output can solve it? I am open to your suggestions, thanks in advance.