hrithik18k/smartknob

A two-board SmartKnob assembly combining USB-C programming, regulated power, CH340C USB-UART, HX711 force sensing, MT6701 magnetic angle sensing, VEML7700 ambient-light sensing, MOSFET/BJT drivers, an SK6812 RGB LED, connectors, and supporting passives.

Version
1.0.5
License
Apache-2.0
Stars
0

imports/MLP2012S3R3MT0S1.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"]
} as const

export const MLP2012S3R3MT0S1 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={5.08} schY={0} schStemLength={0.762} />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-5.08} schY={0} schStemLength={0.762} />
          <schematicpath svgPath="M -4.288282 0.017272 A 1.016 0.9906 0 1 0 -2.265172 0.016256" strokeWidth={0.254} strokeColor="#880000" />
          <schematicpath svgPath="M -2.1336 0.018034 A 1.016 0.9906 0 1 0 -0.11049 0.016764" strokeWidth={0.254} strokeColor="#880000" />
          <schematicpath svgPath="M 0.017018 0.018034 A 1.016 0.9906 0 1 0 2.040128 0.016764" strokeWidth={0.254} strokeColor="#880000" />
          <schematicpath svgPath="M 2.2098 0.017526 A 1.016 0.9906 0 1 0 4.23291 0.016256" strokeWidth={0.254} strokeColor="#880000" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C307744"
  ]
}}
      manufacturerPartNumber="MLP2012S3R3MT0S1"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.966216mm" pcbY="0mm" width="1.1325352mm" height="1.3770102mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.966216mm" pcbY="0mm" width="1.1325352mm" height="1.3770102mm" shape="rect" />
<silkscreenpath route={[{"x":-0.4212590000000773,"y":1.015949199999909},{"x":-1.5642590000001064,"y":1.015949199999909},{"x":-1.6912590000000591,"y":1.015949199999909},{"x":-1.9452590000000782,"y":0.76194919999989},{"x":-1.9452590000000782,"y":-0.6350507999999309},{"x":-1.9452590000000782,"y":-0.7620508000001109},{"x":-1.6912590000000591,"y":-1.0160508000000164},{"x":-0.4212590000000773,"y":-1.0160508000000164}]} />
<silkscreenpath route={[{"x":0.34074099999998,"y":-1.0160508000000164},{"x":1.4837409999998954,"y":-1.0160508000000164},{"x":1.6107409999999618,"y":-1.0160508000000164},{"x":1.8647409999998672,"y":-0.7620508000001109},{"x":1.8647409999998672,"y":0.6349491999999373},{"x":1.8647409999998672,"y":0.76194919999989},{"x":1.6107409999999618,"y":1.015949199999909},{"x":0.34074099999998,"y":1.015949199999909}]} />
<silkscreentext text="{NAME}" pcbX="-0.04191mm" pcbY="2.019302mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.1969100000000026,"y":1.2693020000001525},{"x":2.1130900000000565,"y":1.2693020000001525},{"x":2.1130900000000565,"y":-1.2626980000000003},{"x":-2.1969100000000026,"y":-1.2626980000000003},{"x":-2.1969100000000026,"y":1.2693020000001525}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C307744.obj?uuid=c7acac53bcbc44d68fbab8f60a747688",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C307744.step?uuid=c7acac53bcbc44d68fbab8f60a747688",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.000038099999983387534, z: 0 },
      }}
      {...props}
    />
  )
}