WiFi Sensor Enclosure Design


Thought for 59 mins 25 sec
Thought for 13 sec
Created 2 tasks.
1/2 Design and build the sensor enclosure and matching magnetic fixture from the actual board geometry.

Design and build the sensor enclosure and matching magnetic fixture from the actual board geometry.

Verify mechanical fit and deliver printable files and mounting guidance.

Thought for 30 sec
Awaiting 1 task
Thought for 14 sec
Referenced guidance.
[INTERNAL] Executor Review and Convergence
[INTERNAL] Flux Response Links
"WiFi Sensor Enclosure Design" completed.
The sensor case and matching magnet housing are built and placed, with printable files and mounting instructions saved. I’m checking the fit and assembly path; the magnet’s reliable operating gap will still need a bench test.
Thought for 3 mins 48 sec
Thought for 17 sec
Awaiting 1 task
"Enclosure Mechanical Review" completed.
Created and placed a gray PETG sensor enclosure (54 × 84 × 36.9 mm) and matching magnet fixture (14 × 28 × 24.3 mm), with screw-secured covers, PCB retention clips and flat adhesive-mounting surfaces. Build files and instructions include printable STL, STEP, CAD sources and an assembly render.
Nominal CAD checks passed, but this is a first-print prototype: confirm the actual battery-holder fit, board insertion/removal and reliable magnetic switching gap before permanent mounting; the current holder model differs from the specified part.

Enclosure Design Brief
First-pass proposal, 2026-10-28. This new screw-secured prototype follows the current build brief; the older snap-fit Fusion/3MF enclosure remains an independent historical design and is not overwritten.
Intent and hard constraints
Indoor door/window sensor with separate captive-magnet fixture on the opposing leaf/frame. Preserve every PCB/component pose and electrical design. Fit the measured custom PCB, AA holder and its full placed pin envelope. Tape-backed flat mounting faces; no new PCB holes. Internal programming header, buttons and LED remain accessible only with lid removed. No vents, gasket or ingress claim.
Form and process
Gray #9a9a9a PETG FDM, 0.4 mm nozzle, provisional 0.2 mm layers. Rounded rectangular base and flush screw-secured lid; separate smaller rounded carrier and serviceable cover. 3 mm ordinary walls; 2.4 mm floor/top; 3 mm stepped skirt; 0.4 mm total provisional slip clearance. Broad outside lid face on bed, base open side up. Printer build volume unknown. Edge supports and releasable PETG clips retain the board; clip life and fit require coupons.
Measurements and sources
Actual scene is authoritative for placement: board custom outline bounds X −18.955..18.643, Y −31.927..31.870 mm, centroid of bounds (−0.1562,−0.0285); substrate 1.4986 mm. Scene places board about Z=0, copper top Z=0.7843 mm, rather than the generic top-face-zero convention. All checks use actual scene transforms. Placed BT1 model bounds X −19.063..−2.171, Y −31.096..25.902, Z −12.040..14.859 mm. Its long pin tails require deep lower clearance; the model asset is named 2460 despite BOM BH-AA-A1AJ020, so physical holder/model equivalence is NOT VERIFIED. No component is moved or pin trimmed by this design. REED1 axis runs Y, body center X=16.4828, Y=−16.9274 mm; body midheight approximately Z=2.06 mm. ESP1 occupies X −0.700..15.900, Y 13.225..26.425 mm. J1 mates in +Z; no external cutout.
Magnetic fixture proposal
Select commercially available supermagnete S-05-10-N: nominal Ø5×10 mm, ±0.1 mm, N45 NdFeB, axially magnetized, nickel plated, dry indoor use. Manufacturer product data: https://www.supermagnete.de/eng/rod-magnets-neodymium/rod-magnet-5mm-10mm_S-05-10-N . Pocket allowance: +0.6 mm diameter and +0.6 mm length, explicitly separate from nominal dimensions. Rod axis parallel to reed Y axis, centers aligned in Y and Z; either polarity may face +Y for this normally-open reed. Source for reed dimensions/type and manufacturer-recommended 57045 actuator: https://www.littelfuse.com/products/sensors/fluid-level-position-sensors/reed-switches/59170/59170-1-s-00-d . The chosen rod is an alternative, not the manufacturer-matched actuator; switching distance is unvalidated. Intended starting installation shell-to-shell gap 1 mm, PROVISIONAL, not a sensing-distance rating. Verify closure, release, hysteresis and misalignment margin on the actual frame before permanent adhesion, especially on steel. Keep magnet at the reed end, away from ESP antenna. No metallic/conductive filament or foil tape.
Acceptance
Four printed parts and each fastener/magnet individually placed; native source and STEP/STL downloads; assembly render; measured clash/clearance report and installation instructions. Magnet retention, assembly path, battery service, blind-bore floor and RF clearances must be inspected; physical performance and unmodeled solder remain provisional.
First-pass outcome
The completed geometry uses a 54 × 84 × 36.9 mm assembled sensor housing and a 14 × 28 × 24.3 mm assembled magnet fixture. The magnet pocket is a rectangular 5.6 × 10.6 mm loose captive pocket, not a cylindrical press fit. Four source parts, separate commercial magnet/eight screw models, STEP/STL conversions, final assembly image and numerical verification are stored in the project. See the project file Enclosure Build and Verification (enclosure-build-and-verification, short ID 0b) for downloads, instructions, clearances and open qualifications. Final static mating checks have no unintended overlaps; the 3° populated insertion pose has 0.628 mm minimum component/base clearance, while a steeper 6° bare-board pose has a small collision and must not be forced. Actual holder/model equivalence, magnetic actuation and physical print/service durability remain unverified.
  • Intent and hard constraints

  • Form and process

  • Measurements and sources

  • Magnetic fixture proposal

  • Acceptance

  • First-pass outcome