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

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

const pinLabels = {
  pin1: ["SCL"],
  pin2: ["VDD"],
  pin3: ["GND"],
  pin4: ["SDA"]
} as const

export const VEML7700_TT = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C1850416"
  ]
}}
      manufacturerPartNumber="VEML7700_TT"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.905mm" pcbY="0mm" width="0.6999986mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.635mm" pcbY="0mm" width="0.6999986mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.635mm" pcbY="0mm" width="0.6999986mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="1.905mm" pcbY="0mm" width="0.6999986mm" height="1.5999968mm" shape="rect" />
<silkscreenpath route={[{"x":2.4861519999999473,"y":-0.3810000000000855},{"x":3.4289999999999736,"y":-0.3810000000000855},{"x":3.4289999999999736,"y":2.537993400000005}]} />
<silkscreenpath route={[{"x":1.2161520000000792,"y":-0.3810000000000855},{"x":1.3238479999999981,"y":-0.3810000000000855}]} />
<silkscreenpath route={[{"x":-0.05384800000001633,"y":-0.3810000000000855},{"x":0.05384800000001633,"y":-0.3810000000000855}]} />
<silkscreenpath route={[{"x":-1.3238479999999981,"y":-0.3810000000000855},{"x":-1.2161519999999655,"y":-0.3810000000000855}]} />
<silkscreenpath route={[{"x":-3.4290000000000873,"y":2.537993400000005},{"x":-3.4290000000000873,"y":-0.3810000000000855},{"x":-2.486152000000061,"y":-0.3810000000000855}]} />
<silkscreenpath route={[{"x":-3.4290000000000873,"y":2.537993400000005},{"x":3.4289999999999736,"y":2.537993400000005}]} />
<silkscreenpath route={[{"x":-2.741422000000057,"y":0.1270000000000664},{"x":-2.7475409719666004,"y":0.08052179351864197},{"x":-2.765480890039271,"y":0.03721100000007027},{"x":-2.7940191784481385,"y":0.000019178448155798833},{"x":-2.8312109999999393,"y":-0.02851910996071183},{"x":-2.8745217935186247,"y":-0.04645902803338231},{"x":-2.921000000000049,"y":-0.05257800000003954},{"x":-2.96747820648136,"y":-0.04645902803338231},{"x":-3.010789000000159,"y":-0.02851910996071183},{"x":-3.047980821551846,"y":0.000019178448155798833},{"x":-3.0765191099607136,"y":0.03721100000007027},{"x":-3.094459028033384,"y":0.08052179351864197},{"x":-3.1005780000000414,"y":0.1270000000000664},{"x":-3.094459028033384,"y":0.17347820648137713},{"x":-3.0765191099607136,"y":0.21678900000006252},{"x":-3.047980821551846,"y":0.2539808215518633},{"x":-3.010789000000159,"y":0.28251910996073093},{"x":-2.96747820648136,"y":0.3004590280335151},{"x":-2.921000000000049,"y":0.30657799999994495},{"x":-2.8745217935186247,"y":0.3004590280335151},{"x":-2.8312109999999393,"y":0.28251910996073093},{"x":-2.7940191784481385,"y":0.2539808215518633},{"x":-2.765480890039271,"y":0.21678900000006252},{"x":-2.7475409719666004,"y":0.17347820648137713},{"x":-2.741422000000057,"y":0.1270000000000664}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="3.54mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.6790000000000873,"y":2.7899999999999636},{"x":3.6789999999999736,"y":2.7899999999999636},{"x":3.6789999999999736,"y":-1.3421999999999343},{"x":-3.6790000000000873,"y":-1.3421999999999343},{"x":-3.6790000000000873,"y":2.7899999999999636}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1850416.obj?uuid=10989c365deb427c83ad7f5b618a8102",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1850416.step?uuid=10989c365deb427c83ad7f5b618a8102",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -1.0430002000000513, z: -1 },
      }}
      {...props}
    />
  )
}