Ive built a simple circuit on some strip board, just a motor and a micro controller and LED and powered by 6 AAA batteries. The motor takes its power straight from the battery and the micro and LED go through a 5V LDO. I also have a slide switch to turn off the power.
The problem is when the power is turned on the voltage I measure across the batteries drop at a steady rate, about 0.01V a second, if I turn the switch off the voltage jumps up and also starts to climb back up to the real voltage across of the batteries. If I wait long enough the voltage is back to the real voltage of the batteries. If I switch it on the process starts again.
Will there is enough voltage for the LDO the circuit works perfectly so im sure there isnt a short, and from what I can see there isnt a short anywhere. Nothing is getting hot at all either. Im not quite sure what to look for or what it could be..