buba said:
fi7ippo said:
I think the best way to adapt the torque sensor to the various users is:
1- Read the rest value of ADC steps during power on and add a low pass filter of one or two ADC steps (for resting value);
2- Create a user parameter that set the ADC value for a know Force applied maybe 30Kg could be a good value for a well calibrated sensor;
Thats all doing this we have everything we need to perfectly calibrate each unit!
1. Already fixed in the new firmware.
2. Nothing to add to your suggestion, will do!
Hi Buba I saw the 0.20.0 wiki, wonderful, You have make a epic job
Is it safe to compile and test? I read a bit the code and maybe I don't understand well, but on
src/controller/adc.c says
64 // read ADC torque sensor value
65 uint16_t ui16_temp = UI16_ADC_10_BIT_TORQUE_SENSOR;
66
67 // filter the ADC torque sensor value and set to offset variable
68 ui16_filter(&ui16_temp, &ui16_adc_pedal_torque_offset, 9);
what is ui16_temp ?
I've not yet understand what is the difference in the new 4 type motor logic, (torque - pas - cadence - emtb) but I'll try when a beta will available
On the new wiki there is a new parameter scale on menu (9 Motor Controller Setup)
2 Motor acceleration 70%
What scale have the new parameter 2 Motor acceleration? Maybe 100% for 10A/s rump up or what?
Option 3 Pedal torque conversion factor - and 4 Weight on pedal is perfect, wow, wonderful work :thumb: :thumb:
I had some time to swap the torque sensor with a brand new untouched new one, and I can say that the new sensor have a lower range, rest 31-32 maximum about 74 and lower capacity (about 40kg) but I'll post a complete data in a few days!
Among other things I forgot to install the white Teflon thickness before the torque sensor, and I would not damage the sensor windings, so I will have to disassemble it again.
I have also noticed that without this thickness inside it all seems smoother than before when a rubbing noise was heard, I think I will try it without thickness for about fifty km.
Thank You Buba, have a nice day!