This package provides simple Arduino sketches to publish bicycle and treadmill data over Bluetooth Low Energy. These preliminary sketches are not designed to be complete solutions for creating your own smart fitness devices, but rather a starting point that simplifies the data publishing portion. You are encouraged to fork these sketches and implement your own smart devices, calculating your own inputs and publishing them to be read by any other fitness system.
These sketches have been tested with the Arduino Nano 33 BLE and Zwift.
The Bicyclino sketch is a modified version of the ArduinoBLE-Cycle-Power-Service sketch written by @Tschucker. The Treadmillino sketch was written to follow the same structure for easy clarity.
This code is provided as is with no waranty whatsoever. You use this code at your own risk. You assume all liability for using this code and/or derivative works. You are responsible for your own health and fitness; consult your doctor before using. Zwift is a copyright of Zwift Inc.; this code is not endorsed by Zwift Inc.
This page was very useful for determining the IDs for different services and characteristics, and could come in handy if you choose to extend functionality of this package