TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

casainho said:
xyrus said:
I found this drive on aliexpress from the seller EUNORAU which seems to be a respectable one. They offer a TSDZ2 with a 850C display and multicable for brakes.

https://nl.aliexpress.com/item/32821670861.html

Would this work? Finding the pinout one my own and contributing back to community would not be problem. Just have to be sure these are the right parts, as I cant find another seller that sells this package on aliexpress.

It's not even that much cheaper but I do like the idea of skipping the cable splicing part.
Should work.

Thanks! I guess I will try , will report back when I have thing working (or not :lol: )
 
casainho said:
I did the release of v0.20.0-beta.1, get it here: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.20.0-beta.1

Unfortunately I am not able to test it because I do not have the KT-LCD3 anymore, and, just yesterday at night when I was going for a group ride, my TSDZ2 did fail because the torque sensor started to work intermittently... I wish I was running the v0.20.0-beta.1 and so I would have change from power mode to PAS mode, as PAS was working correctly. I had to go back home and not very happy....

My focus is the new displays and there are now 4 developers working on them, and on last days a critical issue of "full white screen" was solved on 850C - because seems there are different LCDs used on the 850C display.

We expect soon to support the v0.20.0-beta.1.

Hi casainho,
I just upgraded from 0.20.0-alpha5 to 0.20.0-beta.1 from where you mentioned. The TSDZ-v0.20.0-beta.1.hex file went smooth.
The display KT.LCD3-v0.20.0-beta.1.hex file gave me out of range errors, but apparently seems to ignored. I was afraid to brick the display, so then I used buba's .ihx file. The combination of the 2 was a working bike, with indeed a better filtering than the early alpha's, however that was not issue for me.

I am looking forward to try the 850C on 0.20.0.
 

Attachments

  • 20b1.PNG
    20b1.PNG
    4.8 KB · Views: 3,384
xyrus said:
casainho said:
xyrus said:
I found this drive on aliexpress from the seller EUNORAU which seems to be a respectable one. They offer a TSDZ2 with a 850C display and multicable for brakes.

https://nl.aliexpress.com/item/32821670861.html

Would this work? Finding the pinout one my own and contributing back to community would not be problem. Just have to be sure these are the right parts, as I cant find another seller that sells this package on aliexpress.

It's not even that much cheaper but I do like the idea of skipping the cable splicing part.
Should work.

Thanks! I guess I will try , will report back when I have thing working (or not :lol: )

I bought 9 months back from them a nearly identical kit (with the extra light cable) and used it with stock fw. The display was sufficient readable to me. With OSF, the KT-LCD was used which I also like. I opened a while back the 850C that came with the kit and it had already the good controller in it. I await the 850C release for 0.20.0 to give it a try. And it seems that now it won't be necessary anymore to open it up.
 
Rydon said:
h27 said:
Help needed: I have installed the OpenSource firmware without problems on my TSDZ2 (0.19.0). But I didn‘t succeed to install the firmware on the 850C using the USB to UART cable method (anybody successful yet?) ...
Any ideas?

I have built a number of these 850c bootloaders over the last few years. Very easy DIY project. The trick is that you must use a USB/TTL adapter with a CP2102 chipset in it. This is required by the APT software which uses a CP210 VCP driver. The easiest kit is to just hook up a 24v dc wall wart with the ground wire going to the black display wire and ground on the UART. +24 red wire on the wall wart goes to the brown p+ display wire. TX and RX on the display go to the corresponding connections on the UART. That's it. The APT software will find it (if you have the driver installed) and the 850c will flash.

DIY bootloader.jpg

Thank you, Rydon!
Anybody able to put these instructions in the wiki? It would be very helpful for newbies trying to install the open firmware on the 850C to have these explanations for the DIY bootloader.
 
