imrishabh18/pcbgolf
A complete 4-layer PCBGolf controller PCB with STM32H7 MCU, USB/SD and CAN interfaces, power regulation, protection, connectors, switches, LEDs, clocking, and supporting passives.
- Version
- 1.6.1
- License
- unset
- Stars
- 0
footprints/Footprint_DCJACK_2MM_SMT.tsx
// Source: commaai/PCBGolf/pcbgolf.pretty/DCJACK_2MM_SMT.kicad_mod
// Generated by footprints/generate.py. Coordinates are millimetres, +Y up.
export const Footprint_DCJACK_2MM_SMT = () => (
<footprint originalLayer="top" insertionDirection="from_left">
<hole name={"pad_1"} pcbX={0.0} pcbY={-0.0} solderMaskMargin={0.0} diameter={1.6} />
<hole name={"pad_2"} pcbX={4.5} pcbY={-0.0} solderMaskMargin={0.0} diameter={1.8} />
<smtpad name={"pad_3"} pcbX={0.0} pcbY={-5.5} portHints={["pin1","GND"]} solderMaskMargin={0.0508} solderPasteMargin={0.0} layer={"top"} shape={"rect"} width={2.4} height={2.0} />
<smtpad name={"pad_4"} pcbX={6.2} pcbY={-5.5} portHints={["pin2","GNDBREAK"]} solderMaskMargin={0.0508} solderPasteMargin={0.0} layer={"top"} shape={"rect"} width={2.4} height={2.0} />
<smtpad name={"pad_5"} pcbX={0.0} pcbY={5.5} portHints={["pin3","PWR1"]} solderMaskMargin={0.0508} solderPasteMargin={0.0} layer={"top"} shape={"rect"} width={2.4} height={2.0} />
<smtpad name={"pad_6"} pcbX={6.2} pcbY={5.5} portHints={["pin4","PWR2"]} solderMaskMargin={0.0508} solderPasteMargin={0.0} layer={"top"} shape={"rect"} width={2.4} height={2.0} />
<silkscreenpath route={[{"x":-5,"y":3.5},{"x":-5,"y":-3.5}]} />
<silkscreenpath route={[{"x":-4,"y":-4.5},{"x":-1.684,"y":-4.5}]} />
<silkscreenpath route={[{"x":-1.668,"y":4.5},{"x":-4,"y":4.5}]} />
<silkscreenpath route={[{"x":1.588,"y":-4.5},{"x":4.666,"y":-4.5}]} />
<silkscreenpath route={[{"x":4.682,"y":4.5},{"x":1.588,"y":4.5}]} />
<silkscreenpath route={[{"x":7.938,"y":-4.5},{"x":10.254,"y":-4.5}]} />
<silkscreenpath route={[{"x":9,"y":4.5},{"x":7.938,"y":4.5}]} />
<silkscreenpath route={[{"x":9,"y":-1.492},{"x":9,"y":4.5}]} />
<silkscreenpath route={[{"x":10.254,"y":-1.492},{"x":9,"y":-1.492}]} />
<silkscreenpath route={[{"x":10.254,"y":-4.5},{"x":10.254,"y":-1.492}]} />
<silkscreenpath route={[{"x":-5,"y":3.5},{"x":-4.995184794342535,"y":3.5980171636354914},{"x":-4.980785404068544,"y":3.69509037380394},{"x":-4.956940503441477,"y":3.790284760648731},{"x":-4.923879732325839,"y":3.8826835484433215},{"x":-4.88192148462556,"y":3.9713968846594314},{"x":-4.831469841970816,"y":4.055570409749619},{"x":-4.773010682183641,"y":4.134393485112407},{"x":-4.707107,"y":4.207107},{"x":-4.634393485112408,"y":4.273010682183641},{"x":-4.555570409749619,"y":4.331469841970816},{"x":-4.471396884659431,"y":4.38192148462556},{"x":-4.382683548443322,"y":4.423879732325839},{"x":-4.29028476064873,"y":4.456940503441477},{"x":-4.19509037380394,"y":4.480785404068544},{"x":-4.098017163635491,"y":4.495184794342535},{"x":-4.000000000000001,"y":4.5}]} />
<silkscreenpath route={[{"x":-4,"y":-4.5},{"x":-4.098017163635491,"y":-4.495184794342535},{"x":-4.19509037380394,"y":-4.480785404068544},{"x":-4.290284760648731,"y":-4.456940503441476},{"x":-4.382683548443322,"y":-4.423879732325839},{"x":-4.471396884659431,"y":-4.38192148462556},{"x":-4.555570409749619,"y":-4.331469841970816},{"x":-4.634393485112408,"y":-4.27301068218364},{"x":-4.707107,"y":-4.207107},{"x":-4.773010682183641,"y":-4.134393485112408},{"x":-4.831469841970816,"y":-4.055570409749619},{"x":-4.88192148462556,"y":-3.9713968846594314},{"x":-4.923879732325839,"y":-3.882683548443322},{"x":-4.956940503441477,"y":-3.7902847606487304},{"x":-4.980785404068544,"y":-3.6950903738039402},{"x":-4.995184794342535,"y":-3.5980171636354914},{"x":-5,"y":-3.4999999999999996}]} />
<fabricationnotepath route={[{"x":-5,"y":3.5},{"x":-5,"y":-3.5}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":-4,"y":-4.5},{"x":10.254,"y":-4.5}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":9,"y":4.5},{"x":-4,"y":4.5}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":9,"y":-1.492},{"x":9,"y":4.5}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":10.254,"y":-1.492},{"x":9,"y":-1.492}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":10.254,"y":-4.5},{"x":10.254,"y":-1.492}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":-5,"y":3.5},{"x":-4.995184794342535,"y":3.5980171636354914},{"x":-4.980785404068544,"y":3.69509037380394},{"x":-4.956940503441477,"y":3.790284760648731},{"x":-4.923879732325839,"y":3.8826835484433215},{"x":-4.88192148462556,"y":3.9713968846594314},{"x":-4.831469841970816,"y":4.055570409749619},{"x":-4.773010682183641,"y":4.134393485112407},{"x":-4.707107,"y":4.207107},{"x":-4.634393485112408,"y":4.273010682183641},{"x":-4.555570409749619,"y":4.331469841970816},{"x":-4.471396884659431,"y":4.38192148462556},{"x":-4.382683548443322,"y":4.423879732325839},{"x":-4.29028476064873,"y":4.456940503441477},{"x":-4.19509037380394,"y":4.480785404068544},{"x":-4.098017163635491,"y":4.495184794342535},{"x":-4.000000000000001,"y":4.5}]} strokeWidth={0.127} />
<fabricationnotepath route={[{"x":-4,"y":-4.5},{"x":-4.098017163635491,"y":-4.495184794342535},{"x":-4.19509037380394,"y":-4.480785404068544},{"x":-4.290284760648731,"y":-4.456940503441476},{"x":-4.382683548443322,"y":-4.423879732325839},{"x":-4.471396884659431,"y":-4.38192148462556},{"x":-4.555570409749619,"y":-4.331469841970816},{"x":-4.634393485112408,"y":-4.27301068218364},{"x":-4.707107,"y":-4.207107},{"x":-4.773010682183641,"y":-4.134393485112408},{"x":-4.831469841970816,"y":-4.055570409749619},{"x":-4.88192148462556,"y":-3.9713968846594314},{"x":-4.923879732325839,"y":-3.882683548443322},{"x":-4.956940503441477,"y":-3.7902847606487304},{"x":-4.980785404068544,"y":-3.6950903738039402},{"x":-4.995184794342535,"y":-3.5980171636354914},{"x":-5,"y":-3.4999999999999996}]} strokeWidth={0.127} />
<silkscreentext pcbX={-1.016} pcbY={-3.81} anchorAlignment="bottom_left" fontSize={0.747776} font="tscircuit2024" layer="top" text="GND" />
<silkscreentext pcbX={0.762} pcbY={2.794} anchorAlignment="bottom_left" fontSize={1.251712} font="tscircuit2024" pcbRotation="90deg" layer="top" text="+" />
<courtyardoutline outline={[{"x": -5.25, "y": -4.75}, {"x": -1.45, "y": -4.75}, {"x": -1.45, "y": -6.75}, {"x": 1.45, "y": -6.75}, {"x": 1.45, "y": -4.75}, {"x": 4.75, "y": -4.75}, {"x": 4.75, "y": -6.75}, {"x": 7.65, "y": -6.75}, {"x": 7.65, "y": -4.75}, {"x": 10.504, "y": -4.75}, {"x": 10.504, "y": 4.75}, {"x": 7.65, "y": 4.75}, {"x": 7.65, "y": 6.75}, {"x": 4.75, "y": 6.75}, {"x": 4.75, "y": 4.75}, {"x": 1.45, "y": 4.75}, {"x": 1.45, "y": 6.75}, {"x": -1.45, "y": 6.75}, {"x": -1.45, "y": 4.75}, {"x": -5.25, "y": 4.75}]} layer="top" />
</footprint>
)