hardware: SB-LoRa rev 2 case: J1's body sits wholly in front of the board edge (photos of the MCS-068SMA1 against rev 1: the board butts against its back face, only the tails lie on the board), 5.2 mm deep

This commit is contained in:
rich committed 2026-11-26 09:59:44 -05:00
1 parent 67c885d852
commit 737bb7ea81
4 files changed
+348 -431

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ openscad -D 'part="lid"' -o sb-lora-case-lid.stl sb_lora_case.scad
1. **Print nkorth's blank first** (the files are on PalmDB and Thingiverse). If it doesn't fit the slot, this case won't either.
2. **Measure in the Visor's slot:** how deep the connector's contact centre line sits below the back surface (`conn_z`, now 3.35 mm), and where the connector face sits relative to the slot's end (the board's connector edge is 2.67 mm past the shell, from springSD's outline).
3. **Measure the J1 parts** when they arrive: the body's width, depth and thickness (`j1_w`, `j1_d`, `j1_h`), and the row gap, which sets `pcb_t`.
3. **J1 measured** (2026-11-26): the MCS-068SMA1 body is 47.5 mm wide with its ears, 5.2 mm deep and 2.8 mm thick, and sits wholly in front of the board edge, so with the edge 2.67 mm past the shell its front face is about 7.9 mm past the shell. Check that against the Visor (step 2).
4. **Measure the radio boards and the LiPo:** the height of the XIAO with its USB-C and of the Wio with its u.FL plug above the carrier (`radio_h`), the pin stubs below it (`under_h`), and the cell (`lipo`).
5. **Check the Visor's top end:** the bump sits against it, so make sure it clears the IR window and the stylus.
File diff suppressed because it is too large. Load diff
+95 -95
View File
@@ -1224,13 +1224,6 @@ solid OpenSCAD_Model
vertex 1.766072738022777 47.622806984789406 -4.228353019929562
endloop
endfacet
facet normal -0.0532443839706394 -0.08243843110973305 -0.9951728194900387
outer loop
vertex 1.8286940280253483 47.56172790238594 -4.228353019929562
vertex 1.950932325672582 47.715012295055665 -4.247590912410345
vertex 1.8532695255446383 47.545855363224625 -4.228353019929562
endloop
endfacet
facet normal -0.04477158360384489 -0.08733020468229181 -0.9951728194900386
outer loop
vertex 1.8532695255446383 47.545855363224625 -4.228353019929562
@@ -1238,6 +1231,13 @@ solid OpenSCAD_Model
vertex 1.8793032964405483 47.53250862764293 -4.228353019929562
endloop
endfacet
facet normal -0.0532443839706394 -0.08243843110973305 -0.9951728194900387
outer loop
vertex 1.8286940280253483 47.56172790238594 -4.228353019929562
vertex 1.950932325672582 47.715012295055665 -4.247590912410345
vertex 1.8532695255446383 47.545855363224625 -4.228353019929562
endloop
endfacet
facet normal -0.061188017728499536 -0.07672734737174067 -0.9951728194900387
outer loop
vertex 1.8058210462180389 47.57996849670166 -4.228353019929562
@@ -1266,13 +1266,6 @@ solid OpenSCAD_Model
vertex 1.9115831060212432 47.75742066798603 -4.247590912410345
endloop
endfacet
facet normal -0.06118801772850424 -0.07672734737173632 -0.9951728194900387
outer loop
vertex 1.8058210462180389 47.57996849670166 -4.228353019929562
vertex 1.935065229627465 47.726419960231915 -4.247590912410345
vertex 1.9427141112001847 47.72032018072296 -4.247590912410345
endloop
endfacet
facet normal -0.06852353747628699 -0.07025371278432754 -0.9951728194900388
outer loop
vertex 1.7848779020920371 47.60039586295054 -4.228353019929562
@@ -1280,6 +1273,13 @@ solid OpenSCAD_Model
vertex 1.935065229627465 47.726419960231915 -4.247590912410345
endloop
endfacet
facet normal -0.06118801772850424 -0.07672734737173632 -0.9951728194900387
outer loop
vertex 1.8058210462180389 47.57996849670166 -4.228353019929562
vertex 1.935065229627465 47.726419960231915 -4.247590912410345
vertex 1.9427141112001847 47.72032018072296 -4.247590912410345
endloop
endfacet
facet normal -0.07517803952307546 -0.06308186523648193 -0.9951728194900387
outer loop
vertex 1.7848779020920371 47.60039586295054 -4.228353019929562
@@ -1406,13 +1406,6 @@ solid OpenSCAD_Model
vertex 1.9926838155455444 47.50663026403425 -4.228353019929562
endloop
endfacet
facet normal -0.026579731243312133 -0.09446998060378399 -0.9951728194900391
outer loop
vertex 1.906536605401743 47.52182034149536 -4.228353019929562
vertex 1.9687452015356401 47.706974819384435 -4.247590912410345
vertex 1.9781628305631973 47.7043251094247 -4.247590912410345
endloop
endfacet
facet normal -0.04477158360384378 -0.08733020468229244 -0.9951728194900386
outer loop
vertex 1.8532695255446383 47.545855363224625 -4.228353019929562
@@ -1427,6 +1420,13 @@ solid OpenSCAD_Model
vertex 1.9687452015356401 47.706974819384435 -4.247590912410345
endloop
endfacet
facet normal -0.026579731243312133 -0.09446998060378399 -0.9951728194900391
outer loop
vertex 1.906536605401743 47.52182034149536 -4.228353019929562
vertex 1.9687452015356401 47.706974819384435 -4.247590912410345
vertex 1.9781628305631973 47.7043251094247 -4.247590912410345
endloop
endfacet
facet normal -0.03585382312467305 -0.0913540514459625 -0.9951728194900386
outer loop
vertex 1.8793032964405483 47.53250862764293 -4.228353019929562
@@ -1476,13 +1476,6 @@ solid OpenSCAD_Model
vertex 1.997553417874078 47.70189515357788 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 1.95963819673704 47.710549055382465 -4.247590912410345
vertex 1.9781628305631973 47.7043251094247 -4.247590912410345
vertex 1.9687452015356401 47.706974819384435 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 1.950932325672582 47.715012295055665 -4.247590912410345
@@ -1493,8 +1486,8 @@ solid OpenSCAD_Model
facet normal 0 0 -1
outer loop
vertex 1.95963819673704 47.710549055382465 -4.247590912410345
vertex 1.987797487191385 47.70262625951129 -4.247590912410345
vertex 1.9781628305631973 47.7043251094247 -4.247590912410345
vertex 1.9687452015356401 47.706974819384435 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
@@ -1504,6 +1497,13 @@ solid OpenSCAD_Model
vertex 1.987797487191385 47.70262625951129 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 1.95963819673704 47.710549055382465 -4.247590912410345
vertex 1.987797487191385 47.70262625951129 -4.247590912410345
vertex 1.9781628305631973 47.7043251094247 -4.247590912410345
endloop
endfacet
facet normal -0.033917635524260456 -0.19235646971324916 -0.9807387942566049
outer loop
vertex 1.891863646870105 47.32622368101069 -4.190062506389088
@@ -1616,13 +1616,6 @@ solid OpenSCAD_Model
vertex 1.9077829370307982 47.766435733987755 -4.247590912410345
endloop
endfacet
facet normal -0.09619212918105395 -0.019445658432209134 -0.9951728194900388
outer loop
vertex 1.7098167674237992 47.75626191514013 -4.228353019929562
vertex 1.9029607421077475 47.785373685244494 -4.247590912410345
vertex 1.904899262642427 47.7757843767445 -4.247590912410345
endloop
endfacet
facet normal -0.09765029121880445 -0.009771385425286785 -0.9951728194900388
outer loop
vertex 1.7098167674237992 47.75626191514013 -4.228353019929562
@@ -1630,6 +1623,13 @@ solid OpenSCAD_Model
vertex 1.9029607421077475 47.785373685244494 -4.247590912410345
endloop
endfacet
facet normal -0.09619212918105395 -0.019445658432209134 -0.9951728194900388
outer loop
vertex 1.7098167674237992 47.75626191514013 -4.228353019929562
vertex 1.9029607421077475 47.785373685244494 -4.247590912410345
vertex 1.904899262642427 47.7757843767445 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 1.916262001827036 47.748828774515445 -4.247590912410345
@@ -1653,16 +1653,16 @@ solid OpenSCAD_Model
endfacet
facet normal 0 0 -1
outer loop
vertex 1.9019866413147504 47.79510835663167 -4.247590912410345
vertex 1.916262001827036 47.748828774515445 -4.247590912410345
vertex 1.9077829370307982 47.766435733987755 -4.247590912410345
vertex 1.904899262642427 47.7757843767445 -4.247590912410345
vertex 1.9019866413147504 47.79510835663167 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 1.916262001827036 47.748828774515445 -4.247590912410345
vertex 1.9077829370307982 47.766435733987755 -4.247590912410345
vertex 1.9019866413147504 47.79510835663167 -4.247590912410345
vertex 1.9077829370307982 47.766435733987755 -4.247590912410345
vertex 1.904899262642427 47.7757843767445 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
@@ -9001,6 +9001,13 @@ solid OpenSCAD_Model
vertex 52.026579023771056 47.70553253390196 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 51.99755341787408 47.70189515357788 -4.247590912410345
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
vertex 52.01704102445862 47.70335554780016 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 51.99755341787408 47.70189515357788 -4.247590912410345
@@ -9011,8 +9018,15 @@ solid OpenSCAD_Model
facet normal 0 0 -1
outer loop
vertex 51.99755341787408 47.70189515357788 -4.247590912410345
vertex 52.09042938932904 47.76188081583791 -4.247590912410345
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 52.01704102445862 47.70335554780016 -4.247590912410345
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
vertex 52.026579023771056 47.70553253390196 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
@@ -9022,20 +9036,6 @@ solid OpenSCAD_Model
vertex 52.03585286880411 47.708648380123165 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 52.01704102445862 47.70335554780016 -4.247590912410345
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
vertex 52.026579023771056 47.70553253390196 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 51.99755341787408 47.70189515357788 -4.247590912410345
vertex 52.09042938932904 47.76188081583791 -4.247590912410345
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
endloop
endfacet
facet normal 0.049068980395620306 -0.08498996712072457 -0.9951728194900383
outer loop
vertex 52.133880012410046 47.53885737457728 -4.228353019929562
@@ -9073,16 +9073,16 @@ solid OpenSCAD_Model
endfacet
facet normal 0 0 -1
outer loop
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
vertex 52.06118638908814 47.72327469487867 -4.247590912410345
vertex 52.05324296676584 47.7175637631525 -4.247590912410345
vertex 52.075176038510584 47.7369198138124 -4.247590912410345
vertex 52.06852171358652 47.72974815715745 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 52.04477039191941 47.71267211978417 -4.247590912410345
vertex 52.06118638908814 47.72327469487867 -4.247590912410345
vertex 52.075176038510584 47.7369198138124 -4.247590912410345
vertex 52.06852171358652 47.72974815715745 -4.247590912410345
vertex 52.05324296676584 47.7175637631525 -4.247590912410345
endloop
endfacet
facet normal 0.057287413617827666 -0.07968194016981604 -0.995172819490039
@@ -9253,13 +9253,6 @@ solid OpenSCAD_Model
vertex 52.33931541534727 47.452117088360176 -4.190062506389088
endloop
endfacet
facet normal 0.15569901284191223 -0.11793741916861487 -0.9807387942566056
outer loop
vertex 52.22480412918548 47.61136693811333 -4.228353019929562
vertex 52.242468814737606 47.634687561220204 -4.228353019929562
vertex 52.37226723320589 47.487630701917546 -4.190062506389088
endloop
endfacet
facet normal 0.14318253461205302 -0.132853977065677 -0.9807387942566058
outer loop
vertex 52.204905239199945 47.58992103512251 -4.228353019929562
@@ -9267,6 +9260,13 @@ solid OpenSCAD_Model
vertex 52.37226723320589 47.487630701917546 -4.190062506389088
endloop
endfacet
facet normal 0.15569901284191223 -0.11793741916861487 -0.9807387942566056
outer loop
vertex 52.22480412918548 47.61136693811333 -4.228353019929562
vertex 52.242468814737606 47.634687561220204 -4.228353019929562
vertex 52.37226723320589 47.487630701917546 -4.190062506389088
endloop
endfacet
facet normal 0.09766193915762426 -0.16915544058667986 -0.9807387942566046
outer loop
vertex 52.221700295194914 47.36755757560829 -4.190062506389088
@@ -9414,6 +9414,13 @@ solid OpenSCAD_Model
vertex 52.086184580298884 47.75306637906243 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 52.09042938932904 47.76188081583791 -4.247590912410345
vertex 52.098135348654836 47.8 -4.247590912410345
vertex 52.0961895688369 47.78055485915252 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 52.0961895688369 47.78055485915252 -4.247590912410345
@@ -9428,13 +9435,6 @@ solid OpenSCAD_Model
vertex 52.093775470460905 47.77107409819136 -4.247590912410345
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 52.09042938932904 47.76188081583791 -4.247590912410345
vertex 52.098135348654836 47.8 -4.247590912410345
vertex 52.0961895688369 47.78055485915252 -4.247590912410345
endloop
endfacet
facet normal 0.092219517574406 -0.033565159415527054 -0.9951728194900392
outer loop
vertex 52.09042938932904 47.76188081583791 -4.247590912410345
@@ -12977,13 +12977,6 @@ solid OpenSCAD_Model
vertex 52.29346094891072 74.78809856015512 -4.228353019929562
endloop
endfacet
facet normal 0.09704184085315744 0.014626704074283304 -0.9951728194900391
outer loop
vertex 52.1223822226832 75.16224618843543 -4.245142607601591
vertex 52.11558681574246 75.17336637890575 -4.245641804378158
vertex 52.28764234838022 75.2081481552063 -4.228353019929562
endloop
endfacet
facet normal 0.09801596757448452 0.0048917735725467135 -0.9951728194900384
outer loop
vertex 52.12986571265702 75.15 -4.2444657443307365
@@ -12991,6 +12984,13 @@ solid OpenSCAD_Model
vertex 52.29200267553411 75.179219274743 -4.228353019929562
endloop
endfacet
facet normal 0.09704184085315744 0.014626704074283297 -0.9951728194900391
outer loop
vertex 52.11558681574246 75.17336637890575 -4.245641804378158
vertex 52.28764234838022 75.2081481552063 -4.228353019929562
vertex 52.1223822226832 75.16224618843543 -4.245142607601591
endloop
endfacet
facet normal 0.09801714032956482 2.9894431200034455e-15 -0.9951847266721964
outer loop
vertex 52.12986571265702 75.15 -4.2444657443307365
@@ -13068,13 +13068,6 @@ solid OpenSCAD_Model
vertex 52.28042330233929 75.23649913317898 -4.228353019929562
endloop
endfacet
facet normal 0.07822895873918893 0.059256133546064835 -0.9951728194900388
outer loop
vertex 52.085846694524975 75.22203392971369 -4.24621897127163
vertex 52.22480412918548 75.33863306188667 -4.228353019929562
vertex 52.242468814737606 75.3153124387798 -4.228353019929562
endloop
endfacet
facet normal 0.0719402158555331 0.06675076547056943 -0.9951728194900382
outer loop
vertex 52.079842833107456 75.23185881335974 -4.245993985808498
@@ -13082,6 +13075,13 @@ solid OpenSCAD_Model
vertex 52.22480412918548 75.33863306188667 -4.228353019929562
endloop
endfacet
facet normal 0.07822895873918893 0.059256133546064835 -0.9951728194900388
outer loop
vertex 52.085846694524975 75.22203392971369 -4.24621897127163
vertex 52.22480412918548 75.33863306188667 -4.228353019929562
vertex 52.242468814737606 75.3153124387798 -4.228353019929562
endloop
endfacet
facet normal 0.0837402270850609 0.05117258754439317 -0.9951728194900391
outer loop
vertex 52.09167214174418 75.21250100795972 -4.246328666203254
@@ -13096,13 +13096,6 @@ solid OpenSCAD_Model
vertex 52.29346094891072 75.15 -4.228353019929562
endloop
endfacet
facet normal 0.09704184085317104 0.014626704074234095 -0.9951728194900383
outer loop
vertex 52.1223822226832 75.16224618843543 -4.245142607601591
vertex 52.28764234838022 75.2081481552063 -4.228353019929562
vertex 52.29200267553411 75.179219274743 -4.228353019929562
endloop
endfacet
facet normal 0.09801596757448405 0.004891773572549365 -0.9951728194900383
outer loop
vertex 52.12986571265702 75.15 -4.2444657443307365
@@ -13110,6 +13103,13 @@ solid OpenSCAD_Model
vertex 52.29346094891072 75.15 -4.228353019929562
endloop
endfacet
facet normal 0.09704184085317104 0.014626704074234095 -0.9951728194900383
outer loop
vertex 52.1223822226832 75.16224618843543 -4.245142607601591
vertex 52.28764234838022 75.2081481552063 -4.228353019929562
vertex 52.29200267553411 75.179219274743 -4.228353019929562
endloop
endfacet
facet normal 0.08841924743226394 0.04258046537743213 -0.9951728194900388
outer loop
vertex 52.09743969305173 75.20306282866498 -4.246328666203255
@@ -21363,11 +21363,11 @@ solid OpenSCAD_Model
vertex 52.07352501905346 75.24219745771894 -4.245641804378159
endloop
endfacet
facet normal -0.8532908816320987 -0.5214352033795914 -8.672276003342667e-15
facet normal -0.8532908816320987 -0.5214352033795914 -8.67268945418832e-15
outer loop
vertex 52.11558681574246 75.17336637890575 -4.245641804378158
vertex 52.1223822226832 75.16224618843543 -4.245142607601591
vertex 52.15644314674046 75.10650795724264 -3.05
vertex 52.11558681574246 75.17336637890575 -4.245641804378158
endloop
endfacet
facet normal -0.8532908816322382 -0.5214352033793631 5.944876404745368e-15
+4 -3
View File
@@ -50,7 +50,8 @@ assert(pcb_bot <= slot_h - 0.8, "conn_z leaves less than 0.8 mm of floor under t
// ---- J1 body (measured MCS-068SMA1: 47.5 mm with ears, 44.5 without, 5.2 deep, 2.8 thick) ----
j1_w = 47.5 + 2 * clr; // body width with the mounting ears
j1_d = 5.5; // body depth from the board edge (J1_KEEP); MEASURE where the board edge sits in the body
j1_d = 5.2; // body depth, all of it in front of the board edge (the board butts against its back face)
j1_tail = 2.0; // tails reaching back over the board (rev 1's 1.83 mm pads)
j1_h = 2.8 + 2 * clr; // body thickness, centred on the contacts
// ---- extension bump ----
@@ -129,8 +130,8 @@ module cavities() {
// pins under the board, then the LiPo
translate([pcb_x + 0.8, slot_l + 0.5, pcb_bot - e]) cube([pcb_w - 1.6, pcb_y1 - slot_l - 0.5 - 0.8, under_h + e]);
translate([(slot_w - lipo[0]) / 2 - 0.3, pcb_y1 - lipo[1] - 0.8, pcb_bot + under_h - e]) cube([lipo[0] + 0.6, lipo[1] + 0.6, lipo[2] + 0.5 + e]);
// J1 body at the connector end, open to the Visor's connector
translate([(slot_w - j1_w) / 2, -5, conn_z - j1_h / 2]) cube([j1_w, pcb_y0 + j1_d + 5 + 0.3, j1_h]);
// J1 body and tails at the connector end, open to the Visor's connector
translate([(slot_w - j1_w) / 2, pcb_y0 - j1_d - clr, conn_z - j1_h / 2]) cube([j1_w, j1_d + j1_tail + 2 * clr, j1_h]);
// USB-C opening in the far wall
translate([usb_x - usb_open[0] / 2, pcb_y1, usb_z - usb_open[1] / 2]) cube([usb_open[0], bump_y1 - pcb_y1 + 1, usb_open[1]]);
// antenna pocket in the lid's ceiling