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/system-overview.json
[
{
"type": "system_block_page",
"system_block_page_id": "system_block_page_0",
"name": "control-path",
"display_name": "How a command reaches the receiver",
"width": 179.4,
"height": 84.5
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_0",
"system_block_page_id": "system_block_page_0",
"name": "host",
"display_name": "Phone or laptop",
"description": "Browser UI \u00b7 USB host",
"center": {
"x": -0.15000000000000568,
"y": -24.75
},
"width": 32,
"height": 19
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_1",
"system_block_page_id": "system_block_page_0",
"name": "tx",
"display_name": "USB-C transmitter",
"description": "CH32X035 + SX1280",
"center": {
"x": -64.95,
"y": -18.25
},
"width": 33.5,
"height": 18
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_2",
"system_block_page_id": "system_block_page_0",
"name": "rx",
"display_name": "Radio receiver",
"description": "SX1280 + CH32X035",
"center": {
"x": -0.15000000000000568,
"y": 18.25
},
"width": 32,
"height": 18
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_3",
"system_block_page_id": "system_block_page_0",
"name": "outputs",
"display_name": "J205 channel outputs",
"description": "O1 and O2 \u00b7 shared ground",
"center": {
"x": 62.7,
"y": 18.25
},
"width": 38,
"height": 19
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_4",
"system_block_page_id": "system_block_page_0",
"name": "battery",
"display_name": "Protected 1S cell",
"description": "J204 \u00b7 4.2 V maximum",
"center": {
"x": -64.95,
"y": 24.75
},
"width": 33.5,
"height": 19
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_0",
"system_block_page_id": "system_block_page_0",
"from_system_block_component_id": "system_block_component_0",
"to_system_block_component_id": "system_block_component_1",
"label": "WebUSB",
"direction": "both",
"is_signal": true,
"is_power": false,
"route": [
{
"x": -16.150000000000006,
"y": -24.75
},
{
"x": -48.2,
"y": -24.75
}
],
"label_anchor_center": {
"x": -32.175000000000004,
"y": -24.75
}
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_1",
"system_block_page_id": "system_block_page_0",
"from_system_block_component_id": "system_block_component_1",
"to_system_block_component_id": "system_block_component_2",
"label": "2.4 GHz",
"direction": "forward",
"is_signal": true,
"is_power": false,
"route": [
{
"x": -64.95,
"y": -9.25
},
{
"x": -64.95,
"y": -4.625
},
{
"x": -60.325,
"y": 0,
"cubic_bezier_control_points": [
{
"x": -64.95,
"y": -2.07068303203258
},
{
"x": -62.879316967967426,
"y": -1.5640680494145367e-16
}
]
},
{
"x": -4.775000000000006,
"y": 0
},
{
"x": -0.15000000000000568,
"y": 4.625,
"cubic_bezier_control_points": [
{
"x": -2.2206830320325857,
"y": 0
},
{
"x": -0.15000000000000585,
"y": 2.07068303203258
}
]
},
{
"x": -0.15000000000000568,
"y": 9.25
}
],
"label_anchor_center": {
"x": -32.550000000000004,
"y": 0
}
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_2",
"system_block_page_id": "system_block_page_0",
"from_system_block_component_id": "system_block_component_4",
"to_system_block_component_id": "system_block_component_2",
"label": "Power",
"direction": "forward",
"is_signal": false,
"is_power": true,
"route": [
{
"x": -48.2,
"y": 24.75
},
{
"x": -16.150000000000006,
"y": 24.75
}
],
"label_anchor_center": {
"x": -32.175000000000004,
"y": 24.75
}
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_3",
"system_block_page_id": "system_block_page_0",
"from_system_block_component_id": "system_block_component_2",
"to_system_block_component_id": "system_block_component_3",
"label": "PWM",
"direction": "forward",
"is_signal": true,
"is_power": false,
"route": [
{
"x": 15.849999999999994,
"y": 18.25
},
{
"x": 43.7,
"y": 18.25
}
],
"label_anchor_center": {
"x": 29.775,
"y": 18.25
}
}
]