tscircuit/autorouting-dataset-01
This code manages the hardware and electronic components for circuit design and PCB layout, defining components like resistors, capacitors, transistors, connectors, and footprints, and providing tools for component placement, PCB topology, and electrical connections.
- Version
- 1.0.102
- License
- unset
- Stars
- 4
lib/imports/AVR_ISP_2x3.tsx
/** 2x3 AVR ISP programming header footprint. */
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["MISO"],
pin2: ["VCC"],
pin3: ["SCK"],
pin4: ["MOSI"],
pin5: ["RST"],
pin6: ["GND"],
} as const
export const AVR_ISP_2x3 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
schWidth={1.5}
pinLabels={pinLabels}
manufacturerPartNumber="AVR_SPI_PROG_3X2"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-0.635mm"
pcbY="1.27mm"
radius="0.38mm"
shape="circle"
/>
<smtpad
portHints={["pin3"]}
pcbX="-0.635mm"
pcbY="0mm"
radius="0.38mm"
shape="circle"
/>
<smtpad
portHints={["pin5"]}
pcbX="-0.635mm"
pcbY="-1.27mm"
radius="0.38mm"
shape="circle"
/>
<smtpad
portHints={["pin2"]}
pcbX="0.635mm"
pcbY="1.27mm"
radius="0.38mm"
shape="circle"
/>
<smtpad
portHints={["pin4"]}
pcbX="0.635mm"
pcbY="0mm"
radius="0.38mm"
shape="circle"
/>
<smtpad
portHints={["pin6"]}
pcbX="0.635mm"
pcbY="-1.27mm"
radius="0.38mm"
shape="circle"
/>
</footprint>
}
{...props}
/>
)
}