casainho
10 GW
- Joined
- Feb 14, 2011
- Messages
- 6,058
With the our flexible OpenSource firmware it is possible. That mode was not developed because no one ever show that need but it should be a quick change to current version:EndlessScream said:Is it possible to configure this firmware, so it uses only PAS and no torque sensor? I am asking because my torque sensor stopped working and I do not have a throttle. The motor engages, but it gives me only a little boost on each assist level and it does not increase when I put more pressure on pedals. I am trying to find a way to workaround this problem without replacing torque sensor. It would be sufficient for me if it worked at full power defined for each assist level as other regular motors.
1. there is a function with name ebike_control_motor() that runs every 0.1 second, get's information about the sensors (like torque sensor, PAS, brake sensors) and configurations like max current on LCD3, and calculate the final current to apply to the motor.
2. on ebike_control_motor(), the human power on the pedals (torque sensor value * pedals cadence) are calculated and that value will then define the current to apply to the motor. So, if your torque sensor value is always zero, the calculated human power will always be zero. A quick way to use only the pedals cadence is to force torque sensor value = 1 and then the human power will be equal to the pedals cadence
I am very busy on this days, maybe you can ask to others like jbalat to do this implementation for you.