I am trying to hotwire a digital snapshot camera for use as a "datalogging" device in field biology studies. The particular camera has a "past movie" option in which video is continually stored in a buffer, and can be saved when you hit the record button. The result is that you have video from 5 seconds before you hit the button. This allows me to capture animal behaviors that have occurred slightly before the camera is triggered.
I have soldered some leads onto the camera controls and can use a PIC microprocessor to control camera activity. It works pretty well, but I would also like for the camera to stay on for a long time (a day or two at least). There is no way the small camera battery will allow this, so I plan to use a large external battery (like a 10 amp hour 12V battery).
My problem is that I cannot seem to use an external power source to power the camera. What I have done is attach leads to the positive and negative terminals of the camera battery (which is a small 3.7 V lithium ion battery). When fully charged this batery puts out 4.15 V, and I have a wall charger that emits 4.25V. So, I built a voltage regulator using a LM317 IC that puts out 4.1 V to power the camera and microprocessor. I then connected the 4.1 V supply to the positive battery terminal through a signal diode, connected the negative terminal to ground, and inserted the battery into the camera. It's a simple set up, which is illustrated here:
+4.1
++++------>Signal diode>-----Positive battery terminal
Ground
0000--------------------------------Negative battery terminal
So the voltage regulator should power the camera right? At least when the battery voltage drops below 4.1 V? But when I power everything up, the voltage on the battery side of the diode starts out at about 4.15V and gradually drops to about 3.5V before the camera powers off. The voltage on the other side of the diode remains constant at about 4.1V. If I bypass the diode, I get a couple of problems: 1) the voltage regulator heats up rapidly, and 2) if the external power source is disconnected, the camera battery becomes overloaded (appears to discharge in a few seconds). The camera consumes less than 250mA, so the LM317 regulator should be adequate (it can provide more than an amp).
One option I have considered is to set the voltage regulator to output a higher voltage. The docking station (charger) for the camera appears to charge the battery using 5.25 Volts. So I'm wondering if increased voltage (say 5 V) might allow the external power source to supply the system better.
I think there is something fundamental here that I am failing to understand (I'm a biologist, and not an electrical engineer). I am sure that the diode is oriented correctly, but there could certainly be some other fundamental principle of electronics I am overlooking. Any help from those who actually know what they are doing would be most welcome.
"Almost" Good Answers: