hardware: SB-LoRa rev 2 case: the in-slot part redrawn from Handspring's Standard Module Inspection Document 80-0075-00 Rev B, which agrees with a Memplug, in place of nkorth's slot cover and the added nose: 56.83 x 53.83-54.60 x 5.96 mm, the connector end 0.98 mm thinner on the label face for 12.1 mm with R2.75 corners and the keying slots, and the contacts 3.78 mm below the label face (was a 3.35 mm guess). The bump no longer reaches into the slot. The lip depth and outer-end latch features are still to measure
This commit is contained in:
1 parent
b626d3c7e1
commit
4299384d4f
6 files changed
+21169
-36560
No files matched your search
@@ -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. The parts arrived on 2026-11-26. Checked against a rev 1 board, rev 1's pad pattern fits them (pitch, pad size and the pin split), but rev 1's 1.6 mm board is too thick: the tails measure 1.0 mm across their outer faces, so the gap between them is a little less. Still to measure: the body size, mounting ears and any pegs.
|
||||
- **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.
|
||||
- **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). Its in-slot part follows Handspring's Standard Module Inspection Document 80-0075-00 (outline, thinner connector end, keying slots, connector height), checked against a Memplug module; past the slot opening a bump holds the radio boards, the LiPo and an internal antenna. It hasn't been printed; the label-face lip depth, the outer-end latch features and the radio and LiPo heights still need measuring.
|
||||
- **Board thickness: 0.8 mm.** A straddle connector sets it: the board is whatever fits between the two rows. The MCS-068SMA1's tails measure 1.0 mm across their outer faces, so the gap is a little under that. Too thick would force the tails open, so the board errs thin: 0.8 mm, about 0.85-0.9 mm over the pads with copper and finish, and solder fills the rest. Choose 0.8 mm in the JLCPCB order form (it isn't in the gerbers).
|
||||
- **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.
|
||||
|
||||
@@ -7,7 +7,7 @@ A two-part 3D-printed Springboard module shell for the rev 2 board, for FDM prin
|
||||
## 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-base.stl`: holds the board and the LiPo.
|
||||
- `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:
|
||||
@@ -19,19 +19,18 @@ 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.
|
||||
- **In the slot:** the outside follows Handspring's *Springboard Standard Module Inspection Document* 80-0075-00 Rev B (`docs/reference/handspring_80-0075-00_RevB_standard_module_inspection.pdf`), which agrees with a Memplug module. It is 56.83 mm long, 53.83 mm wide at the connector end and 54.60 mm at the outer end, and 5.96 mm thick. For its last 12.1 mm the connector end is 4.98 mm thick, recessed 0.98 mm on the label face. There it has R2.75 corners and a keying slot in each side: 2.18 deep, 1.51 high, 7.75 long, 1.54 below the recessed label face, with a 1 mm lead-in. The label face narrows (49.35 to 51.51 mm) for the slot's lips. J1's face is flush with the end, with its contacts 2.80 mm below the recessed label face (3.78 mm below the Visor's back), on the board's mid-plane.
|
||||
- **The bump:** past the slot opening, a box, flat against the Visor and rounded beyond, holds the XIAO and the Wio above the board and the LiPo below it. Assembled, the case is 54.6 x 86.2 x 16.6 mm. The bump stands 3.8 mm proud of the Visor's back.
|
||||
- **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. **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, and J1's face is 56.8 mm in from the slot opening, as on a Memplug seated flush with the opening, which puts it 9.0 mm past nkorth's cover. The dry fit (J1 taped to a rev 1 board) seats in the slot, so the shell now has a nose that reaches forward and encloses J1, flush with its face, as on a Memplug module (56.8 mm long, connector face flush with its end, 5.2 mm thick there). Still to measure on the Memplug: the slots in the sides of its connector end (`notch`, now a 2.0 x 1.2 mm guess).
|
||||
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.
|
||||
1. **Check against a Memplug** the parts the drawing leaves open: how deep the narrower label face is (`lip_h`, 1.6 mm from nkorth's cover), and the outer-end latch features: which face the 3.58 mm grooves 4.70 mm from each side and the 0.90 mm corner recesses are on, and how deep and long they are (`latch_*`, now 1.0 mm deep into the inner face).
|
||||
2. **Thin walls:** at the connector end the wall under J1 is about 0.7 mm, and between J1 and each keying slot about 0.7 mm. Print a test of the first 15 mm to check they come out and that J1 fits.
|
||||
3. **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`).
|
||||
4. **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.
|
||||
0.2 mm layers, 4 perimeters (the bump walls are 1.6 mm), 20% infill. Each part prints split face down.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 33 KiB |
File diff suppressed because it is too large.
Load diff
+11887
-18411
File diff suppressed because it is too large.
Load diff
@@ -1,14 +1,18 @@
|
||||
// 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 in-slot part follows Handspring's Springboard Standard Module Inspection Document 80-0075-00 Rev B
|
||||
// (docs/reference), checked against a Memplug module: 56.83 long, 53.83 wide at the connector end and
|
||||
// 54.60 at the outer end, 5.96 thick, with the connector end 0.98 thinner on the label face for 12.1 mm,
|
||||
// a keying slot in each side there, and the connector flush with the end. Numbers in brackets below
|
||||
// are the drawing's balloon numbers.
|
||||
//
|
||||
// Frame: x across the slot, y along it with y = 0 at the connector face and the slot opening at y = slot_l,
|
||||
// z into the Visor with z = 0 at the label face (flush with the Visor's back) and the inner face at mod_t.
|
||||
//
|
||||
// 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.
|
||||
// the base holds the board and the LiPo; 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)
|
||||
|
||||
@@ -16,12 +20,31 @@ 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;
|
||||
// ---- module envelope (80-0075-00) ----
|
||||
slot_l = 56.83; // [31] length; the outer end is flush with the slot opening
|
||||
mod_w0 = 53.83; // [32] width at the connector end (plus draft)
|
||||
mod_w1 = 54.60; // [26] width at the outer end (minus draft)
|
||||
slot_w = mod_w1; // overall width, for the bump and x positions
|
||||
mod_t = 5.96; // [25] thickness (6.20 max with the optional fit pad)
|
||||
end_t = 4.98; // [14] thickness at the connector end, recessed on the label face
|
||||
end_l = 12.1; // [15] length of the thinner connector end
|
||||
end_step = mod_t - end_t;
|
||||
corner_r = 2.75; // [5] plan radius of the connector-end corners
|
||||
key_d = 2.18; // [7][8] keying slot depth into each side
|
||||
key_l = 7.75; // [6][9] keying slot length from the connector face
|
||||
key_h = 1.51; // [12] keying slot height
|
||||
key_z = end_step + 1.54; // [11] slot from the recessed label face (the 1.93 [13] wall is on the inner face)
|
||||
key_ch = 1.0; // [4][10] 45-degree chamfer at the slot's inner end
|
||||
lip_w0 = 49.35; // [17] label face width at the connector end, inside the slot's lips
|
||||
lip_w1 = 51.51; // [20] label face width at the outer end
|
||||
lip_h = 1.6; // MEASURE: depth of the narrower label face (not on the drawing; nkorth's cover uses 1.6)
|
||||
// Outer-end latch features [27]-[30]: a recess at each corner and a groove for the Visor's latch spring.
|
||||
// The drawing doesn't say which face or how deep; MEASURE on a Memplug.
|
||||
latch_x = 4.70; // [28] groove centre from each side
|
||||
latch_w = 3.58; // [30] groove width (+4.00 allowed)
|
||||
latch_l = 19; // MEASURE: groove length from the outer end (about 19 mm on the drawing)
|
||||
latch_r = [12.5, 0.90]; // corner recess width (MEASURE) and depth [29]
|
||||
latch_d = 1.0; // MEASURE: depth of the groove and recess into the inner face
|
||||
|
||||
// ---- board (from rev2/kicad/visormesh.kicad_pcb) ----
|
||||
pcb_w = 46.8; // J1's ear width less the tab clearances, centred on J1
|
||||
@@ -29,15 +52,16 @@ pcb_t = 0.8; // = BOARD_T in build_board.py (the MCS-068SMA1
|
||||
pcb_in = 51.6; // in-slot section: J1's face 56.8 mm in from the opening, as on a Memplug
|
||||
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_y0 = slot_l - pcb_in; // connector edge; J1's face is j1_d in front of it, flush with the end
|
||||
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.
|
||||
// ---- heights ----
|
||||
conn_z = end_step + 2.80; // [3] contact centre line, 2.80 from the recessed label face
|
||||
// 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)
|
||||
parts_y = 14; // in-slot parts start this far from the connector face (C1 at about 15 mm)
|
||||
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)
|
||||
@@ -46,26 +70,21 @@ 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");
|
||||
assert(pcb_bot + clr <= mod_t - 0.8, "less than 0.8 mm of floor under the board");
|
||||
assert(parts_y >= end_l, "in-slot parts reach the thinner connector end");
|
||||
|
||||
// ---- 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.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
|
||||
|
||||
// ---- nose: the shell reaches past nkorth's cover to enclose J1, its face flush with J1's, as on a
|
||||
// Memplug (56.8 mm long, connector face flush with its end, 5.2 mm thick there) ----
|
||||
nose_l = j1_d - pcb_y0; // 7.9 mm: the cover's end to J1's face
|
||||
nose_t = 5.2; // centred on the contacts
|
||||
notch = [2.0, 1.2]; // MEASURE (Memplug): side slot depth into the width, height; centred on conn_z
|
||||
j1_h = 2.8 + 0.2; // body thickness, centred on the contacts (0.1 clearance: the inner wall is about 0.6 mm)
|
||||
|
||||
// ---- 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 = 14.28;
|
||||
usb_x = 14.58;
|
||||
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
|
||||
@@ -74,82 +93,73 @@ screw_xy = [[3.6, bump_y1 - 3.0], [slot_w - 3.6, bump_y1 - 3.0]];
|
||||
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;
|
||||
module taper(w0, w1, z0, z1) { // a slab across the slot, w0 wide at y = 0 and w1 at slot_l, centred
|
||||
hull() {
|
||||
translate([(slot_w - w0) / 2, 0, z0]) cube([w0, e, z1 - z0]);
|
||||
translate([(slot_w - w1) / 2, slot_l - e, z0]) cube([w1, e, z1 - z0]);
|
||||
}
|
||||
}
|
||||
|
||||
module envelope() {
|
||||
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]);
|
||||
taper(mod_w0, mod_w1, lip_h, mod_t);
|
||||
taper(lip_w0, lip_w1, 0, lip_h + e);
|
||||
}
|
||||
// thinner connector end, on the label face
|
||||
translate([-1, -e, -1]) cube([slot_w + 2, end_l + e, end_step + 1]);
|
||||
for (s = [0, 1]) {
|
||||
xo = s == 0 ? (slot_w - mod_w0) / 2 : (slot_w + mod_w0) / 2; // outer side at the connector end
|
||||
dx = s == 0 ? 1 : -1;
|
||||
// rounded connector-end corner
|
||||
translate([xo, 0, -1]) mirror([s, 0, 0]) difference() {
|
||||
translate([-1, -1, 0]) cube([corner_r + 1, corner_r + 1, mod_t + 2]);
|
||||
translate([corner_r, corner_r, -1]) cylinder(r = corner_r, h = mod_t + 4);
|
||||
}
|
||||
// keying slot, with its 45-degree lead-in at the inner end
|
||||
translate([xo, -1, key_z]) mirror([s, 0, 0]) translate([-1, 0, 0]) cube([key_d + 1, key_l + 1, key_h]);
|
||||
translate([xo, 0, key_z]) mirror([s, 0, 0])
|
||||
linear_extrude(height = key_h) polygon([[-1, key_l - key_ch - 1], [-1, key_l + key_ch + 1], [key_ch, key_l]]);
|
||||
}
|
||||
// outer-end latch groove and corner recess, on the inner face (MEASURE)
|
||||
for (s = [0, 1]) {
|
||||
xs = s == 0 ? 0 : slot_w;
|
||||
translate([xs, 0, 0]) mirror([s, 0, 0]) {
|
||||
translate([latch_x - latch_w / 2, slot_l - latch_l, mod_t - latch_d]) cube([latch_w, latch_l + 1, latch_d + 1]);
|
||||
translate([-1, slot_l - latch_r[1], mod_t - latch_d]) cube([latch_r[0] + 1, latch_r[1] + 1, latch_d + 1]);
|
||||
}
|
||||
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 nose() {
|
||||
difference() {
|
||||
union() { // narrower inside the slot's lips, like the envelope
|
||||
translate([2, -nose_l, conn_z - nose_t / 2]) cube([lip_w, nose_l + e, nose_t]);
|
||||
translate([0, -nose_l, lip_h]) cube([slot_w, nose_l + e, conn_z + nose_t / 2 - lip_h]);
|
||||
}
|
||||
for (x = [-e, slot_w - notch[0] + e])
|
||||
translate([x, -nose_l - e, conn_z - notch[1] / 2]) cube([notch[0], nose_l + 3 * e, notch[1]]);
|
||||
}
|
||||
}
|
||||
|
||||
module bump() { // the part past the slot opening, rounded on its outer edges
|
||||
module bump() { // the part past the slot opening: flat against the Visor, rounded beyond
|
||||
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);
|
||||
hull() {
|
||||
translate([0, slot_l, bump_top]) cube([slot_w, r, bump_bot - bump_top]);
|
||||
for (x = [r, slot_w - r], z = [bump_top + r, bump_bot - r]) translate([x, bump_y1 - r, z]) sphere(r = r);
|
||||
}
|
||||
}
|
||||
|
||||
module outer() {
|
||||
union() {
|
||||
slot_envelope();
|
||||
nose();
|
||||
// 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]);
|
||||
envelope();
|
||||
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]);
|
||||
translate([pcb_x - clr, pcb_y0 - clr, pcb_top - e]) cube([pcb_w + 2 * clr, pcb_y1 - pcb_y0 + 2 * clr, pcb_t + clr + e]);
|
||||
// in-slot parts under the lid; the lid bears on the board's long edges (0.8 mm). None sit in the
|
||||
// thinner connector end, which keeps its full lid there.
|
||||
translate([pcb_x + 0.8, parts_y, lid_t]) cube([pcb_w - 1.6, slot_l - parts_y + e, 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 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]);
|
||||
translate([(slot_w - j1_w) / 2, -1, conn_z - j1_h / 2]) cube([j1_w, pcb_y0 + j1_tail + clr + 1, 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
|
||||
|
||||
Reference in new issue
Block a user