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/SystemOverview.tsx

PCBPCB preview for design/SystemOverview.tsx
SchematicSchematic preview for design/SystemOverview.tsx
import { systemblock } from "tscircuit"

export default () => (
  <systemblock.page name="control-path" displayName="How a command reaches the receiver" direction="right">
    <systemblock.component name="host" displayName="Phone or laptop" description="Browser UI · USB host" />
    <systemblock.component name="tx" displayName="USB-C transmitter" description="CH32X035 + SX1280" />
    <systemblock.component name="rx" displayName="Radio receiver" description="SX1280 + CH32X035" />
    <systemblock.component name="outputs" displayName="J205 channel outputs" description="O1 and O2 · shared ground" />
    <systemblock.component name="battery" displayName="Protected 1S cell" description="J204 · 4.2 V maximum" />
    <systemblock.connection from="host" to="tx" label="WebUSB" direction="both" />
    <systemblock.connection from="tx" to="rx" label="2.4 GHz" />
    <systemblock.connection from="battery" to="rx" label="Power" kind="power" />
    <systemblock.connection from="rx" to="outputs" label="PWM" />
  </systemblock.page>
)