{
 "digest": null,
 "links": {
  "fits": [],
  "members": [],
  "cases": [],
  "assemblies": []
 },
 "prints": [],
 "part": {
  "id": "optical-endstop",
  "name": "Optical Endstop Module (MakerHawk 6-pack, 3D-printer style)",
  "kind": "",
  "method": "",
  "vendor": "generic",
  "sku": "B07PMW2QMT",
  "model": "",
  "buy": [
   "https://www.amazon.com/dp/B07PMW2QMT"
  ],
  "url": "",
  "category": "switch",
  "owned_qty": 0
 },
 "facts": {
  "id": "optical-endstop",
  "name": "Optical Endstop Module (MakerHawk 6-pack",
  "aka": [
   "photoelectric limit switch",
   "optical limit switch",
   "slotted interrupter endstop"
  ],
  "vendor": "amazon",
  "sku": "B07PMW2QMT",
  "url": "https://www.amazon.com/dp/B07PMW2QMT",
  "qty_owned": 6,
  "category": "switch",
  "frame": "origin PCB plan bottom-left, Z=0 PCB bottom; holes on Y=5.5 centerline",
  "body": {
   "size_mm": [
    35.0,
    11.0,
    11.6
   ],
   "outline": "irregular",
   "pcb_thickness": 1.6,
   "max_height_top": 8.5,
   "max_height_bottom": 1.5
  },
  "mounting": {
   "holes": [
    {
     "xy": [
      3.5,
      5.5
     ],
     "dia": 3.2
    },
    {
     "xy": [
      31.5,
      5.5
     ],
     "dia": 3.2
    }
   ],
   "pattern": "28.0 x 0 - two holes on centerline (vendor diagram)",
   "notes": "Hole dia not dimensioned - 3.2 est (metal-ringed, M3 screws fit). Interrupter slot centerline ~14.3 from x=0 (between the 11.3 and 17.7 partition dims on the vendor diagram). Slot ~3.1 wide (TCST2103-class typ, unverified) - design trigger flags <=2 thick, entering from above; flag must fully block the beam ~5 deep."
  },
  "electrical": {
   "vin": "2.7-5V VCC",
   "logic_v": 3.3,
   "protocols": [],
   "connector": "XH2.54 3-pin (VCC / GND / SIG); 100cm cables included",
   "notes": "SIG is LOW idle, HIGH when beam blocked (opposite polarity to typical NC mechanical endstops - set invert flags in firmware). Onboard LED shows trigger state. One Amazon reviewer reported sunlight false-negatives - shade the slot in outdoor use."
  },
  "cad": {
   "file": "amz-optical-endstop.step",
   "fidelity": "envelope",
   "source": "amz-optical-endstop.py",
   "verified": true
  },
  "sources": [
   {
    "facts": "35 x 11 PCB, holes 28 apart, 11.3/17.7 partitions, SIG logic",
    "ref": "vendor diagram ref/vendor-dimension-diagram.jpg",
    "date": "2026-08-08"
   },
   {
    "facts": "VCC 2.7-5V, XH2.54 3-pin, 100cm cables, qty 6",
    "ref": "https://www.amazon.com/dp/B07PMW2QMT bullets",
    "date": "2026-08-08"
   },
   {
    "facts": "heights, hole dia, slot width",
    "ref": "estimated from photos / TCST2103-class typicals",
    "date": "2026-08-08"
   }
  ],
  "confidence": "Outline + hole spacing vendor-diagram solid. Heights, hole dia (3.2), slot width/position, and PCB thickness are estimates - caliper a unit before cutting a mount; slot geometry matters for flag design."
 },
 "models": [
  {
   "handle": "sarg",
   "fidelity": "envelope",
   "verified": true,
   "visibility": "public",
   "url": "/m/sarg/optical-endstop",
   "files": [
    "amz-optical-endstop.py",
    "amz-optical-endstop.step",
    "part.yaml"
   ]
  }
 ],
 "related": {
  "notes": {
   "exact": [],
   "chip": [],
   "addr": []
  },
  "parts": {
   "variants": [],
   "interface": [],
   "mounting": [],
   "cooccur": [],
   "owners": [],
   "addr": []
  }
 }
}