olivergrabinski/tscircuit-weather
A 60×44 mm ESP32-S3 Wi‑Fi/BLE weather-station PCB with USB‑C power, 3.3 V regulation and ESD protection, temperature/humidity and UV/light sensors, status LEDs, buttons, Qwiic I²C expansion, debug GPIO header, and a printable enclosure.
- Version
- 1.2.0
- License
- unset
- Stars
- 0
imports/JST_SH_SM04B_SRSS_TB.tsx
import type { ConnectorProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"]
} as const
/** JST SH 1.0 mm 4-pin side-entry (Qwiic / STEMMA QT). Cable enters from -Y. */
export const JST_SH_SM04B_SRSS_TB = (props: ConnectorProps) => {
return (
<connector
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C160404"
]
}}
manufacturerPartNumber="SM04B-SRSS-TB(LF)(SN)"
footprint={<footprint insertionDirection="from_bottom">
<smtpad portHints={["pin2"]} pcbX="-0.499872mm" pcbY="2.0005167mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-1.49987mm" pcbY="2.0005167mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="1.500378mm" pcbY="2.0000087mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.50038mm" pcbY="2.0000087mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-2.800096mm" pcbY="-1.8750153mm" width="1.1999976mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="2.800096mm" pcbY="-1.8755233mm" width="1.1999976mm" height="1.7999964mm" shape="rect" />
<silkscreenpath route={[{"x":-2.019960400000059,"y":-2.397467900000038},{"x":1.8800063999999566,"y":-2.397467900000038}]} />
<silkscreenpath route={[{"x":-1.9400266000000101,"y":1.8624676999997973},{"x":-3.019958400000064,"y":1.8624676999997973},{"x":-3.019958400000064,"y":-0.7374763000001394}]} />
<silkscreenpath route={[{"x":2.040000999999961,"y":1.8624676999997973},{"x":2.9600143999999773,"y":1.8624676999997973},{"x":2.9600143999999773,"y":-0.7443089000000782}]} />
<silkscreencircle pcbX="-2.49936mm" pcbY="1.3749147mm" radius="0.124968mm" />
<silkscreentext text="{NAME}" pcbX="0.000254mm" pcbY="3.7879167mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.653346000000056,"y":3.037916699999869},{"x":3.653854000000024,"y":3.037916699999869},{"x":3.653854000000024,"y":-3.024683300000106},{"x":-3.653346000000056,"y":-3.024683300000106},{"x":-3.653346000000056,"y":3.037916699999869}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160404.obj?uuid=96ff162c26934a308e7bbf01d083d593",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160404.step?uuid=96ff162c26934a308e7bbf01d083d593",
pcbRotationOffset: 0,
modelOriginPosition: { x: 1.5, y: 0.2875033000001168, z: -0.01 },
}}
{...props}
/>
)
}