I wanted to share a 3d printed mounting bracket design that I made to mount 18650 cell packs on DIN rails. I believe this can be advantageous for diy powerwall builds because of the following factors:
. It was simply the most common and best designed device for mounting 18650 cell blocks that I have found documented in the community. Because of this it was a natural point of comparison.
The main disadvantage of using DIN rails to mount cell blocks is that the alignment of rails needs to be precise if two rails need to support a single cell block. This will be the case for most deployments and might require some kind of base board instead of using the wall directly. Naturally, using a bent sheet metal holder which already has the proper dimensions takes care of the above for us.
This is not a totally new idea, while looking for existing designs for mounting 18650 cell blocks on DIN rails a number of existing solutions have been documented
The brackets are designed to mate with the dovetails with popular 20.2 mm pitch 18650 cell spacers.
This part has variants for both male and female dovetails as well as only hook, only clip or both hook+clip variants:
How do the different mounting brackets work together? In order to understand this let's look at an example 5x16 cell block. This will be mounted on two parallel horizontal DIN rails using two sets of brackets. The top set of brackets will be the Hook variant and the bottom set of brackets will use the Clip variant. This arrangement will allow for the entire block to be secured as if it was a normal DIN-rail electrical equipment. Don't worry about the corroded junk cells, these are just to simulate the shape and mass:
When you zoom in into the particular brackets you can see how the male and female dovetails mate with eachother:
A video below demonstrates the brackets being attached to the two parallel DIN rails:
diode.zone
Please note, that all of the above information is also found https://pop.fsck.pl/projects/th35-rail-18650-mounts.html and on hackaday (https://hackaday.io/project/183288-mounting-18650-cell-packs-on-din-rails).
- DIN rails are a standard industry component which can be easily purchased instead of ordering custom-cut sheet metal like you would for the HBPowerwall mount
- they are very versatile with mounting equipment other than the packs themselves with a lot of typical electrical equipment mountable on a DIN rail
- they are easily expandable for multiple sizes or amounts of 18650 cell blocks, for example HBPowerwall mount is designed for a 4x20 cell block and needs extra tricks to fit bigger blocks (like shown on this example with 10x20 blocks)
The main disadvantage of using DIN rails to mount cell blocks is that the alignment of rails needs to be precise if two rails need to support a single cell block. This will be the case for most deployments and might require some kind of base board instead of using the wall directly. Naturally, using a bent sheet metal holder which already has the proper dimensions takes care of the above for us.
This is not a totally new idea, while looking for existing designs for mounting 18650 cell blocks on DIN rails a number of existing solutions have been documented
- they are designed to hold relatively small cell blocks not near enough to having for example 4x20 block capacity
- many of them use a lot of filament in order to clip the cell holders from two sides and allow the block to "clip into" the holders, I believe this is overengineered
- some of them use the triangle-shaped cutouts in the holders as attachment points which don't allow for the Batteryhookup nickel fuse roll to be used on the blocks
- flexibility - the mounts should allow for either small or large blocks that might need to be supported by more than one parallel DIN rail
- price - the amount of filament used should be as small as possible
- unobstructed both positive and negative sides of the cell pack in order to facilitate all ways of connecting the cells to busbars

The brackets are designed to mate with the dovetails with popular 20.2 mm pitch 18650 cell spacers.
This part has variants for both male and female dovetails as well as only hook, only clip or both hook+clip variants:
Dovetail | Variant | Bracket image |
---|---|---|
Male | Hook |
![]() |
Male | Clip |
![]() |
Male | Hook and Clip |
![]() |
Female | Hook |
![]() |
Female | Clip |
![]() |
Female | Hook and Clip |
![]() |

When you zoom in into the particular brackets you can see how the male and female dovetails mate with eachother:
A video below demonstrates the brackets being attached to the two parallel DIN rails:

TH-35 (DIN rail) mounts for 18650 cell packs
The demonstration of the process of mounting a 18650 cell block using the DIN rail holders documented on https://pop.fsck.pl/projects/th35-rail-18650-mounts.html
Please note, that all of the above information is also found https://pop.fsck.pl/projects/th35-rail-18650-mounts.html and on hackaday (https://hackaday.io/project/183288-mounting-18650-cell-packs-on-din-rails).