← All journal entries

A small box, a test print and a broken clip

Making an enclosure for an LM2596 converter turned into a useful lesson in testing the small details before printing the whole thing.

I’ve been making a little enclosure for an LM2596 converter. It needs room for the board, access to the connections and an opening for the display. I wanted a lid that clipped on and a way to mount the finished box.

The mounting holes were the first thing to sort out. My measurements were close enough to start a model, but I wanted to see the board sitting on something before committing to the whole print. So I made a thin test plate with the same support positions.

That first print was nearly right. I needed another millimetre between the mounting points across the short side and half a millimetre along the length. I also changed from screw holes to small locating pegs. The second test fitted perfectly. Being able to print just that part saved doing a whole box to find out the spacing needed adjusting.

The lid needed another go

I printed the full enclosure in PLA to check the fit. Everything fitted, but a lid clip broke at its join to the lid, probably while I was fitting it. It was a useful reminder that a part can fit and still need work on how it bends during assembly.

I rounded the joins where the clips meet the lid and made their arms a little thinner so they should flex more easily. The new lid fits the existing base design, so I can test the change using the box I already printed. I still need to try it physically before I can say whether the revision has solved the problem.

Then I realised I needed to screw the box to a wall. I added two external tabs, positioned clear of the connectors, with holes for the No. 8 screws I plan to use. They let me get at the screws without taking out the board.