0hmX/esp32-s3-usb-webcam-ov2640

This code defines and integrates a variety of surface-mount, through-hole, and connector hardware components (including microcontrollers, regulators, resistors, capacitors, and connectors) into a PCB design framework, enabling schematic symbol creation, footprint definition, and automated routing within an electronic circuit layout.

Version
1.0.7
License
unset
Stars
0

imports/BSMD0603_075_6V.tsx

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

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

export const BSMD0603_075_6V = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <schematicpath points={[{"x":-0.2,"y":0},{"x":0.2,"y":0}]} strokeColor="#880000" />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0} schStemLength={0.2} />
          <port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={0.4} schY={0} schStemLength={0.2} />
          <schematicrect schX={0} schY={0} width={0.4} height={0.16} color="#A00000" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C914092"
  ]
}}
      manufacturerPartNumber="BSMD0603-075-6V"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="0.753364mm" pcbY="0mm" width="0.8064754mm" height="0.8640064mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.753364mm" pcbY="0mm" width="0.8064754mm" height="0.8640064mm" shape="rect" />
<silkscreenpath route={[{"x":1.3969999999999345,"y":0.3809999999999718},{"x":1.3969999999999345,"y":-0.3810000000000855}]} />
<silkscreenpath route={[{"x":-1.397000000000162,"y":0.3809999999999718},{"x":-1.397000000000162,"y":-0.3810000000000855}]} />
<silkscreenpath route={[{"x":-0.3810000000000855,"y":-0.6349999999999909},{"x":-1.143000000000029,"y":-0.6349999999999909}]} />
<silkscreenpath route={[{"x":-0.3810000000000855,"y":0.6349999999999909},{"x":-1.143000000000029,"y":0.6349999999999909}]} />
<silkscreenpath route={[{"x":0.3809999999999718,"y":-0.6349999999999909},{"x":1.1429999999999154,"y":-0.6349999999999909}]} />
<silkscreenpath route={[{"x":0.3809999999999718,"y":0.6349999999999909},{"x":1.1429999999999154,"y":0.6349999999999909}]} />
<silkscreenpath route={[{"x":-0.03175000000010186,"y":-0.06349999999997635},{"x":-0.14440783308521077,"y":0.11518298207374755},{"x":-0.07336247487728542,"y":0.31410998505577936},{"x":0.1269999999999527,"y":0.3809999999999718}]} />
<silkscreenpath route={[{"x":-0.030861000000072636,"y":-0.06349999999997635},{"x":0.1143536728128538,"y":-0.21879178332346783},{"x":0.06940849682075623,"y":-0.42659642793705643},{"x":-0.1269999999999527,"y":-0.5080000000000382}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="1.635mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.647000000000162,"y":0.8849999999999909},{"x":1.6469999999999345,"y":0.8849999999999909},{"x":1.6469999999999345,"y":-0.8849999999999909},{"x":-1.647000000000162,"y":-0.8849999999999909},{"x":-1.647000000000162,"y":0.8849999999999909}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C914092.obj?uuid=f9b4c9f684154bb3a64f336476a603d6",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C914092.step?uuid=f9b4c9f684154bb3a64f336476a603d6",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012700000070253736, y: -0.000012700000070253736, z: 0 },
      }}
      {...props}
    />
  )
}