techmannih/trellis-core

This code defines a detailed electronic hardware schematic and PCB layout for a Linux System-on-Module, incorporating components such as oscillators, power regulators, USB-C connectors, connectors, LEDs, resistors, capacitors, inductors, and integrated circuits, with precise physical footprint and 3D models.

Version
0.2.13
License
unset
Stars
0

imports/NCD0805R1.tsx

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

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

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

  return (
    <led
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C84256"
  ]
}}
      manufacturerPartNumber="NCD0805R1"
      footprint={<footprint>
        <smtpad portHints={["pin1", "anode", "pos"]} pcbX="1.100074mm" pcbY="0mm" width="0.999998mm" height="1.2500102mm" shape="rect" />
        <smtpad portHints={["pin2", "cathode", "neg"]} pcbX="-1.100074mm" pcbY="0mm" width="0.999998mm" height="1.2500102mm" shape="rect" />
<silkscreenpath route={[{"x":0.4999735999999757,"y":0.9499091999999791},{"x":1.980056999999988,"y":0.9598913999999468}]} />
<silkscreenpath route={[{"x":0.6400545999999849,"y":-0.9401047999999719},{"x":1.980056999999988,"y":-0.9401047999999719}]} />
<silkscreenpath route={[{"x":1.980056999999988,"y":0.9598913999999468},{"x":1.980056999999988,"y":-0.9401302000001124}]} />
<silkscreenpath route={[{"x":-1.7500600000000759,"y":-0.95011240000008},{"x":-1.7500600000000759,"y":-0.9500616000000264},{"x":-2.099995799999988,"y":-0.6001258000001144}]} />
<silkscreenpath route={[{"x":-1.7500600000000759,"y":0.9499091999999791},{"x":-1.7500600000000759,"y":0.9498583999999255},{"x":-2.099995799999988,"y":0.5999226000000135}]} />
<silkscreenpath route={[{"x":-0.500024400000143,"y":0.9499091999999791},{"x":-1.7500600000000759,"y":0.9499091999999791}]} />
<silkscreenpath route={[{"x":-0.500024400000143,"y":-0.95011240000008},{"x":-1.7500600000000759,"y":-0.95011240000008}]} />
<silkscreenpath route={[{"x":-2.099995799999988,"y":0.5999226000000135},{"x":-2.099995799999988,"y":-0.6001258000001144}]} />
<silkscreenpath route={[{"x":0.30005019999998694,"y":0.49989740000000893},{"x":0.30005019999998694,"y":-0.5001006000001098}]} />
<silkscreenpath route={[{"x":0.30005019999998694,"y":-0.005156199999987621},{"x":-0.19994880000001558,"y":-0.005156199999987621}]} />
<silkscreentext text="{NAME}" pcbX="-0.066802mm" pcbY="1.9525mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.361501999999973,"y":1.2024999999999864},{"x":2.2278979999998683,"y":1.2024999999999864},{"x":2.2278979999998683,"y":-1.2024999999999864},{"x":-2.361501999999973,"y":-1.2024999999999864},{"x":-2.361501999999973,"y":1.2024999999999864}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84256.obj?uuid=23093642268545519703b953fc993978",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84256.step?uuid=23093642268545519703b953fc993978",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.00005079999993995443, y: 0.00011430000006384944, z: -0.01 },
      }}
      {...restProps}
    />
  )
}