abse/smart-ring-flex

A tscircuit package created by abse.

Version
0.0.24
License
unset
Stars
0

imports/ZSPD4000QN.tsx

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

const pinLabels = {
  pin1: ["AVDD"],
  pin2: ["IN2"],
  pin3: ["IN3"],
  pin4: ["IN0"],
  pin5: ["IN1"],
  pin6: ["VREF"],
  pin7: ["GPIO1"],
  pin8: ["GPIO0"],
  pin9: ["NC1"],
  pin10: ["DVSS"],
  pin11: ["NC2"],
  pin12: ["SDA"],
  pin13: ["SCL"],
  pin14: ["LEDVSS"],
  pin15: ["LED0"],
  pin16: ["LED1"],
  pin17: ["LED2"],
  pin18: ["IOVDD"],
  pin19: ["DVDD"],
  pin20: ["AVSS"],
  pin21: ["EP"]
} as const

const pinAttributes = {
  pin1:{requiresPower:true},pin18:{requiresPower:true},pin19:{requiresPower:true},pin10:{requiresGround:true},pin14:{requiresGround:true},pin20:{requiresGround:true},pin21:{requiresGround:true},
  pin9: {doNotConnect: true},
  pin11: {doNotConnect: true}
} as const

export const ZSPD4000QN = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C53452854"
  ]
}}
      manufacturerPartNumber="ZSPD4000QN"
      footprint={<footprint><smtpad portHints={["pin1"]} pcbX={-1.407414} pcbY={0.8001} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin2"]} pcbX={-1.407414} pcbY={0.40005} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin3"]} pcbX={-1.407414} pcbY={0} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin4"]} pcbX={-1.407414} pcbY={-0.40005} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin5"]} pcbX={-1.407414} pcbY={-0.8001} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin6"]} pcbX={-0.8001} pcbY={-1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin7"]} pcbX={-0.40005} pcbY={-1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin8"]} pcbX={0} pcbY={-1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin9"]} pcbX={0.40005} pcbY={-1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin10"]} pcbX={0.8001} pcbY={-1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin11"]} pcbX={1.407414} pcbY={-0.8001} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin12"]} pcbX={1.407414} pcbY={-0.40005} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin13"]} pcbX={1.407414} pcbY={0} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin14"]} pcbX={1.407414} pcbY={0.40005} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin15"]} pcbX={1.407414} pcbY={0.8001} width={0.6649974} height={0.1999996} shape="rect"/><smtpad portHints={["pin16"]} pcbX={0.8001} pcbY={1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin17"]} pcbX={0.40005} pcbY={1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin18"]} pcbX={0} pcbY={1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin19"]} pcbX={-0.40005} pcbY={1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin20"]} pcbX={-0.8001} pcbY={1.407414} width={0.1999996} height={0.6649974} shape="rect"/><smtpad portHints={["pin21"]} pcbX={0} pcbY={0} width={1.6500094} height={1.6500094} shape="rect"/><silkscreencircle pcbX={-1.8} pcbY={1.76} radius={.04} strokeWidth={.1}/><courtyardoutline outline={[{x:-1.83,y:-1.83},{x:1.83,y:-1.83},{x:1.83,y:1.83},{x:-1.83,y:1.83},{x:-1.83,y:-1.83}]}/></footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C53452854.obj?uuid=61b6ae921434449696dbd4fc3f995851",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C53452854.step?uuid=61b6ae921434449696dbd4fc3f995851",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.02 },
      }}
      {...props}
    />
  )
}