Skip to content

hw: boîtier et abri de sonde OpenSCAD (openscad/) - #37

Open
arcadien wants to merge 59 commits into
masterfrom
openscad/enclosure
Open

arcadien wants to merge 59 commits into
masterfrom
openscad/enclosure

Conversation

@arcadien

Copy link
Copy Markdown
Owner

Ajoute un dossier openscad/ :

  • tinysensor_box.scad : boîtier mural pour le PCB v2.2, couvercle vissé avec gorge de joint, variantes intérieur (aérations) / extérieur (presse-étoupe PG7).
  • sensor_shield.scad : abri de sonde à assiettes pour breakout BMx280, fixation murale ou clip sous le boîtier.
  • assembly.scad + rendu.png : vue d'ensemble.
  • README.md : export 3MF/STL, montage, visserie, points ouverts (alimentation).

⚠️ Non imprimé : jeux et serrage du clip à valider au premier tirage.


Generated by Claude Code

arcadien and others added 5 commits October 26, 2026 14:34
- tinysensor_box.scad: wall-mounted box for PCB v2.2, screwed lid with
  gasket groove, int (vents) / ext (PG7 gland) variants
- sensor_shield.scad: stacked-plate radiation shield for BMx280
  breakout, wall bracket or snap clip under the main box
- assembly.scad + rendu.png: overview render
- README.md: export commands, assembly, hardware list, open points

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RNYLnB9ATL4uFdUmr9bSfN
…nder

- tinysensor_box.scad: PG7 gland moved to the side wall by default
  (gland_side = left/right/bottom), under the flange chamfer; new
  part="open" render with the board inside and the lid flipped beside
- stand.scad: table stand (mast screwed on the box wall ears + foot with
  socket) to stand box + clipped shield upright
- sensor_shield.scad: shield shrunk from D80 x 72 to D56 x 52 mm
  (column 26, pitch 10, skirt 5); assembly/stand realigned
- pcb.scad: simplified v2.2 board + 18650 from the KiCad positions
- euro2.scad: 2-euro coin for scale in all renders
- renders: rendu.png, rendu_pied.png, rendu_ouvert.png; README updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- mushroom.scad: amanita-style enclosure (in addition to the wall box):
  tilted, wavy superellipse cap screwed from below through the gill
  skirt, air gap above the roof; core with sensor chamber (BME280 and
  TP4056 in rails, micro-USB facing down), slotted gill skirt cut along
  the cap rim plane; perforated deck; hollow stem holding a vertical
  18650 holder, ring and volva; glued-in dots
- pcb.scad: board cropped along the silkscreen dashed lines (x=147,
  y=87) without the 18650/CR2032 holders; holder can be hidden
- renders: rendu_champignon{,_dessous,_coupe}.png; README section

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- cap = dome + gill disc, set on the stem at 10° (tilted tenon in a
  collar); all electronics in the cap: chassis printed upright with the
  BME280 lying flat over the gill slots, perforated deck, cropped board,
  charger upright with micro-USB facing down between two gills; the stem
  only holds the 18650
- outline generator (lobe_seed/n/amp/top/rot): random harmonics, full at
  the rim and fading to the top, flat rim; clearance index echoed so any
  seed is checked against the electronics; dome tabs follow the lobes
- tip: smooth (1-d²)³ bump on top of the dome, gentle on one side and
  steeper on the other, zero at the rim; dots placed by Poisson-disk
  sampling on the real surface
- renders, seed board (champignon_graines.png), README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- stem built as a polyhedron: tapered shaft with twisting lobes (adds
  material only, fades under the collar), asymmetric concave foot flare
  (<= 45°) instead of the volva bulb; ring swept around the stem with
  wavy overhang and drop, underside ~45°
- ground: separate 1 mm lobed disc (D~115) to glue under the stem, with
  a zigzag grass fringe around the foot, curved grass tufts and single
  blades (0.9 mm walls, 0.6 mm tips)
