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!
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
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.
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?