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

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

const pinLabels = {
  pin1: ["B"],
  pin2: ["E"],
  pin3: ["C"]
} as const

export const MMBT4403LT1G = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <schematicpath points={[{"x":1.27,"y":-0.762},{"x":2.794,"y":-1.016},{"x":2.032,"y":-2.032},{"x":1.27,"y":-0.762}]} strokeWidth={0.254} strokeColor="#880000" isFilled fillColor="#880000" />
          <schematicpath points={[{"x":1.27,"y":2.286},{"x":1.27,"y":-2.286}]} strokeWidth={0.254} strokeColor="#880000" />
          <schematicpath points={[{"x":3.81,"y":2.54},{"x":1.27,"y":0.762}]} strokeWidth={0.254} strokeColor="#880000" />
          <schematicpath points={[{"x":2.032,"y":-1.27},{"x":3.81,"y":-2.54}]} strokeWidth={0.254} strokeColor="#880000" />
          <port name="pin1" pinNumber={1} aliases={["B"]} direction="left" schX={-3.81} schY={0} schStemLength={5.08} />
          <port name="pin2" pinNumber={2} aliases={["E"]} direction="down" schX={3.81} schY={-7.62} schStemLength={5.08} />
          <port name="pin3" pinNumber={3} aliases={["C"]} direction="up" schX={3.81} schY={7.62} schStemLength={5.08} />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C78864"
  ]
}}
      manufacturerPartNumber="MMBT4403LT1G"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="0.999998mm" pcbY="-0.94996mm" width="0.999998mm" height="0.6500114mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.999998mm" pcbY="0.94996mm" width="0.999998mm" height="0.6500114mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.999998mm" pcbY="0mm" width="0.999998mm" height="0.6500114mm" shape="rect" />
<silkscreenpath route={[{"x":0.726211400000011,"y":1.5262098000000606},{"x":-0.726211400000011,"y":1.5262098000000606},{"x":-0.726211400000011,"y":0.49458879999997407}]} />
<silkscreenpath route={[{"x":0.726211400000011,"y":-1.5262097999999469},{"x":-0.726211400000011,"y":-1.5262097999999469},{"x":-0.726211400000011,"y":-0.49458879999997407}]} />
<silkscreenpath route={[{"x":0.726211400000011,"y":0.45539659999997184},{"x":0.726211400000011,"y":-0.45539659999985815}]} />
<silkscreentext text="{NAME}" pcbX="0.0254mm" pcbY="2.524mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.748600000000124,"y":1.774000000000001},{"x":1.7993999999998778,"y":1.774000000000001},{"x":1.7993999999998778,"y":-1.774000000000001},{"x":-1.748600000000124,"y":-1.774000000000001},{"x":-1.748600000000124,"y":1.774000000000001}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C78864.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C78864.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.000012700000070253736, y: -0.000012699999956566899, z: 0.050795 },
      }}
      {...props}
    />
  )
}