mohan-bee/freezer-alarm

This code defines representations of various electronic hardware components—such as voltage regulators, temperature sensors, and microcontroller modules—detailing their physical pins, footprints, and 3D models for PCB design and visualization.

Version
1.0.0
License
unset
Stars
0

imports/AMS1117_3_3.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["VIN"],
  pin4: ["TAB"]
} as const

export const AMS1117_3_3 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C347222"
  ]
}}
      manufacturerPartNumber="AMS1117_3_3"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="2.834894mm" pcbY="-2.29997mm" width="2.4699976mm" height="0.9800082mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="2.834894mm" pcbY="0mm" width="2.4699976mm" height="0.9800082mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="2.834894mm" pcbY="2.29997mm" width="2.4699976mm" height="0.9800082mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-2.834894mm" pcbY="0mm" width="2.4699976mm" height="3.5999928mm" shape="rect" />
<silkscreenpath route={[{"x":-1.3713967999999568,"y":-3.3262061999998878},{"x":-1.3713967999999568,"y":3.3262062000000014},{"x":1.3713967999999568,"y":3.3262062000000014},{"x":1.3713967999999568,"y":-3.3262061999998878},{"x":-1.3713967999999568,"y":-3.3262061999998878}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="4.3274mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.314000000000078,"y":3.5774000000000115},{"x":4.3139999999999645,"y":3.5774000000000115},{"x":4.3139999999999645,"y":-3.5773999999998978},{"x":-4.314000000000078,"y":-3.5773999999998978},{"x":-4.314000000000078,"y":3.5774000000000115}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C347222.obj?uuid=e80246a9471445bfb635be848806a22e",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C347222.step?uuid=e80246a9471445bfb635be848806a22e",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: -0.000012700000070253736, y: -0.000012700000070253736, z: -0.049394 },
      }}
      {...props}
    />
  )
}