MustafaMulla29/wireless-mouse-pcb
This code defines a 3.3V low dropout voltage regulator chip (AP2112K-3.3TRG1) with five pins (VIN, GND, Enable, NC, VOUT) and its associated PCB footprint and 3D models for hardware implementation.
- Version
- 1.0.6
- License
- unset
- Stars
- 0
imports/TYPE_C_6P.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin7: ["EH1"],
pin8: ["pin7_alt1"],
pin9: ["pin7_alt1"],
pin10: ["pin7_alt1"],
pin11: ["B12"],
pin12: ["B9"],
pin13: ["A5"],
pin14: ["B5"],
pin15: ["A9"],
pin16: ["A12"]
} as const
export const TYPE_C_6P = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C456012"
]
}}
manufacturerPartNumber="TYPE-C 6P"
footprint={<footprint>
<platedhole portHints={["pin7"]} pcbX="4.319905mm" pcbY="-2.3000144mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<platedhole portHints={["pin8"]} pcbX="-4.319905mm" pcbY="-2.3000144mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<platedhole portHints={["pin9"]} pcbX="4.319905mm" pcbY="1.5000796mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<platedhole portHints={["pin10"]} pcbX="-4.319905mm" pcbY="1.5000796mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="-2.699893mm" pcbY="1.7500156mm" width="0.7999984mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-1.499997mm" pcbY="1.7500156mm" width="0.6999986mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-0.499999mm" pcbY="1.7500156mm" width="0.6999986mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="0.499999mm" pcbY="1.7500156mm" width="0.6999986mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="1.499997mm" pcbY="1.7500156mm" width="0.6999986mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="2.699893mm" pcbY="1.7500156mm" width="0.7999984mm" height="1.1999976mm" shape="rect" />
<silkscreenpath route={[{"x":3.3291271999999026,"y":1.9000279999999066},{"x":3.540759999999864,"y":1.9000279999999066}]} />
<silkscreenpath route={[{"x":-3.540760000000091,"y":1.9000279999999066},{"x":-3.32912720000013,"y":1.9000279999999066}]} />
<silkscreenpath route={[{"x":-4.499991000000136,"y":0.3000311999999212},{"x":-4.499991000000136,"y":0.34211899999991147}]} />
<silkscreenpath route={[{"x":-4.499991000000136,"y":0.3000311999999212},{"x":-4.499991000000136,"y":-1.1422823999999991}]} />
<silkscreenpath route={[{"x":4.499990999999909,"y":-1.099965999999995},{"x":4.499990999999909,"y":0.35011999999994714}]} />
<silkscreenpath route={[{"x":-4.5007530000000315,"y":-3.5011804000000666},{"x":-4.5007530000000315,"y":-3.4783204000001433},{"x":-4.5007530000000315,"y":-4.900720399999955},{"x":4.501006999999959,"y":-4.900720399999955},{"x":4.501006999999959,"y":-3.5011804000000666}]} />
<silkscreenpath route={[{"x":-0.4000246000000516,"y":0.5000307999999904},{"x":-0.4000246000000516,"y":0.7000304000000597}]} />
<silkscreenpath route={[{"x":0.9999725999999782,"y":0.10003159999996569},{"x":0.9999725999999782,"y":0.5000307999999904},{"x":0.39997379999988425,"y":0.5000307999999904},{"x":0.39997379999988425,"y":0.7000304000000597}]} />
<silkscreenpath route={[{"x":-1.0000234000000319,"y":0.10003159999996569},{"x":-1.0000234000000319,"y":0.5000307999999904},{"x":-0.4000246000000516,"y":0.5000307999999904}]} />
<silkscreenpath route={[{"x":-1.0100310000000263,"y":0.10003159999996569},{"x":1.0099801999999727,"y":0.10003159999996569}]} />
<silkscreenpath route={[{"x":-2.817672800000082,"y":-3.7332093999999643},{"x":-2.3198328000000856,"y":-1.2313094000001001},{"x":-1.0193528000000924,"y":-1.2313094000001001},{"x":-0.5189728000000287,"y":-3.7332093999999643},{"x":-1.0142728000000716,"y":-3.7332093999999643},{"x":-1.4130528000000595,"y":-1.6326294000000416},{"x":-1.9413728000000674,"y":-1.6326294000000416},{"x":-2.3426928000001226,"y":-3.7332093999999643},{"x":-2.817672800000082,"y":-3.7332093999999643}]} />
<silkscreenpath route={[{"x":-2.517952800000103,"y":-2.4327294000000848},{"x":-2.119172800000115,"y":-2.4327294000000848}]} />
<silkscreenpath route={[{"x":-1.2185904000000392,"y":-2.4324245999999903},{"x":-0.8185912000000144,"y":-2.4324245999999903}]} />
<silkscreenpath route={[{"x":2.0581873999999516,"y":-2.427344600000083},{"x":2.4581865999999764,"y":-2.427344600000083}]} />
<silkscreenpath route={[{"x":0.758824999999888,"y":-2.42764939999995},{"x":1.1576049999998759,"y":-2.42764939999995}]} />
<silkscreenpath route={[{"x":0.4591050000000223,"y":-3.7281293999999434},{"x":0.9569449999999051,"y":-1.2262294000000793},{"x":2.257425000000012,"y":-1.2262294000000793},{"x":2.757804999999962,"y":-3.7281293999999434},{"x":2.262504999999919,"y":-3.7281293999999434},{"x":1.8637249999999312,"y":-1.627549399999907},{"x":1.3354049999999233,"y":-1.627549399999907},{"x":0.9340849999999818,"y":-3.7281293999999434},{"x":0.4591050000000223,"y":-3.7281293999999434}]} />
<silkscreentext text="{NAME}" pcbX="0.002667mm" pcbY="3.4424196mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.111433000000034,"y":2.69241959999988},{"x":5.116766999999982,"y":2.69241959999988},{"x":5.116766999999982,"y":-5.198980400000096},{"x":-5.111433000000034,"y":-5.198980400000096},{"x":-5.111433000000034,"y":2.69241959999988}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C456012.obj?uuid=a8c86ef7d632469a8c796c24a9574b1e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C456012.step?uuid=a8c86ef7d632469a8c796c24a9574b1e",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.000012700000070253736, y: -2.2999397999999927, z: 0.059997999999999996 },
}}
{...props}
/>
)
}