Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Electric Motors and Controllers
zappan   10 W

10 W
Posts: 68
Joined: Sep 27 2018 3:00am
Location: Sicilia

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by zappan » Feb 03 2019 12:12pm

Hello grecoa, I suggest you adopt these values ​​in the configuration:
eco 175
tour 250
sport 375
turbo 500
the problems you've encountered should disappear

User avatar
ashrambo   1 W

1 W
Posts: 55
Joined: Apr 30 2018 4:31am
Location: Madrid
Contact:

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by ashrambo » Feb 03 2019 1:58pm

zappan wrote:
Feb 03 2019 12:12pm
Hello grecoa, I suggest you adopt these values ​​in the configuration:
eco 175
tour 250
sport 375
turbo 500
the problems you've encountered should disappear
It´s a lot of power to a mountain bike...I use this gear: 34-11/36 and I use 30/70/140/300. I think more power must be only to road bike...
TREK REMEDY MOTOR TSDZ2

grecoa   100 mW

100 mW
Posts: 45
Joined: Nov 18 2018 4:51am
Location: UK S.Yorks

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by grecoa » Feb 04 2019 3:53am

ashrambo wrote:
Feb 03 2019 1:58pm
zappan wrote:
Feb 03 2019 12:12pm
Hello grecoa, I suggest you adopt these values ​​in the configuration:
eco 175
tour 250
sport 375
turbo 500
the problems you've encountered should disappear
It´s a lot of power to a mountain bike...I use this gear: 34-11/36 and I use 30/70/140/300. I think more power must be only to road bike...
I am using the values from the original information from marcoq, they are:
4013 - 8 //0.8 - 16% = hex 08
4014 - 16 //1.6 - 32% = hex 10
4015 - 30 // 3.0 - 60% = hex 1E
4016 - 50 // 5.0 - 100% = hex 32

Can you explain how your values compare to these?
Thank you.

Minatauro   10 mW

10 mW
Posts: 23
Joined: Dec 22 2018 5:59am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by Minatauro » Feb 04 2019 6:52am

Hi,

I have recently flashed my 48v motor directly with Marcoq’s Java Interface. The only parameters I changed from the default is
Motor = 48v
Battery cells = 13 (I have 13s4p)
Max battery power = 646 watt
Battery low voltage cut off = 39.0

I did not change the wheel diameter even though I have 700c. Will entering the VLCD5 hidden menu still change the wheel diameter or is it set at the default 2083mm in the interface?

The things I noticed are it feels faster and more responsive and continually pushes through each of the gears. When stopped, if I rest my foot on the pedal any slight movement will cause the motor to engage, its very sensitive.
I have the issue of not being able to wheel the bike backwards unless I turn the motor off and put the bike in the highest gear.

How is the Offroad mode turned off. When I pressed the lights button it did not set the 25kph / 250w limits, is this the correct way to turn it on? Or does the VLCD5 menu override the settings of the motor if the limit is turned off in the hidden menu?

Is there any other parameters that I need to change for a 48v motor?

Overall I am much happier with the performance now over the original firmware. Well done to all who assisted in developing this.

zappan   10 W

10 W
Posts: 68
Joined: Sep 27 2018 3:00am
Location: Sicilia

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by zappan » Feb 04 2019 11:50am

grecoa wrote:
Feb 04 2019 3:53am
ashrambo wrote:
Feb 03 2019 1:58pm
zappan wrote:
Feb 03 2019 12:12pm
Hello grecoa, I suggest you adopt these values ​​in the configuration:
eco 175
tour 250
sport 375
turbo 500
the problems you've encountered should disappear
It´s a lot of power to a mountain bike...I use this gear: 34-11/36 and I use 30/70/140/300. I think more power must be only to road bike...
I am using the values from the original information from marcoq, they are:
4013 - 8 //0.8 - 16% = hex 08
4014 - 16 //1.6 - 32% = hex 10
4015 - 30 // 3.0 - 60% = hex 1E
4016 - 50 // 5.0 - 100% = hex 32

