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

Hi. Has anything changed in the currently available tsdz2 kits regarding software uploading? I last programmed osf 0.8 in 2020.
In some of the TSDZ2B's, there is a controller build in with a different µcontroller, which is currently not programmable.
'Mostly' the old programmable version is sold (the new one is 'mostly' sold via a german vendor). But you can not be 100% sure, as you can not select when ordering. Which one you get can be identified by measuring voltages at the Programmer / Speed-Sensor plug. (You find more information on what to measure here in the forum, I do not know out of the top of my head)
 
Yes, it's a bit hit and miss as the v2 controller is ordered by dealers / customers in Germany to meet local regulations but this can happen elsewhere in the world as well, I got caught out when I brought a mid-drive on Ebay which came from Germany. It was a very good price so I just pulled the v2 controller out and fitted a v1 which I had in stock from China. I have asked Tonsheng directly and it seems they do not known which mid-drive has a v1 controller and which has v2. All they said was it was up to the customer what they required. Not a lot of use.
 
All I can say is that I have brought 4 TSDZ2 kits from PSWPower and they have all had the v1 controller, the only criteria I made is to make sure I did not order from PSWPower's German stock option, I feel pretty sure they do not know themselves as they are a stockist, but stock going to Germany from China may be tied to German specs. As before I brought a TSDZ2 on Ebay from Sachs-Ersatzteile and it have a v2 controller in it. But as before I was not surprised so just changed it. That still doe's not help you, Aliexpress sells TSDZ2(B)'s one of the shops on there is PSWPower.
 
Do you have a graph of the efficiency of Bosch motors?
Maths:
same legal power (ie 250W)
same road
same wheel
same transmission
same RPM
bosch=faster and more torque

why?
Mechanical power=Force x velocity
so if velocity is same and if you go faster it means than force is bigger...

what bigger for same power? impossible...except if...

except if mechanical power of bosch > mechanical power of TSDZ2b

so it mean that with bosch you are more close of 250W nominal at wheel...and efficiency is greater

My only explaination is architecture of motor: for a same velocity of output, inner velocity of bosch motor is greater...and efficiency grows up

Mathematiques...

But i drop the ball... Tsdz2 may overheat so i wont try to increase electric power more of 250W (to get closer of legal 250W at wheel) because it mean more consumption and more heat.
 
Last edited:
At least ebikestuff sells programmable controllers.

TSDZ2 Controller 36V/48V 6 PIN/8 PIN

Edit. I asked few weeks ago from PSWPower if their TSDZ2 kits have programmable controller and they didn't know.
i bought pswpower on aliexpress (sales + coupon = less of 200€ !!) and it is programmable!
dont buy battery on aliexpress...
i bought a used localy made in europe... no problem with it...
 
  • Like
Reactions: dgc
i bought pswpower on aliexpress (sales + coupon = less of 200€ !!) and it is programmable!
dont buy battery on aliexpress...
i bought a used localy made in europe... no problem with it...
Your judgement on PSW batteries - is that by any means data-driven?
I bought 3 batteries there and they are stable, worryfree and have capacity at spec. Just watch out to get brandname cells.

Sorry - just noticed: This is off topic. I withdraw my question. Let‘s keep this thread clean - this is about @mbrusa‘s great firmware.
Let‘s not clutter it with unrelated stuff
 
Hi. Has anything changed in the currently available tsdz2 kits regarding software uploading? I last programmed osf 0.8 in 2020.
I received a TSDZ2B from pswpower at the end of March, but it shipped from their USA stock. It was programmable with the mbrusa firmware and STEM link.
 
Just for info, all my MTB's with TSDZ2s and TSDZ2B mid-drives currently run on the old Configurator 4.3 along with v20.1C2-2 OSF, between them there has been a lot of mileage covered, only foible I notice on all of them when powered up the display may or may not indicate zero for the speed, but any slight movement across I guess the speed sensor they all clear back to zero. This version doe's the job I ask of it. But I will update the software when I have a spare minute.
 
