AnasSarkiz/vibe_Goblin
These code snippets define various physical electronic components such as ICs, connectors, sensors, LEDs, and chips, specifying their pin layouts, footprint pads, silkscreen markings, courtyard outlines, and 3D CAD models for placement on PCB boards.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
imports/TS_1187A_B_A_B.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["A"],
pin2: ["B"],
pin3: ["C"],
pin4: ["D"],
} as const;
export const TS_1187A_B_A_B = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C318884"],
}}
manufacturerPartNumber="TS_1187A_B_A_B"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-2.999994mm"
pcbY="1.849882mm"
width="0.999998mm"
height="0.7500112mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="2.999994mm"
pcbY="1.849882mm"
width="0.999998mm"
height="0.7500112mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="-2.999994mm"
pcbY="-1.849882mm"
width="0.999998mm"
height="0.7500112mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="2.999994mm"
pcbY="-1.849882mm"
width="0.999998mm"
height="0.7500112mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -1.0007600000001275, y: 1.800860000000057 },
{ x: 0.899159999999938, y: 1.800860000000057 },
{ x: 1.8008599999999433, y: 0.899159999999938 },
{ x: 1.8008599999999433, y: -0.899159999999938 },
{ x: 0.8000999999999294, y: -1.8999199999999519 },
{ x: -0.8991600000000517, y: -1.8999199999999519 },
{ x: -1.800860000000057, y: -0.9982199999999466 },
{ x: -1.800860000000057, y: 1.0007600000000139 },
{ x: -1.0007600000001275, y: 1.800860000000057 },
]}
/>
<silkscreenpath
route={[
{ x: 1.2750800000000027, y: 2.550160000000119 },
{ x: 2.1701506000000563, y: 1.6550893999999516 },
]}
/>
<silkscreenpath
route={[
{ x: 2.5501599999998916, y: 1.1684000000000196 },
{ x: 2.5501599999998916, y: -1.1684000000000196 },
]}
/>
<silkscreenpath
route={[
{ x: 2.1701506000000563, y: -1.6550893999999516 },
{ x: 1.2750800000000027, y: -2.5501600000000053 },
]}
/>
<silkscreenpath
route={[
{ x: -2.5501600000000053, y: 1.1684000000000196 },
{ x: -2.5501600000000053, y: -1.1684000000000196 },
]}
/>
<silkscreenpath
route={[
{ x: -2.17015060000017, y: -1.6550893999999516 },
{ x: -1.2750800000000027, y: -2.5501600000000053 },
]}
/>
<silkscreenpath
route={[
{ x: -1.2750800000000027, y: 2.550160000000119 },
{ x: -2.17015060000017, y: 1.6550893999999516 },
]}
/>
<silkscreenpath
route={[
{ x: -1.2750800000000027, y: -2.5501600000000053 },
{ x: 1.2750800000000027, y: -2.5501600000000053 },
]}
/>
<silkscreenpath
route={[
{ x: -1.2750800000000027, y: 2.550160000000119 },
{ x: 1.2750800000000027, y: 2.550160000000119 },
]}
/>
<silkscreenpath
route={[
{ x: 1.2750800000000027, y: 0 },
{ x: 1.2316327025846476, y: -0.3300149880292338 },
{ x: 1.1042516718573552, y: -0.6375400000000582 },
{ x: 0.9016177145551865, y: -0.9016177145553002 },
{ x: 0.6375399999999445, y: -1.1042516718573552 },
{ x: 0.3300149880292338, y: -1.2316327025846476 },
{ x: 0, y: -1.275079999999889 },
{ x: -0.3300149880293475, y: -1.2316327025846476 },
{ x: -0.6375400000000582, y: -1.1042516718573552 },
{ x: -0.9016177145553002, y: -0.9016177145553002 },
{ x: -1.1042516718574689, y: -0.6375400000000582 },
{ x: -1.2316327025847613, y: -0.3300149880292338 },
{ x: -1.2750800000000027, y: 0 },
{ x: -1.2316327025847613, y: 0.3300149880292338 },
{ x: -1.1042516718574689, y: 0.6375400000001719 },
{ x: -0.9016177145553002, y: 0.9016177145554138 },
{ x: -0.6375400000000582, y: 1.1042516718574689 },
{ x: -0.3300149880293475, y: 1.2316327025846476 },
{ x: 0, y: 1.2750800000000027 },
{ x: 0.3300149880292338, y: 1.2316327025846476 },
{ x: 0.6375399999999445, y: 1.1042516718574689 },
{ x: 0.9016177145551865, y: 0.9016177145554138 },
{ x: 1.1042516718573552, y: 0.6375400000001719 },
{ x: 1.2316327025846476, y: 0.3300149880292338 },
{ x: 1.2750800000000027, y: 0 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="0mm"
pcbY="3.5908mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -3.755200000000059, y: 2.8407999999999447 },
{ x: 3.7551999999998316, y: 2.8407999999999447 },
{ x: 3.7551999999998316, y: -2.8661999999999352 },
{ x: -3.755200000000059, y: -2.8661999999999352 },
{ x: -3.755200000000059, y: 2.8407999999999447 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C318884.obj?uuid=91b67c1735f643ffb2e7226c23dd3492",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C318884.step?uuid=91b67c1735f643ffb2e7226c23dd3492",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.000012700000070253736,
y: 0.0004999999999999449,
z: -0.05,
},
}}
{...props}
/>
);
};