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-controllerIn 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/USB4155_03_C.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin26: ["pin26"],
pin27: ["pin27"],
pin28: ["B12","GND1"],
pin29: ["B11","SSRXP1"],
pin30: ["B10","SSRXN1"],
pin31: ["B9","VBUS1"],
pin32: ["B8","SBU2"],
pin33: ["B7","DN2"],
pin34: ["B6","DP2"],
pin35: ["B5","CC2"],
pin36: ["B4","VBUS2"],
pin37: ["B3","SSTXN2"],
pin38: ["B2","SSTXP2"],
pin39: ["B1","GND2"],
pin40: ["A12","GND3"],
pin41: ["A11","SSRXP2"],
pin42: ["A10","SSRXN2"],
pin43: ["A9","VBUS3"],
pin44: ["A8","SBU1"],
pin45: ["A7","DN1"],
pin46: ["A6","DP1"],
pin47: ["A5","CC1"],
pin48: ["A4","VBUS4"],
pin49: ["A3","SSTXN1"],
pin50: ["A2","SSTXP1"],
pin51: ["A1","GND4"]
} as const
export const USB4155_03_C = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C5183853"
]
}}
manufacturerPartNumber="USB4155-03-C"
footprint={<footprint>
<platedhole portHints={["pin26"]} pcbX="3.700018mm" pcbY="0.949833mm" holeWidth="0.5000244mm" holeHeight="1.4000226mm" outerWidth="0.8999982mm" outerHeight="1.7999964mm" shape="pill" />
<platedhole portHints={["pin27"]} pcbX="-3.700018mm" pcbY="0.949833mm" holeWidth="0.5000244mm" holeHeight="1.4000226mm" outerWidth="0.8999982mm" outerHeight="1.7999964mm" shape="pill" />
<smtpad portHints={["pin28"]} pcbX="2.62509mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin29"]} pcbX="2.124964mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin30"]} pcbX="1.625092mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin31"]} pcbX="1.124966mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin32"]} pcbX="0.625094mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin33"]} pcbX="0.124968mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin34"]} pcbX="-0.374904mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin35"]} pcbX="-0.87503mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin36"]} pcbX="-1.374902mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin37"]} pcbX="-1.875028mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin38"]} pcbX="-2.3749mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin39"]} pcbX="-2.875026mm" pcbY="-0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin40"]} pcbX="-2.62509mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin41"]} pcbX="-2.124964mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin42"]} pcbX="-1.625092mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin43"]} pcbX="-1.124966mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin44"]} pcbX="-0.625094mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin45"]} pcbX="-0.124968mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin46"]} pcbX="0.374904mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin47"]} pcbX="0.87503mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin48"]} pcbX="1.374902mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin49"]} pcbX="1.875028mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin50"]} pcbX="2.3749mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin51"]} pcbX="2.875026mm" pcbY="0.749935mm" width="0.2500122mm" height="0.7999984mm" shape="rect" />
<silkscreenpath route={[{"x":4.3281853999999385,"y":1.4499336000000085},{"x":4.400041999999985,"y":1.4499336000000085},{"x":4.400041999999985,"y":-14.050060799999983}]} />
<silkscreenpath route={[{"x":-4.399940400000105,"y":-14.050060799999983},{"x":-4.399940400000105,"y":1.4499336000000085},{"x":-4.3280838000000585,"y":1.4499336000000085}]} />
<silkscreenpath route={[{"x":4.400067399999898,"y":-14.050060799999983},{"x":-4.399940400000105,"y":-14.050060799999983}]} />
<silkscreenpath route={[{"x":-3.0718506000000616,"y":1.4499336000000085},{"x":3.0718505999998342,"y":1.4499336000000085}]} />
<silkscreentext text="{NAME}" pcbX="-0.006858mm" pcbY="2.859153mm" anchorAlignment="center" fontSize="1mm" />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5183853.obj?uuid=a0db098d74774e8e9860e6c95b88de5a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5183853.step?uuid=a0db098d74774e8e9860e6c95b88de5a",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.004999999999999893, y: 14.050025499999947, z: -0.1500026000000001 },
}}
{...props}
/>
)
}