muse/book-reading-clip-lamp
A 60‑mm ESP32‑S3 lamp-head PCB combining USB‑C battery charging/power regulation, OV5640 autofocus camera interfacing, I²S microphone and differential speaker audio, six‑LED boost-driven reading light, buttons, status indicators, and battery monitoring.
- Version
- 0.2.5
- License
- unset
- Stars
- 0
imports/TXS0102DCTR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["B2"],
pin2: ["GND"],
pin3: ["VCCA"],
pin4: ["A2"],
pin5: ["A1"],
pin6: ["OE"],
pin7: ["VCCB"],
pin8: ["B1"]
} as const
const pinAttributes = {
pin2: {requiresGround: true}
} as const
export const TXS0102DCTR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C324082"
]
}}
manufacturerPartNumber="TXS0102DCTR"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-0.974979mm" pcbY="-1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.324993mm" pcbY="-1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.324993mm" pcbY="-1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.974979mm" pcbY="-1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.974979mm" pcbY="1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.324993mm" pcbY="1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.324993mm" pcbY="1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.974979mm" pcbY="1.8999962mm" width="0.3999992mm" height="1.0999978mm" shape="rect" />
<silkscreenpath route={[{"x":1.4999461999999966,"y":-1.5239745999999883},{"x":1.3560805999999843,"y":-1.5239745999999883}]} />
<silkscreenpath route={[{"x":1.3560805999999843,"y":1.5004033999999962},{"x":1.4999461999999966,"y":1.5004033999999962}]} />
<silkscreenpath route={[{"x":-1.5000478000000186,"y":1.5004033999999962},{"x":-1.3561822000000205,"y":1.5004033999999962}]} />
<silkscreenpath route={[{"x":-1.5000478000000186,"y":-1.499971599999995},{"x":-1.3561822000000205,"y":-1.499971599999995}]} />
<silkscreenpath route={[{"x":1.4999461999999966,"y":1.5004033999999962},{"x":1.4999461999999966,"y":-1.5239745999999883}]} />
<silkscreenpath route={[{"x":-1.5000478000000186,"y":1.5004033999999962},{"x":-1.5000478000000186,"y":0.5000244000000009}]} />
<silkscreenpath route={[{"x":-1.5000478000000186,"y":-1.499971599999995},{"x":-1.5000478000000186,"y":-0.4999735999999899}]} />
<silkscreenpath route={[{"x":-1.5000478000000186,"y":0.5000244000000009},{"x":-1.2845650272029303,"y":0.4494086604790226},{"x":-1.1121002011097403,"y":0.3106619047684376},{"x":-1.0165079725693857,"y":0.11101996452977403},{"x":-1.0165529882313962,"y":-0.11032767253274756},{"x":-1.112226411572081,"y":-0.3099307149089867},{"x":-1.2847476574942078,"y":-0.4486073105012025},{"x":-1.5002510000000058,"y":-0.49913540000001433}]} />
<silkscreencircle pcbX="-1.524mm" pcbY="-1.778mm" radius="0.035814mm" />
<silkscreentext text="{NAME}" pcbX="-0.024511mm" pcbY="3.4472646mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.6499972000000014,"y":2.6999951000000095},{"x":1.6499972000000014,"y":2.6999951000000095},{"x":1.6499972000000014,"y":-2.6999951000000095},{"x":-1.6499972000000014,"y":-2.6999951000000095},{"x":-1.6499972000000014,"y":2.6999951000000095}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C324082.obj?uuid=a7ccb90f6a304167a6c539a7aba01c0a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C324082.step?uuid=a7ccb90f6a304167a6c539a7aba01c0a",
pcbRotationOffset: 270,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}