seveibar/nema17-rp2040-stepper-controller

A tscircuit package created by seveibar.

Version
0.3.1
License
unset
Stars
0

imports/NXE1S0505MC.tsx

import type { ChipProps } from "@tscircuit/props";
// Murata NXE1 datasheet KDC_NXE1.F02, package page 8, TOP-view land pattern.
// Pin 14 is a mechanical solder land, NOT an electrical terminal.
const pinLabels = {pin1:["VIN_NEG"],pin3:["VIN_POS"],pin7:["VOUT_NEG"],pin8:["VOUT_POS"],pin14:["NC"]} as const;
export const NXE1S0505MC = (props: ChipProps<typeof pinLabels>) => <chip
  manufacturerPartNumber="NXE1S0505MC-R7" pinLabels={pinLabels} pinAttributes={{pin1:{requiresGround:true},pin3:{requiresPower:true},pin7:{providesGround:true},pin8:{providesPower:true}}} noConnect={["NC"]}
  footprint={<footprint>
    <courtyardrect width={13.2} height={12.2}/>
    {[[1,-3.81,-4.7],[3,-1.27,-4.7],[7,3.81,-4.7],[8,3.81,4.7],[14,-3.81,4.7]].map(([n,x,y])=>
      <smtpad portHints={[`pin${n}`]} pcbX={x} pcbY={y} width={1} height={2.3} shape="rect"/>)}
    <silkscreenpath route={[{x:-6.35,y:-5.205},{x:-6.35,y:5.205},{x:6.35,y:5.205},{x:6.35,y:-5.205},{x:-6.35,y:-5.205}]}/>
    <silkscreencircle pcbX={-5.5} pcbY={-4} radius={0.3}/>
  </footprint>} {...props}/>;