Peacepirate
100 mW
- Joined
- Sep 22, 2020
- Messages
- 38
thx, but it isnt compatible with the sw102 display is it?
Indeed, it is for almost all displays.Peacepirate said:...it isnt compatible with the sw102...
The latest code from casainho has the default mode as 'torque'Peacepirate said:there is no torque only mode in casainhos fork, correct? the power mode is jerky for me...
Unfortunately, according to your link, I did not find any instructions for installing this software..Peacepirate said:Here is the link to his newest version:
https://github.com/r0mko/TSDZ2-Smart-EBike
Don‘t believe its working with the vlcd5.
Instructions are the same as with casainhos firmware, means hex upload with stlink and svg programmer.
Peacepirate said:read the topic: only with 850c/860c and sw102 displays.
// calculate current step for ramp up
// ui32_temp = ((uint32_t) 24375) / ((uint32_t) m_config_vars.ui8_ramp_up_amps_per_second_x10); // see note below
ui32_temp = ((uint32_t) 4000) / ((uint32_t) m_config_vars.ui8_ramp_up_amps_per_second_x10); // POWA BABEH
ui16_g_current_ramp_up_inverse_step = (uint16_t) ui32_temp;
I used this with an SW102, and I think the file in the original link on the first page will work with 850C - I only use SW102 displays so can't advise any more than that.michih. said:which software do i have to use on the 850c?
mfg michael
You'll need to go back to casainho's thread around the page 200 mark from April last year, you need v0.8 of the display firmwaremichih. said:ok, I found the 0.57.3. I can't find the display software .....
vshitikov said:I actually experimented with torque only mode. I created a firmware where there is a torque only mode up to 40rpm and then there is a pedal power mode after 40rpm. My verdict - I think this firmware will destroy your drivetrain - chain and cassette as well as the motor clutch and a motor blue gear. For singlespeed bikes I think it is much better to use direct drive motor in the wheel. It will be much more reliable. I like how Casainho firmware slowly pics up and pushes you once you already started moving pedals. But it is a personal preference as I value reliability more than everything. I transport kids on my bike and my bike is the sole means of transportation.HughF said:I decided to start this thread to help all single speed riders who want to get the best performance when using a TSDZ2 motor for assistance. With a single speed geartrain you have low cadence when starting out, but high torque. You want maximum assistance, and you want it to cut in fast.
The standard codebase for the latest displays uses pedal power as part of the algorithm to calculate motor current. When pedal rpm is below the minimum the cadence sensor can reliably resolve, motor current stays at zero, this makes the assistance slow to cut in on single speed bikes.
User r0mko has made a fork that uses purely pedal torque to calculate motor current, and also has a much faster current ramp programmed into the firmware. It absolutely rips on single speed bikes.
To save cluttering up the other thread, and at the request of Casainho, please use this thread for discussion of this code fork.
https://github.com/r0mko/TSDZ2-Smart-EBike/releases/tag/v0.57.10
I also experimented with the calibration. I personally prefer original logarithmic uncalibrated curve rather than linear. With linear curve it requires to push pedal much harder to get the same assistance. I don't see mich of the value for me. The only advantage is that with calibration feature I can create custom torque curves to imitate bosch emtb mode. But this is really not that important for me as I ride a cargo bike.