Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Re: Tsdz2 firmware open source adapted to vlcd5
I post about this firmware in my blog...
Ashthinkings
https://ashthinkings.blogspot.com
It's in spanish, yo can use google traslator...
Enviado desde mi SM-G510 mediante Tapatalk
Ashthinkings
https://ashthinkings.blogspot.com
It's in spanish, yo can use google traslator...
Enviado desde mi SM-G510 mediante Tapatalk
TREK REMEDY MOTOR TSDZ2
- stancecoke 100 kW
- Posts: 1381
- Joined: Aug 02 2017 2:56pm
Re: Tsdz2 firmware open source adapted to vlcd5
Thank you, I've added the link to the wiki (will open in english already

See step 5: Start the java tool by double-clicking on "TSDZ2-Configurator.jar"
Do you have any parentheses in one of the folder pathes? Are you using the lastest SDCC version?
Expand the repo directly to C:\ to avoid trouble with write permissions.
regards
stancecoke
Re: Tsdz2 firmware open source adapted to vlcd5
Hi, I have couple of questions about marcoq:s configurator:
How are the 3 first values on battery section used and what they really are:
safety max battery current limit amp
max battery power
max current source Amp
I have a 36v 11 ah battery that can output 20a continous and 30a peak current.
Is the max_battery_current_source a continous current limit and safety_max_current a peak limitation value?
Are the max_battery_power and max_current_source values used as a parallel limit as the first one that is reached will limit the power used?
Would it be safe to input safety_max_current_limit value to 25a and current_source to 18a and max_power to 650w?
If i then untick the "limit motor boost to max power" Will the motor draw current over 18a only on a starting power boost sitatuation?
As i have the vlcd5 i don't see the used current when driving the bike and i want to make sure i wont fry the battery or my motor.
Thanks for your help and this great project on improving the usage of tsdz!
How are the 3 first values on battery section used and what they really are:
safety max battery current limit amp
max battery power
max current source Amp
I have a 36v 11 ah battery that can output 20a continous and 30a peak current.
Is the max_battery_current_source a continous current limit and safety_max_current a peak limitation value?
Are the max_battery_power and max_current_source values used as a parallel limit as the first one that is reached will limit the power used?
Would it be safe to input safety_max_current_limit value to 25a and current_source to 18a and max_power to 650w?
If i then untick the "limit motor boost to max power" Will the motor draw current over 18a only on a starting power boost sitatuation?
As i have the vlcd5 i don't see the used current when driving the bike and i want to make sure i wont fry the battery or my motor.
Thanks for your help and this great project on improving the usage of tsdz!
Re: Tsdz2 firmware open source adapted to vlcd5
Posted a small upgrade " how to " concerning v0.19 and configurator V3.16 ... in french on my blog .
https://elementaire01.blogspot.com/2019 ... -v019.html
will update it later with the set up found after some tests ..
seem my set up is ok with a stock 42 T ... probably too strong for those using a smaller 32T/34T and large K7 .
will put update when i ll test v3.6 with my other bike using 34T and 11/40 ...
actually testing casainho/buba v0.19 OSF, soo will take some time to pmut news on my blog .
https://elementaire01.blogspot.com/2019 ... -v019.html
will update it later with the set up found after some tests ..
seem my set up is ok with a stock 42 T ... probably too strong for those using a smaller 32T/34T and large K7 .
will put update when i ll test v3.6 with my other bike using 34T and 11/40 ...
actually testing casainho/buba v0.19 OSF, soo will take some time to pmut news on my blog .
RockRider 9.1 TSDZ2 open source firmware .
Re: Tsdz2 firmware open source adapted to vlcd5
as controler inboard is limited to 18 A the max limit you can put on "safety max battery current limit amp" is 18 .eetulaa wrote: ↑Aug 04 2019 10:05am
How are the 3 first values on battery section used and what they really are:
safety max battery current limit amp
max battery power
max current source Amp
I have a 36v 11 ah battery that can output 20a continous and 30a peak current.
Is the max_battery_current_source a continous current limit and safety_max_current a peak limitation value?
Are the max_battery_power and max_current_source values used as a parallel limit as the first one that is reached will limit the power used?
Would it be safe to input safety_max_current_limit value to 25a and current_source to 18a and max_power to 650w?
If i then untick the "limit motor boost to max power" Will the motor draw current over 18a only on a starting power boost sitatuation?
As i have the vlcd5 i don't see the used current when driving the bike and i want to make sure i wont fry the battery or my motor.
Thanks for your help and this great project on improving the usage of tsdz!
"max battery power" is the max power you would use from battery, i use 550w, the motor could reach 750w or more, but need to pay attention to overburn it ...
"max current source Amp" is the max current you want to use with your set up ( limited from point 1 to 18A max ) i use 15A with a 11S battery
soo the motor never overcome the 18A limit even if you put 25A in max current ...
Last edited by elem on Aug 04 2019 12:06pm, edited 1 time in total.
RockRider 9.1 TSDZ2 open source firmware .
- stancecoke 100 kW
- Posts: 1381
- Joined: Aug 02 2017 2:56pm
Re: Tsdz2 firmware open source adapted to vlcd5
OK, the information about marcoq's fork seems to be scattered all over the internet

