YOU CAN TURN A CHEAP SPIN BIKE INTO A SMART TRAINER IN ABOUT AN HOUR

A 3D printed motor unit that turns your spin bike's resistance knob, so a cheap spin bike follows Zwift hills and holds ERG power.

by doudar

FULL CAD BOM FIRMWARE DOCS

HomeHealth

Built withESP323D printing

difficulty
●●●○○
time
an evening
license
GPL-2.0
repo
repo ACTIVE285 stars
1
Jump to section

COMPAREE VERDICT

SmartSpin2k does one thing: it turns the resistance knob on a spin bike so you do not have to. You print the case, gears and arm, fit an ESP32 board and a NEMA 17 stepper (the V3 version uses an integrated PCB), mount it to your bike and pair it with Zwift, TrainerRoad or similar over Bluetooth. When the road tilts in the app, the motor turns the knob. In ERG mode it holds you at a set wattage by adjusting resistance as you tire. It needs a power reading to work from: either a bike that reports watts over Bluetooth or a Bluetooth power meter such as pedals (a heart-rate-based estimate is experimental). The repository and wiki are complete: printable parts, board files, a sourcing guide, firmware and a build PDF, and the parts come to under 100 dollars by the project's estimate. Community help runs through a Facebook group, and pre-assembled kits are sold at smartspin2k.com. The build is not complex, but it is fiddly — the knob coupling has to grip without slipping, and bikes differ, so check the bike-specific mounts and inserts first. The one thing most likely to go wrong is mechanical fit on your bike's knob. The creator's pitch: turn a 300-dollar spin bike into the equivalent of a 3,000-dollar smart bike. If you were planning to buy a bike anyway, a ready-made smart trainer will save you the weekend.

GOOD TO KNOW

  • —Printable parts, board Gerbers, firmware and a full assembly PDF are all in the repository.
  • —Hardware is under CERN-OHL-P-2.0, firmware under GPL-2.0 — both allow commercial use.
  • —There is also a paid pre-assembled kit sold at smartspin2k.com, linked from the README; the open instructions let you source your own parts.
  • —Calibration data is user-contributed and bike-specific — if your model is not listed, you calibrate it yourself against a known power meter.
  • —The repository is active, last pushed in the past week, and the community answers questions in a Facebook group.
  • —The project claims under an hour for the build; that is optimistic unless you have soldered ESP32 boards before and the printed parts fit your bike first try.

Parts to buy

6 items

From our check of the build. Exact quantities and part numbers are in the creator’s BOM.

  • 38 mm NEMA 17 stepperFind
  • 12–24 V power supply (1 A or more)Find
  • Two 608 bearingsFind
  • Tactile switchesFind
  • 3.5 mm Y cable for shiftersFind
  • Bolts and nutsFind

BUILDS OF THE WEEK

Five open-source builds worth your weekend, every week.

Checked like this one: what’s really in the repo, what it costs, how hard it is. One email, unsubscribe anytime.

Can I build this?

PrintThe V3 case halves and window, plus the common parts: arm, bike mount, 11T and 40T gears, knob cup, the insert for your bike and TPU shifters. The project does not state a total print time.
Buy38 mm NEMA 17 stepper, 12–24 V power supply (1 A or more), two 608 bearings, tactile switches, a 3.5 mm Y cable for shifters, bolts and nuts, plus either the V3 PCB (kit or self-sourced) or an ESP32 dev board with a TMC2225 driver for the older versions. The project estimates under 100 US dollars including shipping. You also need a Bluetooth power source (bike or pedals).
ToolsSoldering iron and solder, 3D printer, basic hand tools (screwdrivers, Allen keys), and a laptop to flash the firmware. You will also need a way to calibrate power if your bike model is not already in the community database — a second power meter or a friend with one.
SkillsBasic soldering (through-hole and a few header pins), 3D printing with support material, and enough comfort with a terminal to flash ESP32 firmware. No PCB design or C++ required — the firmware is pre-compiled. If you have built a 3D printer kit before, this is easier.
TimeThe project says under an hour. Realistic first build: 2-3 hours assembly, another hour for firmware and pairing, and potentially another evening if the knob coupling does not grip and you have to sand or reprint it.
CostMid-range — the project estimates under 100 US dollars in parts including shipping; if you do not have Bluetooth power on your bike, a power meter is an extra cost.
SafetyLow-voltage DC only: a 12 to 24 V wall adapter of 1 A or more, no mains voltage in the device itself. The stepper motor can pinch fingers if you reach into the mechanism while it is running — mount it where you will not brush it mid-ride. No other real hazards.

Build at your own risk. Projects involve tools, electronics and sometimes mains voltage — follow the creator’s safety notes.

More builds like this

All projects

Gallery

github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com

Start here

