abse/wifi-smart-switch

The AO3400A component models a small N-channel MOSFET in a SOT-23 package with drain, gate, and source pins, used for switching or amplification in electronic circuits.

Version
1.0.29
License
unset
Stars
0

imports/XL_3528RGBC_2812B/XL_3528RGBC_2812B.tsx

import objPath from "./XL_3528RGBC_2812B.obj"
import stepPath from "./XL_3528RGBC_2812B.step"
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["GND"],
  pin2: ["DI"],
  pin3: ["VDD"],
  pin4: ["DO"]
} as const

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

export const XL_3528RGBC_2812B = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C5440693"
  ]
}}
      manufacturerPartNumber="XL-3528RGBC-2812B"
      footprint={<footprint>
        <smtpad portHints={["pin4"]} pcbX="-1.499997mm" pcbY="-0.750062mm" width="1.1999976mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.499997mm" pcbY="0.750062mm" width="1.1999976mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.499997mm" pcbY="0.750062mm" width="1.1999976mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="1.499997mm" pcbY="-0.750062mm" width="1.1999976mm" height="0.8999982mm" shape="rect" />
<silkscreenpath route={[{"x":1.6000475999999253,"y":-1.3999210000001767},{"x":1.77800000000002,"y":-1.3999210000001767},{"x":1.77800000000002,"y":-1.3999210000001767}]} />
<silkscreenpath route={[{"x":0.38102539999988494,"y":-0.25394920000007914},{"x":0.12702539999997953,"y":-0.25394920000007914}]} />
<silkscreenpath route={[{"x":0.38102539999988494,"y":0.25405079999984537},{"x":0.12702539999997953,"y":0.25405079999984537}]} />
<silkscreenpath route={[{"x":-0.12697460000003957,"y":0.25405079999984537},{"x":-0.38097460000017236,"y":0.25405079999984537}]} />
<silkscreenpath route={[{"x":-1.5999967999998717,"y":1.4000225999998293},{"x":1.6000475999999253,"y":1.4000225999998293}]} />
<silkscreenpath route={[{"x":1.6000475999999253,"y":-1.3999210000001767},{"x":-1.5999967999998717,"y":-1.3999210000001767}]} />
<silkscreencircle pcbX="2.159mm" pcbY="-1.524mm" radius="0.127mm" />
<silkscreencircle pcbX="0.000127mm" pcbY="-0mm" radius="0.762mm" />
<silkscreentext text="{NAME}" pcbX="0.090297mm" pcbY="2.410462mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":1.740204800000015,"y":-1.4001496000001907},{"x":1.740204800000015,"y":-0.7101586000001134},{"x":1.7301972000000205,"y":-0.7101586000001134},{"x":1.040206200000057,"y":-1.4001496000001907},{"x":1.740204800000015,"y":-1.4001496000001907}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.88900000000001,"y":-0.3810000000000855},{"x":1.4889987999999903,"y":-0.3810000000000855},{"x":1.4889987999999903,"y":-0.4810251999999764},{"x":0.88900000000001,"y":-0.4810251999999764},{"x":0.88900000000001,"y":-0.3810000000000855}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.4469872000000805,"y":0.46202599999992344},{"x":-1.4469364000000269,"y":1.061999399999877},{"x":-1.3470636000000695,"y":1.061999399999877},{"x":-1.3470636000000695,"y":0.4620767999998634},{"x":-1.4469872000000805,"y":0.46202599999992344}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.6969994000000952,"y":0.8119871999999759},{"x":-1.0970006000000012,"y":0.8119871999999759},{"x":-1.0970006000000012,"y":0.7119873999998845},{"x":-1.6969994000000952,"y":0.7119873999998845},{"x":-1.6969994000000952,"y":0.8119871999999759}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":1.0219944000000396,"y":0.961974199999986},{"x":1.0219944000000396,"y":0.5619241999999076},{"x":1.1720067999999628,"y":0.5619241999999076},{"x":1.2220448000000488,"y":0.5619241999999076},{"x":1.2720319999999674,"y":0.6119367999999668},{"x":1.2720319999999674,"y":0.9120123999998668},{"x":1.2220448000000488,"y":0.961974199999986},{"x":1.122045000000071,"y":0.961974199999986},{"x":1.122045000000071,"y":0.9119107999999869},{"x":1.2220448000000488,"y":0.9119107999999869},{"x":1.2220448000000488,"y":0.6119367999999668},{"x":1.0720323999998982,"y":0.6119367999999668},{"x":1.0720323999998982,"y":0.961974199999986},{"x":1.0219944000000396,"y":0.961974199999986}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":1.321993799999973,"y":0.5619749999999613},{"x":1.321993799999973,"y":0.6119875999999067},{"x":1.3719810000000052,"y":0.6119875999999067},{"x":1.3719810000000052,"y":0.9119869999999537},{"x":1.321993799999973,"y":0.9119869999999537},{"x":1.321993799999973,"y":0.961974199999986},{"x":1.4719808000000967,"y":0.961974199999986},{"x":1.4719808000000967,"y":0.9119869999999537},{"x":1.4219936000000644,"y":0.9119869999999537},{"x":1.4219936000000644,"y":0.6119875999999067},{"x":1.4719808000000967,"y":0.6119875999999067},{"x":1.4719808000000967,"y":0.5619749999999613},{"x":1.321993799999973,"y":0.5619749999999613}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.6490188000000217,"y":-0.5620004000001018},{"x":-1.6490188000000217,"y":-0.9619996000001265},{"x":-1.4990318000000116,"y":-0.9619996000001265},{"x":-1.4490191999999524,"y":-0.9619996000001265},{"x":-1.3990320000000338,"y":-0.9120124000000942},{"x":-1.3990320000000338,"y":-0.6119876000001341},{"x":-1.4490191999999524,"y":-0.5620004000001018},{"x":-1.5490190000000439,"y":-0.5620004000001018},{"x":-1.5490190000000439,"y":-0.6120130000000472},{"x":-1.4490191999999524,"y":-0.6120130000000472},{"x":-1.4490191999999524,"y":-0.9120124000000942},{"x":-1.5990315999999893,"y":-0.9120124000000942},{"x":-1.5990315999999893,"y":-0.5620004000001018},{"x":-1.6490188000000217,"y":-0.5620004000001018}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.274063999999953,"y":-0.5620004000001018},{"x":-1.3240766000000121,"y":-0.6120130000000472},{"x":-1.3240766000000121,"y":-0.9120124000000942},{"x":-1.324051200000099,"y":-0.9120124000000942},{"x":-1.274063999999953,"y":-0.9619996000001265},{"x":-1.0740643999999975,"y":-0.9619996000001265},{"x":-1.0740643999999975,"y":-0.9619996000001265},{"x":-1.0240771999999652,"y":-0.9120124000000942},{"x":-1.0240771999999652,"y":-0.6120130000000472},{"x":-1.0240771999999652,"y":-0.6119876000001341},{"x":-1.0740643999999975,"y":-0.5620004000001018},{"x":-1.1740641999999752,"y":-0.5620004000001018},{"x":-1.1740641999999752,"y":-0.6120130000000472},{"x":-1.0740643999999975,"y":-0.6120130000000472},{"x":-1.0740643999999975,"y":-0.9120124000000942},{"x":-1.274063999999953,"y":-0.9120124000000942},{"x":-1.274063999999953,"y":-0.6120130000000472},{"x":-1.224076800000148,"y":-0.6120130000000472},{"x":-1.224076800000148,"y":-0.5620004000001018},{"x":-1.274063999999953,"y":-0.5620004000001018}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-2.3568030000000135,"y":1.6604619999999386},{"x":2.5373970000000554,"y":1.6604619999999386},{"x":2.5373970000000554,"y":-1.8875380000000632},{"x":-2.3568030000000135,"y":-1.8875380000000632},{"x":-2.3568030000000135,"y":1.6604619999999386}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: -0.05 },
      }}
      {...props}
    />
  )
}