Can you explain how your values compare to these?
Thank you.
hello, because you do not use directly the java configurator of marcoq ver 1.4 he programs directly, you just have to pay attention to the extra 0 that he creates in the .ini file, it was mentioned in the post.

zappan   10 W

10 W
Posts: 68
Joined: Sep 27 2018 3:00am
Location: Sicilia

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by zappan » Feb 04 2019 11:59am

Minatauro wrote:
Feb 04 2019 6:52am
Hi,

I have recently flashed my 48v motor directly with Marcoq’s Java Interface. The only parameters I changed from the default is
Motor = 48v
Battery cells = 13 (I have 13s4p)
Max battery power = 646 watt
Battery low voltage cut off = 39.0

- OK

I did not change the wheel diameter even though I have 700c. Will entering the VLCD5 hidden menu still change the wheel diameter or is it set at the default 2083mm in the interface?

- NO

The things I noticed are it feels faster and more responsive and continually pushes through each of the gears. When stopped, if I rest my foot on the pedal any slight movement will cause the motor to engage, its very sensitive.
I have the issue of not being able to wheel the bike backwards unless I turn the motor off and put the bike in the highest gear.

- It is sensitive

How is the Offroad mode turned off. When I pressed the lights button it did not set the 25kph / 250w limits, is this the correct way to turn it on? Or does the VLCD5 menu override the settings of the motor if the limit is turned off in the hidden menu?

- The VLCD5 menu takes precedence over the motor settings

Is there any other parameters that I need to change for a 48v motor?

- NO

Overall I am much happier with the performance now over the original firmware. Well done to all who assisted in developing this.

zappan   10 W

10 W
Posts: 68
Joined: Sep 27 2018 3:00am
Location: Sicilia

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by zappan » Feb 04 2019 12:04pm

ashrambo wrote:
Feb 03 2019 1:58pm
zappan wrote:
Feb 03 2019 12:12pm
Hello grecoa, I suggest you adopt these values ​​in the configuration:
eco 175
tour 250
sport 375
turbo 500
the problems you've encountered should disappear
It´s a lot of power to a mountain bike...I use this gear: 34-11/36 and I use 30/70/140/300. I think more power must be only to road bike...
Actually for off road are really high, but in my laps I did not have the problems that said Grecoa, on the other bike with LCD3 use less performing values, maybe you have to take a middle ground.

grecoa   100 mW

100 mW
Posts: 45
Joined: Nov 18 2018 4:51am
Location: UK S.Yorks

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by grecoa » Feb 04 2019 2:36pm

Minatauro wrote:
Feb 04 2019 6:52am
Hi,

I have recently flashed my 48v motor directly with Marcoq’s Java Interface. The only parameters I changed from the default is
Motor = 48v
Battery cells = 13 (I have 13s4p)
Max battery power = 646 watt
Battery low voltage cut off = 39.0

I did not change the wheel diameter even though I have 700c. Will entering the VLCD5 hidden menu still change the wheel diameter or is it set at the default 2083mm in the interface?

The things I noticed are it feels faster and more responsive and continually pushes through each of the gears. When stopped, if I rest my foot on the pedal any slight movement will cause the motor to engage, its very sensitive.
I have the issue of not being able to wheel the bike backwards unless I turn the motor off and put the bike in the highest gear.

How is the Offroad mode turned off. When I pressed the lights button it did not set the 25kph / 250w limits, is this the correct way to turn it on? Or does the VLCD5 menu override the settings of the motor if the limit is turned off in the hidden menu?

Is there any other parameters that I need to change for a 48v motor?

