TSDZ8 OSF (open source firmware)

Did you configure the ADC throttle min and max parameters based on you throttle?
Yes. Without ADC pressure, the min is 229-230, I set it to 240 and maxed it at 450. I have Calibrated set to disabled. In sw102 i dont have set ADC throttle max and min. i think i must generate .hex with my parameters i remember my value is 0 to 250
 
Yes. Without ADC pressure, the min is 229-230, I set it to 240 and maxed it at 450. I have Calibrated set to disabled.
I presume that your values are for torque sensor.
My comment was about your throttle issue.
For throttle, you have also to define the min and max values The values depends on the throttle model you have.
 
In sw102 i dont see in menu throttle settings for min and max.
I see min and max for throttle in Technical menu.
 
In sw102 i dont see in menu throttle settings for min and max.
I see min and max for throttle in Technical menu.
I do not have a SW102 so I can't say how to do it.
In technical menu can you edit the value for min and max for throttle?
 
In technical menu i can only read actual values from throttle, torque etc...
in 860C there is a menu motor temperature.
In this menu you can say if OSF has to measure throttle or temperature. In fact OSF has been developped for TSDZ2 that can only measure or temperature or throttle.
In this menu, select trottle.
There are 2 other fields : min and max. You can edit them.
To know the values, look at technical data for throttle and note the min and max values.
For min, it is safe to encode the min value plus some margin (to avoid that the motor starts unexpectedly)
 
in 860C there is a menu motor temperature.
In this menu you can say if OSF has to measure throttle or temperature. In fact OSF has been developped for TSDZ2 that can only measure or temperature or throttle.
In this menu, select trottle.
There are 2 other fields : min and max. You can edit them.
To know the values, look at technical data for throttle and note the min and max values.
For min, it is safe to encode the min value plus some margin (to avoid that the motor starts unexpectedly)
I found this in my sw102. This value i read in technical menu 0 to 255 but set min 40 and max 250. Test it later, after work...
 

Attachments

  • 20250814_082107.jpg
    20250814_082107.jpg
    1.4 MB · Views: 30
I'm just starting to digest all the info here. I have an EKD01 and TSDz8

My goal is to be able to have a "street mode" where i can limit the throttle to 6kmh and the max speed to 15kmh.

From what i understand i would need to replace my ekd01 and purchase an 860c display with OSF installed , or is it likely to be possible on the ekd01 ?
 
I'm just starting to digest all the info here. I have an EKD01 and TSDz8

My goal is to be able to have a "street mode" where i can limit the throttle to 6kmh and the max speed to 15kmh.

From what i understand i would need to replace my ekd01 and purchase an 860c display with OSF installed , or is it likely to be possible on the ekd01 ?
I do not think you need to replace ekd01.
Normally you have the same possibilities with all displays. The difference is that with ekd01 (or vlcd5...) you have to use the javaconfigurator to setup your configuration and that you have to flash the config file that is created.
 
I am waiting in the mail for the EDK01 and the Z8...

A lot of people are saying that in mode 1 and 2 the motor does not help a lot.
The motor and the battery adds around 9kg to the total weight of the bike and on top of that,
if you try to pedal with the motor off, you will also have a small drag from the motor.

So, if mode 1 or 2 makes the bike feel when pedaling like it was before the conversion,
then I would call that a feature, not a problem.

Does it work like that?
 
I am waiting in the mail for the EDK01 and the Z8...

A lot of people are saying that in mode 1 and 2 the motor does not help a lot.
The motor and the battery adds around 9kg to the total weight of the bike and on top of that,
if you try to pedal with the motor off, you will also have a small drag from the motor.

So, if mode 1 or 2 makes the bike feel when pedaling like it was before the conversion,
then I would call that a feature, not a problem.

Does it work like that?
It depends on the firmware version that you have.
Some motors have indeed a version where mode 1 and 2 does not help a lot.
If you want more, you can upload another firmware. There is a version from august 2024 that you can find e.g. on facebook.
You can also use OSF where you can define yourself the levels of assistance.
 
  • Like
Reactions: hgg
Is there any table with all the stock Z8 firmware settings and the ones that we can change with the OSF? Thanks.
 
You must read ADC torque min and max and set in your display. Next is your battery, motor, speed parameters and other setings. I looking to pdf on github for OSF.
 
  • Like
Reactions: hgg
Hello, I would like to ask for your help with something. Could you share the original stock hex file for TSDZ8? I think I messed up some settings and need to revert to stock.
 
