It would help if you decided on the physical size so that you can get some advise on the frame.

20 - 30mm box doesn't seem big enough unless you are going to build a 3D printer.