I added the link to the github wiki to bundle all information at one place

https://github.com/stancecoke/TSDZ2-Sma ... splay/wiki
regards
stancecoke
-
- Posts: 181
- Joined: Jul 13 2016 10:42am
- Location: North Carolinas
Re: Tsdz2 firmware open source adapted to vlcd5
I re-install the lastest SDCC version from your github page and its working againDo you have any parentheses in one of the folder pathes? Are you using the lastest SDCC version?
Expand the repo directly to C:\ to avoid trouble with write permissions.
regards
stancecoke


My Ebike with chinese frame: viewtopic.php?t=83275
2nd Stealth clone ebb w/3k hub laced 19” dirt rim/tires
2 Walmart special dk duke fatties bbshd and the other w/1k rear hub motor
Full suspension fatty/AliExpress frame w/bbshd
29er hard tail w/tsdz 500w dyi programmed
Intense uzzi slx w/1600w mini cyclone
Trident fat trike 26” w/tsdz 500w diy programmed
Carbon fat bike Bafang ultra, DengfuE06 frame viewtopic.php?f=6&t=109970
2nd Stealth clone ebb w/3k hub laced 19” dirt rim/tires
2 Walmart special dk duke fatties bbshd and the other w/1k rear hub motor
Full suspension fatty/AliExpress frame w/bbshd
29er hard tail w/tsdz 500w dyi programmed
Intense uzzi slx w/1600w mini cyclone
Trident fat trike 26” w/tsdz 500w diy programmed
Carbon fat bike Bafang ultra, DengfuE06 frame viewtopic.php?f=6&t=109970
Re: Tsdz2 firmware open source adapted to vlcd5
On this page (Qmarco Git Hub page)...
https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
it mentions...
https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
it mentions...
I am unable to locate a 'Help' button in the configurator, or any pdf in the downloaded folders. Any suggestions?by clicking the "help" button, a pdf document will open. It contains information regarding the user interface parameters and addresses related to eeprom memory.
Re: Tsdz2 firmware open source adapted to vlcd5
Ok, answered my own question...emr wrote: ↑Aug 11 2019 1:06amOn this page (Qmarco Git Hub page)...
https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
it mentions...I am unable to locate a 'Help' button in the configurator, or any pdf in the downloaded folders. Any suggestions?by clicking the "help" button, a pdf document will open. It contains information regarding the user interface parameters and addresses related to eeprom memory.
I looked in a previous version of the configurator (v16) and it has a 'Help' button and connected pdf.
Re: Tsdz2 firmware open source adapted to vlcd5
So once i get my temperature sensor and limits set to under 80c. Is there any reason to not program the controller for 18amps battery and 9000w motor limit? Thinking that would run at 900watts or so when temperature is low. Currently have it set to 14amps battery and 500w motor limit limit, as to not burn up my motor.
I think I've read 18amps is the max for this controller and guessing that is set with the battery amps value.
I think I've read 18amps is the max for this controller and guessing that is set with the battery amps value.
Re: Tsdz2 firmware open source adapted to vlcd5
Yes no problm, 18A is the limit, 900w, why not 
for short burn like a few seconds ...
but you never reach this power if you are using 36V battery
900w = 18(A)*50(V) soo you need at least a 48V battery fully charged to reach this power limit ....