As there is some more interest for SPIDER logic but that it seems me very stange that you have to decrease the ADC offset, I made a new variant. It is in version 00.01.32 with SPIDER 3 in the name (OSF_TSDZ8_860C_SPIDER_3_V00_01.32.hex).
In all SPIDER versions there is a buffer that contains the torque value over one full rotation.
In variant 3, I avoid to reset the buffer when torque sensor is lower than ADC offset (= when there is normally no pressure on the pedal). When the buffer is not yet full (not yet a full rotation of the pedal), I also use the average of the known torque value instead of using some filtering.

This variant is currently available for 860C OSF.
Hi, I just wanted to confirm that I tested the OSF_TSDZ8_860C_SPIDER_3_V00_01.32 version and it works very well with an ADC offset of 210-220. In my opinion, this hex version is the best so far.
For informational purposes only (also confirmed by other friends with TSDZ8 OSF), on an 860C with 24A and a maximum power setting of 1500W, it's difficult to achieve a motor power approaching or exceeding 1150-1200W (even with 54V battery, which theoretically should reach 24A x 54V = 1300W).
 
Hi, I just wanted to confirm that I tested the OSF_TSDZ8_860C_SPIDER_3_V00_01.32 version and it works very well with an ADC offset of 210-220. In my opinion, this hex version is the best so far.
For informational purposes only (also confirmed by other friends with TSDZ8 OSF), on an 860C with 24A and a maximum power setting of 1500W, it's difficult to achieve a motor power approaching or exceeding 1150-1200W (even with 54V battery, which theoretically should reach 24A x 54V = 1300W).
Thanks for the feed back.
 
Hi, I just wanted to confirm that I tested the OSF_TSDZ8_860C_SPIDER_3_V00_01.32 version and it works very well with an ADC offset of 210-220. In my opinion, this hex version is the best so far.
For informational purposes only (also confirmed by other friends with TSDZ8 OSF), on an 860C with 24A and a maximum power setting of 1500W, it's difficult to achieve a motor power approaching or exceeding 1150-1200W (even with 54V battery, which theoretically should reach 24A x 54V = 1300W).
So in this version, I don’t need to do a no-load ADC torque sensor reading, just set the ADC offset to 210–220?
 
So in this version, I don’t need to do a no-load ADC torque sensor reading, just set the ADC offset to 210–220?
NO.
Even with this version you need to set up the adc torque sensor.
210/220 is the value for his motor but it can be different for your.
With 860C, it is very easy to read the values and so to edit them.
 
NO.
Even with this version you need to set up the adc torque sensor.
210/220 is the value for his motor but it can be different for your.
With 860C, it is very easy to read the values and so to edit them.
Ok, I understand. At the moment my motor shows an ADC torque sensor value of 249 without load. About 1000 km ago it was 238, so it changes over time. If this version also relies on the no-load test, then I will set it to 249 + 10 = 259.
 
Ok, I understand. At the moment my motor shows an ADC torque sensor value of 249 without load. About 1000 km ago it was 238, so it changes over time. If this version also relies on the no-load test, then I will set it to 249 + 10 = 259.
In my motor value rices day after day. Let's see when ricing will stop. It started from 194 and now value is 218.
 
Sorry i'm french and use google traduction

