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/RFX2401C.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND1"],
pin2: ["GND2"],
pin3: ["GND3"],
pin4: ["TXRX"],
pin5: ["TXEN"],
pin6: ["RXEN"],
pin7: ["GND4"],
pin8: ["GND5"],
pin9: ["GND6"],
pin10: ["ANT"],
pin11: ["GND7"],
pin12: ["GND8"],
pin13: ["DNC"],
pin14: ["VDD1"],
pin15: ["GND9"],
pin16: ["VDD2"],
pin17: ["EP"]
} as const
const pinAttributes = {
pin1: {requiresGround: true},
pin2: {requiresGround: true},
pin3: {requiresGround: true},
pin7: {requiresGround: true},
pin8: {requiresGround: true},
pin9: {requiresGround: true},
pin11: {requiresGround: true},
pin12: {requiresGround: true},
pin14: {requiresPower: true},
pin15: {requiresGround: true},
pin16: {requiresPower: true}
} as const
export const RFX2401C = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C19213"
]
}}
manufacturerPartNumber="RFX2401C"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-0.750062mm" pcbY="-1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.249936mm" pcbY="-1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.249936mm" pcbY="-1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.750062mm" pcbY="-1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="1.450086mm" pcbY="-0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.450086mm" pcbY="-0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="1.450086mm" pcbY="0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="1.450086mm" pcbY="0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0.750062mm" pcbY="1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="0.249936mm" pcbY="1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-0.249936mm" pcbY="1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-0.750062mm" pcbY="1.450086mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-1.450086mm" pcbY="0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-1.450086mm" pcbY="0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-1.450086mm" pcbY="-0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-1.450086mm" pcbY="-0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="0mm" pcbY="0mm" width="1.6999966mm" height="1.6999966mm" shape="rect" />
<silkscreenpath route={[{"x":-1.0804906000000756,"y":-1.5761969999999792},{"x":-1.5761970000000929,"y":-1.0804906000000756}]} />
<silkscreenpath route={[{"x":-1.5761970000000929,"y":1.0804906000000756},{"x":-1.5761970000000929,"y":1.5761970000000929},{"x":-1.0804906000000756,"y":1.5761970000000929}]} />
<silkscreenpath route={[{"x":1.5761969999998655,"y":1.0804906000000756},{"x":1.5761969999998655,"y":1.5761970000000929},{"x":1.0804905999999619,"y":1.5761970000000929}]} />
<silkscreenpath route={[{"x":-1.5761970000000929,"y":-1.0804906000000756},{"x":-1.5761970000000929,"y":-1.5761969999999792},{"x":-1.0804906000000756,"y":-1.5761969999999792}]} />
<silkscreenpath route={[{"x":1.5761969999998655,"y":-1.0804906000000756},{"x":1.5761969999998655,"y":-1.5761969999999792},{"x":1.0804905999999619,"y":-1.5761969999999792}]} />
<silkscreencircle pcbX="-1.143mm" pcbY="-1.905mm" radius="0.07493mm" />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="2.778mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.0280000000001337,"y":2.02800000000002},{"x":2.02800000000002,"y":2.02800000000002},{"x":2.02800000000002,"y":-2.231200000000058},{"x":-2.0280000000001337,"y":-2.231200000000058},{"x":-2.0280000000001337,"y":2.02800000000002}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19213.obj?uuid=6e50ae26fe4f4c2a8ee6b5b5bc616dea",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19213.step?uuid=6e50ae26fe4f4c2a8ee6b5b5bc616dea",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: -0.000012699999956566899, z: 0 },
}}
{...props}
/>
)
}