emmebrusa / TSDZ2-Smart-EBike-1

TSDZ2 Open Source Firmware adapted to VLCD5-VLCD6-XH18 displays
GNU General Public License v3.0
144 stars 34 forks source link

Difference between Pedal torque ADC step and Pedal torque ADC step advanced #67

Open amisi97 opened 1 year ago

amisi97 commented 1 year ago

Hello every one,

Reading the 2 manual, I do not understand the difference between those 2 parameters.

What I understood is that it is the ADC for 24 kg on the pedal in both case, right ?

So why are there two parameters who define the same thing ?

Can you explain the difference ?

I have measured 335 ADC with my weight and 135 ADC with no weight. Estimated pedal torque ADC step then returns 27.

Should I put also 27 for Pedal torque ADC step advanced too ? Else, what should I put ?

Regards

amisi97

emmebrusa commented 1 year ago

There are two parameters but only one is used. If you calibrate the torque sensor and enable "Torque sensor adv" and "Calibrated", the parameter used is "Pedal torque adc step advanced", which always has the same value of 34 because the range of the torque sensor is always remapped to 160. If you do not calibrate, the range of the torque sensor can assume different values and consequently also "Pedal torque adc step". With "Torque sensor adv" or "Calibrated" disabled, this parameter will be used. So in your case you have to set only "Pedal torque adc step" to 27. "Pedal torque adc step advanced" should be left at 34.