Introduction: DSLR Camera Mod: Plug in Power for Less Than $10
I have been running into a problematic issue with a photobooth that I made (the booth is on Instructables here). After a period of several hours, the crappy old camera battery peters out and dies. I purchased some cheapy replacements online but even those do not seem to last very long. This is a huge PITA because every time I have to change out a battery, it requires removal/reinstallation of the camera and recalibration (fixing camera pointing, correct zoom, proper focus). Who wants to do all that when you should be busy having fun?
I searched online but AC adapters for the camera cost between $80 for a legit Canon one to $40 for a cheapie. I decided to build my own. More recent searches turned up even cheaper AC adapters (in the $10-$20 range) but quality is obviously dubious. If I am going to invest in some potential crap, it might as well be some crap I kludged together myself!
Note that while I performed this hack for a Canon 10D, this work can be easily adapted for just about any digital camera.
Step 1: Parts
Parts Needed:
Scrap battery of appropriate size for your camera
Wall Wart (AC/DC adapter) - 12V DC output
2.1 mm plug to mate with wall wart
LM317 - adjustable voltage regulator
240 Ohm resistor (I used a 220 ohm and it worked perfectly fine)
5k Trimpot
Small piece of perforated board - get one with rails!
Tools You Should Have:
Small-bladed hack saw
Soldering Iron
Hot glue
Multimeter
Bench Supply
The tools listed above are just the ones I used. Feel free to substitute whatever you have that gets the job done. The work can be performed without a multimeter or bench supply but they are recommended.
Step 2:
Note, the battery should be fully drained before you begin this step or there may be some sparks and possibly a small shock.
Begin by using the saw along the all four seams of the battery. A particular seam is done when you can see the battery or circuit board underneath (Pic 2). Also at this point, use a sharpie to mark both sides of the battery cover so that you can be certain of the orientation when you put it back together.
When all four seams are finished, you can pry apart the cover (Pic 3). There will be a adhesive gel holding things in place so a flathead may help here. Be careful not to destroy the plastic cover itself.
Use a soldering iron to desolder the battery cover's metal contacts from the circuit board (solder wick will help). The board is just used for charging the batteries so it is junk (plus it probably got a healthy dose of sawblade anyway).
Once the connections are done, the batteries and board should separate from the covers.
Step 3:
Some considerations need to be made concerning the power supply for your camera. The general idea is to have a wall wart feed voltage to a regulator (LM317) that is tuned to the exact voltage your camera needs.
First, check the battery for the voltage that it outputs. The battery for a Canon 10D puts out 7.4V (Pic 1). A LM317 has a minimum dropout of 3V so a 12V power source will work comfortably for the voltage needed.
For testing purposes, it is a good idea to breadboard the circuit first and make certain that it is outputting working (pic 2). I took screenshots of the relevant information from the datasheet (pics 3 and 4). The datasheet is also attached here in its entirety.
I put the circuit together using only a 220 ohm resistor for R1 (datasheet states 240) and a 5k trim pot for R2. The trim pot is adjusted as necessary to get the correct voltage regulation.
I skipped the protection diodes (make sure you don't ground the output) and left out the capacitors Co (transient response? Pffffff) and Ci.
I used clips to connect my circuit to the hollowed out battery shell, taped the two halves together, and tested it in my camera. It worked perfectly fine so I was happy with it.
Step 4: Make It (mostly) Permanent
Breadboards are appropriate for rapid prototyping but definitely not suitable for the field. A circuit properly placed on perf board can handle the rigors of the real world and typically last a long time.
Quick note on perf board selection: do yourself a favor and get a large board with rails. The board can easily be scored with a razor and snapped for small circuits. The layout should be similar to that of a breadboard (Pic 2). Perf boards that are laid out in separate squares (Pic 3) will end up a mess of solder blobs and messed up connections.
Once your circuit is placed and soldered up, be sure to test it again to make certain it is regulating the correct voltage. Adjust with the trim pot as necessary.
Cut the perf board to the appropriate size so that it will fit into the hollowed battery shell. Solder a wire from the regulator's output pin to the positive clip of the battery. Do the same from the circuit's ground to the battery's negative clip.
Drill an appropriately sized hole in the top of the battery so that you can have the 2.1 mm connector stick out flush with the surface of the battery. Use hot glue to fix the board and connector in place (Pic 4 and 5). Be certain that you also apply hot glue to any union between a wire and the board. When you are certain everything is in place correctly (and working correctly too) hot glue the two halves back together.
Drill a hole in your battery cover using a ruler to make sure that you place the hole in the correct place. Start with a smaller drill and step up in sizes until the adapter plug fits snugly in place.
Test it and have fun!
I have not used this rigorously yet but I have had my camera powered with it all day (more than 10 hours; auto power off is disabled; snapping the occasional picture to make certain it is still performing properly). It has worked continuously, flawlessly and only fairly warm when I checked the battery for temperature.
16 Comments
11 years ago on Introduction
Nicely done that you can get all of the components into the old battery case. I am surprised that you can get buy with an LM317 and that you can use it without a heat sink. I just did something similar for my Kodak z710 camera, but its power requirements are twice as high (almost 3 amps.) as what an LM317 can produce, but your camera's battery voltage is more than twice as high (7.4 vs. 3 volts), so maybe your current draw can be lower. But, I would expect your current draw to be enough that a heat sink of aluminum would be advised. Did you find any specifications on the current draw for your camera or the output current on the commercially available power supplies for your camera? The specifications for my camera indicated the power draw was around 2.5 amps. I used an LM350 regulator (safe for 3 amps.) rather than the LM317 (safe for 1.5 amps. with a heat sink).
Reply 8 years ago on Introduction
The Canon power adapters for their cameras are typically rated 1.5-2.5A, depending on the model. The cameras themselves probably have a varying current draw, depending on what the camera is doing (e.g. view only, charging the flash, zooming the lens). The adapter has to be able to supply the peak current draw without the voltage sagging out of spec.
Reply 10 years ago on Introduction
in the picture his batter states it good for 1100 mah which is 1.1 amps.
Reply 8 years ago on Introduction
Sorry, but 1100mAh is the capacity rating of the battery -- 1100 milliamp-hours. This number gives you an idea of the total energy you can get out of the battery, but is not specifically related to the current draw of the camera.
9 years ago on Step 3
And why are you using a 12v power supply with an LM317 to bring it down to 7.4v? It would make a heck of a lot more sense to just use a regulated 7.4v power supply in the first place! You need to heatsink that LM317 if you are going to use the camera flash, because charging up the camera flash draws a heck of a lot of current.
Reply 9 years ago on Step 3
and when you adjust the trim pot to get the voltage output to 7.4v on your multimeter, it won't be 7.4v when you plug a camera into it! You got lucky, you must have had a very high quality wall wart adapter, because most will measure up to 1-2v different when they are connected to a load. So either measure the voltage output of your power supply when connected to a load similar to your camera (like a couple of high power LEDs or a resistor or something), or you might overvolt your camera and fry it!
Reply 9 years ago on Introduction
The component most responsible for a voltage drop under load is the regulator, in this case an lm317. I would not expect much of a drop at all for this regulator (1.5% max as stated in the datasheet)
Datasheet:
http://www.datasheets360.com/pdf/5387831716475016648?comp=4147
Reply 9 years ago on Introduction
Yep absolutely true on the supply and I am using an external flash with its own supply for fast flash recycling.
This instructable is not intended as universally applicable and I do not claim that it is the best way of doing something. It is just what I had readily available (free to me) and it worked.
9 years ago on Step 2
WARNING: if you pierce a lithium ion battery while it contains a charge, it could explode in your hand with enough violent energy to remove chunks of your flesh! not just "sparks and possibly a small shock"
11 years ago on Introduction
Nice job... Also 10D got one myself, 60000 frames and counting, things indestructible...
Reply 10 years ago on Introduction
"Indestructible" - bearing in mind the average shutter life for it is 30,000 - 50,000 shots! Hows the old girl doing a year later? ;)
Reply 10 years ago on Introduction
Still going just fine... I'm amazed
Reply 11 years ago on Introduction
Thanks man! I usually just use a Pentax SP F for fun but the 10D is growing on me for some of the less spur-of-the-moment type photography.
Reply 11 years ago on Introduction
Weird, I'd be backwards I consider it the go to camera... I've literally hit a punter with mine... A mid range lens, ISO 400, shutter of a third to a whole second and an ext flash with the exposure knocked down a stop will kick ass for a party club etc shot...
11 years ago on Introduction
Just thought you'd like to know, the battery covers on Canon's and some other DSLRs are removable (check your manual). This is so you can attach a battery grip. Canon also makes a similar AC adapter that uses a dummy battery and you might even be able to get one for the older models for around $10 (third party). There's a little rubber flap on the inside of the grip that allows the wire from the dummy battery to exit.
Reply 11 years ago on Introduction
Thanks for adding this.
I did notice that the battery door was very easy to take off and I assumed it is so that it is easily replaceable. Because of this, I did not mind drilling the one that was in there since I can simply replace it with a new one if I ever need to.