gokul/cm4-media-carrier

A tscircuit package created by gokul.

Version
0.1.0
License
unset
Stars
0

imports/AP2331W_7.tsx

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

const pinLabels = {
  pin1: ["GND"],
  pin2: ["OUT"],
  pin3: ["IN"]
} as const

const pinAttributes = {
  pin1: {requiresGround: true},
  pin3: {requiresPower: true}
} as const

export const AP2331W_7 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C460346"
  ]
}}
      manufacturerPartNumber="AP2331W-7"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="1.041146mm" pcbY="-0.94996mm" width="1.0575036mm" height="0.532003mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.041146mm" pcbY="0.94996mm" width="1.0575036mm" height="0.532003mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.041146mm" pcbY="0mm" width="1.0575036mm" height="0.532003mm" shape="rect" />
<silkscreenpath route={[{"x":0.7886954000000514,"y":1.5262098000000606},{"x":-0.7886954000000514,"y":1.5262098000000606},{"x":-0.7886954000000514,"y":0.49458879999997407}]} />
<silkscreenpath route={[{"x":0.7886954000000514,"y":-1.5262097999999469},{"x":-0.7886954000000514,"y":-1.5262097999999469},{"x":-0.7886954000000514,"y":-0.49458879999997407}]} />
<silkscreenpath route={[{"x":0.7886954000000514,"y":0.45539659999997184},{"x":0.7886954000000514,"y":-0.45539659999985815}]} />
<silkscreentext text="{NAME}" pcbX="0.0635mm" pcbY="2.524mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.819897800000149,"y":1.6999844000000621},{"x":1.819897800000149,"y":1.6999844000000621},{"x":1.819897800000149,"y":-1.7000097999999753},{"x":-1.819897800000149,"y":-1.7000097999999753},{"x":-1.819897800000149,"y":1.6999844000000621}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C460346.obj?uuid=7bc2d5a1748b4443bf674b6e8fa83c92",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C460346.step?uuid=7bc2d5a1748b4443bf674b6e8fa83c92",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.000012700000070253736, y: -0.000012699999956566899, z: -0.1 },
      }}
      {...props}
    />
  )
}