abse/museair-usb
USB-C–powered ESP32-C3 controller board with AP63203 buck conversion, AP2112K 3.3V regulation, I²C SEN62 sensor interface, status LED, buttons, UART/I²C headers, and extensive decoupling.
- Version
- 0.5.7
- License
- unset
- Stars
- 0
components/SEN62.tsx
import type { ChipProps } from "@tscircuit/props"
import { sen62AssemblyGlb } from "../models/SEN62AssemblyModel"
// SEN62 has snap features, not screw holes. These four NPTH holes mount
// the PCB to internal base-wall ledges. The sensor carrier mounts to the case floor.
// pcbY=-6 places global holes at (+/-18,-24) and (+/-18,19).
// The official STEP models and printable carrier are in mechanical/.
// Same horizontal manufacturer CAD, carrier and tie paths as assembly.circuit.tsx.
// Sensor upper envelope is exactly 4 mm below the PCB underside.
export const SEN62 = (props:ChipProps) => <chip
manufacturerPartNumber="SEN62-SIN-T" pinLabels={{}}
obstructsWithinBounds={false} layer="bottom"
footprint={<footprint>
<hole pcbX={-18} pcbY={-18} diameter={2.4}/>
<hole pcbX={18} pcbY={-18} diameter={2.4}/>
<hole pcbX={-18} pcbY={25} diameter={2.4}/>
<hole pcbX={18} pcbY={25} diameter={2.4}/>
<silkscreenrect width={25.6} height={55.2} strokeWidth={0.15}/>
<courtyardrect pcbX={-18} pcbY={-18} width={5.6} height={5.6}/>
<courtyardrect pcbX={18} pcbY={-18} width={5.6} height={5.6}/>
<courtyardrect pcbX={-18} pcbY={25} width={5.6} height={5.6}/>
<courtyardrect pcbX={18} pcbY={25} width={5.6} height={5.6}/>
</footprint>}
// Asymmetric mounting-hole centroid is 3.5 mm above the sensor center.
cadModel={{glbUrl:sen62AssemblyGlb,positionOffset:{x:0,y:-3.5,z:0},modelOriginPosition:{x:0,y:0,z:0},
modelBounds:{min:{"x":-6.5,"y":-23.799999237060547,"z":1.0499992370605469},max:{"x":26.200000762939453,"y":36.0,"z":31.949999809265137}},
size:{"x":32.70000076293945,"y":59.79999923706055,"z":30.90000057220459},modelUnitToMmScale:1,modelBoardNormalDirection:"z+"}}
{...props}/>