Calculating Cadence With Bluetooth Power Meter

Hello everyone,

I've been working on a project using the Arduino BLE library to connect to a power meter via Bluetooth. I've successfully managed to retrieve power data from the power meter, and it looks something like this when printed to the serial monitor in bytes:

35,0,22,0,44,184,0,60,66

To work out the power, I am using the following formula which was found online:

unsigned int value = data[3] * 256 + data[2];
Serial.print(value);

Which is this case would be 22W

In this data stream, the 2nd and 3rd bytes (indexed from 0) are responsible for representing power. Now, I'm looking to calculate cadence from this data.

I've consulted the Ant+ specification to understand the formula, assuming it's similar for Bluetooth. However, I'm unsure which bytes in my data stream correspond to cadence.

Could someone please help me identify which bytes in the Bluetooth data are responsible for cadence, and perhaps provide insights into how I could calculate cadence from this data?

Suggestion: provide forum members with some useful information regarding your question.

For example, consider telling the forum which Bluetooth power meter you have, and post links to the product page and the information you found regarding the data protocol.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.