Overall I am much happier with the performance now over the original firmware. Well done to all who assisted in developing this.
Hi Minatauro
I am not sure what the wheel diameter setting in the code does, I do not think that it changes the spped shown on VLCD5. I have set my 29 inch wheel diameter to 2170mm in the Data Memory code and set VLCD5 to 29 inch wheel but the speed that is shown is high. I have to set VLCD5 to smaller wheel size to get correct speed on speedometer. So I think that changing wheel size on VLCD5 will change the speed shown on the speedometer.
After I changed the wheel size on VLCD5 I checked the Data Memory line 4007 & 4008 but they were not changed.
I think that lines 4011 & 4012 may need to be altered as they may be currently set for VLCD6? But I do not understand how they are used.

grecoa   100 mW

100 mW
Posts: 45
Joined: Nov 18 2018 4:51am
Location: UK S.Yorks

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by grecoa » Feb 04 2019 2:42pm

zappan wrote:
Feb 04 2019 11:50am
grecoa wrote:
Feb 04 2019 3:53am
ashrambo wrote:
Feb 03 2019 1:58pm
zappan wrote:
Feb 03 2019 12:12pm
Hello grecoa, I suggest you adopt these values ​​in the configuration:
eco 175
tour 250
sport 375
turbo 500
the problems you've encountered should disappear
It´s a lot of power to a mountain bike...I use this gear: 34-11/36 and I use 30/70/140/300. I think more power must be only to road bike...
I am using the values from the original information from marcoq, they are:
4013 - 8 //0.8 - 16% = hex 08
4014 - 16 //1.6 - 32% = hex 10
4015 - 30 // 3.0 - 60% = hex 1E
4016 - 50 // 5.0 - 100% = hex 32

Can you explain how your values compare to these?
Thank you.
hello, because you do not use directly the java configurator of marcoq ver 1.4 he programs directly, you just have to pay attention to the extra 0 that he creates in the .ini file, it was mentioned in the post.
Zappan
Can you show me a link to the marcoq post that you talk about please?

zappan   10 W

10 W
Posts: 68
Joined: Sep 27 2018 3:00am
Location: Sicilia

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by zappan » Feb 04 2019 5:31pm

Zappan
Can you show me a link to the marcoq post that you talk about please?

https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
http://www.jobike.it/forum/topic.asp?TO ... ichpage=11

grecoa   100 mW

100 mW
Posts: 45
Joined: Nov 18 2018 4:51am
Location: UK S.Yorks

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by grecoa » Feb 05 2019 4:32am

zappan wrote:
Feb 04 2019 5:31pm
Zappan
Can you show me a link to the marcoq post that you talk about please?

https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
http://www.jobike.it/forum/topic.asp?TO ... ichpage=11
:thumb:

User avatar
ashrambo   1 W

1 W
Posts: 55
Joined: Apr 30 2018 4:31am
Location: Madrid
Contact:

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by ashrambo » Feb 06 2019 1:37pm

Marcoq, Do you think to release a new version? Can we help you? Thanks for your work.

Enviado desde mi SM-G950 mediante Tapatalk

TREK REMEDY MOTOR TSDZ2

marcoq   1 W

1 W
Posts: 63
Joined: Dec 17 2018 3:55am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by marcoq » Feb 06 2019 2:50pm

ashrambo wrote:
Feb 06 2019 1:37pm
Marcoq, Do you think to release a new version? Can we help you? Thanks for your work.

Enviado desde mi SM-G950 mediante Tapatalk
Hello ashrambo.
I'm working to release a new version that will allow the use of Street Mode, Power Boost and Lights with VLCD6 without one function excluding the other. I am also optimizing the use of the walk assit function. I still need a few days and then I will release the revision 0.2.0 of the java configurator. :D

ioExpander   1 µW

1 µW
Posts: 2
Joined: Feb 07 2019 7:09am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by ioExpander » Feb 07 2019 7:32am

Hi there ! I'm new in the forum and I came across this amazing work around the open source firmware for the Tsdz2 motor that I'm considering in buying for my first ebike project.

