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

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

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

export const SMF5_0A = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <port name="pin2" pinNumber={2} aliases={["A"]} direction="right" schX={0.7} schY={0} schStemLength={0.35} />
          <port name="pin1" pinNumber={1} aliases={["C"]} direction="left" schX={-0.7} schY={0} schStemLength={0.35} />
          <schematicpath points={[{"x":-0.35,"y":0.28},{"x":-0.2,"y":0.14},{"x":-0.2,"y":-0.14},{"x":-0.05,"y":-0.28}]} strokeColor="#880000" />
          <schematicpath svgPath="M 0.2 -0.22 L -0.2 0 L 0.2 0.24 Z" strokeColor="#880000" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C193402"
  ]
}}
      manufacturerPartNumber="SMF5.0A"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="1.634998mm" pcbY="0mm" width="1.1999976mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-1.634998mm" pcbY="0mm" width="1.1999976mm" height="1.1999976mm" shape="rect" />
<silkscreenpath route={[{"x":-0.7167625999999245,"y":0.8762238000001616},{"x":-0.7167625999999245,"y":-0.876223800000048}]} />
<silkscreenpath route={[{"x":-1.3762228000000505,"y":-0.9262363999999934},{"x":1.3762227999999368,"y":-0.9262363999999934}]} />
<silkscreenpath route={[{"x":-1.3762228000000505,"y":0.9262364000001071},{"x":1.3762227999999368,"y":0.9262364000001071}]} />
<silkscreenpath route={[{"x":1.3762227999999368,"y":0.9262364000001071},{"x":1.3762227999999368,"y":0.7331963999999971}]} />
<silkscreenpath route={[{"x":1.3762227999999368,"y":-0.9262363999999934},{"x":1.3762227999999368,"y":-0.7331963999999971}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="1.9906mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-2.032000000000039,"y":0.1270000000000664},{"x":-2.032000000000039,"y":-0.06502399999988029},{"x":-1.2640056000001323,"y":-0.06502399999988029},{"x":-1.2640056000001323,"y":0.1270000000000664},{"x":-2.032000000000039,"y":0.1270000000000664}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":2.0349972000000207,"y":0.09603740000000016},{"x":2.0349972000000207,"y":-0.09598659999994652},{"x":1.2670027999998865,"y":-0.09598659999994652},{"x":1.2670027999998865,"y":0.09603740000000016},{"x":2.0349972000000207,"y":0.09603740000000016}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":1.7470374000000675,"y":-0.3839972000000671},{"x":1.5550133999998934,"y":-0.3839972000000671},{"x":1.5550133999998934,"y":0.3839972000000671},{"x":1.7470374000000675,"y":0.3839972000000671},{"x":1.7470374000000675,"y":-0.3839972000000671}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-2.485200000000077,"y":1.2406000000000859},{"x":2.4851999999998498,"y":1.2406000000000859},{"x":2.4851999999998498,"y":-1.2659999999999627},{"x":-2.485200000000077,"y":-1.2659999999999627},{"x":-2.485200000000077,"y":1.2406000000000859}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C193402.obj?uuid=d3ea67013c27406dbdf25a993737fb84",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C193402.step?uuid=d3ea67013c27406dbdf25a993737fb84",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0, y: 0, z: 0.09 },
      }}
      {...props}
    />
  )
}