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/SX1280IMLTRT.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["VR_PA"],
pin2: ["VDD_IN"],
pin3: ["NRESET"],
pin4: ["XTA"],
pin5: ["GND1"],
pin6: ["XTB"],
pin7: ["BUSY"],
pin8: ["DIO1"],
pin9: ["DIO2"],
pin10: ["DIO3"],
pin11: ["VBAT_IO"],
pin12: ["DCC_FB"],
pin13: ["GND2"],
pin14: ["DCC_SW"],
pin15: ["VBAT"],
pin16: ["MISO_TX"],
pin17: ["MOSI_RX"],
pin18: ["SCK_RTSN"],
pin19: ["NSS_CTS"],
pin20: ["GND3"],
pin21: ["GND4"],
pin22: ["RFIO"],
pin23: ["GND5"],
pin24: ["GND6"],
pin25: ["GND7"]
} as const
const pinAttributes = {
pin5: {requiresGround: true},
pin13: {requiresGround: true},
pin20: {requiresGround: true},
pin21: {requiresGround: true},
pin23: {requiresGround: true},
pin24: {requiresGround: true},
pin25: {requiresGround: true}
} as const
export const SX1280IMLTRT = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C125969"
]
}}
manufacturerPartNumber="SX1280IMLTRT"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-1.249934mm" pcbY="-1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.750062mm" pcbY="-1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.249936mm" pcbY="-1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.249936mm" pcbY="-1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.750062mm" pcbY="-1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.249934mm" pcbY="-1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="1.90754mm" pcbY="-1.249934mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="1.90754mm" pcbY="-0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="1.90754mm" pcbY="-0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="1.90754mm" pcbY="0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="1.90754mm" pcbY="0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="1.90754mm" pcbY="1.249934mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="1.249934mm" pcbY="1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="0.750062mm" pcbY="1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="0.249936mm" pcbY="1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-0.249936mm" pcbY="1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="-0.750062mm" pcbY="1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="-1.249934mm" pcbY="1.90754mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="-1.90754mm" pcbY="1.249934mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="-1.90754mm" pcbY="0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="-1.90754mm" pcbY="0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="-1.90754mm" pcbY="-0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="-1.90754mm" pcbY="-0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin24"]} pcbX="-1.90754mm" pcbY="-1.249934mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin25"]} pcbX="0mm" pcbY="0mm" width="2.5500076mm" height="2.5500076mm" shape="rect" />
<silkscreenpath route={[{"x":-2.0761960000000954,"y":1.5804895999999644},{"x":-2.0761960000000954,"y":2.0761959999999817},{"x":-1.580489600000078,"y":2.0761959999999817}]} />
<silkscreenpath route={[{"x":2.0761959999999817,"y":1.5804895999999644},{"x":2.0761959999999817,"y":2.0761959999999817},{"x":1.5804895999999644,"y":2.0761959999999817}]} />
<silkscreenpath route={[{"x":-2.0761960000000954,"y":-1.580489600000078},{"x":-2.0761960000000954,"y":-2.076195999999868},{"x":-1.580489600000078,"y":-2.076195999999868}]} />
<silkscreenpath route={[{"x":2.0761959999999817,"y":-1.580489600000078},{"x":2.0761959999999817,"y":-2.076195999999868},{"x":1.5804895999999644,"y":-2.076195999999868}]} />
<silkscreencircle pcbX="-1.249934mm" pcbY="-2.4575516mm" radius="0.07493mm" />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="3.2352mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.485200000000077,"y":2.485200000000077},{"x":2.4851999999998498,"y":2.485200000000077},{"x":2.4851999999998498,"y":-2.7899999999999636},{"x":-2.485200000000077,"y":-2.7899999999999636},{"x":-2.485200000000077,"y":2.485200000000077}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C125969.obj?uuid=95b00662192d4d1baf684c34174076f8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C125969.step?uuid=95b00662192d4d1baf684c34174076f8",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}