- docs/: rewrite AGENTS.md, wiring-diagram.md (SAUL-TEE arch); update SALTYLAB.md, FACE_LCD_ANIMATION.md, board-viz.html, SALTYLAB-DETAILED refs - cad/: dimensions.scad FC params → ESP32-S3 BALANCE params - chassis/: ASSEMBLY.md, BOM.md, ip54_BOM.md, *.scad — FC_MOUNT_SPACING/ FC_PITCH → TBD ESP32-S3; Drone FC → MCU mount throughout - CLAUDE.md, TEAM.md: project desc → SAUL-TEE; hardware table → ESP32-S3/VESC - USB_CDC_BUG.md: marked ARCHIVED (legacy STM32 era) - AUTONOMOUS_ARMING.md: USB CDC → inter-board UART (ESP32-S3 BALANCE) - projects/saltybot/SLAM-SETUP-PLAN.md: FC/STM32F722 → BALANCE/CAN - jetson/docs/pinout.md, power-budget.md, README.md: STM32 bridge → CAN bridge - jetson/config/RECOVERY_BEHAVIORS.md: FC+Hoverboard → BALANCE+VESC - jetson/ros2_ws: stm32_protocol.py → esp32_protocol.py, stm32_cmd_node.py → esp32_cmd_node.py, mamba_protocol.py → balance_protocol.py; can_bridge_node imports updated - scripts/flash_firmware.py: DFU/STM32 → pio run -t upload - src/ include/: ARCHIVED headers added (legacy code preserved) - test/: ARCHIVED notices; STM32F722 comments marked LEGACY - ui/diagnostics_panel.html: Board/STM32 → ESP32-S3 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
75 lines
2.1 KiB
OpenSCAD
75 lines
2.1 KiB
OpenSCAD
// ============================================
|
|
// SaltyLab — Common Dimensions & Constants
|
|
// ============================================
|
|
|
|
// --- 2020 Aluminum Extrusion ---
|
|
extrusion_w = 20;
|
|
extrusion_slot = 6; // T-slot width
|
|
extrusion_bore = 5; // Center bore M5
|
|
|
|
// --- Hub Motors (8" hoverboard) ---
|
|
motor_axle_dia = 12;
|
|
motor_axle_len = 45;
|
|
motor_axle_flat = 10; // Flat-to-flat if D-shaft
|
|
motor_body_dia = 200; // ~8 inches
|
|
motor_bolt_circle = 0; // Axle-only mount (clamp style)
|
|
|
|
// --- ESP32-S3 BALANCE board (Waveshare Touch LCD 1.28) ---
|
|
// ⚠ Confirm hole positions before printing — verify in esp32/balance/src/config.h
|
|
mcu_bal_board_w = 40.0; // Waveshare Touch LCD 1.28 PCB approx width (TBD caliper)
|
|
mcu_bal_board_d = 40.0; // Waveshare Touch LCD 1.28 PCB approx depth (TBD caliper)
|
|
mcu_bal_hole_dia = 3.2; // M3 clearance
|
|
mcu_standoff_h = 5; // Standoff height
|
|
|
|
// --- Jetson Orin Nano Super ---
|
|
jetson_w = 100;
|
|
jetson_d = 80;
|
|
jetson_h = 29; // With heatsink
|
|
jetson_hole_x = 86; // Mounting hole spacing X
|
|
jetson_hole_y = 58; // Mounting hole spacing Y
|
|
jetson_hole_dia = 2.7; // M2.5 clearance
|
|
|
|
// --- RealSense D435i ---
|
|
rs_w = 90;
|
|
rs_d = 25;
|
|
rs_h = 25;
|
|
rs_tripod_offset = 0; // 1/4-20 centered bottom
|
|
rs_mount_dia = 6.5; // 1/4-20 clearance
|
|
|
|
// --- RPLIDAR A1 ---
|
|
lidar_dia = 70;
|
|
lidar_h = 41;
|
|
lidar_mount_circle = 67; // Bolt circle diameter
|
|
lidar_hole_count = 4;
|
|
lidar_hole_dia = 2.7; // M2.5
|
|
|
|
// --- Kill Switch (22mm panel mount) ---
|
|
kill_sw_dia = 22;
|
|
kill_sw_depth = 35; // Behind-panel depth
|
|
|
|
// --- Battery (typical 36V hoverboard pack) ---
|
|
batt_w = 180;
|
|
batt_d = 80;
|
|
batt_h = 40;
|
|
|
|
// --- Hoverboard ESC ---
|
|
esc_w = 80;
|
|
esc_d = 50;
|
|
esc_h = 15;
|
|
|
|
// --- ESP32-C3 (typical dev board) ---
|
|
esp_w = 25;
|
|
esp_d = 18;
|
|
esp_h = 5;
|
|
|
|
// --- WS2812B strip ---
|
|
led_strip_w = 10; // 10mm wide strip
|
|
|
|
// --- General ---
|
|
wall = 3; // Default wall thickness
|
|
m3_clear = 3.2;
|
|
m3_insert = 4.2; // Heat-set insert hole
|
|
m25_clear = 2.7;
|
|
m5_clear = 5.3;
|
|
tol = 0.2; // Print tolerance per side
|