Maths:
same legal power (ie 250W)
same road
same wheel
same transmission
same RPM
bosch=faster and more torque

why?
Mechanical power=Force x velocity
so if velocity is same and if you go faster it means than force is bigger...

what bigger for same power? impossible...except if...

except if mechanical power of bosch > mechanical power of TSDZ2b

so it mean that with bosch you are more close of 250W nominal at wheel...and efficiency is greater

My only explaination is architecture of motor: for a same velocity of output, inner velocity of bosch motor is greater...and efficiency grows up

Mathematiques...

But i drop the ball... Tsdz2 may overheat so i wont try to increase electric power more of 250W (to get closer of legal 250W at wheel) because it mean more consumption and more heat.
What kind of answer is that?
The topic is the efficiency of the TSDZ2 motor.
You wrote "worse than Bosch", so I thought you had information on this released by Bosch.
I'm not interested in a comparison with Bosch, I'm not interested in arguing with you, I'm only interested in seeing a graph of the efficiency of a motor used on e-bikes, whether it's Bosch or something else is fine. That's all.

If "worse than Bosch" is your assumption without concrete data, it would have been enough to write it clearly.
Instead you gave a confused answer that has nothing to do with the efficiency of the motor.
In your support you invoke mathematics, but what is missing is logic.
 
pswpower on aliexpress and it is programmable!

dont buy battery on aliexpress...
i bought a used localy made in europe... no problem with it...
I bought 2 motors, from Green eneregy and Varstorm, both are programmable.
Batteries from Ali - it depends. Most people are looking for the cheapest batteries there. And later the capacity may not match ofcourse..or bigger problems 🎆🧯.
I bought a Hailong battery with Samsung cells, and another UnitrackPower battery with Sanyo cells. Recently, I set up SOC on sw102 and the system counted same 840 watt-hours declared on the Hailong's sticker ..
 
Last edited:
mr. mbrusa, as I wrote earlier, I have Assist w/o pedal rotation: Enable
Have you enabled "Startup assist without pedaling"?
What assistance mode do you use?
Yes. Mode: Power assist.
on mine SW102 in settings Assist w/o pedal rotation: Enable (ADC offsetadjustment = 20)
and on wife's EKD01 also:
1745061064585.png


But the assistance still doesn't start immediately when I put the foot on the pedal, but when I crank the axle by 1/4 turn (approximately) only.
Is there anything else I should check?
 
While the fifth level in the SW-M58 display could be the first, so "Assist level 5 (%) should be set to "BEFORE ECO" and the % less than 100 (default 60).
If you can try and give me confirmation, it would be of great help. Thanks.
I tried you suggestion and indeed it works. Assist level 5 now set BEFORE ECO. See attached screen shot. With the SW-M58 display connected the perceived motor boost now progresses smoothly in the correct order 1,2,3,4, 5.

Thanks
 

Attachments

  • Screenshot 2025-05-03 102222.png
    Screenshot 2025-05-03 102222.png
    88.8 KB · Views: 6
  • Screenshot 2025-04-27 175612.png
    Screenshot 2025-04-27 175612.png
    120.2 KB · Views: 6
Last edited:
mr. mbrusa, as I wrote earlier, I have Assist w/o pedal rotation: Enable

Yes. Mode: Power assist.
on mine SW102 in settings Assist w/o pedal rotation: Enable (ADC offsetadjustment = 20)
and on wife's EKD01 also:
1745061064585.png


But the assistance still doesn't start immediately when I put the foot on the pedal, but when I crank the axle by 1/4 turn (approximately) only.
Is there anything else I should check?
Strange, I with "Assist Whitout pedaling" enabled, as soon as I put my foot down the motor starts.
Try posting the ini file obtained from the compilation (zipped).
 
I tried you suggestion and indeed it works. Assist level 5 now set BEFORE ECO. See attached screen shot. With the SW-M58 display connected the perceived motor boost now progresses smoothly in the correct order 1,2,3,4, 5.

