Skip to content

Commit c5b5fdf

Browse files
committed
update wall box adapter
1 parent 0007c6d commit c5b5fdf

9 files changed

Lines changed: 30 additions & 7 deletions

docs/mechanical-install.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,18 @@ from a convenient power supply installed on the back of the panel:
2626

2727
So I designed an [adapter plate](./wall-box-adapter/waveshare-503wallbox-adapter.scad) with [OpenSCAD](https://openscad.org/):
2828

29-
<img src="../wall-box-adapter/preview.png">
29+
<img src="../wall-box-adapter/preview_openscad.png">
30+
31+
<img src="../wall-box-adapter/preview_bambustudio.png">
3032

3133
This can be 3D-printed. The LCD panel and its electronics are designed to be press-fit
3234
within an hollow box (no screws). Behind the hollow box there
3335
are screw holes to mount the plate on the 503 wall box.
3436

37+
The 3D adapter has a couple of "dents" that allow to take out the LCD panel from its enclosure.
38+
To avoid dust goes inside the dent openings, the 3D model includes also a "dent cover" that is
39+
designed to cover all the rounded box and requires no screw (press fitted).
40+
3541
Here's an actual picture of the adapter plate after 3D printing and mounting within the wall box:
3642

3743
<img src="./installation-photo1.jpeg">

wall-box-adapter/preview.png

-116 KB
Binary file not shown.
73.2 KB
Loading
22 KB
Loading
56.2 KB
Binary file not shown.

wall-box-adapter/waveshare-503wallbox-adapter.scad

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// - DENT_COVER
1515
// - OVERVIEW (both parts above)
1616

17-
PART = "ADAPTER";
17+
PART = "OVERVIEW";
1818

1919

2020
// ------------------
@@ -157,18 +157,35 @@ module adapter() {
157157

158158
module dent_cover() {
159159
// ---- Dent Cover ----
160-
translate([top_dent_x_offset,
161-
box_inner_height/2 + box_wall_thickness*4,
162-
plate_thickness+box_wall_thickness+dent_depth*0.8])
163-
rounded_box_y(dent_width,
160+
161+
translate([0,
162+
0,
163+
plate_thickness+box_inner_depth*2])
164+
/* rounded_box_y(dent_width,
164165
box_wall_thickness*2,
165166
dent_depth*0.8,
166167
dent_corner_radius);
167168
168169
translate([0,
169170
box_inner_height/2 + box_wall_thickness*4 + box_wall_thickness,
170171
plate_thickness+box_wall_thickness/2+box_inner_depth/2])
171-
cube([box_inner_width - box_corner_radius*2, box_wall_thickness, box_inner_depth], center = true);
172+
//cube([box_inner_width - box_corner_radius*2, box_wall_thickness, box_inner_depth], center = true);
173+
*/
174+
difference() {
175+
// Outer shell — rounded vertical corners
176+
rounded_box(box_outer_width+box_wall_thickness*2,
177+
box_outer_height+box_wall_thickness*2,
178+
box_outer_depth,
179+
box_corner_radius);
180+
// Inner cavity (open top) — rounded to match wall thickness
181+
translate([0, 0, 0])
182+
rounded_box(box_inner_width+box_wall_thickness*2,
183+
box_inner_height+box_wall_thickness*2,
184+
box_inner_depth*1.2, // ensures full subtraction
185+
max(0.1, box_corner_radius - box_wall_thickness));
186+
187+
188+
}
172189
}
173190

174191

0 Bytes
Binary file not shown.
11.9 KB
Binary file not shown.
124 KB
Binary file not shown.

0 commit comments

Comments
 (0)