Hello everyone,
I have a TSDZ8 with VLCD5. The ECO mode is very low by default, and the 2-3-4 level is quite good. However, the whole thing lacks a bit of responsiveness when you press the pedal compared to mountain bike motors (Bosch or others). It's less responsive!!!
I tested the Mstrens OSF firmware with JLink, with the Katana versions (I've tried several), and I've created at least 20 or 30 different configurations with the Mstrens and Mbrusa Java configurators.
First of all, with the official firmware, my TE value is 87-88, and at maximum pedal pressure, it's around 220. TE1 remains at 0, which is normal.
With the OSF firmware, TE is at 175 without pedal pressure, and the maximum is measurable at TE1, rising to 230-240.
To avoid error 01, you need to set the "ADC torque offset to 180-190."
However, despite all the settings and mode changes (Power, Torque, Hybrid, etc.), I find that the engine is never as powerful and responsive... I think it barely reaches 50% of its possible power.
Have you tested all of this?
 
By the way, I don't really understand how the "torque sensor settings" menu should be configured because I'm using the translation, which remains unclear.

I understood that once I've recorded the TE (175 for me) and TE1 (230 max) values, I have to enter the values in the boxes.

I activate
v Torque sensor adv
v Calibrated
v Estimated (which gives 24)
Pedal ADC offset 190
Pedal ADC max 420? Should I enter 240, or did I read that I had to add the 240 to the 190, which is about 420? (Recommended between 400 and 450, right?)
Pedal stem origin 34
Offset adjustment origin 0
Range 0
Angle 0
 

Attachments

  • Capture d'écran 2025-08-20 091433.png
    Capture d'écran 2025-08-20 091433.png
    107.9 KB · Views: 27
  • Capture d'écran 2025-08-20 091845.png
    Capture d'écran 2025-08-20 091845.png
    96.4 KB · Views: 24
  • Capture d'écran 2025-08-20 091859.png
    Capture d'écran 2025-08-20 091859.png
    101.5 KB · Views: 24
So made around 50km on OSF_TSDZ8_860C_SPIDER_3_V00_01.32 after stock firmware (the one that has powerful 1st assistance mode).

My observations:
1. It's nice that now I can have less assistance than it was on the stock firmware, where minimum sometimes was too much.
2. On the stock firmware I could use throttle in any situation and it was working anytime (boosting help when I was already pedaling etc), here there are situations that it does nothing. For example I'm going around 30km/h, pedaling, and would like to get some boost, but pressing on throttle does nothing in this situation. Not a big deal, but would be nice to have it working in any conditions. Unconditional is set as throttle mode.
3. I was mainly using power assist mode and noticed this behaviour (not sure if it depends on mode or not, but couldn't get better impressions using other modes shortly). So:
3.1. Let's say I stopped pedaling when riding and then in a few seconds I continue. Motor gives more power in the first let's say 1-2 seconds then later, it feels like some kind of startup boost, but I have startup boost disabled. I would prefer having smoother without that boost.
3.2. Seems like motor "wants" me to reach some speed (25 km/h) and some normal cadence (probably 50-60) and keep me riding on that. Because I see that it helps more when cadence is low and it helps less when cadence is high and speed is 28 km/h+. That is how I see it: 3rd assist mode, going slowly pressing on pedals gently battery current can be around 10A so it feels like a very good help. When going between 15-28km/h it feels normal. When it's above 28km/h I feel that pressing more on the pedals doesn't help to go faster (get more help from the motor), battery current can stay around 10A, and what is more interesting when keeping the same pace (speed + same pedaling force) and changing power assist mode to higher, even going from 3rd to 9 doesn't give more help from the motor, it can stay on 10A (500W). That behaviour feels a bit strange, I saw it reaching 20A+ under some circumstances. But in this scenario (going 30km/h+ and pressing more on pedals) it doesn't want to give more power.

I can't be sure that everything what I wrote above is 100% correct, but at least that's the feeling I got so far. Attached my torque sensor config, if you think there is something that would be nice to try / experiment with, please let me know.

And many thanks to the people who work on this great project 🙏 It's so nice to be able to customize basically everything to get maximum from the motor
 

Attachments

  • 1755720687106.png
    1755720687106.png
    399.2 KB · Views: 23
I read your post and you've got few problems:
Ad2 in menu temperature should be also "throttle" mode instead temperature amd throttle should working "unconditional"

Ad3.1 Try to change Decceleration in menu Motor but first change also in menu Torque "Coast brake adc" (its Foc) to c.a 24-25

AD.3.2 Your main problem is that you have probably Street mode enabled and it limits you to 500W and 25km/h, and throttle is off, but by pressing "minus" and "power" the "Assist" sign on the main screen will change color from white to red and then you have full power and speed (I'm sending photos of the settings you should have for it to work), in the display menu set the shortkey to "yes"


You can also experiment with the torque adc range, it's in the range of 0-40, but 10-30 works best for me, the lower the value, the more "sensitive" the torque and the less force you need to put from your feet
 

Attachments

  • 20250820_230929.jpg
    20250820_230929.jpg
    1.7 MB · Views: 22
  • 20250820_230917.jpg
    20250820_230917.jpg
    2.6 MB · Views: 21
  • 20250820_230902.jpg
    20250820_230902.jpg
    2.3 MB · Views: 18
  • 20250820_230855.jpg
    20250820_230855.jpg
    2.8 MB · Views: 20
  • 20250820_230950.jpg
    20250820_230950.jpg
    2.2 MB · Views: 21
Last edited:
Back
Top