gokul/wireless-calculator

A USB‑C rechargeable battery-powered controller board with MCP73871 Li‑ion charging, TPS63070 buck‑boost and LDO power regulation, ATmega328P and ESP32‑S3 control, LCD/keypad user interface, status LEDs, and UART/programming connectors.

Version
0.0.1
License
ISC
Stars
0

imports/LTST_C190KRKT/LTST_C190KRKT.tsx

import objPath from "./LTST_C190KRKT.obj";
import stepPath from "./LTST_C190KRKT.step";
import type { LedProps } from "@tscircuit/props";

const pinLabels = {
  pin1: ["cathode", "neg"],
  pin2: ["anode", "pos"],
} as const;

export const LTST_C190KRKT = (props: LedProps) => {
  const { name = "LED1", ...restProps } = props;

  return (
    <led
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
        jlcpcb: ["C94869"],
      }}
      manufacturerPartNumber="LTST-C190KRKT"
      footprint={
        <footprint>
          <smtpad
            portHints={["pin1", "cathode", "neg"]}
            pcbX="-0.7489952mm"
            pcbY="-0.003429mm"
            width="0.7999984mm"
            height="0.7999984mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin2", "anode", "pos"]}
            pcbX="0.7489952mm"
            pcbY="0.003429mm"
            width="0.7999984mm"
            height="0.7999984mm"
            shape="rect"
          />
          <silkscreenpath
            route={[
              { x: 0.2203958000000057, y: -0.3235452000000123 },
              { x: 0.21048979999989115, y: -0.3235452000000123 },
              { x: -0.11960860000010598, y: 0.006477000000018052 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 0.2203958000000057, y: 0.3564890000001242 },
              { x: 0.2203958000000057, y: 0.3464814000001297 },
              { x: -0.11960860000010598, y: 0.006477000000018052 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 0.2203958000000057, y: 0.3564890000001242 },
              { x: 0.2203958000000057, y: -0.3235452000000123 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 0.24043639999990774, y: 0.7565136000000621 },
              { x: 1.3904975999998896, y: 0.7565136000000621 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 0.24043639999990774, y: -0.7436103999999659 },
              { x: 1.3904975999998896, y: -0.7436103999999659 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 1.3904975999998896, y: 0.7564628000000084 },
              { x: 1.3904975999998896, y: -0.7235189999998966 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -0.13957299999992756, y: -0.7458963999999924 },
              { x: -1.189685200000099, y: -0.7458963999999924 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -1.4896337999999787, y: -0.345795599999974 },
              { x: -1.4896337999999787, y: -0.4458207999998649 },
              { x: -1.189685200000099, y: -0.7458963999999924 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -1.4896337999999787, y: 0.3541268000000173 },
              { x: -1.4896337999999787, y: -0.345795599999974 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -1.4896337999999787, y: 0.3541268000000173 },
              { x: -1.4896337999999787, y: 0.4542790000000423 },
              { x: -1.189685200000099, y: 0.7542276000000356 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -0.13957299999992756, y: 0.7542276000000356 },
              { x: -1.189685200000099, y: 0.7542276000000356 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 0.2203958000000057, y: 0.006477000000018052 },
              { x: -0.11960860000010598, y: 0.006477000000018052 },
            ]}
          />
          <silkscreentext
            text="{NAME}"
            pcbX={0}
            pcbY={-1.2}
            pcbRotation={180}
            anchorAlignment="center"
            fontSize={0.6}
          />
          <fabricationnotepath
            route={[
              { x: 0.5289295999998558, y: 0.06832600000007005 },
              { x: 1.068933599999923, y: 0.06832600000007005 },
              { x: 1.068933599999923, y: -0.061671199999977944 },
              { x: 0.5289295999998558, y: -0.061671199999977944 },
              { x: 0.5289295999998558, y: 0.06832600000007005 },
            ]}
            strokeWidth="0mm"
            isFilled
            hasStroke={false}
          />
          <fabricationnotepath
            route={[
              { x: 0.7345679999999675, y: -0.2671318000000156 },
              { x: 0.7345679999999675, y: 0.27287220000005163 },
              { x: 0.8645397999999886, y: 0.27287220000005163 },
              { x: 0.8645397999999886, y: -0.2671318000000156 },
              { x: 0.7345679999999675, y: -0.2671318000000156 },
            ]}
            strokeWidth="0mm"
            isFilled
            hasStroke={false}
          />
          <fabricationnotepath
            route={[
              { x: -1.0700004000000263, y: 0.06146800000010444 },
              { x: -0.5299964000000728, y: 0.06146800000010444 },
              { x: -0.5299964000000728, y: -0.06852919999994356 },
              { x: -1.0700004000000263, y: -0.06852919999994356 },
              { x: -1.0700004000000263, y: 0.06146800000010444 },
            ]}
            strokeWidth="0mm"
            isFilled
            hasStroke={false}
          />
          <courtyardoutline
            outline={[
              { x: -1.398994400000106, y: 0.6534282000000076 },
              { x: 1.3989943999999923, y: 0.6534282000000076 },
              { x: 1.3989943999999923, y: -0.6534282000000076 },
              { x: -1.398994400000106, y: -0.6534282000000076 },
              { x: -1.398994400000106, y: 0.6534282000000076 },
            ]}
          />
        </footprint>
      }
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: {
          x: -0.000012700000070253736,
          y: 0.00005079999993995443,
          z: -0.01,
        },
      }}
      {...restProps}
    />
  );
};