OLED Screen, Chassis Mount With A Drill 3D Printer Model

License: CC BY-NC-SA
File formats: dxf,stl,scad
Download type: zip
Size:528.4KB

The file 'OLED Screen, Chassis Mount With A Drill 3D Printer Model' is (dxf,stl,scad) file type, size is 528.4KB.

Summary

The inexpensive OLED screens are wonderful additions to microcontroller projects, but mounting is a pain. I wanted to make them easier to integrate by providing a parametric model that neatly covers the electronics and can be mounted with a drill into a flat surface.

Drill a 16mm hole and a 3mm hole 20mm apart, and you have your footprint. The mount and shell portions fasten together with four M2 bolts and nuts. The included nut goes on the back. Assembly complete.

The included model works for this 1.3" screen.
Cheaper models are available, but they will require modifying the variables in the OpenSCAD code.

The critical values for a different screen are:
[] boardRiserHeight // How thick are the components on the back of the board? Some are very thin.
[] antiRotationPegDiameter // Set this to "0" if you do not want an anti-rotation peg.
[] horizontalDistanceBetweenMountingHoles // Length, in millimeters, between the hole centers at the top of the OLED PCB (Printed Circuit Board).
[] verticalDistanceBetweenMountingHoles // Length, in millimeters, between the hole centers at the sides of the OLED PCB.
[] PCBDiagonal // The diagonal measurement of your PCB. Set to "0" if you want the code to calculate the distance based on the vertical and horizontal hole distances.
[] OLEDPanelWidth // Width of the screen. This is for the screen component and creates a window in the lid.
[] OLEDPanelHeight // Screen height. This is for the screen component and creates a window in the lid.

For the latest revisions, please visit my OLEDHoleMount GItHub page.

My code uses the threads-scad library from Ryan Coyler. Thank you, Ryan.

Footprint_2024-11-09_01.dxf 101.0KB
OLEDMount_2024-11-03_LargeOvularHoles_Base.stl 1012.6KB
OLEDMount_2024-11-03_LargeOvularHoles_Lid.stl 165.7KB
OLEDMount_2024-11-09_04.scad 31.2KB
OLEDMount_2024-11-09_Nut.stl 412.9KB