imrishabh18/pedometer
This code defines and assembles a simple radio receiver hardware circuit using specific imported capacitors, inductors, RF connectors, and oscillator components with precise footprints and schematic attributes.
- Version
- 1.1.3
- License
- unset
- Stars
- 0
imports/TYPE_C_6P.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["SHIELD1"],
pin2: ["SHIELD2"],
pin3: ["SHIELD3"],
pin4: ["SHIELD4"],
pin8: ["GND1","B12"],
pin9: ["VBUS1","B9"],
pin10: ["CC1","A5"],
pin11: ["CC2","B5"],
pin12: ["VBUS2","A9"],
pin13: ["GND2","A12"]
} as const
export const TYPE_C_6P = (props: ChipProps<typeof pinLabels>) => {
return (
<connector
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C456012"
]
}}
manufacturerPartNumber="TYPE-C 6P"
footprint={<footprint insertionDirection="from_y_neg">
<platedhole portHints={["pin1"]} pcbX="4.319905mm" pcbY="-2.3000144mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<platedhole portHints={["pin2"]} pcbX="-4.319905mm" pcbY="-2.3000144mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<platedhole portHints={["pin3"]} pcbX="4.319905mm" pcbY="1.5000796mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<platedhole portHints={["pin4"]} pcbX="-4.319905mm" pcbY="1.5000796mm" holeWidth="0.5999988mm" holeHeight="1.3999972mm" outerWidth="1.0999978mm" outerHeight="1.8999962mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-2.699893mm" pcbY="1.7500156mm" width="0.7999984mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-1.499997mm" pcbY="1.7500156mm" width="0.6999986mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.499999mm" pcbY="1.7500156mm" width="0.6999986mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="0.499999mm" pcbY="1.7500156mm" width="0.6999986mm" 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="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.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}]} />
<silkscreentext text="{NAME}" pcbX="0.002667mm" pcbY="3.4424196mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-2.999994000000015,"y":-3.899960399999941},{"x":-2.999994000000015,"y":-0.39996740000003683},{"x":-2.4999950000000126,"y":-0.39996740000003683},{"x":-2.4999950000000126,"y":-3.899960399999941},{"x":-2.999994000000015,"y":-3.899960399999941}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":2.9999939999999015,"y":-3.899960399999941},{"x":2.9999939999999015,"y":-0.39996740000003683},{"x":2.499994999999899,"y":-0.39996740000003683},{"x":2.499994999999899,"y":-3.899960399999941},{"x":2.9999939999999015,"y":-3.899960399999941}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-2.4999950000000126,"y":-0.39996740000003683},{"x":2.499994999999899,"y":-0.39996740000003683},{"x":2.499994999999899,"y":-0.899966400000153},{"x":-2.4999950000000126,"y":-0.899966400000153},{"x":-2.4999950000000126,"y":-0.39996740000003683}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.4999990000001162,"y":-4.399959400000057},{"x":0.4999990000000025,"y":-4.399959400000057},{"x":-1.1368683772161603e-13,"y":-4.8999584000000596},{"x":-0.4999990000001162,"y":-4.399959400000057}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.1368683772161603e-13,"y":-4.399959400000057},{"x":-0.09999980000009145,"y":-4.399959400000057},{"x":-0.09999980000009145,"y":-2.399963400000047},{"x":0.09999979999997777,"y":-2.399963400000047},{"x":0.09999979999997777,"y":-4.399959400000057},{"x":-1.1368683772161603e-13,"y":-4.399959400000057}]} strokeWidth="0.254mm" />
<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}
/>
)
}