I just want to confirm, after a few days of use that the torque increase of version 20 beta1 is remarkable. Now the tsdz2 is back comparable with the turbo levo, slightly less but very little. with the 20 alpha version I thought I had burned the engine and was about to order a new one ... instead as if by magic the power is back. :D :D The only doubt is how much the poor motor will resist at 800w peaks ... and climb over 20% every day :( :(
 
h27 said:
Rydon said:
h27 said:
Help needed: I have installed the OpenSource firmware without problems on my TSDZ2 (0.19.0). But I didn‘t succeed to install the firmware on the 850C using the USB to UART cable method (anybody successful yet?) ...
Any ideas?

I have built a number of these 850c bootloaders over the last few years. Very easy DIY project. The trick is that you must use a USB/TTL adapter with a CP2102 chipset in it. This is required by the APT software which uses a CP210 VCP driver. The easiest kit is to just hook up a 24v dc wall wart with the ground wire going to the black display wire and ground on the UART. +24 red wire on the wall wart goes to the brown p+ display wire. TX and RX on the display go to the corresponding connections on the UART. That's it. The APT software will find it (if you have the driver installed) and the 850c will flash.

DIY bootloader.jpg

Thank you, Rydon!
Anybody able to put these instructions in the wiki? It would be very helpful for newbies trying to install the open firmware on the 850C to have these explanations for the DIY bootloader.

let me share the diagram the colors should match any bafang display cable.
And few more hints I had to remove the AC power supply from the laptop and had to use only DC supply (ebike battery) to power the 850C, otherwise the flashing was interrupted. Not clear why obviously Rydon made it with ACtoDC power supply but he used little different USBtoTTL than I used.
 

Attachments

  • 850Cflashing.png
    850Cflashing.png
    61.5 KB · Views: 3,240
First of all I would like to thank you all for what you have done.

I'm going to do a second ebike with TSDZ2 and OSF.

I will (would like to) make a 1P15S battery with 21700 LG M50T cells that have about 5000mA capacity. These cells hold a continuous current of about 8A.
These cells also have about 1000 life cycles while the 18650 have 800 cycles.

https://www.youtube.com/watch?v=AnB3vBUJ9z0

Each 1P15S battery will weigh about 1100g and will have a power of about 250Wh and over 450w of instant power.

My idea is to make several 1P15S batteries to use in parallel, depending on the power capacity I will spend.

Casainho has already tested the controller with a 62V battery and on the other hand the controller capacitors indicate 63V of nominal voltage.

see Casainho post at https://endless-sphere.com/forums/viewtopic.php?t=94220&start=75

It is natural for capacitors to have a tolerance of at least 5% (or even 10%) and therefore must tolerate more than 66V.

Will it be possible to make a firmware version for 15S and 63V?

I do not need 63V. I get the BMS to limit me to 62.5V (4.15X15 = 62.25V).

Thanks
 
AZUR said:
Will it be possible to make a firmware version for 15S and 63V?

I do not need 63V. I get the BMS to limit me to 62.5V (4.15X15 = 62.25V).
Where do you find the limit?? I think maybe it is only on the LCD that don't let you choose more than 13 cells. If so, it is a very quick and easy change on firmware. Also you can just ignore that and configure as 13S as it will work if you are using a BMS to protect the under voltage limit.

I think there are many looking to know if 15S do work at 4.2V each. Maybe you will be first one testing it :)

I also have in stock a few different battery packs that I use if I need to go further. I like your idea.
 
casainho said:
AZUR said:
Will it be possible to make a firmware version for 15S and 63V?

I do not need 63V. I get the BMS to limit me to 62.5V (4.15X15 = 62.25V).
Where do you find the limit?? I think maybe it is only on the LCD that don't let you choose more than 13 cells. If so, it is a very quick and easy change on firmware. Also you can just ignore that and configure as 13S as it will work if you are using a BMS to protect the under voltage limit.

I think there are many looking to know if 15S do work at 4.2V each. Maybe you will be first one testing it :)

I also have in stock a few different battery packs that I use if I need to go further. I like your idea.

Thanks Casainho,

I´m starting this new ebike project.

In maybe one month we have the test results. I will try 1P15S 63V.

I´m also curious about 21700 cells. This cells are now used in Tesla cars replacing 16850.

If I burn the controller I buy a new one !!
 
I did in last weekend a MTB track with 2000+m altitude level and 56km. I used 620 wh. Ride done with 0.20 beta1.

On flat road and medium ascend, power mode works perfect. Good power and better torque.

On difficult climb, Emtb mode is king! It has a lot of power and the motor reacts instantly exactly when you need it. The motor control is much accurate at lower speed than power mode and the power used is less for same effect.
There is no need for boost. The power comes exactly when needed and exactly as much is needed!

