• Hello ES! We could use some help to get us past the finish line on building the new knowledgebase for the forum.
    Can you donate? Please see our fundraising page. Thank you!

TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C-850C-SW102.

I have a problem with any OSF for 860C. I have bought a kit 860C+TSDZ8 from pswpower few weeks ago. 860C has a TSDZ connector.
FW update process (via Apt Burn 1.3) follow properly but after that display not turn on. The method, cable, ftdi seem to be fine because i can flash display with original TSDZ and Bafang firmware.
 
I have a problem with any OSF for 860C. I have bought a kit 860C+TSDZ8 from pswpower few weeks ago. 860C has a TSDZ connector.
....
Imho your 860C display is specific for Tongsheng communication protocol and can't be flashed.
If you want OSF you need to flash the controller only with the OSF version for stock displays and Java configurator.
For this you need only an ST link v2 .
 
Last edited:
Hi, I've an issue with two tsdz2b on two different bikes. Both with VLCD6 and a 48V battery. With the latests v.20.1C6 Update 1 and 2 during the power on phase the battery bar blinks in a different way as with the previous fw versions. Furthermore the SOC is not always correctly read (switching off and on the VLCD6, sometimes the display shows 99% even after 2 hours riding) and also using the "lights on" button to check the battery level, it shows nothing. Any idea? In the week end I'll try to install the previous version v.20.1C6 without updates to see if it is possible to get back the old behaviour and have the possibility to see the SoC.
 
Question: Can I run a 48v TSDZ2 (not B model) on a 36v battery?

I understand that I'd need to re-program various parameters in the OSF firmware, my question is more "Can it be done safely, without endangering either motor or battery?" I usually run a 52V 30A 13Ah battery, but it's heavy, and I have a smaller 36V 20A 8Ah that I'd like to use for shorter rides.

If so...
  • What should I use for "Max motor power" to avoid overheating?
  • Are there any other settings that I should pay particular attention to?
Firmware version: 20.1C 5.0, 860C display
 
Last edited:
Question: Can I run a 48v TSDZ2 (not B model) on a 36v battery?

I understand that I'd need to re-program various parameters in the OSF firmware, my question is more "Can it be done safely, without endangering either motor or battery?" I usually run a 52V 30A 13Ah battery, but it's heavy, and I have a smaller 36V 20A 8Ah that I'd like to use for shorter rides.
It endangers the rider's sense of goodness. Assist levels dropped and it felt like a stock motor with no OSF in Eco with a 40V battery. However, I probably didn't give the OSF enough info, All I did was lower LVC to 30V, Max current left at 14A, and motor ID left at 48V, Had to ride in tour to compensate, Would be interested to hear how others have fared.

I have run my hub motors at 36V or 48V for years. RUnning at higher voltage is the higher risk for overheating on those bikes, as the controllers work on current control and not watts,
 
Where I see the problem is that the 48v motor I am sure is wired differently to the 36v motor, yep, from elsewhere I have just found "OSF firmware allows these motors to run any voltage from 24 to 52v regardless of the voltage of the motor. This all works fine. It is the wattage that determines if you burn up the motor or not. Tongsheng makes two versions of this motor core, 36v and 48v. 36v has fewer windings and spins faster at a given voltage. 48v has more windings, spins slower at a given voltage, and has slightly more torque at lower cadences." what's the phrase, it's a case of, suck it and see, but make sure you program the OSF correctly. My lightweight 48v E-MTB currently runs on a small water bottle battery 48V 7Ah G30 which has the identical casing as my 36V 10Ah batteries, so both have nearly identical watts, 336 and 360.
 
Here's the update that fixes the delay in reactivating the motor.
It's not necessary to update the display; if you've installed v20.1C.5-update-1, just update the motor.
https://github.com/emmebrusa/TSDZ2-....5-update-1-860C/TSDZ2-vv20.1C.5-1-1-860C.hex
As soon as you can try it, let me know if it works.

I recommend everyone try this update,
because it's significantly improved even when starting from a standstill.

