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/MT6701CT_STD.tsx

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

const pinLabels = {
  pin1: ["VDD"],
  pin2: ["MODE"],
  pin3: ["OUT"],
  pin4: ["GND"],
  pin5: ["PUSH"],
  pin6: ["A"],
  pin7: ["B"],
  pin8: ["Z"]
} as const

export const MT6701CT_STD = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2856764"
  ]
}}
      manufacturerPartNumber="MT6701CT_STD"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.905mm" pcbY="-2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-0.635mm" pcbY="-2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="0.635mm" pcbY="-2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="1.905mm" pcbY="-2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-1.905mm" pcbY="2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-0.635mm" pcbY="2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.635mm" pcbY="2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="1.905mm" pcbY="2.682494mm" width="0.6299962mm" height="1.864995mm" radius="0.3149981mm" shape="pill" />
<silkscreenpath route={[{"x":-2.576245799999924,"y":-1.5213076},{"x":-2.576245799999924,"y":1.5215361999999004},{"x":2.5761188000000175,"y":1.5215361999999004},{"x":2.5761188000000175,"y":-1.5213076},{"x":-2.576245799999924,"y":-1.5213076}]} />
<silkscreenpath route={[{"x":-1.7549113999998553,"y":-0.7691120000000637},{"x":-1.760026410512296,"y":-0.8079643621365449},{"x":-1.7750228625361615,"y":-0.844169000000079},{"x":-1.7988787726487772,"y":-0.8752586273511724},{"x":-1.829968399999757,"y":-0.8991145374637881},{"x":-1.866173037863291,"y":-0.9141109894875399},{"x":-1.9050253999998858,"y":-0.9192259999999806},{"x":-1.943877762136367,"y":-0.9141109894875399},{"x":-1.9800823999997874,"y":-0.8991145374637881},{"x":-2.0111720273509945,"y":-0.8752586273511724},{"x":-2.03502793746361,"y":-0.844169000000079},{"x":-2.0500243894872483,"y":-0.8079643621365449},{"x":-2.0551393999998027,"y":-0.7691120000000637},{"x":-2.0500243894872483,"y":-0.7302596378634689},{"x":-2.03502793746361,"y":-0.6940549999999348},{"x":-2.0111720273509945,"y":-0.6629653726490687},{"x":-1.9800823999997874,"y":-0.6391094625364531},{"x":-1.943877762136367,"y":-0.6241130105124739},{"x":-1.9050253999998858,"y":-0.6189980000000332},{"x":-1.866173037863291,"y":-0.6241130105124739},{"x":-1.829968399999757,"y":-0.6391094625364531},{"x":-1.7988787726487772,"y":-0.6629653726490687},{"x":-1.7750228625361615,"y":-0.6940549999999348},{"x":-1.760026410512296,"y":-0.7302596378634689},{"x":-1.7549113999998553,"y":-0.7691120000000637}]} />
<silkscreenpath route={[{"x":-2.5222453999998606,"y":-2.6824940000000197},{"x":-2.527360410512415,"y":-2.7213463621366145},{"x":-2.5423568625362805,"y":-2.7575510000001486},{"x":-2.566212772648896,"y":-2.7886406273510147},{"x":-2.597302399999876,"y":-2.8124965374636304},{"x":-2.6335070378632963,"y":-2.8274929894876095},{"x":-2.672359399999891,"y":-2.83260800000005},{"x":-2.711211762136486,"y":-2.8274929894876095},{"x":-2.7474163999999064,"y":-2.8124965374636304},{"x":-2.778506027350886,"y":-2.7886406273510147},{"x":-2.802361937463502,"y":-2.7575510000001486},{"x":-2.8173583894873673,"y":-2.7213463621366145},{"x":-2.8224733999999216,"y":-2.6824940000000197},{"x":-2.8173583894873673,"y":-2.6436416378635386},{"x":-2.802361937463502,"y":-2.6074370000000044},{"x":-2.778506027350886,"y":-2.576347372648911},{"x":-2.7474163999999064,"y":-2.5524914625362953},{"x":-2.711211762136486,"y":-2.5374950105125436},{"x":-2.672359399999891,"y":-2.532380000000103},{"x":-2.6335070378632963,"y":-2.5374950105125436},{"x":-2.597302399999876,"y":-2.5524914625362953},{"x":-2.566212772648896,"y":-2.576347372648911},{"x":-2.5423568625362805,"y":-2.6074370000000044},{"x":-2.527360410512415,"y":-2.6436416378635386},{"x":-2.5222453999998606,"y":-2.6824940000000197}]} />
<silkscreentext text="{NAME}" pcbX="-0.1242822mm" pcbY="4.2956246mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.079382199999827,"y":3.5456245999998828},{"x":2.8308178000002044,"y":3.5456245999998828},{"x":2.8308178000002044,"y":-3.8123754000000645},{"x":-3.079382199999827,"y":-3.8123754000000645},{"x":-3.079382199999827,"y":3.5456245999998828}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2856764.obj?uuid=a8bf75347d3a44d9bc6814f39c22bf07",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2856764.step?uuid=a8bf75347d3a44d9bc6814f39c22bf07",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.0099948999999242, y: -0.06982459999994717, z: -0.8 },
      }}
      {...props}
    />
  )
}