I have learnt that official Tong Sheng unloaded initial torque signal value is between 50-105 when viewed using stock firmware on a VLCD5 display. I described how to access the service viewing menu in my previous post.
My readings with stock firmware are 98 with no pressure to 190 with maximum pedal pressure.
I do not know what these figures relate to, but they do not match any of Casainho's recommendations. His recommended torque sensor ADC range was 30-57, with a suggested resting value between 25-30.
But he has updated the wiki and it's no longer relevant for any v0.19 forks. You will need to refer to the previous version of the page here:
https://github.com/OpenSource-EBike-fir ... 4912a09f67
When you first switch on using OSF (original or Marcoq's) 16 samples are taken to determine a baseline minimum value. Then 6 is added to allow for any sensor instability.
So your starting reading should not matter as this becomes your zero point.
What is important is that you have enough resolution or range between your minimum and maximum torque readings.
However this maximum is not read from your sensor, but is hardcoded to be your minimum + 32 (Ackmaniac's fork uses a flat 255).
The minimum-maximum range is then normalised to fit a range of 0-255.
If your sensor has a smaller or larger range than 32, then you may experience problems.
Your torque range is 50-150, but your maximum will be actually be 82 (50 baseline + 32 hardcoded maximum) and any reading above is limited to 82.
You'd be missing all torque in the range of 83-150.
So you will have a sensitive torque sensor with very narrow range of torque of 50-82 (normalised to 0-255) where full power is achieved quickly so your motor appears to be overpowered.
If your torque range was 50-70, your maximum will still be 82 (50 baseline + 32 hardcoded maximum) even though you are unable to produce that much torque.
Your motor will appear to be underpowered as you can never reach the torque values above 70 (maximum achievable is 159 on the normalised 0-255 range).