for short burn like a few seconds ...
but you never reach this power if you are using 36V battery
900w = 18(A)*50(V) soo you need at least a 48V battery fully charged to reach this power limit ....
RockRider 9.1 TSDZ2 open source firmware .
Re: Tsdz2 firmware open source adapted to vlcd5
Hello. It was sewn through the configurator and according to the sensations the ride became not comfortable. The motor drives inadequately, it helps sometimes it interferes and pedaling is difficult. The throttle stick has ceased to be infinitely jerky. As a result, I will return to the original firmware (36V, 350W) and enjoy the ride.
Re: Tsdz2 firmware open source adapted to vlcd5
Hi, does the experimental cadence mode affect the way the motor is controlled on lower rpm than normal max?
Does it only raise the assisted cadence limit, or what it does?
Does it only raise the assisted cadence limit, or what it does?
Re: Tsdz2 firmware open source adapted to vlcd5
How do I enable eMTB with the display? I'm on assist 3 and hold the i button but no E codes turn on. ( I have XH18 display and set the display and eMTB mode in the configurator)
Re: Tsdz2 firmware open source adapted to vlcd5
with experimental mode ( on 36V motor ) you can reach 100 rpm eand more
don t match with 48V motor ( tested with 0.19 and 0.20 form buba/casainho, not marcoq one )
RockRider 9.1 TSDZ2 open source firmware .
Re: Tsdz2 firmware open source adapted to vlcd5
if eMTb enabled from configurator, it work even if you haven t any symbol ( that features only avaiable on v0.20 using lcd3 display not vlcd5 or xh148 or vlcd6 using marcoq archive )
RockRider 9.1 TSDZ2 open source firmware .
Re: Tsdz2 firmware open source adapted to vlcd5
Has anyone seen this happen before? It looks like something is trying to bust out of the case. It doesn't sound loose enough inside for it to break going over a bump?? It works and charges fine.
- Attachments
-
- IMG_20190827_202635_resize_82.jpg (207.64 KiB) Viewed 1789 times
Re: Tsdz2 firmware open source adapted to vlcd5
Guys could you explain or give a link about the assistant modes?
So we have:
1. Street mode or Offroad mode
2. Boost mode off / on
3. Emtb mode off / on ( what mode it will be if i turn it off, it is default in my java configurator )
On my feelings street mode gives more power. But i tested all the modes with middle gear, middle cadence and flat road.
Boost and offroad modes didnt feels powerfull. Strange.
Emtb mode is something in the middle.
Here is my java configurator settings, i just copied everything from ashrambo blog ( big thanks for your shares and explanation of the settings
)

