Battery box for AA cells

This is a battery box designed as a module in OpenSCAD, that allows you to make a holder for 1 to as many as you like (or your OpenSCAD installation will want to compile)


Creative Commons Attribution Share Alike

Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags


I needed a battery holder that could be screw mounted on a little robot and decided to design one that could be 3D printed.

I have put comments in the OpenSCAD code, so if you want to modify things, it should be relatively easy to find the right spots to edit.

If all you want to change is the number of cells, simply call the module with a different argument.

Materials and methods

This battery box is designed for AA batteries using a little clip from Keystone Electronics (part number 5209).

I got them from DigiKey

You will need two of these for each cell in the holder.

In addition, you will also need some relatively thin wire, to connect the cells on the back, and some wire to connect the battery box to your load.



Issues are used to track todos, bugs or requests. To get started, you could create an issue.


Mini kennymccormickchenio added this to the Cosas ütiles collection ago
B98936da07d8f56c72cf8d11d7435337?default=blank&size=40Jake Gresores added this to the electronics collection ago
Bae1b78dfd7cedac050c4a3cbd822eea?default=blank&size=40Mint Catfish added this to the instruments collection ago
Fb09624904e47b0a9696bb74eaf4582d?default=blank&size=40hsumfym added this to the To Make collection ago
A5bac09a016b77be623b9e3c2c413716?default=blank&size=40Bob Hertlein added this to the Want to print collection ago
3ad3a1fc49f48841e38dc6e74c5e6b8f?default=blank&size=40LogicalOcean added this to the Tools collection ago
47d16c453ecfc55c1b9ca86c11e1ddca?default=blank&size=40Brad Duffy added this to the builds collection ago
4f08c2070570376391465dcd6f11c177?default=blank&size=40Julie G added this to the useful things collection ago
0592e92f50010d5abf34a408bf416747?default=blank&size=40redpaul6t8 added this to the Things to Make collection ago
6b81b5194692bcd3596ee393d0331d4a?default=blank&size=40Alicia added this to the ZuLa collection ago
Df8067572b61f4b1b8e292b718b1ff1e?default=blank&size=40imoraj added this to the Robotics collection ago
08db9d1502275a2a07b17a9a128f92a2?default=blank&size=40André Uhlmann added this to the nützlich collection ago
11cec9988b47fd8b070cf54d930a98d4?default=blank&size=40Marco Sascha Sven Hoppe added this to the things to make collection ago
A3c95f72506b4da81681ef40714f75f0?default=blank&size=40Jordi Bisbal Llongueras added this to the electronica collection ago
19058bd73fcdd07df955f84cb1c47e37?default=blank&size=40sapimen added this to the teste collection ago
03aa9a2afc7928e33c5de3b799ea7d9d?default=blank&size=40The Last Saxon added this to the to make collection ago
68c0e016ce3c4bbf00d47a64a94a6359?default=blank&size=40chmax added this to the MyPrintPlan-chmax collection ago
60e01f065785145eb9cec924da7fa096?default=blank&size=40Danny Staple added this to the robot collection ago
F02b16476bffd2535f391c9b42a29159?default=blank&size=40liu bing added this to the electrcs collection ago
272073b8a6ef4a96db1fb9b957086fbf?default=blank&size=40erakan added this to the Arduino collection ago
D405cff3d792c9173d8e4b9bb3327dbe?default=blank&size=40DaHc added this to the Tools collection ago
D617f61d1ce650e17e4390c57010776e?default=blank&size=40Aaron Keller added this to the Tools collection ago
0bcaff118cf24409a33f8bcfaf9d2241?default=blank&size=40lionohack added this to the Functional collection ago
5773b9fe6d21dce0b405ed21d740304b?default=blank&size=40asoriga added this to the things collection ago
Mini img 20160616 214649728ltmhenrique added this to the Util collection ago
5ecd4ebbd6c5bbd870d7b2ef24aa55c3?default=blank&size=40ashish81in added this to the MayDo collection ago
8fc5b5414d20d12d4b3d40b31b80c128?default=blank&size=40gver added this to the zanimivo collection ago
519028b00400fb6fe4aefc2ad55c2470?default=blank&size=40madmedix added this to the workbench collection ago
05d6c982b3929cb9c5e9cb3ac311f89d?default=blank&size=40Rajapandian Siva Ganesa Karthikeyan added this to the want to print collection ago
Mini rideSnorge added this to the *Tools collection ago
D960df009f7f5e2482c1123e6ef0d073?default=blank&size=40youmagine_USA added this to the Electronics collection ago
57b8db601e060a86dad9a2214278fd9a?default=blank&size=40Artem Kobzarenko added this to the Boxes collection ago
57b8db601e060a86dad9a2214278fd9a?default=blank&size=40Artem Kobzarenko added this to the For Electronics collection ago
A7efbdb3eba1f556d2a86dc4f658667a?default=blank&size=40jdsantiagojr added this to the Useful collection ago
B33e6fe91ac6aa701bb633250c5042b2?default=blank&size=40Fredy added this to the to print collection ago
C3f154aa6c5363bc08411d003ff06ef6?default=blank&size=40jansol added this to the JCollection01 collection ago
5243c8eed82be8d1dc4fee62bcc0a5cc?default=blank&size=40bic2017 added this to the Produit001 collection ago
Debcc397dd2317f26b2e4531be8bcdb5?default=blank&size=40Julian Holtmeyer added this to the Electronics collection ago
4f2a1db03744cb067e3c9d6b8c4fae64?default=blank&size=40Aleksandr Faronov added this to the printer collection ago
63edcd74e2df22ef0057e2d8e36ee6b5?default=blank&size=40BenRoe added this to the Electric collection ago
7321934b88ca8da079d7b89926501a9c?default=blank&size=40David Turnbull added this to the ToPrint collection ago
3e7731f672e6fb82abeaf5f0442b7cad?default=blank&size=40Medic265 added this to the Battery Stuff collection ago
Bcbf3000397afde5dd1875cf5476e84b?default=blank&size=40wowowaa added this to the Cool Stuff collection ago
02c0e4a45277fae90fd149455014b3d2?default=blank&size=40Saqhara added this to the Tech collection ago
2a8d3a5c51e6dea0704d0df33ce60192?default=blank&size=40danyck added this to the Useful collection ago
09222edef5e27465b251db69bebd39c1?default=blank&size=40lilwheatos added this to the Things to print collection ago
F5789401341181829d2b0e65b248459b?default=blank&size=40frasart added this to the Electronic collection ago
3125dedda1e97218778baecec6a13e84?default=blank&size=40Alison Hapka added this to the Robotics class collection ago
39e2f3590d780a2acf7d1cf162601af8?default=blank&size=40frol added this to the Electronics collection ago
Mini jdavis iteea smJLD added this to the Useful collection ago
Mini 3davatarPaulo Rodrigues added this to the Usefull Stuff collection ago
6e3f0a702d073ca7e64c78089daef2c9?default=blank&size=40srakoon added this to the Energy collection ago
Cc80b3a54c9397c406712c82fb966959?default=blank&size=40andi04 added this to the robot collection ago
B4839cef53eefa3f12bc5d24d3b495ba?default=blank&size=40MavericksDesign added this to the Things to Make collection ago
7b80cb1f51216ed66fa299979307185a?default=blank&size=40loic19871 added this to the Things to make collection ago
2ceed8c566cfbdc32145a8e5e1b8dfa4?default=blank&size=40Agustín added this to the Electrónica collection ago
5ce66a3cb0a5e8fd70b26d110d23a739?default=blank&size=40Zrenjaninac added this to the To print collection ago
Mini luke armKeith Violette added this to the Sean collection ago
Mini elfen lied 11 thumb large 1 Da6oN added this to the Electronic collection ago
5d6189ff24cffd47515d963fcf78f703?default=blank&size=40Lucinity added this to the print? collection ago
Mini img 0252Pariss added this to the Ardunio, Adafruit, Engineering collection ago
Mini 1385678 10205070354299244 1008455131394468774 nJAT.MN added this to the Elec. Things collection ago
B37213085426e7f4e3d2455d118e5dfa?default=blank&size=40Petar Savov added this to the MyCollection collection ago
Mini f avatarThomas Flummer published this design ago