I have found no problems but I propose an improvement. On road I had to constantly stop and adjust the sensitivity according to the road. 4-5-6.
Since Emtb mode is better than torque mode and has no down side, I propose to make only one mode that has the emtb power delivery function and the assistance levels configured as sensitivities 1-20.

This release is solid gold! Thank you!
 
It does seem that different users have their own ideas about what the 'perfect' mode is -- and that also depends on exactly what situation they are dealing with at the time. I really like the idea of keeping lots of different modes so that each person can find the mode that suits him and his current riding condition. Procrustean beds went out of fashion a long time ago....
 
I would like to propose a simple survey:
1- what kind of bicycle do you use?
2- what is your engine? what are the gear ratios?
3- in which environment do you live? (city, countryside, plain, hill, mountain)
4- describe the usual use of the bicycle.
5- which of the 3 software modes do you prefer?
6- what do you think of the e-mtb mode?
7- suggestions and more

without such data, in my opinion it is difficult to understand the satisfaction of the software and the real needs of users.

start with my data:

1- what kind of bicycle do you use?
I have two mountain bikes with the tsdz2

2- what is your engine? what are the gear ratios?
I have a 36v and a 48v 750w
I mainly use the 48v.
crown 34 front teeth and rear cassette 13-40.

3- in which environment do you live? (city, countryside, plain, hill, mountain)

I live in the hills, in a rural environment
Only ascents and descents, no plain.

4- describe the usual use of the bicycle.
I pedal especially for unpaved roads and dirt roads, with very hard climbs.

5- which of the 3 software modes do you prefer?
Power mode

6- what do you think of the e-mtb mode?
I don't like or use it.
7- suggestions and more
better curve of power
 
you can build your own survey quite easily, everybody can take part here, e.g:

https://freeonlinesurveys.com/s/SAu51Muj

you can see the results here:

https://freeonlinesurveys.com/r/mxvCSXKR

regards
stancecoke
 
Big thanks to all involved for programming and testing...I've just started putting together my TSDZ2/KT-LCD3 combo and can offer the following advice for a newbie:

- KT-LCD3 flash.... the 0.20 hex file on the official site does not seem to work....spent several hours recabling my ST-Link, nothing worked, always came back with a blank screen. Finally found a comment in this thread about buba's .ihx file (on his google drive) and used that....bingo. The previous versions of hex files worked, but not 0.20.

- TSDZ2 flash....there's a you tube video showing how to put really small heat shrink tubes on the wire ends to make the connection. Worked like a charm.

The following products (Amazon Canada) were very helpful:

Various electronic/wiring stuff
https://www.amazon.ca/dp/B07D72XCJW/ref=cm_sw_em_r_mt_dp_U_zulJDbVPRHMX3
https://www.amazon.ca/dp/B01EE4WAC8/ref=cm_sw_em_r_mt_dp_U_sxlJDb8Z20S2C
https://www.amazon.ca/dp/B074LYL5N7/ref=cm_sw_em_r_mt_dp_U_dylJDbZT8J1G6
https://www.amazon.ca/dp/B01LZF1ZSZ/ref=cm_sw_em_r_mt_dp_U_XxlJDb6YJJ9BC

