Great! Have funDoctor Al said:Ok,
So i reflashed motor and controller but this time changed to stm8s105x6 for the motor and hey presto the display is up and running.
Thanks for your help. I'll feedback as to how it goes.
Cheers everyone.
EndlessCadence said:What you did is correct and is maybe not very clearly stated in the wiki. I've changed the wiki a little to improve this and we should add a Windows programming tutorial soon.
EndlessCadence said:Yes, it is if you have a Github account (free). I've created a page for you! You can find it here:
https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/TSDZ2-Glossary
Thanks!
Please let us know beforehand if you want to contribute to other documentation as well.
404s is really strange, doesn't sound like an access or rights issue. I don't have administrative rights for the wiki so I can't check if you have access and the required rights. Can't check the repository settings. We have to wait for Casainho :wink:gaber said:Any idea why I would keep getting a 404 error when trying to edit the glossary page you created? My account is verified.
gaber said:EndlessCadence said:What you did is correct and is maybe not very clearly stated in the wiki. I've changed the wiki a little to improve this and we should add a Windows programming tutorial soon.
That would be great!
EndlessCadence said:404s is really strange, doesn't sound like an access or rights issue. I don't have administrative rights for the wiki so I can't check if you have access and the required rights. Can't check the repository settings. We have to wait for Casainho :wink:gaber said:Any idea why I would keep getting a 404 error when trying to edit the glossary page you created? My account is verified.
gaber said:EndlessCadence said:What you did is correct and is maybe not very clearly stated in the wiki. I've changed the wiki a little to improve this and we should add a Windows programming tutorial soon.
That would be great!
EndlessCadence said:Thanks jbalat!
I've implemented it today, did a test ride and I love how it feels!
![]()
I've released version 0.14.3 which includes this high cadence mode (experimental). You can find it here:
https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.14.3
The wiki has been updated as well:
https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Usage-and-configuration-of-firmware-version-0.14.x#8-various
Doctor Al said:Now up and running.. great power for two seconds then nothing... ideas?
angusinalberta said:Can anyone explain to me the advantage of spinning the pedals at a high cadence? Numbers have been mentioned as high as 120rpm.
There are two reasons I ask. First, any text on bio-mechanics tells us that muscles are strongest when they're stationary and get weaker as he speed of contraction increases. Second, the dyno results for brushless motors always show torque is maximum at zero rpm and drops to zero as the rotational speed increases.
In other words legs and motors both get weaker, force wise, at high rpm, not stronger. What am I missing?
Cheers
I would do a reset using menu 6.3 and set up you battery cutout voltage and number of cells againDoctor Al said:So, the display now has the latest firmware to match the motor controller. I've set the parameters using the guide and the bike works just fine on level 1 assistance only. Any other level provides zero boost. Also there is a resistance from the motor when pushing the bike backwards, this goes away when the display is off.
I'm totally new to all this, so please do tell me if I'm posting in the wrong place or just generally being a nuisance, I definitely won't take it personally.
Once again, great work everyone involved, can't wait to get this working properly, have four more motors to replicate the process on...
jbalat said:I would do a reset using menu 6.3 and set up you battery cutout voltage and number of cells againDoctor Al said:So, the display now has the latest firmware to match the motor controller. I've set the parameters using the guide and the bike works just fine on level 1 assistance only. Any other level provides zero boost. Also there is a resistance from the motor when pushing the bike backwards, this goes away when the display is off.
I'm totally new to all this, so please do tell me if I'm posting in the wrong place or just generally being a nuisance, I definitely won't take it personally.
Once again, great work everyone involved, can't wait to get this working properly, have four more motors to replicate the process on...
https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Usage-and-configuration-of-firmware-version-0.14.x
Would be nice if we could find good values to be the default ones, for 5 assist levels.jbalat said:Doctor
I use 5 levels only no boost. Level 5 is 5000w
Level 1 is 800w interpolate for the rest
Enjoy
casainho said:Would be nice if we could find good values to be the default ones, for 5 assist levels.jbalat said:Doctor
I use 5 levels only no boost. Level 5 is 5000w
Level 1 is 800w interpolate for the rest
Enjoy
So, I think we can consider, based on jbalat values:
1 - 800W
2 - 1850W
3 - 2900W
4 - 3950W
5 - 5000W
I have a better plan, as I wrote on issue #3:jbalat said:casainho said:Would be nice if we could find good values to be the default ones, for 5 assist levels.jbalat said:Doctor
I use 5 levels only no boost. Level 5 is 5000w
Level 1 is 800w interpolate for the rest
Enjoy
So, I think we can consider, based on jbalat values:
1 - 800W
2 - 1850W
3 - 2900W
4 - 3950W
5 - 5000W
I would prefer we go back to assist level, like 0.8, 1.8, 2.9..... the fact that we now associate the assist to 5000w does not make sense to me
I think is not a good idea, strategically, because:
1. there is no mean for that factor, while it is now is for motor watts that means energy
2. users want defines assist level as a factor of pedal human power in watts/energy
A good plan would be for now to keep as it is and next develop the code for reading pedals watts (I did that before and I can recover the code on git history) and plug the 2 values and so finally users would set the assist level as a factor of pedal human power.
jbalat said:Ha ha thanks EC. You can't go back now !! I told you guys that its sooooooo good, and you don't need to peddle above 95 rpm all the time but its good to know you don't need to change gears now until you run out of steam !!
Let me know if you think the bike is less efficient personally I don't see that, I always manage to hit 220w at 32km/hr which is kind of my benchmark..
If you think it may have less torque lower down then we (I mean you) need to implement a ramp for the FOC angle from 80 at low RPM and 115 at high RPM
maximusdm said:jbalat said:Ha ha thanks EC. You can't go back now !! I told you guys that its sooooooo good, and you don't need to peddle above 95 rpm all the time but its good to know you don't need to change gears now until you run out of steam !!
Let me know if you think the bike is less efficient personally I don't see that, I always manage to hit 220w at 32km/hr which is kind of my benchmark..
If you think it may have less torque lower down then we (I mean you) need to implement a ramp for the FOC angle from 80 at low RPM and 115 at high RPM
Hi Jblat,
I need some help to make this work on 48v. I do not want to kill the motor.
Any sugestions to the FOC angle? Now it is 143. I was thinking to test at 175.
MOTOR_OVER_SPEED_ERPS_EXPERIMENTAL 700 should remain same?
Regarding power, I changed MAX_CANDENCE to 95 because i was limited in rpm.
Now I use as assistance 350-700-1000w and is super. I use no boost. I tryed and it did not feel natural.
At 700w on flat city drive i reach 400-500 in peak pushing at startup.
Thanks.
maximusdm said:Hi Jblat,
I need some help to make this work on 48v. I do not want to kill the motor.
Any sugestions to the FOC angle? Now it is 143. I was thinking to test at 175.
MOTOR_OVER_SPEED_ERPS_EXPERIMENTAL 700 should remain same?
Regarding power, I changed MAX_CANDENCE to 95 because i was limited in rpm.
Now I use as assistance 350-700-1000w and is super. I use no boost. I tryed and it did not feel natural.
At 700w on flat city drive i reach 400-500 in peak pushing at startup.