Battery dispenser to print: AA, AAA, 18650 and coin cells
A battery dispenser for the wall
Anyone with a drawer full of loose batteries knows how hard it is to find the right cell. A battery dispenser solves this with gravity: the cells lie on top of each other in a channel, and when you take the lowest one, the next rolls into its place. This generator builds the dispenser to your measurements for AA, AAA, C, D, 18650, 21700 and many more formats, plus coin cells such as the CR2032 or LR44.
You set the cell type, the number of channels and the capacity, choose screws or magnets for mounting and label every channel. You download the result as an STL or a multi-color 3MF. Everything runs in your browser, nothing is uploaded, and your design lives in the link you can pass on with “Share”. Ready-made designs are in the example gallery, and you can open the generator here.
The dispenser is open and made for quick access. If you need a closed container for travel or a toolbox instead, look at the battery storage case: it locks the cells in, while the dispenser hands them to you one at a time.
How the dispenser works
With round cells the batteries lie across the channel, with their length running from left to right. The floor of every channel slopes forward by the “Floor slope” (0–15°, default 5°). The lowest cell rolls out of the channel, under the front lips and into a tray with a low stop. It waits there for you to grab it, and the next cell rolls down. Lips and stop rise at 50°, so you don’t need supports when printing.
The tray holds one cell in addition to the capacity you set. With eight cells per channel the dispenser holds nine batteries: eight in the channel and one in the tray.
Coin cells work differently. They stack flat, like coins in a tube. The floor has a fingertip slot, and you slide the lowest cell out sideways. Here the lips reach over the edge of the stack and hold it together.
Cell type, channels and capacity
The “Cells” group holds the “Cell type”. You can choose between:
- Primary cells: AAA, AA, C and D (also known as Micro, Mignon, Baby and Mono),
- Lithium formats: CR123A, 16340, 14500, 18650, 20700, 21700, 26650 and 32700,
- Coin cells: CR2032, CR2025, CR2016, CR2450, CR1632, CR1220 and LR44,
- Custom size: you enter the “Cell diameter” (5–40 mm) and “Cell length” (1–80 mm) yourself. A cell shorter than 0.6 times its diameter stacks flat like a coin cell.
The “Clearance” (0.2–3 mm, default 1 mm) is added to the diameter and the length. It lets the cells roll freely. A little more helps if your cells are slightly thicker, for example protected cells with a circuit board.
In the “Channels” group you set the number of “Channels” (1–6, default 2). The 180 mm bed limits it: if not all channels fit, the generator builds as many as it can and shows a warning. “Cells per channel” (2–60, default 8) decides how many cells lie on top of each other, and the height of the dispenser follows from it.
Two examples: the two-channel AA dispenser is the default setting, and the three-channel AAA dispenser holds ten cells per channel. For heavy cells there is the D cell dispenser with a taller tray stop.
Shape: walls, lips and tray stop
The “Shape” group decides how sturdy and how open the dispenser is:
- “Wall thickness” (1.2–4 mm, default 2 mm): side walls and the dividers between channels.
- “Back plate” (1.6–5 mm, default 3 mm): the plate that sits against the wall.
- “Front lip” (1.5–8 mm, default 4 mm): how far the lips reach over the cell ends. Longer lips hold the cells more securely, shorter ones make taking them out easier.
- “Tray stop” (2–25 mm, default 6 mm): the height of the tray front above the floor. This stop keeps the cell in the tray, and the labels sit on its top. For fat cells such as D use a taller stop.
- “Loading cutout” (on by default): opens the lips at the top so you can also load new cells from the front instead of dropping them down the channel.
About the “Floor slope”: at 0° the floor is flat and the cells tend to stay put; the default of 5° makes them roll reliably. With fat cells you can try more slope, but steep floors make the dispenser taller.
Mounting: screws or magnets
Under “Mounting” you choose how the dispenser gets onto the wall:
- Screws: a tab above the channels gets holes with counterbores. “Screw diameter” (2.5–6 mm, default 4 mm) is the hole for the shank, “Screw head” (5–12 mm, default 8 mm) the counterbore.
- Magnets: the tab carries pockets for round magnets. “Magnet diameter” (4–20 mm, default 10 mm) and “Magnet height” (1–6 mm, default 3 mm) size the pockets. The pockets are open to the front, so you glue the magnets in from the front. 1.2 mm of plastic stays behind each magnet.
- None: for a dispenser that stands on a desk.
With “Bottom tab” the dispenser gets a second tab at the bottom, which is always on when it is printed in two pieces. An example with magnets and both tabs is the AAA dispenser for the fridge. For a free-standing unit try the AA dispenser without mounting.
Labels in two colors
The “Labels” group puts raised text on the top face of the tray front, one per channel. With “Labels” you choose:
- Cell type: the generator writes “AA”, “AAA” or “CR2032” on the trays.
- Own text: under “Label texts” you enter one text per channel, separated by commas, for example “NiMH,ALK” or “FULL,EMPTY”.
- None: for a smooth stop.
“Text size” (0 = fit the label strip, up to 20 mm) and “Text height” (0.4–2 mm, default 0.8 mm) control the look, and you pick the “Font” from the list. If you give the labels a color of their own, the text becomes a separate part that touches the body but doesn’t overlap it. With a multi-material setup (MMU3, AMS) you get a ready-assigned 3MF file; without one, download “STL per color (ZIP)” and recolor by hand or with a filament change at the text layer. Nice examples are the “FULL” and “EMPTY” dispenser for 18650, the “NiMH” and “ALK” dispenser and the coin cell dispenser for three sizes.
Tall dispensers in two pieces
A channel with 20 or 30 cells becomes taller than the 180 mm bed. In that case the generator splits the dispenser into two pieces itself, which slide together with dovetails on the back plate. Both halves lie side by side on the bed as long as 2 × width + 8 mm fits into 180 mm. The bottom tab is always on then, because it helps hold the pieces. Add a drop of super glue if you want. An example is the tall AA dispenser for 21 cells.
If even two pieces would be too tall, the generator builds as many cells per channel as fit and tells you in a warning.
Printing tips and print numbers
- Orientation: the dispenser prints on its back. The back plate lies flat on the bed and the channels point up. That makes floors, lips and tray stop printable without supports.
- Supports: none. All 13 examples slice without auto-generated supports.
- Layer height and material: 0.20 mm and PLA or PETG are enough. The walls are made for holding cells, not for heavy pulling. For dispensers that get handled a lot, PETG is a little tougher.
- Print numbers: the figures come from PrusaSlicer with a Prusa MINI, the 0.20 mm SPEED profile and Prusament PLA. The default two-channel AA dispenser takes 80 g and 2 h 28 min. The 13 examples range from 36 to 151 g. The four-channel CR2032 dispenser weighs 69 g (2 h 21 min), the two-color coin cell dispenser 46.7 g (1 h 49 min) and the LR44 dispenser 35.8 g (1 h 20 min).
- Test print: change the dimensions step by step. For new cells, first print a small dispenser with few cells per channel and check the rolling.
- Magnets: glue them in with super glue and watch the polarity so they don’t fight each other.
Safety
Never store lithium cells (18650, 21700 and similar) loose together with metal objects: if the positive and negative ends touch via coins, keys or screws, the result is a short circuit that can heat the cell badly. Don’t hang the dispenser over a workbench with metal lying around, stop using damaged or swollen cells, and keep coin cells away from small children. This is general advice and doesn’t replace the cell manufacturer’s instructions.
Origin and license
The dispenser is an original design; no code was taken. The idea of a customizable gravity dispenser with a sloped floor and wall screws comes from the model Battery Dispenser - Customizable by Selelvian (CC BY 4.0). The inspiration for handling coin cell formats in separate sections comes from Coin Cell Battery Dispenser — multi-section tray by Miloslav Brožek (CC BY 4.0). The geometry here is newly constructed, and the cell sizes come from common standard values. You can find all sources and licenses of the project on the licenses page.
Ready to start? Open the generator, browse the examples or print a closed container with the battery storage case.
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 |
|---|---|---|---|
| Cells | |||
| Cell diameter | 14.5 mm | 5 – 40 mm | Largest diameter of your cell. A cell shorter than 0.6 × its diameter stacks flat like a coin cell. |
| Cell length | 50.5 mm | 1 – 80 mm | Length including the terminal; for coin cells the thickness. |
| Clearance | 1 mm | 0.2 – 3 mm | Play added to the diameter and length. 1 mm lets cells roll freely. |
| Channels | |||
| Channels | 2 | 1 – 6 | Channels side by side; limited by the 180 mm bed. |
| Cells per channel | 8 | 2 – 60 | Cells stacked in one channel. Round cells: one more waits in the tray. The height follows from it. |
| Floor slope | 5 ° | 0 – 15 ° | The floor and tray fall forward by this angle so the lowest cell rolls out reliably. |
| Shape | |||
| Wall thickness | 2 mm | 1.2 – 4 mm | Side walls and the dividers between the channels. |
| Back plate | 3 mm | 1.6 – 5 mm | Thickness of the plate against the wall. |
| Front lip | 4 mm | 1.5 – 8 mm | How far the lips reach over the cell ends (coin cells: over the edge). They rise at 50° and print without supports. |
| Tray stop | 6 mm | 2 – 25 mm | Height of the tray front above the floor; the labels sit on its top. |
| Mounting | |||
| Screw diameter | 4 mm | 2.5 – 6 mm | Hole for the screw shank, 0.4 mm added. |
| Screw head | 8 mm | 5 – 12 mm | Diameter of the counterbore for the screw head. |
| Magnet diameter | 10 mm | 4 – 20 mm | Round magnets, 0.2 mm added for gluing. |
| Magnet height | 3 mm | 1 – 6 mm | The tab is made thick enough; 1.2 mm of plastic stays behind the magnet. |
| Labels | |||
| Text size | 0 mm | 0 – 20 mm | Height of the capital letters, 0 = fit the label strip. |
| Text height | 0.8 mm | 0.4 – 2 mm | How far the labels stand out. |
Frequently asked questions
Do I need supports?
No. The dispenser prints lying on its back, and the lips and the tray stop rise at 50°. All 13 examples slice without auto-generated supports.
Which batteries fit?
All round formats from AAA to 32700 (AA, C, D, 18650, 21700 and more) and coin cells such as CR2032, CR2025 or LR44. With “Custom size” you enter the diameter and length yourself.
The cells jam or fall out too easily. What now?
Adjust the “Clearance”. At 1 mm the cells roll freely; if they jam, try 1.5 mm, and if they rattle, go down to 0.6 mm. Also check the “Floor slope”.
How tall can the dispenser be?
The bed allows 180 mm. If the dispenser would be taller, the generator splits it into two pieces that slide together with dovetails.
Is it safe to store lithium cells in it?
With care. The dispenser is open, so cells can only short-circuit if something metal falls in. Don’t hang it over tools or keys, and never carry loose lithium cells in a pocket.
Origin & license
- Battery Dispenser - Customizable by Selelvian · CC BY 4.0 · dimensions and shape adopted – idea of a customizable gravity dispenser with a sloped floor and wall screws adopted; geometry newly constructed, no code taken
- Coin Cell Battery Dispenser — multi-section tray by Miloslav Brožek · CC BY 4.0 · idea – inspiration for coin cell formats in separate sections; own design as a stacking dispenser