Thanks
Good!
Please note that by setting the fifth BEFORE ECO, the menu levels are not 1 to 4 but 2 to 5.
While setting EKD01 as the display, the submenu codes are not E02, E03, E04 but E01, E02, E04.
The error codes are also different from VLCD5, check the recently updated manual.
And on SW-M58 they may be different from EKD01.
Unfortunately there is not a single display that respects 100% the Tonsheng protocol.
 
Last edited:
since yesterday the speed on the display gives random numbers while driving for about ten minutes. for example im driving about 20km and hour and all of a sudden the display shoots from 20km to 48km and the 70km and then back to 20 and so on. Anybody an idea what to do?
 
since yesterday the speed on the display gives random numbers while driving for about ten minutes. for example im driving about 20km and hour and all of a sudden the display shoots from 20km to 48km and the 70km and then back to 20 and so on. Anybody an idea what to do?
Adjust speedsensor to magnet distance. There is an optimum (not = minimum) distance. Search the tsdz2 threads for actual numbers. I think it was around 5mm?
 
New version update for stock displays (with configurator).
v20.1C.6-update-1, this is the list of changes:
1 - Added TSDZ8 to the configurator (for mstrens version).
2 - Fixed motor phase current bug.
3 - Added EKD01 display.
4 - Choice of the fifth level, for displays that support it, before ECO or after TURBO.
5 - Fixed issues with parameter setting and data display.
7 - Improved automatic and manual SOC reset.
6 - Improved torque sensor calibration procedure.
9 - Added delay to E02 error (torque sensor).

The manual SOC reset and torque sensor calibration procedure are much simplified.
For those who want to try, it is on GitHub as a master version:
https://github.com/emmebrusa/TSDZ2-Smart-EBike-1/archive/refs/heads/master.zip
 
since yesterday the speed on the display gives random numbers while driving for about ten minutes. for example im driving about 20km and hour and all of a sudden the display shoots from 20km to 48km and the 70km and then back to 20 and so on. Anybody an idea what to do?
I've also had this twice since updating to OSF v20.1 C.6 on my handcycle in the last 300km
My VLCD5 display suddenly starts cycling through different speeds even when I'm stationary. The motor still seems to be working fine with the previously set assist level. The speedsensor has not moved and is the same position as it has been for 2,000km so I don't think it is a problem with the speed sensor magnet, it does seem to have been introduced in the latest OSF release.
If I turn the motor off and on again then everything is back to normal.
 
only thing changed is the osf. the speedsensor was working fine
It's not working fine. You're reading too high a speed.

When I first installed OSF, the speedometer did not work at all, so I want back to OEM firmware and saw it was working, This was several years ago, so I can't recall which firmware did it, but I started to change the sensor-magnet spacing. At one point the sensor-magnet spacing was too close and the controller read double the speed. I had mounted the sensor on a bracket so it was 1 mm away from the spoke magnet, because that's how the speed sensors worked on my hub motors.

Humor us and try moving the magnet farther away,
 
hello, everyone, I'm a new user of TSDZ2B, and try to update to OSF v20.1 C.6.
but I met a connecting problem.
As the uploaded images, my speed sensor had two cables,
I don't know which one should I connect to ST-link dongle...

Did anyone have the similar setting of two speed sensor cables?
And which one is suittable for flashing OSF?

Many thanks for your help.
IMG_20250504_230309.jpgIMG_20250504_230017.jpg
 
There is only one speed sensor cable coming from the controller, the double (Y) connector is on the mating speed sensor cable so you can have lights on your bike that's why one connector has only two pins for the light supply. The programmer (ST Link) therefore plugs into the 5 pin connector connected directly to the controller.
 

Attachments

  • Screenshot 2025-05-04 at 18-08-05 TSDZ2 tsdz2b Speed Sensor with Y Splitter for Headlight and ...png
    Screenshot 2025-05-04 at 18-08-05 TSDZ2 tsdz2b Speed Sensor with Y Splitter for Headlight and ...png
    82.3 KB · Views: 11
Back
Top