Devesh36/clear-mouse
A transparent, right-handed wireless mouse assembly with a 44×58 mm control PCB, LiPo battery, optical sensor, click buttons, scroll encoder, DPI/middle buttons, USB‑C charging, and 3D‑printed housing/mechanical hardware.
- Version
- 0.1.5
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Devesh36/clear-mouse # download the package files into ./clear-mouse
tsci add Devesh36/clear-mouse # add it to your project as @tsci/Devesh36.clear-mouseIn 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.
dist/system-overview/circuit.json
PCB
Schematic
[
{
"type": "source_group",
"source_group_id": "source_group_0",
"is_subcircuit": true,
"was_automatically_named": true,
"subcircuit_id": "subcircuit_source_group_0"
},
{
"type": "schematic_group",
"schematic_group_id": "schematic_group_0",
"is_subcircuit": true,
"subcircuit_id": "subcircuit_source_group_0",
"name": "unnamed_group1",
"center": {
"x": 0,
"y": 0
},
"width": 0,
"height": 0,
"schematic_component_ids": [],
"source_group_id": "source_group_0",
"show_as_schematic_box": false
},
{
"type": "pcb_group",
"pcb_group_id": "pcb_group_0",
"is_subcircuit": true,
"subcircuit_id": "subcircuit_source_group_0",
"name": "unnamed_group1",
"anchor_position": {
"x": 0,
"y": 0
},
"center": {
"x": 0,
"y": 0
},
"width": 0,
"height": 0,
"pcb_component_ids": [],
"source_group_id": "source_group_0",
"anchor_alignment": "center"
},
{
"type": "system_block_page",
"system_block_page_id": "system_block_page_0",
"name": "mouse",
"display_name": "Clear Mouse: signals",
"width": 255.50000000000003,
"height": 75.5
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_0",
"system_block_page_id": "system_block_page_0",
"name": "controls",
"display_name": "Left / right / middle / DPI",
"description": "60-degree control PCB: Omron switches, two keys and Alps encoder",
"center": {
"x": -95.50000000000001,
"y": 0.875
},
"width": 48.5,
"height": 22.5
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_1",
"system_block_page_id": "system_block_page_0",
"name": "optics",
"display_name": "PMW3610 + LM18-LSI",
"description": "3-wire motion data; purchased optical lens",
"center": {
"x": 102.25000000000001,
"y": -18.5
},
"width": 35,
"height": 22.5
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_2",
"system_block_page_id": "system_block_page_0",
"name": "mcu",
"display_name": "nRF52832 / Bluetooth LE",
"description": "BLE HID firmware still required",
"center": {
"x": 2.6499999999999915,
"y": 0.875
},
"width": 42.5,
"height": 19
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_3",
"system_block_page_id": "system_block_page_0",
"name": "host",
"display_name": "Computer / tablet",
"description": "Bluetooth mouse connection",
"center": {
"x": 102.25000000000001,
"y": 20.25
},
"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_2",
"label": "7-wire JST-PH harness",
"direction": "forward",
"is_signal": true,
"is_power": false,
"route": [
{
"x": -71.25000000000001,
"y": 0.875
},
{
"x": -18.60000000000001,
"y": 0.875
}
],
"label_anchor_center": {
"x": -44.92500000000001,
"y": 0.875
}
},
{
"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": "SDIO / SCLK / CS / MOTION",
"direction": "both",
"is_signal": true,
"is_power": false,
"route": [
{
"x": 84.75000000000001,
"y": -18.5
},
{
"x": 62.5125,
"y": -18.5
},
{
"x": 54.325,
"y": -10.3125,
"cubic_bezier_control_points": [
{
"x": 57.99066861076038,
"y": -18.5
},
{
"x": 54.325,
"y": -14.834331389239622
}
]
},
{
"x": 46.1375,
"y": -2.125,
"cubic_bezier_control_points": [
{
"x": 54.325,
"y": -5.790668610760378
},
{
"x": 50.659331389239625,
"y": -2.1250000000000004
}
]
},
{
"x": 23.89999999999999,
"y": -2.125
}
],
"label_anchor_center": {
"x": 30.899999999999995,
"y": -15
}
},
{
"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_2",
"to_system_block_component_id": "system_block_component_3",
"label": "BLE HID",
"direction": "both",
"is_signal": true,
"is_power": false,
"route": [
{
"x": 23.89999999999999,
"y": 3.875
},
{
"x": 49.1375,
"y": 3.875
},
{
"x": 57.325,
"y": 12.0625,
"cubic_bezier_control_points": [
{
"x": 53.659331389239625,
"y": 3.875
},
{
"x": 57.325,
"y": 7.540668610760378
}
]
},
{
"x": 65.5125,
"y": 20.25,
"cubic_bezier_control_points": [
{
"x": 57.325,
"y": 16.584331389239622
},
{
"x": 60.99066861076038,
"y": 20.25
}
]
},
{
"x": 85.50000000000001,
"y": 20.25
}
],
"label_anchor_center": {
"x": 41.374999999999986,
"y": 3.875
}
},
{
"type": "system_block_page",
"system_block_page_id": "system_block_page_1",
"name": "power",
"display_name": "Clear Mouse: power",
"width": 208.5,
"height": 74.5
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_4",
"system_block_page_id": "system_block_page_1",
"name": "usb",
"display_name": "USB-C 5V",
"description": "Power only; 500mA input limit",
"center": {
"x": -80.25,
"y": -1.125
},
"width": 32,
"height": 19
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_5",
"system_block_page_id": "system_block_page_1",
"name": "charger",
"display_name": "BQ24074 power path",
"description": "About 50mA charging; external cell NTC",
"center": {
"x": -28.75,
"y": -1.125
},
"width": 35,
"height": 19
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_6",
"system_block_page_id": "system_block_page_1",
"name": "battery",
"display_name": "Protected 100mAh LiPo",
"center": {
"x": 26.5,
"y": -20.25
},
"width": 39.5,
"height": 18
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_7",
"system_block_page_id": "system_block_page_1",
"name": "reg",
"display_name": "TPS7A0230 → 3.0V",
"description": "Low-Iq LDO; slide switch controls enable",
"center": {
"x": 26.5,
"y": 18
},
"width": 32,
"height": 22.5
},
{
"type": "system_block_component",
"system_block_component_id": "system_block_component_8",
"system_block_page_id": "system_block_page_1",
"name": "sensorrail",
"display_name": "TLV70019 → 1.9V",
"center": {
"x": 80.25,
"y": 18
},
"width": 32,
"height": 18
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_3",
"system_block_page_id": "system_block_page_1",
"from_system_block_component_id": "system_block_component_4",
"to_system_block_component_id": "system_block_component_5",
"direction": "forward",
"is_signal": false,
"is_power": true,
"route": [
{
"x": -64.25,
"y": -1.125
},
{
"x": -46.25,
"y": -1.125
}
]
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_4",
"system_block_page_id": "system_block_page_1",
"from_system_block_component_id": "system_block_component_5",
"to_system_block_component_id": "system_block_component_6",
"direction": "both",
"is_signal": false,
"is_power": true,
"route": [
{
"x": -11.25,
"y": -4.125
},
{
"x": -6.75,
"y": -4.125
},
{
"x": -2.25,
"y": -8.625,
"cubic_bezier_control_points": [
{
"x": -4.26471862576143,
"y": -4.125
},
{
"x": -2.25,
"y": -6.13971862576143
}
]
},
{
"x": -2.25,
"y": -15.75
},
{
"x": 2.25,
"y": -20.25,
"cubic_bezier_control_points": [
{
"x": -2.25,
"y": -18.23528137423857
},
{
"x": -0.23528137423857043,
"y": -20.25
}
]
},
{
"x": 6.75,
"y": -20.25
}
]
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_5",
"system_block_page_id": "system_block_page_1",
"from_system_block_component_id": "system_block_component_5",
"to_system_block_component_id": "system_block_component_7",
"direction": "forward",
"is_signal": false,
"is_power": true,
"route": [
{
"x": -11.25,
"y": 1.875
},
{
"x": -3.375,
"y": 1.875
},
{
"x": 4.5,
"y": 9.75,
"cubic_bezier_control_points": [
{
"x": 0.974242404917498,
"y": 1.875
},
{
"x": 4.5,
"y": 5.400757595082502
}
]
},
{
"x": 4.5,
"y": 15
},
{
"x": 7.5,
"y": 18,
"cubic_bezier_control_points": [
{
"x": 4.5,
"y": 16.65685424949238
},
{
"x": 5.84314575050762,
"y": 18
}
]
},
{
"x": 10.5,
"y": 18
}
]
},
{
"type": "system_block_connection",
"system_block_connection_id": "system_block_connection_6",
"system_block_page_id": "system_block_page_1",
"from_system_block_component_id": "system_block_component_7",
"to_system_block_component_id": "system_block_component_8",
"direction": "forward",
"is_signal": false,
"is_power": true,
"route": [
{
"x": 42.5,
"y": 18
},
{
"x": 64.25,
"y": 18
}
]
},
{
"type": "source_project_metadata",
"source_filesystem_md5_hash": "9b8ec2f44daad85fd23b4d2584fdb051"
}
]