The stock display version is also updated; anyone who wants to try it can download the master version.
https://github.com/emmebrusa/TSDZ2-Smart-EBike-1/archive/refs/heads/master.zip
Dear @mbrusa
I tried the above quoted stock display version and it works very well for me.
(Will you give this version a release number?)
I also wanted to say thanks for the new way on how to get to torque values for calibration as described in the manual:

"Turn on the display and select the 0-OFF level, if “Set parameter” is not enabled, turn the lights on and off to enable it (at level 0-OFF), then leaving the pedals free, press the Walk assist button"

-> So much easier!! Thank you!

Lastly a question to the parameter "Pedal torque ADC range adjustment" - I still don't understand this fully.

Background: I have a sensor with a limited range:
"Pedal torque ADC offset (no weight)" is in my case 45 and
"Pedal torque ADC max (max weight)" is 145

So, my range is only 100.
Is this ok or should I adjust something with "Pedal torque ADC range adjustment"?
And if I should adjust - in which direction? +20 or -20?

As always - thanks for your work & your help!
 
Question: Can I run a 48v TSDZ2 (not B model) on a 36v battery?

I understand that I'd need to re-program various parameters in the OSF firmware, my question is more "Can it be done safely, without endangering either motor or battery?" I usually run a 52V 30A 13Ah battery, but it's heavy, and I have a smaller 36V 20A 8Ah that I'd like to use for shorter rides.

If so...
  • What should I use for "Max motor power" to avoid overheating?
  • Are there any other settings that I should pay particular attention to?
Firmware version: 20.1C 5.0, 860C display
You need to set "motor acceleration" to 45, as indicated in the manual.
This seems to be the mistake the user has made in the thread @dgc quoted : motor acceleration was set at zero in the screenshot.

Also, field weakening has to be enabled because you'll reach the max RPM of the motor much earlier with that motor/battery combo. Field weakening will partly compensate for that, but at the expense of efficiency, so the motor will heat up more than usual at high RPM. Because of that, if you don't have a temperature sensor or any sort of cooling mod, you might want to choose a relatively low (12A ?) maximum amperage. Note that If you don't often pedal at high cadence, this overheating thing will probably be a non-issue.
 
Lastly a question to the parameter "Pedal torque ADC range adjustment" - I still don't understand this fully.

Background: I have a sensor with a limited range:
"Pedal torque ADC offset (no weight)" is in my case 45 and
"Pedal torque ADC max (max weight)" is 145

So, my range is only 100.
Is this ok or should I adjust something with "Pedal torque ADC range adjustment"?
And if I should adjust - in which direction? +20 or -20?
I had the same question, and mbrusa kindly answered it earlier in this thread, so in case he's busy I'll quote him :

"With calibration, the torque sensor range, whatever value it has, is remapped to 160, 'Torque range adj' allows you to change this value.
What is it for?
I'll give you an example, you wrote that you had to reduce all levels of assistance.
If you decreased 'Torque range adj', it is equivalent to decreasing all levels in all modes, changing only one parameter."
 
Dear @mbrusa
I tried the above quoted stock display version and it works very well for me.
(Will you give this version a release number?)
I also wanted to say thanks for the new way on how to get to torque values for calibration as described in the manual:

"Turn on the display and select the 0-OFF level, if “Set parameter” is not enabled, turn the lights on and off to enable it (at level 0-OFF), then leaving the pedals free, press the Walk assist button"

-> So much easier!! Thank you!

Lastly a question to the parameter "Pedal torque ADC range adjustment" - I still don't understand this fully.

Background: I have a sensor with a limited range:
"Pedal torque ADC offset (no weight)" is in my case 45 and
"Pedal torque ADC max (max weight)" is 145

So, my range is only 100.
Is this ok or should I adjust something with "Pedal torque ADC range adjustment"?
And if I should adjust - in which direction? +20 or -20?

As always - thanks for your work & your help!
Regarding the "Pedal torque ADC range adjustment" parameter, @Yanis has already responded.
It's used to increase or decrease all assistance levels in all modes by changing just one parameter.
It only works with "Calibrated" and "Torque sensor adv" enabled; in this case, the limited torque sensor range isn't relevant, as it's remapped to 160.

