• 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!

TSDZ8 OSF (open source firmware)

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
Thanks a lot, very helpful, I was not under street mode, but will try the other settings
 
In sw102 i dont see in menu throttle settings for min and max.
I see min and max for throttle in Technical menu.
I just checked the code and I noticed that currently OSF does not work as expected for 860C/SW102 about throttle limits (min and max).
In VLCD5 version, javaconfigurator allows to edit the min and max value for ADC throttle.
It seems that in 860C version (even for TSDZ2 motor) the values can't be edited on the display (and the min and max values for temperature are not reused for throttle).
I just asked mbrusa to look at this issue. I wait his reply to see how to change TSDZ8 firmware.
 
What should I change in the firmware to make the throttle more instant and punchy? Id like to be able to wheelie but the throttle roll on is so slow it's annoying.
 
Is it possible to display motor Watts & human Watts using the OSF?
That would be a nice addition.
 
I change this value in temperature menu but nothing change with throotle.
 

Attachments

  • 20250821_165700.jpg
    20250821_165700.jpg
    1.5 MB · Views: 16
Last edited:
I made a new version for 860C (SW102). It is version 00.01.33 with spider 3 logic.
It contains 2 changes:
- it allows to configure the limits of your throttle with the display. In menu motor temperature, there are 2 fields : min and max. If you use throttle, you have to fill those values. To know the values to be filled, you have to look at the menu "technical" for the ADC throttle values. For the min, it is safe to increase a little (e.g. +10) the value that you read when throttle is not pressed.
- it reduces the delay in (re)activating the motor. This is just a copy of what mbrusa made for TSDZ2 (see TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C-850C-SW102.)

The first change is not required for VLCD5 version because javaconfigurator already allows to set up throttle limits.
The second change could be usefull for VLCD5 version too. I will made it when it is confirmed that it helps.
 
Hello, does the bug fix for the throttle also apply to the Katana logic?
Regards
The change in the code is valid for the different logics.
Still currently I made only a compiled version for spider 3 logic.
I would be easy to make a compiled version for Katana logic. It is just a parameter to change in main.h and to run a compilation.
I can do it if you prefer one katana logic (which one?) to spider 3
 
Last edited:
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

- Calibrated must be activated.
- Pedal ADC offset = 190
- Pedal ADC max should be about 420 (you have to add the 240)
- Pedal torque ADC step should be around 60 (changing this value has an impact on the assistance you get in power and hybrid modes because OSF uses it first to calculate the human power and then -in a second step- uses the human power to calculate the requested motor power taking care of the assistance value set in javaconfigurator per level). So to keep the same assistance, decrease the assist value if you increase Pedal torque ADC step. At this stage, I do not have the response curve of torque sensor from different motor and so I am not sure that 60 is the right value for Pedal torque ADC step but it does not really matter as long as you do not pay attention the exact value of human power.
- Pedal torque ADC range adj = 0 gives a linear relation between torque and assistance. You can try different values if you want (in range -20/+20)

Other pedal torque parameters are normally discarded
 
The change in the code is valid for the different logics.
Still currently I made only a compiled version for spider 3 logic.
I would be easy to make a compiled version for Katana logic. It is just a parameter to change in main.h and to run a compilation.
I can do it if you prefer one katana logic (which one?) to spider 3
I'm using OSF_TSDZ8_860C_KATANA_V00_01_32.hex

I can't compile.
Regards
 
Hello everyone.

I just started my adventure with OSF. I have installed Katana 33 and also tried the old Spider 25. I have a VLCD5 and after flashing OSF, the front brake sensor doesn’t cut off the engine while pedaling. It only cuts the engine when I use the throttle. The rear brake sensor cuts off the engine both while pedaling and when using the throttle. On the stock firmware, both brake sensors cut off the engine while pedaling or using the throttle.
Where should I look to resolve my problem?
 
Hello everyone.

I just started my adventure with OSF. I have installed Katana 33 and also tried the old Spider 25. I have a VLCD5 and after flashing OSF, the front brake sensor doesn’t cut off the engine while pedaling. It only cuts the engine when I use the throttle. The rear brake sensor cuts off the engine both while pedaling and when using the throttle. On the stock firmware, both brake sensors cut off the engine while pedaling or using the throttle.
Where should I look to resolve my problem?
VLCD5 has 3 connectors. Brakes must be connected on the left and right sides. Throttle must be connected to the middle connector.
Both brakes sensor are just connected toegether and there is only one pin in the controller that detect when one brake is activated.
So if the brake sensors are connected on the good connector I can't explain your issue with OSF
 
If you unplug the brakes sensors and switch them over on the back of the VLCD5 you can test to see if it's the sensor or the socket on the display playing up.
 
Everything is connected like it should (on stock it wokrs fine). I have external sensors with magnetic on my hydraulic brakes. If it wasn't works on throtle also it would be something wrong with sensor but on this situation i'm confused. Maybe tommorow I will check and mount in different way brake sensor and we will see if that help.
 
Okay, I installed the Katana 33 version and everything runs smoothly. The engine is powerful at level 5. It's already sufficient at levels 2 and 3. I have a question about the throttle setting. In the technical menu, I once saw min throttle at 11 and max throttle at 167, but now I see min 0 and max 255. I have the temperature mm min set to 40 and max to 167 in the menu. Should I increase it to 255? In the menu where I set ADC min and max calibration, should I set it to enable or disable?
 
Okay, I installed the Katana 33 version and everything runs smoothly. The engine is powerful at level 5. It's already sufficient at levels 2 and 3. I have a question about the throttle setting. In the technical menu, I once saw min throttle at 11 and max throttle at 167, but now I see min 0 and max 255. I have the temperature mm min set to 40 and max to 167 in the menu. Should I increase it to 255? In the menu where I set ADC min and max calibration, should I set it to enable or disable?
In the technical menu, you have 2 fields for throttle.
Here an extract of the manual
-ADC throttle sensor = The current value of the input signal from the throttle, from 0 to 255.
-Throttle sensor = The current value of the input signal from the throttle, without offset, from 0 to 255.

So the first one (ADC throttle sensor) is the raw value measured by OSF. It is this this field that you must use to calibrate your throttle in the "motor temperature" (with the min and max limit values).
Those values (min and max) are used to map the throttle in a range 0/255.
When throttle is released, "ADC throtle sensor" should show the min value and so the "Throttle sensor" should show 0
When throttle is at max, "ADC throtle sensor" should show the max value and so the "Throttle sensor" should show 255

In the menu "motor temperature" you must set "feature" to "Throttle,
 
Yes you can set this on sw102 display. I see Human Power and Motor Power :)
Nice. What about the EKD01 display?
Just installed my Z8 on my hardtail and I am very impressed. One negative is the slight delay when you start.
Will the OSF address this delay? Will you be able to decrease this delay or is there some kind of averaging
going on that prevents that?
 
Nice. What about the EKD01 display?
Just installed my Z8 on my hardtail and I am very impressed. One negative is the slight delay when you start.
Will the OSF address this delay? Will you be able to decrease this delay or is there some kind of averaging
going on that prevents that?
EKD01 is problematic for OSF. I think you should change it to sw102 or 860c. Its best solution.
 
Back
Top