Skip to content

LoadCell

Strength machine controller

Lets lifters run their own workout plans on a connected strength machine.

Type
Personal project
Role
Lead engineer
Domains
  • Mobile
  • Hardware
Visit live site at getloadcell.varviktechnologies.com (opens in a new tab)
Three LoadCell screens show a workout plan, an exercise in progress, and the resistance setting.
Clamped resistance range:
2.0–37.5 kg
Resistance steps:
0.5 kg
Reference exercises:
302
On this page

Tech stack

  • Kotlin
  • Jetpack Compose
  • Bluetooth LE
  • Room
  • Foreground service
  • Supabase
  • Gradle

The problem

The machine's own app decides which exercises, modes and plans you can run.

Someone who owns the hardware and wants their own program, offline history and a stricter safety model has no supported way to get it.

The challenge

The BLE protocol was observed, not documented, so every command stays capability gated and the physical pedal remains the mechanical-stop confirmation. Resistance is clamped to a conservative 2.0 to 37.5 kg range in 0.5 kg steps. Rep detection reads position, velocity and measured resistance from the machine and has to be right without ever weakening the working-load limits. Android can kill the process mid-set, so set and rep persistence had to survive a restart.

System design

Compose UI, ViewModels and domain services over a BLE device boundary, a foreground connection service and local SQLite, with optional cloud sync.

A modular, unidirectional Kotlin app: Compose screens send intents to ViewModels, which call domain use cases for the program and workout engine, plan import (CSV, XLSX, DOCX, PDF), and the BLE device boundary. A verified CRC32 packet codec sits under BLE discovery, initialization, notification and write paths.

A foreground service owns the machine connection and a bounded minimum-load recovery request on restart. A Room database holds exercises, plans, sessions and per-rep metrics on the device as the source of truth, with an opt-in sync to self-hosted Supabase. An offline exercise reference catalog of 302 records is vendored with attribution and license notices.

Results

Custom exercises, standalone workouts, scheduled programs, set and rep ranges, supersets, session history, PRs, backup and restore, and CSV/XLSX import are implemented and installed on a tablet. The app connects to the confirmed AroleapX and reads its identity over BLE; the software gate passed on 27 September 2026.

Loaded use still waits on an attended hardware validation pass, and an iOS port has an approved PRD with the technical design under review. The product now also has a steel brand mark, a redesigned app (today, active set, records, session summaries and weekly recaps) and a film-led website with a beta waitlist.

Gallery

Select an image to open the viewer. Choose Actual size for images that offer it.

Motion

  • Website scroll transcript
    1. Every rep, on the record introduces workout logging, with a phone showing today's Full Body workout and Start workout.
    2. The scroll follows Train, Logged, and New best. Train shows a 40 kg bench press and says the median from Today to an active set is three taps.
    3. Logged shows a bench press set at 45 kg with a check mark. The site explains that the app shows load and reps as you lift.
    4. New best shows a trophy and an example personal best of 47.5 kg, up 2.5 kg from the previous best.

More personal projects

6 other personal projects.

All personal projects

Talk through the build

I can walk you through how LoadCell went from idea to working product: the decisions, the architecture, and the trade-offs.