I was wondering if firmware build by Marcoq would work using the XH18-LCD ? I like its smaller form factor more and it seems to have more features than the VLCD5.

Thank you.

User avatar
ashrambo   1 W

1 W
Posts: 55
Joined: Apr 30 2018 4:31am
Location: Madrid
Contact:

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by ashrambo » Feb 07 2019 10:26am

ioExpander wrote:
Feb 07 2019 7:32am
Hi there ! I'm new in the forum and I came across this amazing work around the open source firmware for the Tsdz2 motor that I'm considering in buying for my first ebike project.

I was wondering if firmware build by Marcoq would work using the XH18-LCD ? I like its smaller form factor more and it seems to have more features than the VLCD5.

Thank you.
The firmware works in all VLCD and XH18 displays, but marcoq developed it thinking in the VLCD6 display. It´s probably that any options and buttons doesn´t work as marcoq has it thinked because The XH18 display has other buttons. But the firmware works without problems with the motor.
TREK REMEDY MOTOR TSDZ2

User avatar
itsallwhite   10 mW

10 mW
Posts: 34
Joined: Feb 07 2019 5:02am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by itsallwhite » Feb 07 2019 10:34pm

Thank you for creating this, I have the Vlcd5 & would like to try it.

Do you have instructions on how to do this?

Do I need to flash the TSDZ2 motor?

How do I connect VLCD5 to computer to update firmware?

Many Thanks for your help
Bike 1: Giant Hybrid Steel Frame (old) with TSDZ2 48v 500w.
Bike 2: GT Sensor 2 full suspension mountain bike. Work in Progress - ready to 'electrify'!
House: 100% off grid - 5.6kw solar array with selectronics inverter and 24 Volt 1450 Ah BAE Gel battery Bank

zappan   10 W

10 W
Posts: 68
Joined: Sep 27 2018 3:00am
Location: Sicilia

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by zappan » Feb 08 2019 6:00am

itsallwhite wrote:
Feb 07 2019 10:34pm
Thank you for creating this, I have the Vlcd5 & would like to try it.

Do you have instructions on how to do this?

Do I need to flash the TSDZ2 motor?

How do I connect VLCD5 to computer to update firmware?

Many Thanks for your help
You need an STLinkV2 or clone programmer and a cable to program only the TSDZ2 motor controller
Link : https://github.com/OpenSource-EBike-fir ... e-on-TSDZ2
Install the ST Visual Programmer, SDCC and Java software on the PC.
Then you just need to use Java software “TSDZ2_Controller_vM0.16.C_and_TSDZ2_Configurator_Beta_0.1.4” di Marcoq :mrgreen:

grecoa   100 mW

100 mW
Posts: 45
Joined: Nov 18 2018 4:51am
Location: UK S.Yorks

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by grecoa » Feb 08 2019 10:01am

marcoq wrote:
Feb 06 2019 2:50pm
ashrambo wrote:
Feb 06 2019 1:37pm
Marcoq, Do you think to release a new version? Can we help you? Thanks for your work.

Enviado desde mi SM-G950 mediante Tapatalk
Hello ashrambo.
I'm working to release a new version that will allow the use of Street Mode, Power Boost and Lights with VLCD6 without one function excluding the other. I am also optimizing the use of the walk assit function. I still need a few days and then I will release the revision 0.2.0 of the java configurator. :D
:bigthumb:

cj11363   100 µW

100 µW
Posts: 9
Joined: Sep 17 2018 10:19am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by cj11363 » Feb 08 2019 10:03am

Thank You marcoq !!

I have several of these ( TSDZ2 ) motors installed on different bikes. Some with different versions of the opensource firmware, and two with the "stock" firmware ( just one now). I recently installed vM0.16.C and Configurator_Beta_0.1.4 on a cargo bike with 48v motor, 52v battery and VLCD-6, and it is absolutely my favorite configuration.

Thanks again marcoq !

