rushabhcodes/fidget-counter
A CR2450-powered BLE fidget counter PCB with an nRF52810, TMAG3001 Hall angle sensor, dual crystals, RF antenna, JST-SWD connector, and a bearing-supported enclosure containing 20 magnets and interchangeable caps.
- Version
- 1.0.45
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone rushabhcodes/fidget-counter # download the package files into ./fidget-counter
tsci add rushabhcodes/fidget-counter # add it to your project as @tsci/rushabhcodes.fidget-counterIn 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.
mechanical/assembly-parameters.json
{
"units": "mm",
"base_diameter": 58.0,
"cap_max_diameter": 61.6,
"cap_styles": [
"circular",
"ships_wheel",
"rounded_triangle",
"scalloped_coin",
"petal_flower",
"four_leaf_clover",
"rounded_hexagon",
"rounded_square",
"wave_rim",
"turbine_wheel",
"thumb_scoop"
],
"cap_edge_bottom": 8.6,
"cap_skirt_inner_radius": 26.8,
"pcb_diameter": 36.5,
"pcb_bottom": 10.6,
"pcb_thickness": 1.0,
"pcb_mount": {
"radius_mm": 16.6,
"angles_deg": [
45,
135,
225,
315
],
"hole_diameter_mm": 2.2,
"copper_keepout_radius_mm": 1.9,
"shoulder_radius_mm": 1.6,
"locator_radius_mm": 0,
"locator_height_mm": 0,
"beam_thickness_mm": 0,
"beam_width_mm": 0,
"retaining_outer_radius_mm": 0,
"axial_float_mm": 0,
"release_displacement_mm": 0,
"screw_indices": [
0,
2
],
"post_radius_mm": 1.6,
"foot_radius_mm": 2.5,
"collar_height_mm": 0
},
"bearing": {
"designation": "6808-ZZ / 61808-2Z",
"bore_mm": 40.0,
"outside_mm": 52.0,
"width_mm": 7.0,
"bottom_z_mm": 6.1,
"shaft_diameter_mm": 40.05,
"housing_diameter_mm": 51.95,
"inner_shoulder_outer_radius_mm": 21.0,
"outer_shoulder_inner_radius_mm": 25.0,
"reference": "https://www.astbearings.com/catalog/root/6808",
"note": "Nominal purchased bearing envelope. Confirm race shoulder lands, corner radii, actual fits and magnetic influence with the chosen supplier/sample."
},
"battery": {
"standard": "CR2450",
"voltage_v": 3,
"primary_nonrechargeable": true,
"diameter_mm": 24.5,
"thickness_mm": 5.0,
"reference_capacity_mah": 620,
"holder_mpn": "BS-24-B4AA014",
"holder_jlcpcb": "C7525448",
"holder_xy_mm": [
0,
0
],
"cell_bottom_z_mm": 2.0,
"cell_center_mm": [
0,
0
],
"supplier_model_cell_bottom_z_mm": 2.7,
"qualification": "Supplier free-state contact leaves intrude into the cell envelope; bound this to the contact regions and qualify loaded contact force/retention on a physical sample. No separate cover.",
"holder_body_height_mm": 7.6,
"holder_loaded_height_mm": 8.6,
"loaded_height_source": "MYOUNG MY-CP-0246 A/0 drawing;8.60mm loaded outline includes1mm cell projection beyond7.60mm body",
"model_datum_note": "Align STEP circular housing axis to imported land-pattern center; override only modelOriginPosition XY from bounds center to0,0, preservingZ=-0.9 and original source assets"
}
}