mohan-bee/modern-controller

A two-board 2.4 GHz wireless control system using CH32X035 MCUs, SX1280 radios, USB‑C transmitter with RFX2401C PA/filter, and a battery-powered receiver with U.FL antennas, RGB status LEDs, regulators, and PWM output headers.

Version
0.0.6
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone mohan-bee/modern-controller  # download the package files into ./modern-controller
tsci add mohan-bee/modern-controller    # add it to your project as @tsci/mohan-bee.modern-controller

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

design/imports/A_2450LP14B0100001T.tsx

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

const pinLabels = {
  pin1: ["GND4"],
  pin2: ["pin2"],
  pin3: ["GND3"],
  pin4: ["GND2"],
  pin5: ["pin5"],
  pin6: ["GND1"]
} as const

const pinAttributes = {
  pin1: {requiresGround: true},
  pin3: {requiresGround: true},
  pin4: {requiresGround: true},
  pin6: {requiresGround: true}
} as const

export const A_2450LP14B0100001T = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C3155792"
  ]
}}
      manufacturerPartNumber="2450LP14B0100001T"
      footprint={<footprint>
        <smtpad portHints={["pin6"]} pcbX="0.550037mm" pcbY="-0.44196mm" width="0.350012mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.000127mm" pcbY="-0.44958mm" width="0.350012mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.550037mm" pcbY="-0.4572mm" width="0.350012mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.550037mm" pcbY="0.44958mm" width="0.350012mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.000127mm" pcbY="0.4572mm" width="0.350012mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="0.550037mm" pcbY="0.4572mm" width="0.350012mm" height="0.499999mm" shape="rect" />
<silkscreenpath route={[{"x":0.9299956000000122,"y":0.3999991999999821},{"x":0.9299956000000122,"y":-0.39999920000001055}]} />
<silkscreenpath route={[{"x":-0.9299955999999838,"y":0.3999991999999821},{"x":-0.9299955999999838,"y":-0.39999920000001055}]} />
<silkscreencircle pcbX="0.520065mm" pcbY="0.890016mm" radius="0.050038mm" />
<silkscreentext text="{NAME}" pcbX="-0.006985mm" pcbY="1.933958mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-0.4999227999999931,"y":0.09999979999999198},{"x":-0.7001255999999927,"y":0.09999979999999198},{"x":-0.7001255999999927,"y":-0.10015219999999658},{"x":-0.4999227999999931,"y":-0.10015219999999658},{"x":-0.4999227999999931,"y":0.09999979999999198},{"x":-0.5001005999999819,"y":0.09992359999998257},{"x":-0.4999227999999931,"y":0.09999979999999198}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-1.1840849999999818,"y":1.1839579999999899},{"x":1.170115000000024,"y":1.1839579999999899},{"x":1.170115000000024,"y":-0.9670420000000064},{"x":-1.1840849999999818,"y":-0.9670420000000064},{"x":-1.1840849999999818,"y":1.1839579999999899}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3155792.obj?uuid=62d9f38cfb8449c0864a8d794a9eadb9",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3155792.step?uuid=62d9f38cfb8449c0864a8d794a9eadb9",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.000012700000013410317, z: -0.01 },
      }}
      {...props}
    />
  )
}