rushabhcodes/wireless-split-keyboard

Wireless Split Keyboard — custom routed nRF52840 split PCBs with a printable enclosure

Version
0.4.5
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone rushabhcodes/wireless-split-keyboard  # download the package files into ./wireless-split-keyboard
tsci add rushabhcodes/wireless-split-keyboard    # add it to your project as @tsci/rushabhcodes.wireless-split-keyboard

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.

firmware/physical-layout.json

{
  "left": [
    {
      "reference": "SW1",
      "x": 33.2350905,
      "y": 40.875,
      "rotation": 0,
      "source": {
        "x": 120.55,
        "y": 50,
        "rotation": 180
      },
      "row": 0,
      "column": 0
    },
    {
      "reference": "SW2",
      "x": 14.1850905,
      "y": 43.375,
      "rotation": 0,
      "source": {
        "x": 139.6,
        "y": 47.5,
        "rotation": 180
      },
      "row": 0,
      "column": 1
    },
    {
      "reference": "SW3",
      "x": -4.8649095,
      "y": 45.875,
      "rotation": 0,
      "source": {
        "x": 158.65,
        "y": 45,
        "rotation": 180
      },
      "row": 0,
      "column": 2
    },
    {
      "reference": "SW4",
      "x": -23.9149095,
      "y": 43.375,
      "rotation": 0,
      "source": {
        "x": 177.7,
        "y": 47.5,
        "rotation": 180
      },
      "row": 0,
      "column": 3
    },
    {
      "reference": "SW5",
      "x": -42.9649095,
      "y": 38.475,
      "rotation": 0,
      "source": {
        "x": 196.75,
        "y": 52.4,
        "rotation": 180
      },
      "row": 0,
      "column": 4
    },
    {
      "reference": "SW6",
      "x": -62.0149095,
      "y": 38.475,
      "rotation": 0,
      "source": {
        "x": 215.8,
        "y": 52.4,
        "rotation": 180
      },
      "row": 0,
      "column": 5
    },
    {
      "reference": "SW7",
      "x": 33.2350905,
      "y": 21.775,
      "rotation": 0,
      "source": {
        "x": 120.55,
        "y": 69.1,
        "rotation": 180
      },
      "row": 1,
      "column": 0
    },
    {
      "reference": "SW8",
      "x": 14.1850905,
      "y": 24.325,
      "rotation": 0,
      "source": {
        "x": 139.6,
        "y": 66.55,
        "rotation": 180
      },
      "row": 1,
      "column": 1
    },
    {
      "reference": "SW9",
      "x": -4.8649095,
      "y": 26.825,
      "rotation": 0,
      "source": {
        "x": 158.65,
        "y": 64.05,
        "rotation": 180
      },
      "row": 1,
      "column": 2
    },
    {
      "reference": "SW10",
      "x": -23.9149095,
      "y": 24.325,
      "rotation": 0,
      "source": {
        "x": 177.7,
        "y": 66.55,
        "rotation": 180
      },
      "row": 1,
      "column": 3
    },
    {
      "reference": "SW11",
      "x": -42.9649095,
      "y": 19.425,
      "rotation": 0,
      "source": {
        "x": 196.75,
        "y": 71.45,
        "rotation": 180
      },
      "row": 1,
      "column": 4
    },
    {
      "reference": "SW12",
      "x": -62.0149095,
      "y": 19.425,
      "rotation": 0,
      "source": {
        "x": 215.8,
        "y": 71.45,
        "rotation": 180
      },
      "row": 1,
      "column": 5
    },
    {
      "reference": "SW13",
      "x": 33.2350905,
      "y": 2.775,
      "rotation": 0,
      "source": {
        "x": 120.55,
        "y": 88.1,
        "rotation": 180
      },
      "row": 2,
      "column": 0
    },
    {
      "reference": "SW14",
      "x": 14.1850905,
      "y": 5.275,
      "rotation": 0,
      "source": {
        "x": 139.6,
        "y": 85.6,
        "rotation": 180
      },
      "row": 2,
      "column": 1
    },
    {
      "reference": "SW15",
      "x": -4.8649095,
      "y": 7.775,
      "rotation": 0,
      "source": {
        "x": 158.65,
        "y": 83.1,
        "rotation": 180
      },
      "row": 2,
      "column": 2
    },
    {
      "reference": "SW16",
      "x": -23.9149095,
      "y": 5.275,
      "rotation": 0,
      "source": {
        "x": 177.7,
        "y": 85.6,
        "rotation": 180
      },
      "row": 2,
      "column": 3
    },
    {
      "reference": "SW17",
      "x": -42.9649095,
      "y": 0.375,
      "rotation": 0,
      "source": {
        "x": 196.75,
        "y": 90.5,
        "rotation": 180
      },
      "row": 2,
      "column": 4
    },
    {
      "reference": "SW18",
      "x": -62.0149095,
      "y": 0.375,
      "rotation": 0,
      "source": {
        "x": 215.8,
        "y": 90.5,
        "rotation": 180
      },
      "row": 2,
      "column": 5
    },
    {
      "reference": "SW19",
      "x": 33.2350905,
      "y": -16.275,
      "rotation": 0,
      "source": {
        "x": 120.55,
        "y": 107.15,
        "rotation": 180
      },
      "row": 3,
      "column": 0
    },
    {
      "reference": "SW20",
      "x": 14.1850905,
      "y": -13.775,
      "rotation": 0,
      "source": {
        "x": 139.6,
        "y": 104.65,
        "rotation": 180
      },
      "row": 3,
      "column": 1
    },
    {
      "reference": "SW21",
      "x": -4.8649095,
      "y": -11.275,
      "rotation": 0,
      "source": {
        "x": 158.65,
        "y": 102.15,
        "rotation": 180
      },
      "row": 3,
      "column": 2
    },
    {
      "reference": "SW22",
      "x": -23.9149095,
      "y": -13.775,
      "rotation": 0,
      "source": {
        "x": 177.7,
        "y": 104.65,
        "rotation": 180
      },
      "row": 3,
      "column": 3
    },
    {
      "reference": "SW23",
      "x": -42.9649095,
      "y": -18.675,
      "rotation": 0,
      "source": {
        "x": 196.75,
        "y": 109.55,
        "rotation": 180
      },
      "row": 3,
      "column": 4
    },
    {
      "reference": "SW24",
      "x": -62.0149095,
      "y": -18.675,
      "rotation": 0,
      "source": {
        "x": 215.8,
        "y": 109.55,
        "rotation": 180
      },
      "row": 3,
      "column": 5
    },
    {
      "reference": "SW26",
      "x": 57.0750905,
      "y": -42.525,
      "rotation": 60,
      "source": {
        "x": 96.71,
        "y": 133.4,
        "rotation": 120
      },
      "row": 4,
      "column": 1
    },
    {
      "reference": "SW27",
      "x": 36.1850905,
      "y": -37.525,
      "rotation": 345,
      "source": {
        "x": 117.6,
        "y": 128.4,
        "rotation": -165
      },
      "row": 4,
      "column": 2
    },
    {
      "reference": "SW28",
      "x": 14.1850905,
      "y": -32.825,
      "rotation": 0,
      "source": {
        "x": 139.6,
        "y": 123.7,
        "rotation": 180
      },
      "row": 4,
      "column": 3
    },
    {
      "reference": "SW29",
      "x": -4.8649095,
      "y": -30.325,
      "rotation": 0,
      "source": {
        "x": 158.65,
        "y": 121.2,
        "rotation": 180
      },
      "row": 4,
      "column": 4
    },
    {
      "reference": "SW30",
      "x": -23.9149095,
      "y": -32.825,
      "rotation": 0,
      "source": {
        "x": 177.7,
        "y": 123.7,
        "rotation": 180
      },
      "row": 4,
      "column": 5
    }
  ],
  "right": [
    {
      "reference": "SW1",
      "x": -33.2350905,
      "y": 40.875,
      "rotation": 180,
      "source": {
        "x": 120.55,
        "y": 50,
        "rotation": 180
      },
      "row": 0,
      "column": 0
    },
    {
      "reference": "SW2",
      "x": -14.1850905,
      "y": 43.375,
      "rotation": 180,
      "source": {
        "x": 139.6,
        "y": 47.5,
        "rotation": 180
      },
      "row": 0,
      "column": 1
    },
    {
      "reference": "SW3",
      "x": 4.8649095,
      "y": 45.875,
      "rotation": 180,
      "source": {
        "x": 158.65,
        "y": 45,
        "rotation": 180
      },
      "row": 0,
      "column": 2
    },
    {
      "reference": "SW4",
      "x": 23.9149095,
      "y": 43.375,
      "rotation": 180,
      "source": {
        "x": 177.7,
        "y": 47.5,
        "rotation": 180
      },
      "row": 0,
      "column": 3
    },
    {
      "reference": "SW5",
      "x": 42.9649095,
      "y": 38.475,
      "rotation": 180,
      "source": {
        "x": 196.75,
        "y": 52.4,
        "rotation": 180
      },
      "row": 0,
      "column": 4
    },
    {
      "reference": "SW6",
      "x": 62.0149095,
      "y": 38.475,
      "rotation": 180,
      "source": {
        "x": 215.8,
        "y": 52.4,
        "rotation": 180
      },
      "row": 0,
      "column": 5
    },
    {
      "reference": "SW7",
      "x": -33.2350905,
      "y": 21.775,
      "rotation": 180,
      "source": {
        "x": 120.55,
        "y": 69.1,
        "rotation": 180
      },
      "row": 1,
      "column": 0
    },
    {
      "reference": "SW8",
      "x": -14.1850905,
      "y": 24.325,
      "rotation": 180,
      "source": {
        "x": 139.6,
        "y": 66.55,
        "rotation": 180
      },
      "row": 1,
      "column": 1
    },
    {
      "reference": "SW9",
      "x": 4.8649095,
      "y": 26.825,
      "rotation": 180,
      "source": {
        "x": 158.65,
        "y": 64.05,
        "rotation": 180
      },
      "row": 1,
      "column": 2
    },
    {
      "reference": "SW10",
      "x": 23.9149095,
      "y": 24.325,
      "rotation": 180,
      "source": {
        "x": 177.7,
        "y": 66.55,
        "rotation": 180
      },
      "row": 1,
      "column": 3
    },
    {
      "reference": "SW11",
      "x": 42.9649095,
      "y": 19.425,
      "rotation": 180,
      "source": {
        "x": 196.75,
        "y": 71.45,
        "rotation": 180
      },
      "row": 1,
      "column": 4
    },
    {
      "reference": "SW12",
      "x": 62.0149095,
      "y": 19.425,
      "rotation": 180,
      "source": {
        "x": 215.8,
        "y": 71.45,
        "rotation": 180
      },
      "row": 1,
      "column": 5
    },
    {
      "reference": "SW13",
      "x": -33.2350905,
      "y": 2.775,
      "rotation": 180,
      "source": {
        "x": 120.55,
        "y": 88.1,
        "rotation": 180
      },
      "row": 2,
      "column": 0
    },
    {
      "reference": "SW14",
      "x": -14.1850905,
      "y": 5.275,
      "rotation": 180,
      "source": {
        "x": 139.6,
        "y": 85.6,
        "rotation": 180
      },
      "row": 2,
      "column": 1
    },
    {
      "reference": "SW15",
      "x": 4.8649095,
      "y": 7.775,
      "rotation": 180,
      "source": {
        "x": 158.65,
        "y": 83.1,
        "rotation": 180
      },
      "row": 2,
      "column": 2
    },
    {
      "reference": "SW16",
      "x": 23.9149095,
      "y": 5.275,
      "rotation": 180,
      "source": {
        "x": 177.7,
        "y": 85.6,
        "rotation": 180
      },
      "row": 2,
      "column": 3
    },
    {
      "reference": "SW17",
      "x": 42.9649095,
      "y": 0.375,
      "rotation": 180,
      "source": {
        "x": 196.75,
        "y": 90.5,
        "rotation": 180
      },
      "row": 2,
      "column": 4
    },
    {
      "reference": "SW18",
      "x": 62.0149095,
      "y": 0.375,
      "rotation": 180,
      "source": {
        "x": 215.8,
        "y": 90.5,
        "rotation": 180
      },
      "row": 2,
      "column": 5
    },
    {
      "reference": "SW19",
      "x": -33.2350905,
      "y": -16.275,
      "rotation": 180,
      "source": {
        "x": 120.55,
        "y": 107.15,
        "rotation": 180
      },
      "row": 3,
      "column": 0
    },
    {
      "reference": "SW20",
      "x": -14.1850905,
      "y": -13.775,
      "rotation": 180,
      "source": {
        "x": 139.6,
        "y": 104.65,
        "rotation": 180
      },
      "row": 3,
      "column": 1
    },
    {
      "reference": "SW21",
      "x": 4.8649095,
      "y": -11.275,
      "rotation": 180,
      "source": {
        "x": 158.65,
        "y": 102.15,
        "rotation": 180
      },
      "row": 3,
      "column": 2
    },
    {
      "reference": "SW22",
      "x": 23.9149095,
      "y": -13.775,
      "rotation": 180,
      "source": {
        "x": 177.7,
        "y": 104.65,
        "rotation": 180
      },
      "row": 3,
      "column": 3
    },
    {
      "reference": "SW23",
      "x": 42.9649095,
      "y": -18.675,
      "rotation": 180,
      "source": {
        "x": 196.75,
        "y": 109.55,
        "rotation": 180
      },
      "row": 3,
      "column": 4
    },
    {
      "reference": "SW24",
      "x": 62.0149095,
      "y": -18.675,
      "rotation": 180,
      "source": {
        "x": 215.8,
        "y": 109.55,
        "rotation": 180
      },
      "row": 3,
      "column": 5
    },
    {
      "reference": "SW26",
      "x": -57.0750905,
      "y": -42.525,
      "rotation": 120,
      "source": {
        "x": 96.71,
        "y": 133.4,
        "rotation": 120
      },
      "row": 4,
      "column": 1
    },
    {
      "reference": "SW27",
      "x": -36.1850905,
      "y": -37.525,
      "rotation": 195,
      "source": {
        "x": 117.6,
        "y": 128.4,
        "rotation": -165
      },
      "row": 4,
      "column": 2
    },
    {
      "reference": "SW28",
      "x": -14.1850905,
      "y": -32.825,
      "rotation": 180,
      "source": {
        "x": 139.6,
        "y": 123.7,
        "rotation": 180
      },
      "row": 4,
      "column": 3
    },
    {
      "reference": "SW29",
      "x": 4.8649095,
      "y": -30.325,
      "rotation": 180,
      "source": {
        "x": 158.65,
        "y": 121.2,
        "rotation": 180
      },
      "row": 4,
      "column": 4
    },
    {
      "reference": "SW30",
      "x": 23.9149095,
      "y": -32.825,
      "rotation": 180,
      "source": {
        "x": 177.7,
        "y": 123.7,
        "rotation": 180
      },
      "row": 4,
      "column": 5
    }
  ],
  "pinout": {
    "rows": [
      "P0_11",
      "P0_12",
      "P0_13",
      "P0_14",
      "P0_15"
    ],
    "columns": [
      "P0_16",
      "P0_17",
      "P0_19",
      "P0_20",
      "P0_21",
      "P0_22"
    ],
    "encoderA": "P0_23",
    "encoderB": "P0_24",
    "displaySck": "P0_26",
    "displayMosi": "P0_27",
    "displayCs": "P1_08",
    "displayDisp": "P1_09",
    "displayVcom": "P1_10",
    "displayPower": "P1_11",
    "batterySense": "P0_04",
    "batterySenseEnable": "P1_12"
  }
}