User avatar
eyebyesickle   10 kW

10 kW
Posts: 717
Joined: Apr 07 2015 9:28pm
Location: Nashville

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by eyebyesickle » Feb 08 2019 10:50pm

Oooooh yeah.... great job on this. This is very much appreciated, a lot of people have been requesting this for a while... makes it so much easier to experience the upgraded motor functions. I have the 36v dialed in real good! Very happy with it. I am playing with the settings some for 48v/52v now.

Let me ask you this... what do you think about finding an alternate port for the temp sensor signal, and slightly modifying the code, so people can have the temp sensor function while still using the throttle. How much of a pain would that be? :D

Thanks again for your work on this!

marcoq   1 W

1 W
Posts: 63
Joined: Dec 17 2018 3:55am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by marcoq » Feb 09 2019 7:03am

eyebyesickle wrote:
Feb 08 2019 10:50pm
Oooooh yeah.... great job on this. This is very much appreciated, a lot of people have been requesting this for a while... makes it so much easier to experience the upgraded motor functions. I have the 36v dialed in real good! Very happy with it. I am playing with the settings some for 48v/52v now.

Let me ask you this... what do you think about finding an alternate port for the temp sensor signal, and slightly modifying the code, so people can have the temp sensor function while still using the throttle. How much of a pain would that be? :D

Thanks again for your work on this!
Hello eyebyesickle
Thank you for the suggestion, in the future I can make the change, but for the moment I'm working to optimize some functions that can be controlled by the OEM display. :D

marcoq   1 W

1 W
Posts: 63
Joined: Dec 17 2018 3:55am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by marcoq » Feb 09 2019 10:08am

Hi guys.
I released the new Controller firmware M0.16.D and the Java Configurator Beta 0.2.0.
In Readme.md file you will find some information about new implementations.
I remind you that the project was developed for the VLCD6 display, but it could also work for the VLCD5 and XH18 .... you will have to test.
Not all features have been debugged and tested, I leave this work to you! :D

User avatar
ashrambo   1 W

1 W
Posts: 55
Joined: Apr 30 2018 4:31am
Location: Madrid
Contact:

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by ashrambo » Feb 09 2019 10:16am

marcoq wrote:
Feb 09 2019 10:08am
Hi guys.
I released the new Controller firmware M0.16.D and the Java Configurator Beta 0.2.0.
In Readme.md file you will find some information about new implementations.
I remind you that the project was developed for the VLCD6 display, but it could also work for the VLCD5 and XH18 .... you will have to test.
Not all features have been debugged and tested, I leave this work to you! :D
Thank you for your work!!!
TREK REMEDY MOTOR TSDZ2

User avatar
stancecoke   100 kW

100 kW
Posts: 1165
Joined: Aug 02 2017 2:56pm

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by stancecoke » Feb 09 2019 10:58am

marcoq wrote:
Feb 09 2019 10:08am
I released the new Controller firmware M0.16.D and the Java Configurator Beta 0.2.0.
Thank you!
perhaps you can add the link to your githup repo to your signature! I always have to search for it, when I want to take a look at your new releases :wink:

regards
stancecoke

marcoq   1 W

1 W
Posts: 63
Joined: Dec 17 2018 3:55am

Re: Tsdz2 firmware open souce adapted to vlcd5

Post by marcoq » Feb 09 2019 11:38am

stancecoke wrote:
Feb 09 2019 10:58am
marcoq wrote:
Feb 09 2019 10:08am
I released the new Controller firmware M0.16.D and the Java Configurator Beta 0.2.0.
Thank you!
perhaps you can add the link to your githup repo to your signature! I always have to search for it, when I want to take a look at your new releases :wink:

regards
stancecoke
You're right stancecoke ...... I'm always in a hurry I forgot to post the github link !!! :D :D :D

https://github.com/qmarco/TSDZ2-Smart-E ... D6-display

Post Reply