I'll release a new version number soon. First, I need to fix an issue with "Startup assist," which doesn't work in the latest versions. I didn't notice this because it's a feature I no longer use.
 
Hello

i asked that question before, but still no solution found.

I'm not sure what happened to my TSDZ2B. After servicing the motor (oiling and greasing), it started behaving differently. Previously, in Off-Road mode, I could reach speeds of over 55 km/h.

Now, the motor shuts off at 41 km/h in Off-Road mode.

I'm wondering if I accidentally changed some settings using the display? Is that possible?

Until now, to activate Off-Road mode, I had to switch to level 0, turn the lights on and off, then switch to level 2 and turn the lights on and off again. Sometimes I performed this sequence incorrectly. is that possible that i've changed max speed somehow?

I should add that I have the stock 850C display with the Tongsheng protocol and an old version of OSF (though I don't remember which one, since my controller no longer connects to the ST-Link V2). I also don't remember which settings were flashed with OSF, as I flashed them about 3 years ago.
 
Hello

i asked that question before, but still no solution found.

I'm not sure what happened to my TSDZ2B. After servicing the motor (oiling and greasing), it started behaving differently. Previously, in Off-Road mode, I could reach speeds of over 55 km/h.

Now, the motor shuts off at 41 km/h in Off-Road mode.

I'm wondering if I accidentally changed some settings using the display? Is that possible?

Until now, to activate Off-Road mode, I had to switch to level 0, turn the lights on and off, then switch to level 2 and turn the lights on and off again. Sometimes I performed this sequence incorrectly. is that possible that i've changed max speed somehow?

I should add that I have the stock 850C display with the Tongsheng protocol and an old version of OSF (though I don't remember which one, since my controller no longer connects to the ST-Link V2). I also don't remember which settings were flashed with OSF, as I flashed them about 3 years ago.
The OSF version flashes briefly during initialization and after turning the motor on. It can be fast so I record a short movie with my phone to view it.
 
.... I also don't remember which settings were flashed with OSF, as I flashed them about 3 years ago.
If you never have removed that OSF version, you could find the 3 year old ini file with settings in the folder "experimental settings".
Every time you flash there will be a new dated one.
 
Hello

i asked that question before, but still no solution found.

I'm not sure what happened to my TSDZ2B. After servicing the motor (oiling and greasing), it started behaving differently. Previously, in Off-Road mode, I could reach speeds of over 55 km/h.

Now, the motor shuts off at 41 km/h in Off-Road mode.

I'm wondering if I accidentally changed some settings using the display? Is that possible?
...
Yes, it is possible, but only if you have enabled "Set max speed from display" in the configurator.
Check the speed limit set on the display.

The OSF version flashes briefly during initialization and after turning the motor on. It can be fast so I record a short movie with my phone to view it.
The version number is not visible on the display with stock firmware and Tonsheng protocol.
On displays with OSF, there's no need to record videos. When turning on the device, simply hold down the on/off button; the boot screen with the version number will be displayed until you release the button.
 
Hi mbrusa, My TSDZ2 hardtail 48V 7Ah battery has been running great but I've never been able to get cruise to work properly. Running OSF V20.1C.4-LCD3-update 3, 3/30/24

I have target speed set at 8 mph. If I press and hold the down button (while moving slightly above 5 mph), the bike accelerate to 8 mph, then slows to around 6 mph, then repeat that cycle again. Attached is the screenshot of Config Menu 7 Cruise from the manual (KT LCD3 TSDZ2 V20.1C.4-2 OSF) with my settings. Can you tell me what I need to change to get cruise to work so that it does not speed up/slow down? I want to be able to activate cruise w/o having to hold the down button constantly, have it accelerate to the target speed and keep it there.

Thanks!

IMG_0489.jpeg
IMG_0490.jpeg
 
If you never have removed that OSF version, you could find the 3 year old ini file with settings in the folder "experimental settings".
Every time you flash there will be a new dated one.
Unfortunately i have, i only remember it was either v20.1C.2 or v20.1C.3

Yes, it is possible, but only if you have enabled "Set max speed from display" in the configurator.
Check the speed limit set on the display.

Yes, i'm quite sure that i did not enable that setting, and i have just set the max speed of 60km/h in configurator (if i remember correctly), this is why that sudden max speed change surprised me more.

i have found manual for 850C display and i changed manually max speed setting (which was also set to 60km/h) to 25km/h this morning, but after turning on off-road mode no change occurred, meaning it still cuts off at 41km/h ;/

could this be related to torque sensor calibration or speed sensor? i will try to run some more tests.

ideally i would like to re-flash the whole thing again, but st-link no longer detects my controller.
 
....but after turning on off-road mode no change occurred, meaning it still cuts off at 41km/h ;/

could this be related to torque sensor calibration or speed sensor? ...
This is an option too. Problably you have not enabled to set speed from display. (basic settings- bottom right)
 
Hi mbrusa, My TSDZ2 hardtail 48V 7Ah battery has been running great but I've never been able to get cruise to work properly. Running OSF V20.1C.4-LCD3-update 3, 3/30/24

I have target speed set at 8 mph. If I press and hold the down button (while moving slightly above 5 mph), the bike accelerate to 8 mph, then slows to around 6 mph, then repeat that cycle again. Attached is the screenshot of Config Menu 7 Cruise from the manual (KT LCD3 TSDZ2 V20.1C.4-2 OSF) with my settings. Can you tell me what I need to change to get cruise to work so that it does not speed up/slow down? I want to be able to activate cruise w/o having to hold the down button constantly, have it accelerate to the target speed and keep it there.

Thanks!

View attachment 377201
View attachment 377202
In the LCD3 version, which will no longer be updated, the cruise control remains the original one from 20-beta-1.
The PID function is very crude, as you've noticed; at low speeds, it's a constant oscillation, and the button must be held down.
Unfortunately, that's how it is.

In the 860C version, cruise control has been improved; speed regulation is acceptable, and after activating the function with the button, it can be maintained by simply turning the pedals.
 
In the LCD3 version, which will no longer be updated, the cruise control remains the original one from 20-beta-1.
The PID function is very crude, as you've noticed; at low speeds, it's a constant oscillation, and the button must be held down.
Unfortunately, that's how it is.

In the 860C version, cruise control has been improved; speed regulation is acceptable, and after activating the function with the button, it can be maintained by simply turning the pedals.
Thanks for the reply. I will forget about cruise mode (I just disabled it).

Can I use walk mode as a slow speed cruise? Will it oscillate like cruise?
 
During this morning's ride, I noticed the odometer on my LCD3, which last had around 2570 miles, somehow reset itself to zero. How and why did that happen? I certainly didn't knowingly do it. Has that happen to anyone else?
 
During this morning's ride, I noticed the odometer on my LCD3, which last had around 2570 miles, somehow reset itself to zero. How and why did that happen? I certainly didn't knowingly do it. Has that happen to anyone else?

Conspiracy. It just happened on my wife's bike. However, we have a VLDC5 on her bike, and I think I did it by accident trying to check the settings. If you hit the right three buttons down for 3 seconds, it clears the mileage on a VLDC5. Bummer, as she was quite proud of her mileage. I have to put them back in. Ordered a prebuilt 555 based timer module yesterday. Will hook it up to the speed sensor and leave it run til we accumulate those miles again. Need 4090 miles.

AI responses claim the LCD3 miles is in the controller, but it has to be in the display as I have moved them around, and the miles travel with the display. As there is no known odometer reset procedure (per google). it may may your LCD3 is on the onset of dementia. Its progammable memory may be failing,
 
Per my LCD manual, odometer can be set to a specific value in the configurations menu. I'll go give it a try.


- 1. Distance
• 1.0 Trip distance : You can manually reset the trip distance by pressing DOWN
button quickly followed by a long press on the DOWN button until value resets. It
will start to blink when it is about to reset.
• 1.1 Distance since power on : this value will automatically reset during power on/off.
• 1.2 Odometer : can be set to a specific value in the configurations menu or reset as
described above.
 
Back
Top