Search found 149 matches

by mbrusa
Mar 12 2020 11:54am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Sorry the previous file is wrong, this is the right one.
motor.c-TSDZ2-mb.20beta1.A-fix_overrun.zip
(8.07 KiB) Downloaded 58 times
by mbrusa
Mar 12 2020 10:28am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 173
Views: 20555

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

I have not changed the value of the PWM deceleration ramp, I have only reduced the time between stopping the pedals and starting the ramp. The PWM_DUTY_CYCLE_RAMP_DOWN_INVERSE_STEP_MIN value remained 8, I have never tried to decrease it. It is the same value used with the activation of the brakes or...
by mbrusa
Mar 12 2020 10:14am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

motor.c file for open source TSDZ2 mb.20beta1.A for original displays VLCD5 VLCD6 XH18, with overrun modification. I also have the new full version ready, but before releasing it I have to do more tests and update the manuals. motor.c-TSDZ2-mb.20beta1.A-fix_overrun.zip It must be copied to the src\c...
by mbrusa
Mar 12 2020 9:58am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 173
Views: 20555

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

Casainho, here is the description and the source code, I hope it is also useful for the main project I hope that after the automatic translation it is still understandable. The code to calculate and activate the PWM deceleration ramp is in the ebike_app.c file, this introduces a significant delay wh...
by mbrusa
Mar 12 2020 5:17am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 173
Views: 20555

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

Of course I will also put the source code, I am preparing the description, I seem to have been clear.
by mbrusa
Mar 12 2020 4:50am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 173
Views: 20555

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

I think it's time to try the "overrun" modification.
I start from version 20 beta 1 for LCD3, by the weekend I will release the code and the description of the fix, I am preparing it.
Obviously there will also be the version for original displays.
by mbrusa
Mar 10 2020 2:28am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Ciao chri27.5 I can imagine that you don't want to release a complete new version of the firmware that isn't tested, but the question was if it is possible to publish the "overrun code" only from motor.c. On Jobike I read this code could be used in the KT-lcd3 version too. In that case it...
by mbrusa
Mar 08 2020 2:35pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 6444
Views: 471660

Re: TSDZ2 mid drive and 850C and SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

casainho wrote:
Mar 07 2020 12:48pm
hefest wrote:
Mar 07 2020 11:08am
Another video of improved overrun.

https://youtu.be/RIa_0ZvcBQE
Where are the technical details and or source code of that improvement?
As soon as I'm done, I'll post the code and description of the change.
Regards
by mbrusa
Mar 07 2020 11:18am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Is there any way to be able to read the parameters when the lights are ON? At least with VLCD6 It seems that when starting from the lights ON state the first long press is ignored considering the parameter-displaying-sequence and only turns the lights off, and I have not figured out any way to chec...
by mbrusa
Feb 29 2020 1:28am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

When I double or single click the light button to go through the programming it works but also each time it turns the display light on or off. I understand, but it cannot be done differently. The control of the lights button is in the display software, it cannot be changed, it always turns the ligh...
by mbrusa
Feb 26 2020 12:23pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

OK, I've been playing with it a little more and I think I understand it? I turn the display on and then I go to level 2 Tour and push the light switch twice then toggle through until it says E02 and push it one more time E02 flashes and that puts it in Power Assist for all 4 levels is this correct?...
by mbrusa
Feb 05 2020 1:17am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Stancecoke, there is a problem in the config.h file
#define ENABLE_RB_XH18 1
also reading the setting file, the motor type is always 48V
I will try to install Netbeans IDE
Regards
by mbrusa
Feb 04 2020 2:18am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Veramente sono 111? Non li avevo contati… La scelta di quali parametri mettere in main.h e quali in config.h l’ho fatta e il risultato è questo! Una GUI è comoda ma la caratteristica più importante del firmware open source è mantenere la possibilità di personalizzazione, può essere anche ibrida come...
by mbrusa
Jan 05 2020 1:02am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Excellent, ready to use!

Regards
by mbrusa
Dec 27 2019 2:53am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Hi famichiki, percentage and voltage to be precise must be calibrated. Thanks for your reply. Is that procedure only for the battery percentage display function? Does the voltage display also need calibrating? Or is the raw voltage value always displayed? Actually I have a more serious concern. I s...
by mbrusa
Dec 27 2019 1:47am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Important! The display speed must be set in km / h That is for ALL measurement values, like torque too? Otherwise can these measurements be recalculated if the setting was mph instead of kph? Yes for all values. It works only with km/h set, with mph the values go out of range for the display, the s...
by mbrusa
Dec 26 2019 10:58am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Important! The display speed must be set in km / h
by mbrusa
Dec 26 2019 10:11am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Not sure how accurate the other readings of Mbrusa's firmware are, but the battery voltage certainly isn't right. I have a partially charged 52V battery and it's showing 59.2V but my bluetooth BMS shows the correct reading at 56.1V with Google Translate: Hi famichiki, percentage and voltage to be p...
by mbrusa
Dec 15 2019 3:50pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

My intention was not to make another fork, but to propose a change to display useful data on the original displays, so that marcoq can add it to its next version.
I don't know GitHub, I can learn ...
Sorry for automatic translation
Regards
by mbrusa
Dec 14 2019 8:01am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Yes, it should work.

regards
by mbrusa
Dec 11 2019 7:20am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Ok, it's the same!

regards
by mbrusa
Dec 11 2019 3:24am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1525
Views: 163138

Re: Tsdz2 firmware open source adapted to vlcd5

Hello is my first post here.
I saw the change.
No good, fix level 3 but emtb doesn't work anymore.
This is the modified code
fix_level_3.jpg
fix_level_3.jpg (52.03 KiB) Viewed 2384 times
regards