ShiboSoftwareDev/solar-battery-charger

This code defines various surface-mount and through-hole electronic components (like diodes, voltage regulators, and ICs) with detailed footprints, 3D models, and pin configurations for PCB design.

Version
1.0.2
License
unset
Stars
0

imports/OneN5822_0201.tsx

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

const pinLabels = {
  pin1: ["CATHODE"],
  pin2: ["ANODE"],
} as const

export const OneN5822_0201 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      manufacturerPartNumber="1N5822"
      footprint={
        <footprint>
          <smtpad portHints={["pin1"]} pcbX="-0.32mm" pcbY="0mm" width="0.46mm" height="0.4mm" shape="rect" />
          <smtpad portHints={["pin2"]} pcbX="0.32mm" pcbY="0mm" width="0.46mm" height="0.4mm" shape="rect" />
          <silkscreenpath route={[{ x: -0.3, y: -0.15 }, { x: -0.3, y: 0.15 }]} />
          <silkscreenpath route={[{ x: -0.2, y: -0.15 }, { x: -0.2, y: 0.15 }]} />
          <silkscreenpath route={[{ x: -0.3, y: 0.15 }, { x: 0.3, y: 0.15 }]} />
          <silkscreenpath route={[{ x: -0.3, y: -0.15 }, { x: 0.3, y: -0.15 }]} />
          <courtyardoutline
            outline={[
              { x: -0.7, y: 0.35 },
              { x: 0.7, y: 0.35 },
              { x: 0.7, y: -0.35 },
              { x: -0.7, y: -0.35 },
              { x: -0.7, y: 0.35 },
            ]}
          />
        </footprint>
      }
      {...props}
    />
  )
}