techmannih2/TXS0104EQPWRQ1
The code defines a data-driven representation of the TXS0104EQPWRQ1 multi-channel level shifter IC, outlining its pin configuration, physical footprint on a PCB with SMT pads, silkscreen, and mechanical outline, along with 3D models for hardware fabrication.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone techmannih2/TXS0104EQPWRQ1 # download the package files into ./TXS0104EQPWRQ1
tsci add techmannih2/TXS0104EQPWRQ1 # add it to your project as @tsci/techmannih2.TXS0104EQPWRQ1In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
TXS0104EQPWRQ1.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["VCCA"],
pin2: ["A1"],
pin3: ["A2"],
pin4: ["A3"],
pin5: ["A4"],
pin6: ["NC1"],
pin7: ["GND"],
pin8: ["OE"],
pin9: ["NC2"],
pin10: ["B4"],
pin11: ["B3"],
pin12: ["B2"],
pin13: ["B1"],
pin14: ["VCCB"]
} as const
export const TXS0104EQPWRQ1 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C2652953"
]
}}
manufacturerPartNumber="TXS0104EQPWRQ1"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-2.7999690000000044mm" pcbY="1.9499579999999952mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-2.7999690000000044mm" pcbY="1.299972000000011mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-2.7999690000000044mm" pcbY="0.6499859999999984mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-2.7999690000000044mm" pcbY="1.4210854715202004e-14mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-2.7999690000000044mm" pcbY="-0.6499859999999984mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-2.7999690000000044mm" pcbY="-1.299972000000011mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-2.7999690000000044mm" pcbY="-1.9499579999999952mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="2.79996899999999mm" pcbY="-1.9499579999999952mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="2.79996899999999mm" pcbY="-1.299972000000011mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="2.79996899999999mm" pcbY="-0.6499859999999984mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="2.79996899999999mm" pcbY="1.4210854715202004e-14mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="2.79996899999999mm" pcbY="0.6499859999999984mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="2.79996899999999mm" pcbY="1.299972000000011mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="2.79996899999999mm" pcbY="1.9499579999999952mm" width="1.6999966mm" height="0.39999919999999994mm" shape="rect" />
<silkscreenpath route={[{"x":-1.60014919999999,"y":2.514574599999989},{"x":-0.6857492000000036,"y":2.514574599999989}]} />
<silkscreenpath route={[{"x":0.6858508000000114,"y":2.514574599999989},{"x":1.6002507999999978,"y":2.514574599999989}]} />
<silkscreenpath route={[{"x":2.2500590000000074,"y":2.4999696000000142},{"x":2.2500590000000074,"y":2.3843233999999995}]} />
<silkscreenpath route={[{"x":2.2500590000000074,"y":-2.3843741999999963},{"x":2.2500590000000074,"y":-2.500020399999997},{"x":-2.2499573999999996,"y":-2.500020399999997},{"x":-2.2499573999999996,"y":-2.3843741999999963}]} />
<silkscreenpath route={[{"x":-2.2499573999999996,"y":2.3843233999999995},{"x":-2.2499573999999996,"y":2.4999696000000142}]} />
<silkscreenpath route={[{"x":1.6002507999999978,"y":2.514574599999989},{"x":2.2500590000000074,"y":2.514574599999989}]} />
<silkscreenpath route={[{"x":-1.60014919999999,"y":2.514574599999989},{"x":-2.2499573999999996,"y":2.514574599999989}]} />
<silkscreenpath route={[{"x":0.6858508000000114,"y":2.514574599999989},{"x":-0.6857492000000036,"y":2.514574599999989}]} />
<silkscreentext text={props.name} pcbX="-0.014604999999988877mm" pcbY="3.893568000000002mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.90950500000001,"y":3.143568000000002},{"x":3.8802949999999896,"y":3.143568000000002},{"x":3.8802949999999896,"y":-2.7666320000000013},{"x":-3.90950500000001,"y":-2.7666320000000013},{"x":-3.90950500000001,"y":3.143568000000002}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2652953.obj?uuid=5377177da492449fa1a3111d646cac17",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2652953.step?uuid=5377177da492449fa1a3111d646cac17",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.069083 },
}}
{...props}
/>
)
}