ShiboSoftwareDev/linux-gameboy-advance
Restores PCB assembly metadata by assigning part numbers and 3D CAD models, removing test-point bodies, and validating top-side SMT solder-paste features without altering copper or pads.
- Version
- 1.0.17
- License
- unset
- Stars
- 0
imports/PCF8575DBR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["N_INT"],
pin2: ["A1"],
pin3: ["A2"],
pin4: ["P00"],
pin5: ["P01"],
pin6: ["P02"],
pin7: ["P03"],
pin8: ["P04"],
pin9: ["P05"],
pin10: ["P06"],
pin11: ["P07"],
pin12: ["GND"],
pin13: ["P10"],
pin14: ["P11"],
pin15: ["P12"],
pin16: ["P13"],
pin17: ["P14"],
pin18: ["P15"],
pin19: ["P16"],
pin20: ["P17"],
pin21: ["A0"],
pin22: ["SCL"],
pin23: ["SDA"],
pin24: ["VCC"]
} as const
const pinAttributes = {
pin12: {requiresGround: true},
pin24: {requiresPower: true}
} as const
export const PCF8575DBR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C2863388"
]
}}
manufacturerPartNumber="PCF8575DBR"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-3.57505mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-2.925064mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-2.275078mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-1.625092mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-0.975106mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-0.324866mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="0.32512mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="0.975106mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="1.625092mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="2.275078mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="2.925064mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="3.57505mm" pcbY="-3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="-3.57505mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="-2.925064mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="-2.275078mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="-1.625092mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="-0.975106mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="-0.324866mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="0.32512mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="0.975106mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="1.625092mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="2.275078mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="2.925064mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="3.57505mm" pcbY="3.562096mm" width="0.3999992mm" height="1.499997mm" radius="0.1999996mm" shape="pill" />
<silkscreencircle pcbX="-3.57505mm" pcbY="-1.818894mm" radius="0.150114mm" />
<silkscreencircle pcbX="-4.181348mm" pcbY="-3.562096mm" radius="0.150114mm" />
<silkscreenrect pcbX="0mm" pcbY="0mm" width="8.128mm" height="5.08mm" strokeWidth="0.1999996mm" />
<silkscreentext text="{NAME}" pcbX="-0.127mm" pcbY="5.1148mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.5933999999998605,"y":4.364799999999946},{"x":4.339400000000069,"y":4.364799999999946},{"x":4.339400000000069,"y":-4.593400000000088},{"x":-4.5933999999998605,"y":-4.593400000000088},{"x":-4.5933999999998605,"y":4.364799999999946}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2863388.obj?uuid=44cbf0bf34924619a9a3f811509fb70e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2863388.step?uuid=44cbf0bf34924619a9a3f811509fb70e",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}