MustafaMulla29/rp2040-bldc-motor-controller-new
A tscircuit package created by MustafaMulla29.
- Version
- 0.3.101
- License
- unset
- Stars
- 0
imports/TJ_S1615SW6TGLCCSRGB_A5.tsx
import type { ChipProps } from "@tscircuit/props"
// TOGIALED datasheet: 1=G, 2=B, 3=R, 4=common cathode.
// Land pattern uses the recommended 2.6 x 1.6 mm envelope / 0.9 x 0.5 mm gaps.
// The imported model and footprint are rotated 180 degrees from the datasheet top view.
const pinLabels = {
pin1: ["G"],
pin2: ["B"],
pin3: ["R"],
pin4: ["K", "cathode"]
} as const
export const TJ_S1615SW6TGLCCSRGB_A5 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
isSmt
pinLabels={pinLabels}
pinAttributes={{
pin1: { isPassive: true }, pin2: { isPassive: true },
pin3: { isPassive: true }, pin4: { isPassive: true, requiresGround: true },
}}
schWidth={2.4} schHeight={2.4}
schPinStyle={{ pin1: { marginTop: 0.8 }, pin2: { marginTop: 0.8 } }}
schPinArrangement={{ leftSide: { pins: ["R", "G", "B"], direction: "top-to-bottom" }, bottomSide: { pins: ["K"], direction: "left-to-right" } }}
supplierPartNumbers={{
"jlcpcb": [
"C273611"
]
}}
manufacturerPartNumber="TJ-S1615SW6TGLCCSRGB-A5"
footprint={<footprint>
<smtpad portHints={["pin3"]} pcbX="0.875mm" pcbY="0.525mm" width="0.85mm" height="0.55mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.875mm" pcbY="-0.525mm" width="0.85mm" height="0.55mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.875mm" pcbY="0.525mm" width="0.85mm" height="0.55mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.875mm" pcbY="-0.525mm" width="0.85mm" height="0.55mm" shape="rect" />
<silkscreenpath route={[{"x":-0.8890254000000368,"y":1.01605080000013},{"x":0.8889745999998695,"y":1.01605080000013}]} />
<silkscreenpath route={[{"x":-0.8890254000000368,"y":-1.0159492000000228},{"x":0.8889745999998695,"y":-1.0159492000000228}]} />
<fabricationnotepath route={[{"x":-1.201419999999871,"y":0.45542199999999866},{"x":-0.6934199999999464,"y":0.45542199999999866},{"x":-0.6934199999999464,"y":0.32842199999993227},{"x":-1.201419999999871,"y":0.32842199999993227},{"x":-1.201419999999871,"y":0.45542199999999866}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.01600000000019,"y":-0.7619999999998299},{"x":-1.01600000000019,"y":-0.2539999999999054},{"x":-0.8890000000002374,"y":-0.2539745999999923},{"x":-0.8889746000000969,"y":-0.7619999999998299},{"x":-1.01600000000019,"y":-0.7619999999998299}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.6984999999997399,"y":0.45542199999999866},{"x":1.206499999999778,"y":0.45542199999999866},{"x":1.206499999999778,"y":0.32842199999993227},{"x":0.6984999999997399,"y":0.32842199999993227},{"x":0.6984999999997399,"y":0.45542199999999866}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.8889999999997826,"y":0.1379220000000032},{"x":0.8889999999997826,"y":0.6459219999999277},{"x":1.0159999999997353,"y":0.6459474000000682},{"x":1.0160253999998758,"y":0.1379220000000032},{"x":0.8889999999997826,"y":0.1379220000000032}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.8889999999997826,"y":-0.7619999999998299},{"x":0.8889999999997826,"y":-0.2539999999999054},{"x":1.0159999999997353,"y":-0.2539745999999923},{"x":1.0160253999998758,"y":-0.7619999999998299},{"x":0.8889999999997826,"y":-0.7619999999998299}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.6984999999997399,"y":-0.44449999999983447},{"x":1.206499999999778,"y":-0.44449999999983447},{"x":1.206499999999778,"y":-0.5714999999999009},{"x":0.6984999999997399,"y":-0.5714999999999009},{"x":0.6984999999997399,"y":-0.44449999999983447}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.2065000000002328,"y":-0.44449999999983447},{"x":-0.6985000000001946,"y":-0.44449999999983447},{"x":-0.6985000000001946,"y":-0.5714999999999009},{"x":-1.2065000000002328,"y":-0.5714999999999009},{"x":-1.2065000000002328,"y":-0.44449999999983447}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.8280399999999872,"y":-0.058039000000007945},{"x":-0.7010400000000345,"y":-0.18503899999996065},{"x":-0.4470400000000154,"y":-0.18503899999996065},{"x":-0.4470400000000154,"y":0.19596100000001115},{"x":-0.7010400000000345,"y":0.19596100000001115},{"x":-0.8280399999999872,"y":0.06896100000005845},{"x":-0.8280399999999872,"y":-0.058039000000007945}]} strokeWidth="0.254mm" />
<courtyardrect width={3.1} height={2.1} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C273611.obj?uuid=43090167d62d4e52bf13ff7b3fb7a33f",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C273611.step?uuid=43090167d62d4e52bf13ff7b3fb7a33f",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.000012699999956566899, z: 0 },
}}
{...props}
/>
)
}