Dummy battery: print AA, AAA, C and D cells with wires
What is a dummy battery?
A dummy battery is a stand-in the size of a real cell. You put it into the battery compartment where an AA, AAA, C or D cell would go and feed current from another source into the device through two wires. A flashlight, a radio, a toy or a remote then runs from a power supply or a USB power bank instead of empty cells. That pays off for devices that run all day and for cells that always die at the worst moment.
This generator makes the dummy battery as an STL or 3MF file. It knows the standard sizes AAA, AA, C and D, a set with all four and a custom size for cells such as 18650 or CR123A. The body is an open shell: a small voltage converter fits inside, and the wires run through holes in the end walls. Plus and minus are engraved into the floor so you don’t mix up the polarity. The examples page shows every variant.
The idea comes from an OpenSCAD project (see below). We translated it to TypeScript so it runs in the browser and added adjustable wire holes, a length correction and several copies.
Safety first
A dummy battery bridges a battery compartment with wire. That is simple, but not harmless. Read these points before you connect anything:
- Never short-circuit cells or a power supply. If the plus and minus wires touch, a very high current can flow and overheat the wire, the cells and the supply.
- Check the polarity on the device and on your power source before you switch anything on. The engraved + and − marks on the dummy help.
- Choose a wire that matches the current. It has to carry your device’s current continuously without getting warm.
- Never use it with mains voltage (230 V or 120 V). It is meant for low voltage only and offers no protection against touching live parts.
- Keep printed plastic away from heat sources. PLA softens at about 55 °C.
- We have not printed or tested it ourselves. The dimensions come from the original model and the standard cell sizes; the print numbers come from a slice. Try it in the compartment first without any power source connected.
How the generator works
Everything runs in your browser. Nothing is uploaded, and your design lives entirely in the link you can pass on with “Share”. This is how it goes:
- Open the generator and pick your battery under “Cell size”.
- Set “Copies” to the number of dummies you need: a device with four cells needs four.
- Measure your wire and enter it as “Wire hole diameter”.
- Check the length in the compartment and correct it with “Length correction” if needed.
- Download the file as STL or 3MF and slice it.
Below the model the generator shows the diameter and the overall length including the positive pin. You set the color in the “Body” color field; the dummy is a single part printed in one color.
Which cells are there?
The standard sizes follow the IEC dimensions of the cells. The original model sets the wall and the pin for each size.
| Cell | Diameter | Length with pin | Wall | Pin |
|---|---|---|---|---|
| AAA (Micro, LR03) | 10.5 mm | 45.3 mm | 1.0 mm | Ø 3.8 mm, 0.8 mm high |
| AA (Mignon, LR6) | 14.5 mm | 51.5 mm | 1.2 mm | Ø 5.5 mm, 1.0 mm high |
| C (Baby, LR14) | 26.2 mm | 51.5 mm | 1.5 mm | Ø 7.5 mm, 1.5 mm high |
| D (Mono, LR20) | 34.2 mm | 63.0 mm | 1.5 mm | Ø 9.5 mm, 1.5 mm high |
“Set: D, C, AA and AAA” puts one dummy of each size side by side on the bed, like the demo of the original. It is handy for a parts bin, or for finding out which size fits your compartment before you print several copies.
Custom sizes: 18650, CR123A and more
Choose “Custom size” and the “Custom size” section appears with five dimensions:
- Diameter: 8–40 mm (default 14.5 mm)
- Body length: 30–75 mm (default 50.5 mm); the pin adds its height on top
- Wall thickness: 0.7–5 mm (default 1.2 mm)
- Pin diameter: 3–12 mm (default 5.5 mm)
- Pin height: 0.7–2.5 mm (default 1.0 mm)
Two ready-made examples show how it looks: the 18650 dummy with 18.5 mm diameter and 65.2 mm overall length, and the CR123A dummy with 17 mm diameter and 34.5 mm length. Both are starting points, so measure your cell and your compartment. If the pin is so wide that its cone would be steeper than 45°, the generator makes it narrower and shows a warning so it prints without supports. If the wall is as thick as the cell is wide, no hollow is left, and it tells you that too.
Wires, holes and converter
Holes for solid-core wire run through the end walls of the dummy. Two holes sit one above the other in the center plane and go through both end walls; two more sit at the sides and go through the negative end only. You thread the wire through and bend it over the end face so it touches the contact in the device. The holes are teardrop-shaped so they print without supports; a round wire still fits.
The open shell between the end walls has room for a small circuit board, for example a voltage converter that turns a USB source into the right voltage. How you connect the wires depends on your device and your power source:
- The voltage has to match the number of cells you replace. Go by the label on the device or the datasheet; an alkaline cell delivers 1.5 V, a NiMH cell 1.2 V.
- A compartment with several cells needs a dummy in every position. The example with four AA dummies is meant for a compartment with four cells and 6 V.
- Use a power supply with short-circuit protection and a suitable fuse. The dummy only provides the shape; the rest is up to you.
“Wire hole diameter” ranges from 0.7 to 2 mm (default 1.2 mm). Thicker wire carries more current but needs bigger holes; the example with two D dummies uses 1.6 mm.
Adjusting the length
Compartments are tight, and the wires bent over the ends make the dummy longer than a cell. That is what “Length correction” is for, from −4 to +2 mm (default 0 mm). It is added to the body length, so a negative value shortens the dummy. The shorter AA dummy shows −2 mm with thin 0.9 mm wire. When in doubt, print a short test first before you make several dummies at once.
Printing
The dummy lies on its flattened side on the bed, the cell runs horizontally and the open shell faces up. That is the print orientation of the generator, so you don’t need to rotate anything in the slicer. No supports are needed. That holds for the defaults and every example; only with thick wire on small cells may PrusaSlicer suggest side supports at the flat. For some wire diameters, such as 1.0 mm on AA, it also adds a one-layer support in front of the pin (about 0.01 g), which you can ignore or switch off.
These numbers come from real slices in PrusaSlicer with the Prusa MINI profile, 0.20 mm SPEED, Prusament PLA:
| Example | Filament | Print time |
|---|---|---|
| AAA dummy | 1.23 g | 8 min |
| AA dummy | 2.28 g | 13 min |
| C dummy | 5.7 g | 27 min |
| D dummy | 9.45 g | 38 min |
| Four AA dummies | 8.89 g | 34 min |
| Set of D, C, AA, AAA | 18.51 g | 1 h 1 min |
Times on your printer will differ. A few more tips:
- Layer height: 0.2 mm is enough. The pin tip and the round end walls are finely stepped already, so thinner layers gain little.
- Material: PLA is fine to start with. If the device warms the compartment, use PETG and keep the plastic away from heat sources.
- Wire holes: Test them with a piece of wire before you assemble. If it is too tight, raise “Wire hole diameter” by 0.1 mm.
- Several copies: “Copies” lays up to four dummies side by side with a 10 mm gap. If fewer fit on the 180 mm bed, the generator tells you.
What the generator does not do
It only makes dummy cells. Sleeves that hold an AA cell in a C or D compartment are not included. The dummy also has no metal contacts of its own: you make the wires and you build the connection to your power source. It does not replace a finished product.
Origin and credits
This generator is a port of “No Support Required Customizable Dummy Battery” by mofosyne (Printables, CC-BY-4.0). That model is in turn based on “Customizable Dummy Battery” by Eansdar (Thingiverse, CC-BY-4.0). Thanks to both for their work.
New in this version are the adjustable wire diameter for all cells, the length correction, several copies side by side, the flat position on the bed, teardrop-shaped holes for printing without supports and the extended range for custom sizes. You will find all licenses under licenses.
Looking for a box for loose cells? Try the battery case generator. Ready to start? Open the generator or browse the examples.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Cell | |||
| Copies | 1 | 1 – 4 | Several identical dummies side by side, for example one per battery slot of a device. |
| Wire hole diameter | 1.2 mm | 0.7 – 2 mm | Holes for the solid-core wires that form the contacts. Measure your wire and add 0.1–0.2 mm. |
| Length correction | 0 mm | -4 – 2 mm | Added to the body length. Shorten the dummy when the wires bent over the ends make it too long for the compartment. |
| Custom size | |||
| Body diameter | 14.5 mm | 8 – 40 mm | Outer diameter of the cell. |
| Body length | 50.5 mm | 30 – 75 mm | Length of the cylinder; the positive pin adds its height on top. |
| Wall thickness | 1.2 mm | 0.7 – 5 mm | Thickness of the shell and the end walls. |
| Pin diameter | 5.5 mm | 3 – 12 mm | Diameter of the positive terminal at the tip of the cone. |
| Pin height | 1 mm | 0.7 – 2.5 mm | Height of the cone that forms the positive terminal. |
Frequently asked questions
Do I need supports?
No. The dummy lies on its flattened side with the open shell facing up. PrusaSlicer adds no automatic supports for the defaults and every example. With thick wire on small cells (AA from 1.6 mm) the slicer may suggest side supports at the flat.
Which wire do I use for the holes?
Solid-core wire (not stranded cable), measured with calipers first. Add 0.1–0.2 mm to the wire diameter and enter it as “Wire hole diameter”. The default is 1.2 mm. The wire must be rated for the current of your device.
Is a dummy battery safe?
Only if you build it carefully. It is a piece of plastic with wires that bridge battery contacts: never short-circuit cells or a power supply, check the polarity, choose a wire that can carry the current and never use it with mains voltage. We have not test-printed or tested it in a device ourselves.
Will it fit every battery compartment?
It has the standard cell dimensions, but compartments and contact springs vary. Use “Length correction” to shorten it by up to 4 mm or lengthen it by up to 2 mm, and pick “Custom size” for other formats.
Which material should I use?
PLA is fine to start with, but it softens at about 55 °C. If the compartment gets warm, use PETG or another more heat-resistant filament. Printed plastic must never touch a heat source.
Can I use it to fit AA cells into a C or D compartment?
No. The generator only makes dummy cells, not sleeves or adapters for smaller cells. You would have to design a sleeve yourself.
Origin & license
- No Support Required Customizable Dummy Battery (AAA, AA, C, D, user defined) by mofosyne · CC BY 4.0 · code ported – dummy cell with wire holes, polarity marks, open top and cell table ported; laid flat on the bed, wire diameter, length correction and copies added
- Customizable Dummy Battery (AAA, AA, C, D, user defined) by Eansdar · CC BY 4.0 · code ported – original model that mofosyne's remix is based on