So we have:
1. Street mode or Offroad mode
2. Boost mode off / on
3. Emtb mode off / on ( what mode it will be if i turn it off, it is default in my java configurator )
On my feelings street mode gives more power. But i tested all the modes with middle gear, middle cadence and flat road.
Boost and offroad modes didnt feels powerfull. Strange.
Emtb mode is something in the middle.
Here is my java configurator settings, i just copied everything from ashrambo blog ( big thanks for your shares and explanation of the settings


Re: Tsdz2 firmware open source adapted to vlcd5
When street mode enabled ( and activated ) it limit motor power to default 250W and speed to default 25km/h .
Boost mode can't be desactivated ...you choose " when cadence=0 or speed=0 " only, you can disable boost power limit or modifie it in concerned " motor power boost " .
eMTb default, mean you use eMTb mode ( kind of torque mode only ) and can modifie "eMTb mode " as desired .
disabled it mean you use "power mode " instead other mode .
" PWM duty cycle " is acceleration, and also in : current ramp, witch is an other kind of acceleration .
Soo, you'r using 14S battery ( 58.8V max ) and max power possible 1000w .
pay attention, you may burn you'r motor if you'r not using sensor temp, exepted if this power is only used in a few second .
here is my set up ( attached picture ) and my blog with some explanations ( in french ) : https://elementaire01.blogspot.com/2019 ... -v019.html
Boost mode can't be desactivated ...you choose " when cadence=0 or speed=0 " only, you can disable boost power limit or modifie it in concerned " motor power boost " .
eMTb default, mean you use eMTb mode ( kind of torque mode only ) and can modifie "eMTb mode " as desired .
disabled it mean you use "power mode " instead other mode .
" PWM duty cycle " is acceleration, and also in : current ramp, witch is an other kind of acceleration .
Soo, you'r using 14S battery ( 58.8V max ) and max power possible 1000w .
pay attention, you may burn you'r motor if you'r not using sensor temp, exepted if this power is only used in a few second .
here is my set up ( attached picture ) and my blog with some explanations ( in french ) : https://elementaire01.blogspot.com/2019 ... -v019.html
RockRider 9.1 TSDZ2 open source firmware .
Re: Tsdz2 firmware open source adapted to vlcd5
Hi,
i'm following this and the developing thread of the OS fw for a while now. Installed both versions, Casahino/Bubas and Marcoqs, several times ... all very smooth.
Now my girlfriend wants to compare os to the stock FW. But i cant reflash the controller.
I got the files from https://www.eco-ebike.com/blogs/eco-cy ... rogramming and followed the instructions. the motor is 36V with the XH18 display.
Programming via the marcoq configurator works fine ...
Anyone knows any TRICKS to reinstall the stock firmware??
thanks,
ark
i'm following this and the developing thread of the OS fw for a while now. Installed both versions, Casahino/Bubas and Marcoqs, several times ... all very smooth.
Now my girlfriend wants to compare os to the stock FW. But i cant reflash the controller.
I got the files from https://www.eco-ebike.com/blogs/eco-cy ... rogramming and followed the instructions. the motor is 36V with the XH18 display.
Programming via the marcoq configurator works fine ...
Anyone knows any TRICKS to reinstall the stock firmware??
thanks,
ark
Re: Tsdz2 firmware open source adapted to vlcd5
to be more precise ..
no error code is shown on the display. it works, lights on, battery state is low (wrong) and flickering and no speed is displayed. and the motor is not working.

no error code is shown on the display. it works, lights on, battery state is low (wrong) and flickering and no speed is displayed. and the motor is not working.
Re: Tsdz2 firmware open source adapted to vlcd5
You need to also flash the stock option byte: viewtopic.php?t=93818&start=1600#p1438745
Re: Tsdz2 firmware open source adapted to vlcd5
You are running 18amps/1000Watts with temperature sensor installed?brobro wrote: ↑Aug 28 2019 4:32pmGuys could you explain or give a link about the assistant modes?
So we have:
1. Street mode or Offroad mode
2. Boost mode off / on
3. Emtb mode off / on ( what mode it will be if i turn it off, it is default in my java configurator )
On my feelings street mode gives more power. But i tested all the modes with middle gear, middle cadence and flat road.
Boost and offroad modes didnt feels powerfull. Strange.
Emtb mode is something in the middle.
Here is my java configurator settings, i just copied everything from ashrambo blog ( big thanks for your shares and explanation of the settings)
![]()
Re: Tsdz2 firmware open source adapted to vlcd5
OK, will try soon. In winter I usually ride around -10 Celsius summer +26 Celsius, so I think I should be able to get quite a bit more power out of it in the Winter time.
Will settings the motor watts to 9999Watts cause any issues?
Re: Tsdz2 firmware open source adapted to vlcd5
Dont thinck soo, but there is no need .
14s fully charged is 58.8v, 18A is the max controleur, soo 58*18=1044 will be about the max power .
RockRider 9.1 TSDZ2 open source firmware .