From 4aeb79dc896d8bafd45e95226b4b6edbb0771457 Mon Sep 17 00:00:00 2001 From: MangaValk Date: Sat, 14 Nov 2026 22:12:02 +0100 Subject: [PATCH] 2026 remote v2: clamps for the 56x80 perfboard, generated inlay 3MF - remote_v2.scad: main board is the measured 56 x 80 mm perfboard, held by 4 side clamps (M3 button head + washer into inserts), no holes in the board - export_3mf.py writes remote_v2_top_inlays.3mf (top shell + honeycomb + ON/OFF on filaments 1/2/3); remote_v2_top_multicolor.3mf stays the owner's OrcaSlicer project - STLs re-exported, README printing table and PLANNING notes updated Co-Authored-By: Claude Opus 5.5 --- 2026-current/README.md | 10 ++++++++-- 2026-current/hardware/openscad/PLANNING.md | 4 ++-- 2026-current/hardware/openscad/export_3mf.py | 4 ++-- 2026-current/hardware/openscad/remote_v2.scad | 12 ++++++------ .../openscad/stl/remote_v2/remote_v2_bottom.stl | 4 ++-- .../stl/remote_v2/remote_v2_top_multicolor.3mf | 4 ++-- 6 files changed, 22 insertions(+), 16 deletions(-) diff --git a/2026-current/README.md b/2026-current/README.md index b6c7605..ef5c707 100644 --- a/2026-current/README.md +++ b/2026-current/README.md @@ -54,8 +54,9 @@ Regenerate them from `remote_v2.scad` with `-D 'PART="..."'`. | File | Part | Notes | |------|------|-------| -| `remote_v2_top_multicolor.3mf` | top shell with both inlays | One object with three parts on filaments 1/2/3: case black, honeycomb red, ON/OFF white. The inlays are the first 3 layers (0.6 mm) of the face-down shell, so the colour swaps only happen there. Made by `hardware/openscad/export_3mf.py` from the three STLs below | +| `remote_v2_top_inlays.3mf` | top shell with both inlays | One object with three parts on filaments 1/2/3: case black, honeycomb red, ON/OFF white. The inlays are the first 3 layers (0.6 mm) of the face-down shell, so the colour swaps only happen there. Made by `hardware/openscad/export_3mf.py` from the three STLs below | | `remote_v2_top.stl` + `_inlay.stl` + `_text.stl` | the same, as STLs | Load the three at once and keep them as one multi-part object | +| `remote_v2_top_multicolor.3mf` | OrcaSlicer project (owner) | all parts on two plates; after re-exporting STLs, update its parts with Orca's "Reload from disk" | | `remote_v2_bottom.stl` | bottom shell | flat underside on the bed | | `remote_v2_kickstand.stl` | table stand | | | `remote_v2_eyelet.stl` | neck-strap eyelet | on the top face (slots to balance it) or on the front edge | @@ -91,7 +92,12 @@ Design notes, checks and open points: [hardware/openscad/PLANNING.md](hardware/o robot and nothing comes back. Three nodes need an address per node (or per pipe), a packet type byte, and telemetry back (e.g. as ack payloads or in time slots) so the nodes don't talk over each other; who has - priority when the PC and the remote both send commands; + priority when the PC and the remote both send commands. Owner's + decisions: the remote wins, with a toggle on the remote that hands the + robot to Unity and lets the remote's sticks control Unity instead; the + PC is the hub while it's online, the robot is the hub when it isn't; + goals: mirror the real robot in Unity, drive it from Unity, remote data + to the PC, and PC data to the remote; - Unity side: a serial-port reader/writer next to the simulation (the 2019 generation already drove the robot from Unity, through the remote over USB: see `../2019-teensy-nrf24/`). diff --git a/2026-current/hardware/openscad/PLANNING.md b/2026-current/hardware/openscad/PLANNING.md index a4d63b3..06477e5 100644 --- a/2026-current/hardware/openscad/PLANNING.md +++ b/2026-current/hardware/openscad/PLANNING.md @@ -145,7 +145,7 @@ them), strap tabs at the rear corners (it tipped forward), a hexapod emblem inlay (owner preferred a honeycomb). From the owner's photos and drawing: the sticks are JH-D300X-R1; the Teensy -sits socketed on a cut perfboard (~52 x 80, estimated) with the nRF24L01 +sits socketed on a cut perfboard (56 x 80, measured) with the nRF24L01 (100 uF cap), an AMS1117, the ribbon connectors and now also the GY-521; the switch's plate sits on top of the case, body through the slot, and the old 8 x 16 slot with d2 holes 19 mm apart fits it exactly; the UPS board's @@ -197,7 +197,7 @@ charge/on LEDs show through two slots in the floor. - Checked: no part collides with the shells or with each other, the shells and the inlay don't overlap, kickstand clear at 0 and 70 deg, bail clear from 0 to -180 deg (CGAL intersections). -- Open: perfboard size and holes, Teensy cable plug size, LCD thickness, UPS +- Open: component positions on the main board, Teensy cable plug size, LCD thickness, UPS hole spacing; hand room untested; set `IMU_AXIS_FROM_CHIP` / `IMU_AXIS_SIGN` in `remote/Config.h` for the IMU on the main board. diff --git a/2026-current/hardware/openscad/export_3mf.py b/2026-current/hardware/openscad/export_3mf.py index b707d5b..69f5e03 100644 --- a/2026-current/hardware/openscad/export_3mf.py +++ b/2026-current/hardware/openscad/export_3mf.py @@ -2,7 +2,7 @@ python export_3mf.py (from hardware/openscad, after the STL export) -Writes stl/remote_v2/remote_v2_top_multicolor.3mf: the top shell with its +Writes stl/remote_v2/remote_v2_top_inlays.3mf: the top shell with its two inlays as ONE object with three parts, in the same frame, each part on its own extruder/filament (1 = case, 2 = honeycomb, 3 = ON/OFF text). The part list is in PARTS below. Uses the PrusaSlicer 3MF layout (one mesh, the @@ -21,7 +21,7 @@ PARTS = [ ("remote_v2_inlay.stl", "honeycomb inlay (red)", 2), ("remote_v2_text.stl", "ON-OFF inlay (white)", 3), ] -OUT = "remote_v2_top_multicolor.3mf" +OUT = "remote_v2_top_inlays.3mf" # remote_v2_top_multicolor.3mf is the owner's OrcaSlicer project def read_stl(path): diff --git a/2026-current/hardware/openscad/remote_v2.scad b/2026-current/hardware/openscad/remote_v2.scad index dcb1d40..20da11c 100644 --- a/2026-current/hardware/openscad/remote_v2.scad +++ b/2026-current/hardware/openscad/remote_v2.scad @@ -94,14 +94,14 @@ UPS_HOLES = 27.9; // +- u, not confirmed (same as the old remote) UPS_Z = Z_BOT + T + 2; // board underside (2 mm standoffs); its top ends 2 mm under the plate /* [Main board: perfboard with the Teensy 4.0 (socketed), nRF24L01, AMS1117] */ -// Cut perfboard, 19 x 30 holes. Size and corner holes are estimates from the -// owner's photos: measure before printing. Board frame: x across (0..52), y +// Cut perfboard, 56 x 80 mm (owner). Component positions are estimates from the +// owner's photos. Board frame: x across (0..56), y // along (0..80), Teensy micro-USB at y 0, nRF24 overhanging at y 80. -PERF = [52, 80, 1.6]; +PERF = [56, 80, 1.6]; // measured by the owner: 56 x 80 // Held by 4 clamps on its long sides, no holes in the board (owner): a post // beside the edge carries the board's edge on its inner half, and an M3 x 8 // button head with a washer (d7) in a heat-set insert in the post clamps it. -PERF_CLAMPS = [[0, 4], [0, 68], [52, 4], [52, 68]]; // board frame: on the edges x = 0 / 52, at these y +PERF_CLAMPS = [[0, 4], [0, 68], [PERF[0], 4], [PERF[0], 68]]; // board frame: on the long edges x = 0 / PERF[0], at these y PERF_CLAMP_OUT = 1.5; // post centre outside the board edge (washer overlaps the board ~2 mm) PERF_POS = [-36, 37]; // where the board's (0, 0) corner goes; x runs to -v, y to +u PERF_Z = Z_BOT + 7.5; // board underside: 2 mm over the kickstand recess roof for wires (the Teensy USB plug then clears the display board) @@ -493,8 +493,8 @@ module main_board_only() perf_place() { color("#222") translate([2, 74, PERF[2]]) cube([11, 6.3, 6.3]); // 100 uF cap, lying color("#222") translate([5, 58, PERF[2]]) cube([7, 6.5, 1.8]); // AMS1117 // ribbon and display/IMU connectors at the edge, plugs on top (approx.) - color("#333") translate([44, 8, PERF[2]]) cube([5, 21, 12]); - color("#333") translate([44, 44, PERF[2]]) cube([5, 11, 12]); + color("#333") translate([PERF[0] - 8, 8, PERF[2]]) cube([5, 21, 12]); + color("#333") translate([PERF[0] - 8, 44, PERF[2]]) cube([5, 11, 12]); } // GY-521 on the main board, on headers (board frame: 15.6 across, 21.2 along) diff --git a/2026-current/hardware/openscad/stl/remote_v2/remote_v2_bottom.stl b/2026-current/hardware/openscad/stl/remote_v2/remote_v2_bottom.stl index 10e7ae5..930c8f8 100644 --- a/2026-current/hardware/openscad/stl/remote_v2/remote_v2_bottom.stl +++ b/2026-current/hardware/openscad/stl/remote_v2/remote_v2_bottom.stl @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71be3a8e56f5d9ed6ad4bda359f998c31eecd19228f88788836aab00f57c5272 -size 1629433 +oid sha256:7aad23871f448bb595d0308f0ef83161f403ac00ad52a6cac03a906d015f1c43 +size 1629464 diff --git a/2026-current/hardware/openscad/stl/remote_v2/remote_v2_top_multicolor.3mf b/2026-current/hardware/openscad/stl/remote_v2/remote_v2_top_multicolor.3mf index 03e6342..cbf8cda 100644 --- a/2026-current/hardware/openscad/stl/remote_v2/remote_v2_top_multicolor.3mf +++ b/2026-current/hardware/openscad/stl/remote_v2/remote_v2_top_multicolor.3mf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da78964f62d44012311f03376ed6f3eb0e7aedade38603ff33bba4532c50cdac -size 314188 +oid sha256:a318d6b597bdaf52b3ea7a2fc6fb4e53ac57298315712c14716773c8f84964ba +size 312797