tscircuit/motor-controller
This code defines a compact hardware layout with multiple integrated components such as microcontrollers, power regulators, sensors, connectors, and passive elements, all arranged on a PCB for a versatile electronic device.
- Version
- 1.0.14
- License
- unset
- Stars
- 0
imports/SM03B_SRSS_TB_LF__SN_.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
} as const;
export const SM03B_SRSS_TB_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C160403"],
}}
manufacturerPartNumber="SM03B_SRSS_TB_LF__SN_"
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: ["pin1", "pin2", "pin3", "pin4", "pin5"],
},
}}
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-1.000125mm"
pcbY="2.0500086mm"
width="0.5999988mm"
height="1.5500096mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="0.000127mm"
pcbY="2.0500086mm"
width="0.5999988mm"
height="1.5500096mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="1.000125mm"
pcbY="2.0500086mm"
width="0.5999988mm"
height="1.5500096mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="2.300097mm"
pcbY="-1.8250154mm"
width="1.499997mm"
height="1.999996mm"
shape="rect"
/>
<smtpad
portHints={["pin5"]}
pcbX="-2.300097mm"
pcbY="-1.8250154mm"
width="1.499997mm"
height="1.999996mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -2.5000203999999258, y: 1.725015600000006 },
{ x: -1.5311373999998068, y: 1.725015600000006 },
]}
/>
<silkscreenpath
route={[
{ x: 1.5311374000000342, y: 1.725015600000006 },
{ x: 2.499918800000046, y: 1.725015600000006 },
]}
/>
<silkscreenpath
route={[
{ x: 2.499918800000046, y: 1.725015600000006 },
{ x: 2.499918800000046, y: -0.5938519999999698 },
]}
/>
<silkscreenpath
route={[
{ x: -2.3697691999999506, y: 1.725015600000006 },
{ x: -2.5000203999999258, y: 1.725015600000006 },
]}
/>
<silkscreenpath
route={[
{ x: -2.5000203999999258, y: 1.725015600000006 },
{ x: -2.5000203999999258, y: -0.5938519999999698 },
]}
/>
<silkscreenpath
route={[
{ x: -1.318844199999944, y: -2.524963200000002 },
{ x: 1.3188696000000846, y: -2.524963200000002 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="0.004191mm"
pcbY="3.8374086mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -3.2938089999998965, y: 3.0874086000000034 },
{ x: 3.302191000000107, y: 3.0874086000000034 },
{ x: 3.302191000000107, y: -3.051391399999943 },
{ x: -3.2938089999998965, y: -3.051391399999943 },
{ x: -3.2938089999998965, y: 3.0874086000000034 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C160403.obj?uuid=65828f37d6e7448b8cbc0db14b6c48c4",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C160403.step?uuid=65828f37d6e7448b8cbc0db14b6c48c4",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.9999237999999614,
y: 0.4570101999999934,
z: -0.01,
},
}}
{...props}
/>
);
};