hardware: SB-LoRa rev 2 draft case: a two-part OpenSCAD shell for FDM, the in-slot part from nkorth's CC0 Springboard slot cover, a bump for the radio boards, LiPo and an FPC antenna, split at the board's top face with two M2 screws; the connector height, J1 body and radio/LiPo heights are parameters to measure

This commit is contained in:
rich committed 2026-11-19 23:09:41 -05:00
1 parent 1e32aea88c
commit 26a8387a6e
6 files changed
+44582 -1

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ A 16550-style UART on csSlot1 replaces rev 1's SC16IS740 SPI bridge and its latc
## Open
- **Connector: the Hirose IC1HA order was cancelled (2026-11-17).** Candidate: 3M MCS-068SMA1-TR30, a 68-contact female PCMCIA receptacle for memory cards ("MEMPAK"), straddle mount, sold on eBay as surplus. It's a Robinson Nugent part (later 3M). The only document found is a catalogue overview page (Robinson Nugent PC Card Products p. 330, "MEMPAK Receptacles"), which gives "PCMCIA Spec, .050\" straddle mount, SMT solder tails, Standard mounting ears" with no offset on the tails; its drawing is on catalogue p. 333, which hasn't turned up. So each row is 34 tails at 1.27 mm, and the listing photos show the two rows directly above each other, with no stagger. The gap between the rows (the board thickness) isn't given, so it and the rest of the land pattern have to be measured from a sample. The same page lists MCS-068SSA1-TR30: one row of 68 SMT tails at .025\" (0.635 mm) on one side of the board, top or bottom mounting. That would suit a single-sided board of any thickness, but no stock turned up (only a broker listing for MCS-068SSA1-TR30TP with no quantity). The MCS-068SMA1 parts from eBay were ordered on 2026-11-19, and J1 is designed around them. Buy enough for every board in one order. Ruled out: a generic AliExpress 68-pin female part (single-sided, but $39 shipping and over 2 weeks, and its photos show an AMP-marked part while it's sold as "Jiansu BST"), TE 5535657 (the host-side header), Hirose IC1K-68RD-1.27SF(71) (LCSC lists it as "Connector and Ejector", which reads as the host-side socket), Hirose IC1F-68RD-1.27SF and IC9 (obsolete), Amphenol 10014744-007T and 71299-050CALF (out of production), and Amphenol 7111S1615A01LF (a SIM card tray). The Springboard uses the same 68-pin PCMCIA contacts (Dev Guide §5, §7.1), and the keying is in the module's plastic case, not the connector. Needed from a sample: markings, the gap between the two rows (the board thickness it takes), tail pitch, tail distance from the mating face, tail width and length, and the body size and any pegs.
- **Case.** The keying is in the module case, so rev 2 needs a case (printed, or a harvested Springboard shell) whose key and latch match the slot, with the board held at the connector's height. Dry-fit a bare harvested connector in the slot to check the contacts seat fully.
- **Case.** The keying is in the module case, so rev 2 needs a case whose key and latch match the slot, with the board held at the connector's height. A draft 3D-printed case is in [rev2/case/](rev2/case/README.md): nkorth's public-domain slot cover for the in-slot part, plus a bump for the radio boards, the LiPo and an internal antenna. It hasn't been printed; the connector height in the slot, J1's body and the radio and LiPo heights still need measuring.
- **Board thickness.** A straddle connector sets it: the board is whatever fits between the two rows. The Hirose IC1HA took 1.6 mm, but PC Card internal boards are often about 0.8 mm, so measure the 3M part's gap before assuming 1.6 mm.
- **LiPo size.** The aim is at least a few days per charge. Estimate, to be replaced by a measurement:
- The XIAO and SX1262 listen all the time (MeshCore companion doesn't sleep the radio): roughly 5-6 mA for the SX1262 in receive with boosted gain, plus 1-3 mA for the nRF52840 with the UART open. Transmits at 22 dBm draw about 120 mA but are short at SF10/BW500 and rare for a companion. Call it 7-10 mA on average.
+37
View File
@@ -0,0 +1,37 @@
# SB-LoRa rev 2 case
A two-part 3D-printed Springboard module shell for the rev 2 board, for FDM printing (PLA or PETG, 0.4 mm nozzle). **Draft:** it hasn't been printed, and the values marked MEASURE in `sb_lora_case.scad` are guesses.
![Exploded view: lid above, base below](case-exploded.png)
## Parts
- `sb_lora_case.scad`: the parametric model (OpenSCAD).
- `sb-lora-case-base.stl`: holds the board, the LiPo and the slot latches.
- `sb-lora-case-lid.stl`: covers the parts and the radio boards, with a pocket for a flexible antenna.
Rebuild the STLs after changing a parameter:
```sh
openscad -D 'part="base"' -o sb-lora-case-base.stl sb_lora_case.scad
openscad -D 'part="lid"' -o sb-lora-case-lid.stl sb_lora_case.scad
```
## Shape
- **In the slot:** the outside is nkorth's public-domain Springboard slot cover ([Thingiverse 4776750](https://www.thingiverse.com/thing:4776750), CC0), so the rails, side latches and end tabs are taken from a part that is known to fit. Inside, the board sits with its contacts on `conn_z`, and J1's body is open at the connector end.
- **The bump:** past the slot opening, a rounded box holds the XIAO and the Wio above the board and the LiPo below it. Assembled, the case is 54 x 77 x 17.4 mm. The bump stands 4.7 mm proud of the Visor's back and reaches 5.3 mm past the slot floor.
- **Split:** the case splits at the board's top face. Both parts print flat on that face, with no supports. The lid bears on the board's long edges, and two M2 x 8 self-tapping screws at the far corners hold the parts together. The XIAO's USB-C is reached through the far end.
- **Antenna:** a pocket for a 42 x 10 mm 915 MHz FPC antenna on the lid's ceiling, over the radio boards, fed from the Wio's u.FL.
## Before printing the real case
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`.
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.
## Print settings
0.2 mm layers, 4 perimeters (the walls are 1.6 mm), 20% infill. PETG gives the side latches more flex than PLA. Each part prints split face down.
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,160 @@
// SB-LoRa rev 2 case: a two-part 3D-printed Springboard module shell (base + lid) for FDM (PLA/PETG,
// 0.4 mm nozzle). Draft: the values marked MEASURE are guesses until checked against a Visor and the parts.
//
// Frame (the same as the slot cover this is based on): x across the slot, y along it with y = 0 at the
// connector end and the slot opening at y = slot_l, z into the Visor with z = 0 at the Visor's back surface
// and the slot floor at z = slot_h. The in-slot envelope (rails, latches, end tabs) is nkorth's public-domain
// "Handspring Visor Springboard slot cover" (Thingiverse 4776750, CC0), unchanged except for the grip.
//
// The board's top (component) side faces out (towards z = 0). The case splits at the board's top face:
// the base holds the board, the LiPo and the slot latches; the lid covers the parts and the radio boards
// and carries the antenna pocket. Both print flat on the split face.
//
// Render one part with: openscad -D 'part="base"' -o base.stl sb_lora_case.scad (part = base|lid|both)
part = "both";
$fs = 0.2; $fa = 2;
e = 0.01;
// ---- slot envelope (nkorth) ----
slot_w = 54; // width below the slot's lips
slot_l = 47.8; // depth of the slot from the connector end to the opening
slot_h = 7.5; // Visor back surface to slot floor
lip_h = 1.6; // the slot is narrower (lip_w) for its first lip_h
lip_w = 49.8;
// ---- board (from rev2/kicad/visormesh.kicad_pcb) ----
pcb_w = 50.43;
pcb_t = 1.6; // = BOARD_T in build_board.py
pcb_in = 50.47; // in-slot section
pcb_ext = 24.6; // extension past the slot opening
pcb_x = (slot_w - pcb_w) / 2;
pcb_y0 = slot_l - pcb_in; // connector edge (negative: J1 reaches past the shell into the Visor's connector)
pcb_y1 = slot_l + pcb_ext; // far end, where the XIAO's USB-C is
clr = 0.25; // fit clearance around the board
// ---- heights (MEASURE) ----
conn_z = 3.35; // MEASURE: depth of the Visor connector's contact centre line below the back surface.
// The straddle J1 centres its contacts on the board's mid-plane.
lid_t = 1.0; // lid over the in-slot parts
part_h = 1.25; // tallest in-slot part (README: all 1.25 mm or less)
radio_h = 5.0; // MEASURE: tallest of the XIAO (with USB-C) and the Wio (with u.FL plug) above the board
under_h = 1.5; // MEASURE: XIAO pads / Wio pin stubs below the board
lipo = [45, 22, 5]; // MEASURE: LiPo pouch x, y, thickness (REV2.md: 500-600 mAh is about 4 x 25 x 50)
wall = 1.6; // bump walls and floors (4 perimeters at 0.4 mm)
pcb_top = conn_z - pcb_t / 2; // split plane
pcb_bot = conn_z + pcb_t / 2;
assert(pcb_top - lid_t >= part_h + 0.2, "conn_z leaves no room for the in-slot parts under the lid");
assert(pcb_bot <= slot_h - 0.8, "conn_z leaves less than 0.8 mm of floor under the board");
// ---- J1 body (MEASURE from the MCS-068SMA1) ----
j1_w = 52; // body width with the mounting ears
j1_d = 5.5; // body depth from the board edge (J1_KEEP)
j1_h = 3.6; // body thickness, centred on the contacts
// ---- extension bump ----
bump_y1 = pcb_y1 + clr + 4.5; // room for the screw bosses past the board end
bump_top = pcb_top - radio_h - 0.6 - wall; // outermost z (negative: stands proud of the Visor)
bump_bot = pcb_bot + under_h + lipo[2] + 0.5 + wall;
// USB-C on the XIAO, in the board end wall (x from the board, z from the XIAO's height)
usb_x = 13.25;
usb_z = pcb_top - 2.8;
usb_open = [12.6, 6.8]; // plug overmould clearance
// M2 screws through the lid into the base, at the bump's far corners
screw_xy = [[3.6, bump_y1 - 3.0], [slot_w - 3.6, bump_y1 - 3.0]];
// flex 915 MHz FPC antenna, stuck to the lid's ceiling over the radio boards (MEASURE the one bought)
ant = [42, 10, 0.5];
ant_xy = [(slot_w - 42) / 2, pcb_y1 - 12];
module slot_envelope() { // nkorth's slot cover, minus its grip
tab_w = 12.4; tab_l = 1.4; tab_h = 1.5; relief_l = 12; flex_th = 0.8;
difference() {
union() {
difference() {
union() {
translate([2, 0, 0]) cube([lip_w, slot_l - 2, slot_h]);
translate([0, 0, lip_h]) cube([slot_w, slot_l, slot_h - lip_h]);
difference() {
translate([0, 0, slot_h - e]) {
cube([tab_w, tab_l, tab_h + e]);
translate([slot_w - tab_w, 0, 0]) cube([tab_w, tab_l, tab_h + e]);
}
translate([tab_w, -e, slot_h + tab_h]) rotate([-90, 0, 0]) cylinder(r = tab_h, h = tab_l + 2 * e);
translate([slot_w - tab_w, -e, slot_h + tab_h]) rotate([-90, 0, 0]) cylinder(r = tab_h, h = tab_l + 2 * e);
}
translate([0, 4.7, 4.9]) {
translate([1, 3, 0]) cylinder(r = 1.5, h = 2.6);
translate([slot_w - 1, 3, 0]) cylinder(r = 1.5, h = 2.6);
}
}
translate([2, -e, lip_h]) rotate([0, -135, 0]) cube([3, slot_l + 2 * e, 3]);
translate([slot_w - 2, -e, lip_h]) rotate([0, 45, 0]) cube([3, slot_l + 2 * e, 3]);
}
translate([2 + e, 0, 0]) linear_extrude(height = 3) polygon([[0, 0], [-1, 0], [0, 8]]);
translate([lip_w + 2 - e, 0, 0]) linear_extrude(height = 3) polygon([[0, 0], [1, 0], [0, 8]]);
}
translate([-e, 0, slot_h + tab_h]) rotate([183, 0, 0]) cube([slot_w + 2 * e, 2, slot_h + tab_h + 1]);
translate([flex_th, 1.4, slot_h - 4]) cube([1, relief_l, 4 + e]);
translate([-e, 1.4, slot_h - 4]) cube([1 + flex_th + e, relief_l, 1]);
translate([slot_w - flex_th - 1, 1.4, slot_h - 4]) cube([1, relief_l, 4 + e]);
translate([slot_w - 1 - flex_th + e, 1.4, slot_h - 4]) cube([1 + flex_th + e, relief_l, 1]);
translate([0, 6.2, slot_h - 2.6]) rotate([0, -135, 0]) cube([1, 3, 1]);
translate([slot_w, 6.2, slot_h - 2.6]) rotate([0, 45, 0]) cube([1, 3, 1]);
}
}
module bump() { // the part past the slot opening, rounded on its outer edges
r = 2;
hull() for (x = [r, slot_w - r], y = [slot_l, bump_y1 - r], z = [bump_top + r, bump_bot - r])
translate([x, y, z]) sphere(r = r);
}
module outer() {
union() {
slot_envelope();
// fill between the envelope and the bump so the two parts join
translate([0, slot_l - 2, bump_top + 2]) cube([slot_w, 2.5, bump_bot - bump_top - 4]);
bump();
}
}
module cavities() {
// board, with clearance
translate([pcb_x - clr, pcb_y0 - 5, pcb_top - e]) cube([pcb_w + 2 * clr, pcb_y1 - pcb_y0 + clr + 5, pcb_t + clr + e]);
// in-slot parts under the lid; the lid bears on the board's long edges (0.8 mm)
translate([pcb_x + 0.8, pcb_y0 - 5, lid_t]) cube([pcb_w - 1.6, slot_l - pcb_y0 + 5, pcb_top - lid_t + e]);
// radio boards (they start about 2.4 mm past the slot opening)
translate([pcb_x + 0.8, slot_l + 0.5, bump_top + wall]) cube([pcb_w - 1.6, pcb_y1 - slot_l - 0.5 + clr, pcb_top - bump_top - wall + e]);
// 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]);
// 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
translate([ant_xy[0], ant_xy[1], bump_top + wall - ant[2]]) cube([ant[0], ant[1], ant[2] + e]);
}
module screws(lid) { // M2 x 8 self-tappers: clearance in the lid, pilot in the base
for (p = screw_xy) translate([p[0], p[1], 0]) {
if (lid) {
translate([0, 0, bump_top - e]) cylinder(d = 2.3, h = pcb_top - bump_top + 2 * e);
translate([0, 0, bump_top - e]) cylinder(d = 4.0, h = 1.2 + e); // head counterbore
} else
translate([0, 0, pcb_top - e]) cylinder(d = 1.7, h = bump_bot - wall - pcb_top);
}
}
module half(lid) {
intersection() {
difference() { outer(); cavities(); screws(lid); }
if (lid) translate([-10, -20, -50]) cube([slot_w + 20, 150, 50 + pcb_top]);
else translate([-10, -20, pcb_top]) cube([slot_w + 20, 150, 50]);
}
}
if (part == "base") half(false);
else if (part == "lid") half(true);
else { half(false); translate([0, 0, -12]) half(true); } // exploded view