mohan-bee/rc-link-breakaway-panel

A four-layer RC link panel combining an STM32/E28 2.4‑GHz transmitter with USB-RP2040 socket and an STM32/E28 receiver providing six buffered PWM servo outputs, regulated 3.3‑V power, headers, controls, and protection/decoupling.

Version
0.1.5
License
unset
Stars
0

circuits/receiver/imports/E28_2G4M12SX.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["VCC"],
  pin2: ["GND1"],
  pin3: ["MISO_TX"],
  pin4: ["MOSI_RX"],
  pin5: ["SCK_RTSN"],
  pin6: ["NSS_CTS"],
  pin7: ["GND2"],
  pin8: ["GND3"],
  pin9: ["NRESET"],
  pin10: ["BUSY"],
  pin11: ["DIO1"],
  pin12: ["DIO2"],
  pin13: ["DIO3"],
  pin14: ["GND4"]
} as const

const pinAttributes = {
  pin1: {requiresPower: true},
  pin2: {requiresGround: true},
  pin7: {requiresGround: true},
  pin8: {requiresGround: true},
  pin14: {requiresGround: true}
} as const

export const E28_2G4M12SX = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C17916848"
  ]
}}
      manufacturerPartNumber="E28-2G4M12SX"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-7.199884mm" pcbY="3.81mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-7.199884mm" pcbY="2.54mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-7.199884mm" pcbY="1.27mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-7.199884mm" pcbY="0mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-7.199884mm" pcbY="-1.27mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-7.199884mm" pcbY="-2.54mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-7.199884mm" pcbY="-3.81mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="7.199884mm" pcbY="-3.81mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="7.199884mm" pcbY="-2.54mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="7.199884mm" pcbY="-1.27mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="7.199884mm" pcbY="0mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="7.199884mm" pcbY="1.27mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="7.199884mm" pcbY="2.54mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="7.199884mm" pcbY="3.81mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<silkscreenpath strokeWidth={0.15} route={[{"x":-7.500518400000033,"y":-4.541519999999991},{"x":-7.500518400000033,"y":-11.300485399999843},{"x":7.500721599999906,"y":-11.300485399999843},{"x":7.500721599999906,"y":-4.541519999999991}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":7.499984999999924,"y":4.541113600000131},{"x":7.499984999999924,"y":6.49996160000012},{"x":-7.499985000000152,"y":6.49996160000012},{"x":-7.499985000000152,"y":4.541113600000131}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="7.5024mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-7.373620000000074,"y":-4.541519999999991},{"x":-7.373620000000074,"y":-11.173459999999864},{"x":7.373620000000074,"y":-11.173459999999864},{"x":7.373620000000074,"y":-4.541519999999991},{"x":7.500620000000026,"y":-4.668519999999944},{"x":7.627619999999979,"y":-4.541519999999991},{"x":7.627619999999979,"y":-11.300459999999816},{"x":7.590422561210744,"y":-11.390262561210648},{"x":7.500620000000026,"y":-11.427459999999883},{"x":-7.50062000000014,"y":-11.427459999999883},{"x":-7.590422561210744,"y":-11.390262561210648},{"x":-7.627620000000093,"y":-11.300459999999816},{"x":-7.627620000000093,"y":-4.541519999999991},{"x":-7.50062000000014,"y":-4.668519999999944},{"x":-7.373620000000074,"y":-4.541519999999991}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-8.199882499999944,"y":6.74996160000012},{"x":8.19988249999983,"y":6.74996160000012},{"x":8.19988249999983,"y":-11.550002799999902},{"x":-8.199882499999944,"y":-11.550002799999902},{"x":-8.199882499999944,"y":6.74996160000012}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C17916848.obj?uuid=c26a38fa5f07437893419d92e848ae29",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C17916848.step?uuid=c26a38fa5f07437893419d92e848ae29",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012699999842880061, y: 2.4000205999998343, z: -0.01 },
      }}
      {...props}
    />
  )
}