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

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

const pinLabels = {
  pin1: ["_NEG2"],
  pin2: ["_POS"],
  pin3: ["_NEG1"],
  pin4: ["_NEG3"]
} as const

export const E6C0606RGBC3UDA = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C375569"
  ]
}}
      manufacturerPartNumber="E6C0606RGBC3UDA"
      footprint={<footprint>
        <smtpad portHints={["pin3"]} pcbX="-0.620014mm" pcbY="-0.47498mm" width="0.6999986mm" height="0.7500112mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.620014mm" pcbY="0.47498mm" width="0.6999986mm" height="0.7500112mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.620014mm" pcbY="-0.47498mm" width="0.6999986mm" height="0.7500112mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.620014mm" pcbY="0.47498mm" width="0.6999986mm" height="0.7500112mm" shape="rect" />
<silkscreenpath route={[{"x":1.1440159999998514,"y":0.8812530000002425},{"x":1.1440159999998514,"y":1.1428730000000087},{"x":-1.2689840000001595,"y":1.1428730000000087},{"x":-1.2689840000001595,"y":-1.1431269999999358},{"x":1.1440159999998514,"y":-1.1431269999999358},{"x":1.1440159999998514,"y":-0.8789669999999887}]} />
<silkscreenpath route={[{"x":1.1429746000000023,"y":0.8801862000000256},{"x":1.1429746000000023,"y":0.8890254000000368}]} />
<silkscreentext text="{NAME}" pcbX="0.0560832mm" pcbY="2.1321288mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":0.5079746000000114,"y":0.44452540000020235},{"x":0.8889746000000969,"y":0.44452540000020235},{"x":0.8889746000000969,"y":0.5715254000001551},{"x":0.38097460000005867,"y":0.5715254000001551},{"x":0.38097460000005867,"y":0.44452540000020235},{"x":0.5079746000000114,"y":0.44452540000020235}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.7620253999999704,"y":0.44452540000020235},{"x":-0.3810253999999986,"y":0.44452540000020235},{"x":-0.3810253999999986,"y":0.5715254000001551},{"x":-0.8890253999999231,"y":0.5715254000001551},{"x":-0.8890253999999231,"y":0.44452540000020235},{"x":-0.7620253999999704,"y":0.44452540000020235}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.7620253999999704,"y":-0.6349745999998504},{"x":-0.3810253999999986,"y":-0.6349745999998504},{"x":-0.3810253999999986,"y":-0.507974599999784},{"x":-0.8890253999999231,"y":-0.507974599999784},{"x":-0.8890253999999231,"y":-0.6349745999998504},{"x":-0.7620253999999704,"y":-0.6349745999998504}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":0.5079746000000114,"y":-0.571474599999874},{"x":0.8889746000000969,"y":-0.571474599999874},{"x":0.8889746000000969,"y":-0.44447459999980765},{"x":0.38097460000005867,"y":-0.44447459999980765},{"x":0.38097460000005867,"y":-0.571474599999874},{"x":0.5079746000000114,"y":-0.571474599999874}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":0.8889746000000969,"y":0.000025400000140507473},{"x":0.5079746000000114,"y":0.2540254000001596},{"x":0.5079746000000114,"y":-0.2539745999998786},{"x":0.8889746000000969,"y":0.000025400000140507473}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":0.6984746000000541,"y":0.3899154000001772},{"x":0.6984746000000541,"y":0.770915400000149},{"x":0.5714746000001014,"y":0.770915400000149},{"x":0.5714746000001014,"y":0.2629154000001108},{"x":0.6984746000000541,"y":0.2629154000001108},{"x":0.6984746000000541,"y":0.3899154000001772}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-1.5274168000000827,"y":1.382128800000146},{"x":1.6395831999999473,"y":1.382128800000146},{"x":1.6395831999999473,"y":-1.4038711999999123},{"x":-1.5274168000000827,"y":-1.4038711999999123},{"x":-1.5274168000000827,"y":1.382128800000146}]} />
      </footprint>}
      
      {...props}
    />
  )
}