rushabhcodes/tetris
This code defines various electronic component models—including a AAA battery holder, ATtiny85 microcontroller, switch, buzzer, display, and resistors—as hardware modules with detailed footprints, pin configurations, CAD models, and physical specifications for use in circuit design.
- Version
- 1.0.2
- License
- MIT
- Stars
- 2
imports/RES_10_K.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
} as const;
export const RES_10_K = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C58673"],
}}
schHeight={1}
schWidth={0.4}
schPinArrangement={{
topSide: ["pin2"],
bottomSide: ["pin1"],
}}
manufacturerPartNumber="MFR0W8F1002A50"
footprint={
<footprint>
<platedhole
portHints={["pin2"]}
pcbX="3.650107000000048mm"
pcbY="0mm"
outerDiameter="1.3999972mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<platedhole
portHints={["pin1"]}
pcbX="-3.650107000000048mm"
pcbY="0mm"
outerDiameter="1.3999972mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<silkscreenpath
route={[
{ x: 1.77800000000002, y: 0 },
{ x: 2.413000000000011, y: 0 },
]}
/>
<silkscreenpath
route={[
{ x: -1.7779999999999063, y: 0 },
{ x: -2.413000000000011, y: 0 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/download?uuid=22f89142c2c741098588fb26828844dd&pn=C58673",
rotationOffset: { x: 0, y: 0, z: 0 },
positionOffset: { x: 0, y: 0, z: 0.10000140000004198 },
}}
{...props}
/>
);
};