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

// Importer correction: SK6812SIDE-A is a four-pin digital RGB IC, not a two-pin LED.
import type { ChipProps } from "@tscircuit/props"

export const SK6812SIDE_A_RVS = (props: ChipProps) => {
  const { name = "LED1", ...restProps } = props

  return (
    <chip
      name={name}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2890037"
  ]
}}
      manufacturerPartNumber="SK6812SIDE_A_RVS"
      footprint={<footprint>
        <smtpad portHints={["pin4"]} points={[{x: "1.2999085mm", y: "0.612394mm"}, {x: "1.2999085mm", y: "-0.5875528mm"}, {x: "1.8499963mm", y: "-0.5874512mm"}, {x: "1.8499963mm", y: "-0.187579mm"}, {x: "2.3000335mm", y: "-0.1876044mm"}, {x: "2.2999827mm", y: "0.3623818mm"}, {x: "1.8499201mm", y: "0.362331mm"}, {x: "1.8499963mm", y: "0.6124448mm"}]} shape="polygon" />
<smtpad portHints={["pin3"]} points={[{x: "0.3499231mm", y: "-0.5875274mm"}, {x: "0.7999349mm", y: "-0.5875274mm"}, {x: "0.7999349mm", y: "0.6124702mm"}, {x: "0.3499231mm", y: "0.6124702mm"}]} shape="polygon" />
<smtpad portHints={["pin2"]} points={[{x: "-0.8000365mm", y: "0.6124956mm"}, {x: "-0.8000365mm", y: "-0.587502mm"}, {x: "-0.1000379mm", y: "-0.587502mm"}, {x: "-0.1000379mm", y: "0.6124956mm"}]} shape="polygon" />
<smtpad portHints={["pin1"]} points={[{x: "-1.3000355mm", y: "0.587502mm"}, {x: "-1.3000355mm", y: "-0.6124956mm"}, {x: "-1.8500217mm", y: "-0.6124956mm"}, {x: "-1.8500217mm", y: "-0.2125218mm"}, {x: "-2.3000335mm", y: "-0.2125218mm"}, {x: "-2.3000335mm", y: "0.3375152mm"}, {x: "-1.8500217mm", y: "0.3375152mm"}, {x: "-1.8500217mm", y: "0.587502mm"}]} shape="polygon" />
<silkscreenpath route={[{"x":-1.1717654999999922,"y":-1.3625068000000056},{"x":-1.1250549000000092,"y":-1.3625068000000056},{"x":-0.8750681000000213,"y":-1.1125200000000177},{"x":0.8879712999998901,"y":-1.1125200000000177},{"x":1.1379581000001053,"y":-1.3625068000000056}]} />
<silkscreenpath route={[{"x":1.9999325,"y":-0.6851649999999836},{"x":1.9999325,"y":-1.3625068000000056},{"x":-2.0000595000000203,"y":-1.3625068000000056},{"x":-2.0000595000000203,"y":-0.7100570000000062}]} />
<silkscreenpath route={[{"x":-2.050148300000046,"y":-0.4875783999999612},{"x":-2.0527014778361945,"y":-0.5069717110494594},{"x":-2.060187016494524,"y":-0.5250433999999586},{"x":-2.0720947888858063,"y":-0.5405619111140822},{"x":-2.08761329999993,"y":-0.5524696835053646},{"x":-2.105684988950543,"y":-0.5599552221636941},{"x":-2.125078300000041,"y":-0.5625083999998424},{"x":-2.144471611049539,"y":-0.5599552221636941},{"x":-2.1625433000000385,"y":-0.5524696835053646},{"x":-2.1780618111142758,"y":-0.5405619111140822},{"x":-2.189969583505558,"y":-0.5250433999999586},{"x":-2.1974551221638876,"y":-0.5069717110494594},{"x":-2.200008300000036,"y":-0.4875783999999612},{"x":-2.1974551221638876,"y":-0.46818508895046307},{"x":-2.189969583505558,"y":-0.4501133999998501},{"x":-2.1780618111142758,"y":-0.4345948888857265},{"x":-2.1625433000000385,"y":-0.42268711649433044},{"x":-2.144471611049539,"y":-0.415201577836001},{"x":-2.125078300000041,"y":-0.4126483999999664},{"x":-2.105684988950543,"y":-0.415201577836001},{"x":-2.08761329999993,"y":-0.42268711649433044},{"x":-2.0720947888858063,"y":-0.4345948888857265},{"x":-2.060187016494524,"y":-0.4501133999998501},{"x":-2.0527014778361945,"y":-0.46818508895046307},{"x":-2.050148300000046,"y":-0.4875783999999612}]} />
<silkscreentext text="{NAME}" pcbX="0.0031877mm" pcbY="1.6023356mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.5455122999999276,"y":0.8523356000000604},{"x":2.5518877000000657,"y":0.8523356000000604},{"x":2.5518877000000657,"y":-1.6542643999999882},{"x":-2.5455122999999276,"y":-1.6542643999999882},{"x":-2.5455122999999276,"y":0.8523356000000604}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2890037.obj?uuid=67027208803a44bf8ed89d1ce8acb277",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2890037.step?uuid=67027208803a44bf8ed89d1ce8acb277",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: -0.000038099999983387534, y: -0.5729986000000054, z: -1.02 },
      }}
      {...restProps}
    />
  )
}