- generic harmonic generator (hterms/hval) shared by stem, ring, ground
- renders incl. rendu_champignon_pied.png; README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arcadien and others added 24 commits October 26, 2026 18:09
All parts in print orientation, ready for OrcaSlicer; _xN suffix gives
the number of copies. ./export.sh regenerates them (./export.sh stl for STL).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bare cell held between two tab contacts (spring on -, dimple on +),
no soldering on the cell; tabs exit through the floor into the flat
where the wires run. Printed flat, no support.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 mm sealed chamber under the cradle (~30 cm³, ~140 g of 1 mm steel
shot), conical ceiling printed without support. Filled through a 15 mm
hole in the foot, closed by a glued plug in a counterbore. Cradle now
sits 60 mm above the ground.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.4 mm wall around the whole flared foot instead of a 29.4 mm bore:
~52 cm³ (~245 g of steel shot) instead of ~30 cm³.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clear_m, dot_gap, flare_h, fringe_n join their sections; mesh
resolutions (na, nt, ns) get their own section. Geometry unchanged
(identical triangle sets for every part), print/ not regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…resistors, images

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The breakout's male header goes straight into a 6-position female 2.54
header soldered under the board in the I2C footprint (5 NC = CSB, 6 GND
= SDO -> 0x76). BME rails removed, deck opening for the header, three
more vent slots near the sensor, part="sensor" close-up view.
pcb.scad: jst_eh option (I2C / I2C_SPI JSTs not fitted in the mushroom).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
harness.py (Pillow) draws faisceau_champignon.pdf (A4): W1-W6, cradle ->
JST-XH 2p -> TP4056 -> J13 RAW IN, red/black, >= 24 AWG, both end types
and lengths. New rendu_champignon_capteur.png; coupe and stale pied
renders refreshed; chassis, deck and gills 3MF regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Câblage section (W1-W6 table, sensor plug-in), assembly steps reordered
(BME plugged before the chassis goes on the disc, W3/W4 threaded bare
through the +Y window), connectors and electronics table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rim tabs made it impossible to insert the gills disc into the closed
dome. Three corbels on the inner wall now sit just above the disc, which
is pulled against them by 3 M3 x 10 self-tapping screws from below (no
nuts). The disc contour follows the narrowest part of the skirt so it
clears the lobe hollows. The tip is placed so the dome apex is on the
axis of J1 RADIO (normal to the board): the antenna rises straight into
it. Dots re-placed (53/37/19), dot pin fused with its lens, part=console
section view, height echo computed from the real apex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cap, gills and dot 3MF regenerated (dot files renamed x53/x37/x19), main,
underside and section renders reframed for the new tip, new
rendu_champignon_console.png, harness PDF antenna note updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cap follows a meridian profile (lower bulb, waist, top bulb centred on
J1) instead of superellipse + tip; 45° inner ceiling so the top needs no
supports behind the narrow neck. stem_h 125 -> 95, ballast_h 40 -> 12,
tilt 10° -> 6°. export.sh uses the OpenSCAD AppImage from ~/bin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Waist Ø39 -> Ø55. dot_gap 6 -> 12 for 102 dots; dot_bag weights sizes so
Ø10 goes from 21 % to 27 % of the dots. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Narrowing under the collar had no function. Base 38 -> collar 45 mm,
flare_h removed. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arcadien and others added 30 commits November 2, 2026 11:59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dot files renamed to the new counts: x45, x29, x28.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cap_top [4, 3] instead of following J1: apex 37 -> 26 mm from the stem
axis, about 1° more estimated tipping margin. 104 dots. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rigid rotation above cap_neck, lower bulb untouched. Apex 26 -> 10 mm
from the stem axis, COM ~5 mm toward +X. 102 dots. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chamber_h 8 -> 28, ballast_h 12 -> 32; cradle now passes through the
disc (centre hole Ø37). Charger stays on the disc for the USB socket.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
J1 now on the -X side under the leaning top; cap_top derived so the apex
lands on J1 exactly, ~6 mm from the stem axis. BME280 follows. 100 dots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the chamber

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chamber_h 48, ballast_h 52 (~343 g). Chassis windows moved up beside the
BME280. Ø5 vent from the ceiling tip down to the rear flank: rain stays
out and it does not sit over J1. Limit: +30 mm breaks 3 mm clearance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… vent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Micro-USB breakout (Tars measurements) slides in through a flat face on
a bulge at 17 mm, held by a glued plate; duct up to the cradle flat. No
USB cut in the disc any more; charger socket desoldered, wired on IN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reverts cc14016, 613dffb, a56efc3 and 3cc6374: the bulge was ugly, the
charger socket goes back through the disc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measurements from Tars hardware/measurements.md. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bulb up to ~106 x 96 mm, 44° max underneath. Ring is a raised cup under
the cap, printable without support. Ground radius 72. Ballast chamber
~220 cm³. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bulb_up [28, 34] -> [21, 27]. Ballast chamber unchanged, it is limited by
its 45° ceiling. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wall thickens inward at the base with a 45° blend, outside unchanged. The
disc shrinks 3.6 mm in radius to pass it; dome screws follow. Check added
for the USB slot. Renders regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"≥ 24 AWG" allowed thinner wire: now 22–24 AWG (W1-W4 carry the
1 A charge current). Ring marks tell W3/W4 (B±) from W5/W6 (OUT±)
on the TP4056, a note checks red = pin 1 on pre-crimped JST-XH
leads, and the README margin now matches the PDF (15-25 mm).
harness.py also finds DejaVu in C:/Windows/Fonts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant