3D Printing Generator
DeutschEnglish

Gridfinity battery bin: AA, 18650 and coin cell holders

A Gridfinity bin for your batteries

Loose batteries end up in a drawer where they roll around, get mixed up and lose their charge in contact with keys and screws. This generator makes a battery bin for the Gridfinity system: a block with one fitted pocket per cell, sitting on the standard 42 mm grid. You choose a battery type, the number of grid units and how deep the cells should sink, and the generator fills the bin with as many pockets as fit. Browse the example gallery to see the typical sizes, from eight AA cells in two units to a single bin for CR2032 coin cells.

The bin works like a pegboard for batteries. Each cell stands in its own round pocket, you see at a glance what is left, and you grab a cell by its exposed top. Because the bin follows the Gridfinity dimensions, it lives next to your screw bins and tool holders on the same baseplate. For other kinds of storage see the Gridfinity bin generator with dividers and the battery dispenser for the wall.

How the generator works

Everything runs in your browser. Nothing is uploaded, and the whole design is stored in the link in the address bar, so you can bookmark it or send it to someone. The preview updates while you change a value. When it looks right, download an STL for any slicer or a 3MF file, which carries the colors as well.

The workflow is short. Pick a “Battery type”, set “Width (units)” and “Depth (units)”, check the pocket count in the summary, and adjust “Clearance” if you know your printer. Then add a “Label” if you want one and download the file.

Battery type and orientation

Under the group “Battery” you pick the cell. The presets use nominal sizes:

GroupTypes
HouseholdAA (Mignon), AAA (Micro), C (Baby), D (Mono), 9 V block
Lithium round cellsCR123A / 16340, 18650, 21700, 26650
Coin cellsCR2032, CR2025, CR2450, LR44 / AG13
Your ownCustom round cell, Custom pack (camera, drone)

For your own cell, enter the “Diameter” and “Length”, or for a rectangular pack the “Width”, “Thickness” and “Length”, from 2 to 120 mm depending on the field. Measure with calipers at the widest point. Camera and drone batteries are often slightly bulged, so add a little extra.

The “Orientation” is “Automatic” by default: coin cells stand on edge in round troughs, everything else stands upright. With “Lying” a cell rests on its side in a trough. That makes a low bin for a shallow drawer, and it is the right choice for long cells, for example AA lying flat in a low 2 × 2 bin. “Upright” forces the standing layout.

Pockets: clearance, depth and walls

The group “Pockets” controls how the cells sit.

  • Clearance (0–2 mm, default 0.5 mm) is added to the pocket size. 0.3 mm holds tight, 1 mm and more drops in loosely. Large cells such as 18650 and 21700 are more comfortable with 0.8 to 1 mm, which several examples use.
  • Pocket depth (20–100 %, default 50 %) says how much of the cell sits in the pocket. Around half leaves enough to grab. Very deep pockets are hard to empty, and the generator warns you about that.
  • Wall between cells (0.8–8 mm, default 2 mm) is the smallest wall between two pockets and toward the outer wall. Coin cell bins work well with 1.2 mm.
  • Packing offers “Grid” or “Staggered”. Staggered rows nest round cells into the gaps and fit more of them into larger bins, which pays off from about 3 × 2 units.
  • Entry chamfer (0–2 mm, default 0.6 mm) bevels the pocket edge so cells slide in without catching on the first layer.

If the chosen footprint does not allow a row, the generator also tries the layout turned by 90° and keeps the one with more cells. If no cell fits at all, a warning tells you to enlarge the bin, lay the cells down or reduce the wall.

Size and height

“Width (units)” and “Depth (units)” run from 1 to 4 units of 42 mm each. “Height (units)” counts 7 mm steps without the stacking lip, with a minimum of 2. The default 0 means automatic: just high enough for the pockets. If you set a height that is too low for the chosen depth, a warning shows how much of the cell actually sits in the pocket and how many units would be needed.

The “Stacking lip” lets you place another bin on top. Switch it off for the top bin of a stack or a flush finish. Keep an eye on the printer: bins larger than 180 mm trigger a warning.

Magnets and screws

“Base holes” offers “None”, “Magnets” and “Magnets + M3”. Magnets are 6 × 2 mm discs that hold the bin on a magnetic baseplate. The M3 holes fasten it from below. “Outer corners only” reduces the holes to the four corners of the whole bin instead of four per unit, which saves magnets in large bins. Press the magnets in after printing and mind their polarity.

Label and second color

Under “Label” type a short text such as “AA” or “Charged”. It is raised text in a strip in front of the pockets. “Font”, “Text size” (0 = as large as fits) and “Text height” (0.4–1.2 mm) are adjustable. If the text does not fit its strip, the generator makes it smaller and tells you. Very small letters are flagged too, since a 0.4 mm nozzle cannot print thin strokes cleanly.

