What specific protocol does a general torque sensor use in an Ebike?

I would like to use a torque sensor (not decided on specific details of it yet). My question is how exactly would one get the data from the torque sensor to a controller such as STM32, like is it i2c or spi? I looked online for some torque sensors like the Thun series ( This is in German -> T13 Speed and Torque Sensor für E-Bike | Kaufland.de), but haven't found any good tutorial on how to read the data from such sensors. Any help or info would be appreciated. Wish you a nice day!

Here's the English version of the torque sensor:
https://thun.de/project/x-cell-rt-3-0suitable-for-pedelecs-and-e-bikes/

The data sheet is in German , so can’t read it .
It is unlikely to tell you how works tho.

You need to look at the hardware involved , I would guess Hall effect or strain gauge ? May even be a simple switch . How many wires , what’s on the other end ? Scope of cables so see what sort of signal etc

Some details of one make. Try google translate...

1 Like

Hi,
Google and ye shall find. English data sheet explaining all the different outputs;

x-cell rt 3.0 datasheet

THUN_X-CELL_RT_3_0_Datasheet_2019.pdf (1.8 MB)

Tom... :smiley: :+1: :coffee: :australia:

1 Like

My guess is that it depends on the sensor. So decide on the sensor and read the datasheet.

So this one gives two quadrature pulse trains on a pair of open collector outputs for speed/direction ("cadence" in bike speak) and an analogue output of 2.5 +/- 2v for 0 +/- 200Nm for torque.

@jhaine thanks for the response. So I can read the values just like any other analog sensor and calibrate it to the appropriate torque right?

Looks like it. Not sure how you'd calibrate it without another torque sensor! Or do you mean just rely on the maker's spec and use the correct scaling factor in your code?

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