Heat pads and tape for internal heat transfer (there's another thread about this):
https://www.amazon.ca/dp/B07BHJQC6Z/ref=cm_sw_em_r_mt_dp_U_LvlJDbS34D2TE
https://www.amazon.ca/dp/B00UYTU6Z6/ref=cm_sw_em_r_mt_dp_U_jwlJDbXFMBA15

hope that can help!

Thanks
 
Hi guys!

I ve been using the TSDZ2 motor for one month now and I am very impressed by the work you have done. I have the 0.19 version installed.

There is just one small issue I havent noticed when using the original FW. When I am shifting the gears down and still turning the pedals the motor starts to rotate. The human power on the display is usually 10 W, sometimes jumps to 20W. Is it possible to disable the assistance when the human power is below i.e. 15W Maybe it should be in settings.

Today I just checked features of the new 0.20 FW. These modes you are introducing you have to choose individually? So eMTB mode together with Power mode or just one single mode? I sthere a plan to introduce a shortcut to switch between these modes i.e when you are down from the hill and enter the paved roads.

thx
 
OttawaEbiker said:
- KT-LCD3 flash.... the 0.20 hex file on the official site does not seem to work....spent several hours recabling my ST-Link, nothing worked, always came back with a blank screen. Finally found a comment in this thread about buba's .ihx file (on his google drive) and used that....bingo. The previous versions of hex files worked, but not 0.20.

Bless you Sir! You are a gentleman and a scholar!
I flashed mine a half an hour ago, and thought; "Well, that didn't pan out.."
However the flashlog says otherwise. Gonna try this later tonight!

Thanks a bunch!!
 
Hello,
does the tsdz frimware can be used for other motor such as XF motor ?
36v250w TS controller
XF motor run smoothly with original firmware.u/v/w phase wires ,hall wires,throttle wires were connected,but without the LCD3 display and pas .
I downloaded the KT-LCD3-v0.18.2.hex and TSDZ2-v0.18.2.hex successfully . Didnot change any parameters,the motor didnot run when the power was 36v /48v. the same wires were connected.the LCD3 display displayed normaly.
 
I just installed 0.20 beta 1. And initial impressions is great!
:bigthumb:
Thanks for the hard work.

Emtb mode works great. I would love to have two emtb modes with different sensitivity.

I will report back after using it for my daily commute
 
Finally got the fatbike (120mm bb, so.. had a jig made (got no access to a lathe) & threaded it, so far so good..) together, soldered it up like tomtom50 describes here. Nice and tidy... not my inexperienced soldering though! Everything works, did not test the throttle, will test the connection. My tsdz2 is really quiet. Thank the gods! Hm, maybe I should do a build thread. Any ho...

(N.B the needed cable from e-bike-technologies.de is HIGO-Z812-B)

Three mods to go, temperature sensor (got 8 Wire), a relay for my light (Busch + Müller Lumotec IQ-X E) and elfnino's silicone pad mod.

Regarding the firmware.
Rode about 5km stock firmware yesterday and 30km in various terrain today.
All I really can say about the experience... stock is a smile for 50m, OSF is a snortlaugh for 250m. Bloody brilliant is what that is!!

Thank you devs and contributors!!!

OttawaEbiker said:
You're welcome mittkonto! Hope it worked out for you.

It surely was! Thanks again!
 
mittkonto said:
Thank the gods! Hm, maybe I should do a build thread.
I was thinking that could be good to have on wiki example of users as also example off bike builds. I think your ebike category would be a fatbike, and maybe you could have a page for your build and for the usage type you do to the ebike.

This could be kind of show room of TSDZ2 ebike builds as also users.
 
casainho said:
mittkonto said:
Thank the gods! Hm, maybe I should do a build thread.
I was thinking that could be good to have on wiki example of users as also example off bike builds. I think your ebike category would be a fatbike, and maybe you could have a page for your build and for the usage type you do to the ebike.

This could be kind of show room of TSDZ2 ebike builds as also users.

I'd be honoured!!
 
I just installed the 850c and flashed the motor. I could use walk mode and power and everything was showing up on screen but i had no assist when pedalling at assist level 9. wasn't showing human or motor power.

Any help would be appreciated.
 
mittkonto said:
casainho said:
mittkonto said:
Thank the gods! Hm, maybe I should do a build thread.
I was thinking that could be good to have on wiki example of users as also example off bike builds. I think your ebike category would be a fatbike, and maybe you could have a page for your build and for the usage type you do to the ebike.

This could be kind of show room of TSDZ2 ebike builds as also users.

I'd be honoured!!
So please start writing a wiki page. Just one page, with chapters and with a TOC at top, will be as this TSDZ2 FAQ page: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/FAQ

You can make first chapter with nice pictures of the final build and maybe talk a bit the advantages, what you like on this ebike. Maybe will also have information on how you use the ebike. This idea is the be informative to the reader and also make him dream with a build like that.

Other chapter after can be tecnhical about the build. You can use sub chapters.

Please write this wiki page on your github account, when finished, we can copy the page including the photos to the TSDZ2 wiki. The idea is to link from the first page to this showroom of builds so the new users can learn and see what is possible to build using TSDZ2.
 
Back
Top