The colors are “Bin” and “Label”. As long as the label has no color of its own it is part of the bin. Give it a color and it becomes a second part that touches the bin without overlapping it. Download “Multi-color 3MF (PrusaSlicer)” for PrusaSlicer, “3MF (Bambu Studio / OrcaSlicer)” for Bambu Studio and OrcaSlicer, or “STL per color (ZIP)” and assign the parts yourself. The “AAA bin with a label in a second color” example is a good start. On a printer with one extruder, a color change at a layer height only recolors whole layers, so the raised letters do not get their own color that way.

Printing tips and print numbers

Print the bin with its feet on the bed. Pockets open upwards, so the bin needs no supports of its own. The only overhangs are the 45° chamfers of the Gridfinity feet. A slicer with automatic supports may place a small patch there, between 0.2 and 4.6 mm height. That patch matches what other Gridfinity generators on this site produce, and it is harmless. Coin cell bins on one unit slice without any.

Use 0.2 mm layers and PLA or PETG. Two to three perimeters are enough, 15 % infill is fine. Print a test bin before a large batch, since clearance depends on your printer and filament.

Numbers from a real slice (PrusaSlicer, Prusa MINI, 0.20 mm SPEED, Prusament PLA):

ExampleWeightTime
Eight AA on 2 × 1 units42 g1 h 48 min
AAA bin with label on 2 × 141 g1 h 26 min
9 V blocks on 2 × 138 g1 h 24 min
D cells on 2 × 276 g2 h 40 min
18650 staggered on 3 × 2125 g4 h 37 min
21700 on 2 × 295 g3 h 44 min
CR2032 coin cells on 1 × 115 g41 min
LR44 on 1 × 115 g41 min

Your numbers differ with other printers and profiles. Tall staggered bins take the longest, coin cell bins are done in under an hour.

Safety

The bin only holds cells. Do not store damaged, swollen or leaking cells in it. Keep lithium cells away from loose metal, and do not stack loose cells on top of each other. For long-term storage of lithium cells use a box meant for the purpose, and print the bin from a material that does not soften in a hot car or a sunny window; PLA softens at around 55 °C.

Origin and license

This generator is a new implementation. The idea of Gridfinity bins with half-sunk battery pockets comes from the models of other makers. It uses the following sources:

All licenses and credits are listed on the licenses page. Ready to build one? Open the generator or look at 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.

ParameterDefaultRangeMeaning
Battery
Diameter14.5 mm4 – 60 mmDiameter of your cell, measured with calipers.
Width26.5 mm4 – 80 mmWider side of the pack.
Thickness17.5 mm2 – 50 mmNarrower side of the pack.
Length50 mm2 – 120 mmLength along the cell (for a coin cell: its thickness).
Pockets
Clearance0.5 mm0 – 2 mmAdded to the pocket size. 0.3 mm holds tight, 1 mm or more drops in loosely.
Pocket depth50 %20 – 100 %How much of the cell sits in the pocket. Around 50 % leaves enough to grab.
Wall between cells2 mm0.8 – 8 mmSmallest wall between two pockets and toward the outer wall.
Entry chamfer0.6 mm0 – 2 mmBevel at the top of round pockets so cells slide in easily.
Bin
Width (units)21 – 4Number of 42 mm grid units from left to right.
Depth (units)11 – 4Number of 42 mm grid units from front to back.
Height (units)00 – 15Height in 7 mm units without the stacking lip (at least 2); 0 = just high enough for the pockets.
Label
Text size0 mm0 – 10 mmHeight of the capital letters, 0 = as large as fits.
Text height0.6 mm0.4 – 1.2 mmHow far the letters stand out of the bin top.

Frequently asked questions

Which batteries fit?

AA, AAA, C, D, 9 V blocks, CR123A, 18650, 21700, 26650 and the coin cells CR2032, CR2025, CR2450 and LR44. For anything else choose “Custom round cell” or “Custom pack (camera, drone)” under “Battery type” and enter the size you measured with calipers.

The cells are too tight or fall out. What now?

Change the “Clearance”. The default of 0.5 mm suits most printers. Use 0.3 mm for a snug hold and 1 mm or more if the cells should drop in loosely. Printers differ, so print a small 1 × 1 test bin first.

Do I need supports?

No. Only the chamfers of the Gridfinity feet are overhangs, and they sit at 45°. A slicer may still add a thin auto-support patch under them, just as with other Gridfinity bins. The pockets themselves print clean.

Does the bin fit on my Gridfinity baseplate?

Yes. Width and depth are whole 42 mm grid units, the height is counted in 7 mm units and the feet follow the open Gridfinity profile. The bin sits on any matching baseplate and mixes with other Gridfinity bins.

How do I print the label in a second color?

Type a text under “Label” and pick a color in the “Label” color slot. The letters become their own part. Download the multi-color 3MF for PrusaSlicer or the 3MF for Bambu Studio and OrcaSlicer, or an STL per color.

Is it safe to store lithium cells in it?

The bin is only a holder. Store cells so that their terminals cannot touch metal or each other, and keep damaged or swollen cells out of it. Plastic pockets keep cells apart, but they do not protect against a short circuit by tools dropped on top.

Origin & license