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

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

const pinLabels = {
  pin1: ["GND"],
  pin2: ["INPUT"],
  pin3: ["OUTPUT"]
} as const

const pinAttributes = {
  pin1: {requiresGround: true}
} as const

export const XC6206P332MR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C347376"
  ]
}}
      manufacturerPartNumber="XC6206P332MR"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="-1.24968mm" pcbY="0mm" width="1.1500104mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="1.24968mm" pcbY="0.94996mm" width="1.1500104mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="1.24968mm" pcbY="-0.94996mm" width="1.1500104mm" height="0.6999986mm" shape="rect" />
<silkscreenpath route={[{"x":0.7620000000000005,"y":-0.29997400000000596},{"x":0.7620000000000005,"y":0.29997400000000596}]} />
<silkscreenpath route={[{"x":-0.6499859999999842,"y":0.8000999999999863},{"x":-0.6499859999999842,"y":1.4599919999999997},{"x":-0.6499859999999842,"y":0.8000999999999863},{"x":-0.6499859999999842,"y":1.4599919999999997},{"x":0.16509999999999536,"y":1.4599919999999997}]} />
<silkscreenpath route={[{"x":0.16509999999999536,"y":-1.4599919999999855},{"x":-0.6499859999999842,"y":-1.4599919999999855},{"x":-0.6499859999999842,"y":-0.8000999999999863}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="2.4478mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.078800000000001,"y":1.6978000000000009},{"x":2.0787999999999727,"y":1.6978000000000009},{"x":2.0787999999999727,"y":-1.7486000000000104},{"x":-2.078800000000001,"y":-1.7486000000000104},{"x":-2.078800000000001,"y":1.6978000000000009}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C347376.obj?uuid=b0042441c46a42179a8e341ba9e84676",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C347376.step?uuid=b0042441c46a42179a8e341ba9e84676",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -1.3, y: 1.2000127000000134, z: 0 },
      }}
      {...props}
    />
  )
}