Navigation into the creator’s own docs — we don’t rewrite the guide, we route you to the source.

  1. 1.Read the Rev 3 building instructions PDF (in the SS2k-Hardware repository) and check the bike-specific mounts and knob inserts for your model.(If your knob is oval or recessed, you will need to adapt the printed coupler before ordering parts.)
  2. 2.Print the V3 case and the common assets from the SS2k-Hardware repository — arm, bike mount, 11T and 40T gears, knob cup, the insert for your bike, and the shifters.(The building instructions recommend ABS, ASA, PETG or PA for the whole design (40% infill, 4 walls, 0.3 mm layers), translucent PETG for the LED window and TPU for the shifters.)
  3. 3.Order the BOM from the hardware folder — ESP32, stepper, driver, power supply.(AliExpress links are provided but go stale; search by part number.)
  4. 4.Assemble the electronics (the V3 board and harness kit plugs together; self-sourced or V2 boards need soldering), flash the firmware, then mount and pair.(Follow the wiki's Loading Software page for the first flash; later updates install over the air or through the device's own web page.)

KNOWN ISSUES

  • Not every resistance knob is covered. Browse the Inserts folder for an adapter that matches your knob, measure from the back of the head tube to the center of the knob (minus 65 mm gives the arm length) and check the arm table before ordering anything. If no insert fits, you will be designing one before you start.
  • The stepper has to overcome your bike's resistance mechanism. Use the 38 mm NEMA 17 the sourcing guide specifies, and set the bike's minimum and maximum watts in the settings so it does not try to drive the knob past what the bike can absorb.
  • Many spin bikes report inaccurate power. SmartSpin2k can correct it, and the wiki has settings pages for some bikes (such as the Schwinn IC4), but for others you need a reliable power meter to calibrate against, or ERG mode will not hold the wattage you think it is holding.
  • The build time claim of under an hour assumes you have the parts, the prints are done, and nothing needs adjusting. First build with print time and troubleshooting is closer to a full evening, potentially two if the coupler does not fit.
  • Pre-assembled kits are sold at smartspin2k.com, and the V3 build is designed around an integrated PCB you can buy as a kit or order yourself from the published files.
  • Pairing order matters: the SmartSpin2k has to pair with your power source and then with your training app. Follow the wiki's pairing and troubleshooting pages, and ask in the project's Facebook group if you get stuck.

Will this work on my bike?

If your bike has a resistance knob that you turn by hand, probably. Check the Inserts folder for a knob adapter for your model and the arm-length table in the Arm readme; the V3 case needs at least 80 mm between the center of the knob and the head tube. If no insert fits your knob, you will need to design or adapt one.

Do I need to buy the kit or can I source parts myself?

You can source everything yourself. The BOM, printable parts and firmware are all in the repository. The kit shop sells a pre-assembled version but it is not required.

How accurate is the power reading?

SmartSpin2k does not measure power itself: it uses the watts your bike reports over Bluetooth or a Bluetooth power meter such as pedals, and it can adjust the bike's reported power if it is off. The creator notes many spin bikes have inaccurate power meters; a heart-rate-based estimate is available but experimental.

Does this work with Peloton bikes?

Yes. The V3 integrated PCB has a serial interface designed specifically for Peloton bikes, the firmware reads Peloton data directly, and the repository includes a Peloton mount and knob insert.

Community builds

No community builds yet — be the first, we feature the best ones.

Discussion1

FROM THE COMPAREE TEAM

Around 285 stars, a companion app and a Facebook group — and the whole idea is not replacing a bike you already own. What resistance knob setup is stopping you?

CompareeTEAM1mo agoedited

Practical notes from our verification: the firmware repository is under the doudar account and active, the hardware files and the Rev 3 building instructions PDF are in a separate repo (doudar/SS2k-Hardware) linked from the README, and there is a companion app for iOS and Android. Community help runs through a Facebook group linked at the top of the README. Pre-assembled kits are sold at smartspin2k.com if you do not want to print and solder. The single biggest variable is mechanical fit on your bike's resistance knob, so check the knob and the available mount files before printing. The project says the build can be done in under an hour; that is realistic only if the prints fit first time and you have soldered before. Correction (4 October 2026): we re-checked this page line by line against the project's own repository, documentation and videos, and fixed errors in earlier versions.

doudar

doudar travels for work and started carrying power meter pedals to ride Zwift on hotel spin bikes, then built SmartSpin2k to add automatic resistance on the hills. The project now has a companion app, a Facebook community and pre-assembled kits for people who do not want to source parts.

GitHub

Star the project on GitHub

DISCLAIMER

  • Comparee is not the author of the projects featured here. All rights to each project belong to its creator — every page links to the original source, and we never host creators’ files.
  • Information is provided without warranty and may become outdated as projects evolve. Prices are indicative bands only — always check the creator’s parts list for current costs.
  • Building and operating any project is at your own responsibility. Protective equipment, safe workshop practice and compliance with local regulations are the builder’s responsibility.