{
 "digest": null,
 "links": {
  "fits": [
   {
    "product": "seeed-xiao-esp32s3-sense",
    "name": "Seeed Studio XIAO ESP32S3 Sense (camera + mic + SD)",
    "kind": ""
   }
  ],
  "members": [],
  "uses": [],
  "cases": [],
  "assemblies": [],
  "used_by": []
 },
 "prints": [],
 "part": {
  "id": "seeed-xiao-esp32s3-sense-battery-camera-case-body-tray-lid",
  "name": "Seeed XIAO ESP32S3 Sense battery camera case (body + tray + lid)",
  "kind": "case",
  "method": "fdm",
  "vendor": "sargbench2",
  "sku": "",
  "model": "",
  "buy": [],
  "url": "",
  "category": "enclosure",
  "owned_qty": 0
 },
 "facts": {
  "id": "xiao-esp32s3-sense-battery-case",
  "kind": "made",
  "name": "Seeed XIAO ESP32S3 Sense battery camera case (body + tray + lid)",
  "aka": [
   "xiao sense battery case",
   "xiao esp32s3 sense lipo enclosure",
   "xiao sense camera case"
  ],
  "category": "enclosure",
  "status": "designed",
  "for_parts": [
   "seeed-xiao-esp32s3-sense"
  ],
  "frame": "board frame: origin base-PCB plan bottom-left, +X along the long edge, USB-C on the X=0 end, Z=0 base-PCB bottom (= tray top), lens +Z",
  "body": {
   "size_mm": [
    78.3,
    41.0,
    32.96
   ],
   "outline": "rect",
   "corner_r": 3.0,
   "notes": "three printed parts. BODY: open box, walls 2.0 (+X end wall 4.0, carries two lid screws + a 14 x 1.5 battery finger groove), floor 2.5; battery bay x -3.61..68.69, y -9.61..27.39, Z -13.5..-2.5 (11.0 for a 66 x 36 x 10.5 LiPo at 0.39..66.39 x -9.11..26.89 + 0.5/side, it drops straight in) + a 4 mm wire/JST pocket at the USB end; tray ledge pads Z -5.0..-2.5 protrude 1.8 ONLY in battery-free zones (USB wall either side of the opening, far wall with a 14 mm centre gap), undersides chamfered. TRAY: full-length plate x -3.31..68.39 x 2.5 on the pads, top = Z 0 board datum; two 2.0 rails at y -2.4/-0.4 and 18.18/20.18 rise to Z 14.96 (stiffen the plate + support the lid); wire slot x -3.31..8.0, y 4.5..13.5 through the plate; USB overmold relief to Z -1.5. LID: 2.0, underside Z 14.96 (lens top 13.96 + 1.0), top 16.96."
  },
  "battery": "MakerFocus 3.7 V 3000 mAh LiPo, 66 x 36 x 10.5, JST-PH leads off one 36 mm end; wire end toward USB; XIAO charges it via the BAT pads (solder leads to the PCB underside)",
  "mounting": {
   "pattern": "lid: 4 x M2 x 8 self-tap (pilot 1.7 x 8) at (-2.01, 0.6), (-2.01, 17.18) in the tray blocks (these also pin the tray) and (70.69, -7.11), (70.69, 24.89) in the 4 mm +X wall; 4.2 x 1.5 counterbores"
  },
  "interfaces": {
   "board_retention": "as xiao-esp32s3-sense-case (verified there): no screws through the board - 0.4/side pocket between the tray rails; USB end: two full-height corner blocks x -3.31..-0.4 stop the X=0 edge and carry two lid screws, two lid posts 2.2 x 1.8 land on the PCB corners at Z 1.35; +X end: stop rib x 21.3..25.7 (Z 0..3.63) + two hooks x 20.0..22.5 (y -0.4..2.0, 16.0..18.18, Z 1.45..3.63) reach 0.95 over the PCB top corners. Insert nose-first under the hooks <= 10 deg.",
   "camera_cradle": "what published XIAO Sense cases do (square recess behind a round hole): 12.4 sq boss on the lid underside to Z 8.7 (0.2 over the inserted microSD card), 8.4 sq pocket around the 8.0 sq OV3660 head (0.2/side), 8.3 bore for the 7.84 barrel; pocket ceiling Z 10.4 (head top + 0.1) catches the head corners (they stand proud of the bore) so the head cannot lift; +X pocket wall stops at Z 9.0 so the rolled FPC (top Z 8.75) passes under. The head rides its flex and self-aligns as the lid goes on; remove the green lens film first.",
   "usb_and_microsd": "one 13.4 w x 10.7 h opening in the X=0 wall, y 2.2..15.6, Z -1.5..9.2; 12.3 x 6.5 USB-C overmold reaches the receptacle face; card tip at x -3.11, Z 6.85..8.5",
   "antenna": "stays inside (printed case is RF-transparent): U.FL pigtail through a 3.5 x 2.6 notch in the -Y tray rail at x 17..20.5, Z 1.4..4.0; stick the FPC antenna in the side corridor or on the lid",
   "battery_service": "lid off -> screws also free the tray -> lift tray -> battery straight up; finger groove in the far wall, wire pocket keeps the JST plug accessible",
   "buttons": "RST/BOOT not reachable (as the tripod case)",
   "mic": "PDM mic not in the vendor model; no hole cut - the USB opening is the acoustic path",
   "lid": "1.2 x 1.5 lip, 0.2/side gap, cut back at the four rail/block crossings"
  },
  "print": {
   "orientation": "body opening-up (no supports; 13.4 bridge over the USB opening; pad undersides chamfered); tray plate-down (no supports); lid top-face-down (posts print as 13.6 pillars; pocket ceiling bridges the 8.3 bore)",
   "profile": "0.4 nozzle / 0.2 layer, PETG or ASA near a warm pump, >= 3 perimeters",
   "hardware": "4 x M2 x 8 self-tapping pan head; 1 mm foam pad under the battery recommended"
  },
  "cad": {
   "file": "xiao_bat_case_body.step",
   "files": [
    "xiao_bat_case_body.step",
    "xiao_bat_case_tray.step",
    "xiao_bat_case_lid.step",
    "xiao_bat_case_assembly.step"
   ],
   "source": "xiao_bat_case_common.py",
   "fidelity": "exact",
   "verified": false
  },
  "sources": [
   {
    "facts": "all board geometry",
    "ref": "sargineer /m/sarg/seeed-xiao-esp32s3-sense/f/amz-xiao-esp32s3-sense.step via xiao_board_ref.py (measured 2026-08-21)",
    "date": "2026-08-23"
   },
   {
    "facts": "battery 66 x 36 x 10.5 JST-PH",
    "ref": "owner-measured MakerFocus 3000 mAh pack (photo + sketch)",
    "date": "2026-08-23"
   },
   {
    "facts": "camera head retention pattern (square recess + round bore, flex relief)",
    "ref": "printables.com models 681623 (ScottyDoesKnow) and 1048175 (grosdode)",
    "date": "2026-08-23"
   },
   {
    "facts": "case geometry",
    "ref": "xiao_bat_case_common.py + XIAO_BAT_CASE.md + verify.py",
    "date": "2026-08-23"
   }
  ],
  "confidence": "High for geometry: zero interference vs the real vendor STEP (103 solids) at nominal and every in-pocket extreme (camera solids checked separately at +/-0.15 - the lid cradle, not the board, locates the flex-mounted head); battery nominal/shifted/straight-drop, tray drop-in, USB overmold probe, card pull-out, lens column and JST pocket probes all 0 (verify.py, 2026-08-23; the 0.001 mm3 at board X -0.4 is the PCB edge touching its stop face). Not yet printed: check pocket widths after FDM shrink, the 0.2 hook/lip gaps, the 13.6 lid posts, tray fit over the pads, cradle fit on the head."
 },
 "models": [
  {
   "handle": "sargbench2",
   "fidelity": "exact",
   "verified": false,
   "visibility": "public",
   "url": "/m/sargbench2/seeed-xiao-esp32s3-sense-battery-camera-case-body-tray-lid",
   "files": [
    "XIAO_BAT_CASE.md",
    "part.yaml",
    "pcbkit.py",
    "sheet.png",
    "verify.py",
    "xiao_bat_case_assembly.step",
    "xiao_bat_case_assembly.step.py",
    "xiao_bat_case_body.step",
    "xiao_bat_case_body.step.py",
    "xiao_bat_case_body.stl",
    "xiao_bat_case_common.py",
    "xiao_bat_case_lid.step",
    "xiao_bat_case_lid.step.py",
    "xiao_bat_case_lid.stl",
    "xiao_bat_case_tray.step",
    "xiao_bat_case_tray.step.py",
    "xiao_bat_case_tray.stl",
    "xiao_board_ref.py"
   ]
  }
 ],
 "related": {
  "notes": {
   "is": [],
   "silicon": [],
   "maybe": [],
   "addr": [],
   "exact": [],
   "chip": []
  },
  "parts": {
   "variants": [],
   "interface": [],
   "mounting": [
    {
     "product": "goouuu-esp32-s3-cam-case-wall-mount-and-din-rail-bodies",
     "name": "GOOUUU ESP32-S3-CAM case - wall-mount and DIN-rail bodies",
     "why": "pattern 2x8 mm",
     "url": "/p/goouuu-esp32-s3-cam-case-wall-mount-and-din-rail-bodies"
    },
    {
     "product": "goouuu-esp32-s3-cam-tripod-case-body-lid",
     "name": "GOOUUU ESP32-S3-CAM tripod case (body + lid)",
     "why": "pattern 2x8 mm",
     "url": "/p/goouuu-esp32-s3-cam-tripod-case-body-lid"
    },
    {
     "product": "seeed-xiao-esp32s3-sense-case-wall-mount-and-din-rail-bodies",
     "name": "Seeed XIAO ESP32S3 Sense case - wall-mount and DIN-rail bodies",
     "why": "pattern 2x8 mm",
     "url": "/p/seeed-xiao-esp32s3-sense-case-wall-mount-and-din-rail-bodies"
    },
    {
     "product": "seeed-xiao-esp32s3-sense-tripod-case-body-lid",
     "name": "Seeed XIAO ESP32S3 Sense tripod case (body + lid)",
     "why": "pattern 2x8 mm",
     "url": "/p/seeed-xiao-esp32s3-sense-tripod-case-body-lid"
    }
   ],
   "cooccur": [],
   "owners": [],
   "addr": []
  }
 }
}