whatisgithub

What is peleton-esp32s3-bridge?

avikohn/peleton-esp32s3-bridge — explained in plain English

Analysis updated 2026-05-18

1C++Audience · developerComplexity · 4/5Setup · hard

In one sentence

A small hardware bridge that lets an original Peloton bike broadcast cadence and power over Bluetooth to devices like Garmin and Zwift.

Mindmap

mindmap
  root((peloton bridge))
    What it does
      Reads bike serial data
      Broadcasts over Bluetooth
      Streams debug data on WiFi
    Tech stack
      C++
      ESP32
      PlatformIO
    Use cases
      Use Garmin or Zwift with old Peloton bike
      Monitor live cadence and power
      Update firmware over WiFi
    Audience
      Cycling hobbyists
      Hardware tinkerers
      Peloton bike owners

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Connect an original Peloton bike to a Garmin Edge 530 or Zwift over Bluetooth.

USE CASE 2

Monitor live cadence, power, and resistance readings over the local WiFi network for debugging.

USE CASE 3

Keep the bike's original tablet working while adding this bridge using a non destructive cable splitter.

What is it built with?

C++ESP32PlatformIOBluetooth

How does it compare?

avikohn/peleton-esp32s3-bridgeallentdan/shape_based_matchingamu2mod/radeonmon
Stars111
LanguageC++C++C++
Last pushed2019-03-01
MaintenanceDormant
Setup difficultyhardmoderatemoderate
Complexity4/53/53/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires soldering or splicing hardware plus an ESP32 board, a voltage converter chip, and PlatformIO.

No license is stated in the README.

So what is it?

This project lets an original Peloton exercise bike talk to fitness devices and apps it was never designed to work with. The bike normally reports your pedaling speed and power output only to its own tablet screen. This project taps into that internal connection using a small, inexpensive ESP32 microcontroller and a voltage converter chip, then rebroadcasts your cadence and power over Bluetooth in a standard format that devices like the Garmin Edge 530 bike computer, Zwift, and other cycling power meter apps already understand. A clever part of the design is that it automatically figures out whether the bike's original tablet is still connected. If the tablet is present and talking to the bike, the device just listens quietly. If it detects the tablet has gone silent, it switches to actively asking the bike for data itself. It also broadcasts a steady stream of readings, including power, cadence, and resistance level, over the local WiFi network, so anyone on the same network can watch the live data with simple tools, which is helpful for debugging. New versions of the firmware can also be installed over WiFi rather than needing a cable every time. Building this requires some hands on electronics work: you need an ESP32 development board, a small chip that converts the bike's serial signal voltage to a safe level for the microcontroller, and a cable that taps into the bike's existing handlepost connector, either by splicing in or by using a splitter so the original tablet still works too. The software is built using PlatformIO, a common tool for programming small embedded devices, and requires filling in your own WiFi details before installing it onto the board. The author credits an earlier reverse engineering project for figuring out how the Peloton bike's internal communication actually works, since that decoding work made this bridge possible. This is a hands on hardware project for cycling enthusiasts and hobby electronics tinkerers who want to reuse an older Peloton bike's sensors with modern fitness equipment.

Copy-paste prompts

Prompt 1
Explain the wiring steps needed to connect an ESP32 board to my Peloton bike's handlepost cable.
Prompt 2
Walk me through building and flashing this firmware using PlatformIO.
Prompt 3
How does the auto-detecting polling mode decide whether the tablet is still connected?
Prompt 4
Help me set up WiFi credentials and OTA updates for this project's secrets.h file.

Frequently asked questions

What is peleton-esp32s3-bridge?

A small hardware bridge that lets an original Peloton bike broadcast cadence and power over Bluetooth to devices like Garmin and Zwift.

What language is peleton-esp32s3-bridge written in?

Mainly C++. The stack also includes C++, ESP32, PlatformIO.

What license does peleton-esp32s3-bridge use?

No license is stated in the README.

How hard is peleton-esp32s3-bridge to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is peleton-esp32s3-bridge for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.