tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone imrishabh18/pedometer # download the package files into ./pedometer
tsci add imrishabh18/pedometer # add it to your project as @tsci/imrishabh18.pedometer
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.
# Stride — CC2340R5 Bluetooth pedometer
40 × 38 mm, four-layer circuit using a bare CC2340R52E0RGER, BQ25150YFPR charger, BQ27427YZFR fuel gauge, BMA400 step counter, ceramic antenna, USB-C power input and external I²C OLED.
The MCU includes pin attributes, selected GPIO input/output directions and open-drain I²C settings. J4 exposes 2.5 V VTREF, SWDIO, SWCLK, ground and reset. USB-C supplies power only.
## Build
```sh
bun install --frozen-lockfile
bun run build
bun run typecheck
```
The package includes the circuit entrypoint, referenced component imports, schematic layout, net and pin mappings, routing helpers, pinned dependencies and the required bundled fanout solver with its license notices. Firmware, fabrication outputs, review artifacts, tests and development utilities are maintained separately.
BGA via-in-pad is enabled. Manufacturing requires separate CAM and assembly process review.