casainho
10 GW
- Joined
- Feb 14, 2011
- Messages
- 6,058
I verified I changed PAS cadence calculation in a way it is fast to detect stop of pedaling and also is is slower to detect start of pedeling -- maybe if we go back to previous values it will work well again.EndlessCadence said:Funny how we all experience this issue but didn't talk about it beforeYes I have the same problem but I thought it was because of the aforementioned setting. I think this behaviour is quite annoying.
Can you guys go back to previous values on main.h file and test??
Previous:
Code:
// PAS_ABSOLUTE_MAX_CADENCE_PWM_CYCLE_TICKS = (x / PAS_NUMBER_MAGNETS)
#define PAS_ABSOLUTE_MAX_CADENCE_PWM_CYCLE_TICKS (6250 / PAS_NUMBER_MAGNETS) // max hard limit to 150RPM PAS cadence
#define PAS_ABSOLUTE_MIN_CADENCE_PWM_CYCLE_TICKS (156250 / PAS_NUMBER_MAGNETS) // min hard limit to 6RPM PAS cadence
Current values:
Code:
// x = (1/(150RPM/60)) / (0.000064)
// PAS_ABSOLUTE_MAX_CADENCE_PWM_CYCLE_TICKS = (x / PAS_NUMBER_MAGNETS)
#define PAS_ABSOLUTE_MAX_CADENCE_PWM_CYCLE_TICKS (6250 / PAS_NUMBER_MAGNETS) // max hard limit to 150RPM PAS cadence
#define PAS_ABSOLUTE_MIN_CADENCE_PWM_CYCLE_TICKS (93750 / PAS_NUMBER_MAGNETS) // min hard limit to 10RPM PAS cadence