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

Electric Motors and Controllers
User avatar
arthurtuxedo   100 W

100 W
Posts: 105
Joined: May 16 2017 11:45am
Location: San Francisco, CA

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by arthurtuxedo » Dec 01 2019 5:46pm

gomyles wrote:
Nov 30 2019 7:18pm


Thank you very much for the responise Arthurtuxdeo.

I'm thinking 10A continuous, so do you have yours set at 10A continuous and 18A peak ?
You don’t set continuous, only peak. Mine is set to 18A.
I guess I'm not too familiar with how the control system works. If you're doing up a medium grade hill, and you hold the throttle on, will the controller deliver 18A (the peak current) or will it deliver 18 for a couple of seconds and drop down to 10A (or the continuous current) ?

I'm going to look into the electrifybike setup that has the firmware pre-installed, although I'm curious about the price difference.

Thanks again!
It depends on what gear and assist level you are in. If I hold down the throttle in first gear on a 7 or 8% hill, it will max out the cadence at about 6.5 MPH and consume about 350-400 Watts, which is roughly 8 amps. If I set the assist level to 3 and don’t use the throttle, I might only go 5 MPH and 200-250 Watts, or about 5 amps. Either of those would be considered a “continuous” rating. If I set it to 3rd gear on the same hill and hit the throttle, the bike will go ~11 MPH and will peak at the limit of 950 Watts before falling to the continuous output of about 700 to maintain 11 MPH. If I tried to use an even higher gear under full throttle, it would stay at 900-950 Watts and put tremendous strain on the motor and my gear hub, so I would never do that.

mctubster   100 W

100 W
Posts: 230
Joined: Feb 26 2018 6:21am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by mctubster » Dec 01 2019 7:16pm

twiersum wrote:
Nov 29 2019 10:41am
Mctubster

Did the converter work well? I had tried something similar but it didnt work. I would love to find a converter that could work in the 3.0-4.2v range so we can just run batteries in parrallel which is much simpler and less prone to failure. Plus you could have any size pack you want based on space.

I also notice the power fade a lot whrn my battery gets low and I have to run boost because lvl 1 & 2 are too weak.
Hi, I haven't tried the converter with the TSDZ2, and I only played around with it on my Bafang right before I swapped to the TSDZ2. I bought the converter because the BBS01b cadence dropped off horribly as the battery discharged ... something the TSDZ2 does not do as much running the open source firmware.

Boost converters work well when there is a relatively small gap between the battery output and desired output.

I would think there could be other issues running a lot of cells in parallel without isolating during charge, not to mention boosting this voltage at high currents efficiently would be difficult and expensive.

What is wrong with series/parallel?

What was the issue you had with your converter?

mctubster   100 W

100 W
Posts: 230
Joined: Feb 26 2018 6:21am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by mctubster » Dec 01 2019 7:20pm

AZUR wrote:
Dec 01 2019 7:13am
Hi

This is my new bike with TSDZ2 and Opensource SW and 850C Display

My thanks to Casainho that makes it possible.

Is a Giant Trance Ltd 2014, 140mm Front and Rear.

Very nice job, looks great. Can I ask how you interfaced the TSDZ2 into the bottom bracket shell? I assume that bike had some kind of press fit bearings? Did you just remove and it was a snug fit or did you use an adaptor?

Cheers

danielson   10 mW

10 mW
Posts: 30
Joined: Aug 21 2019 1:45am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by danielson » Dec 02 2019 1:40am

Got my SW102 from pswpower today. Do I still need to cut it open to flash / update bootloader and firmware or can it be done via bluetooth. Recall reading that bluetooth was on the way.

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 02 2019 2:47am

danielson wrote:
Dec 02 2019 1:40am
Got my SW102 from pswpower today. Do I still need to cut it open to flash / update bootloader and firmware or can it be done via bluetooth. Recall reading that bluetooth was on the way.
Follow the wiki instructions.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 02 2019 5:04am

AZUR wrote:
Dec 01 2019 7:35am
I have 2 issues.

First is that I don’t get any value in the trip distance field.

Second issue, I can only enter in the configuration menu and modify the fields.

On main screen I can´t modify the fields.

Because the test I am going to do with 15S battery, and because I don´t have yet the BMS installed I would like to see Voltage and Current on the main screen.
Really nice bike!!! The battery should be pretty small to be on that bag... is that 13S1P, 230 Watt-hour??

Yes, this are bugs that I should solve for next release, that I hope I will do this week.

The 850C display needs more love on the wiki, I need to improve much more the documentation. So, I just created a specific page that is linked from main page and has the keys you are looking for, please report if it worked for you:

https://github.com/OpenSource-EBike-fir ... 0C-display

Keys combinations
Main screen
- ON/OFF long press to turn of
- UP or DOWN click to change assist level
- UP and DOWN click to enter configurations screen
- ON/OFF quick click + long press to select which variable to show on the four numeric fields at center and on the graph.
-- UP or DOWN click to choose a new variable
-- ON/OFF click to jump to next field
-- ON/OFF long press to leave
Configurations screen
- ON/OFF long press to go back
- UP or DOWN click to scroll up or down
- ON/OFF click select and edit item field
-- ON/OFF long press to apply
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

AZUR   100 W

100 W
Posts: 116
Joined: Apr 05 2018 6:52am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by AZUR » Dec 02 2019 5:14pm

Snoopz wrote:
Dec 01 2019 1:06pm
AZUR wrote:
Dec 01 2019 7:35am
Hi,

I´m using last TSDZ2 and 850C display compatible versions.

I tried firmware yesterday, for the first time, and it´s awesome.

Thanks Casainho.

I have 2 issues.

First is that I don’t get any value in the trip distance field.

Second issue, I can only enter in the configuration menu and modify the fields.

On main screen I can´t modify the fields.

Because the test I am going to do with 15S battery, and because I don´t have yet the BMS installed I would like to see Voltage and Current on the main screen.

Casainho, am I doing something wrong ?

How can I modify the fields in the main screen?

Best Regards

20191129_142737_size A.jpg
Voltage shows if you disable battery soc. It then replaces the percentage on the left corner of the display.

As for the fields, I have the same problem. Tripmeter doesn't show and I have two indications of my speed (big main number, and another on the bottom right). Kinda just need the one in the middle.

Let's see what the answer is. Changed to a 52T chain ring and getting speeds right under 55 km/h, it's insane 😅

I'll test the walkassist tomorrow, and I replaced the crank.

Ride on folks
Thanks I will try.

AZUR   100 W

100 W
Posts: 116
Joined: Apr 05 2018 6:52am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by AZUR » Dec 02 2019 5:32pm

casainho wrote:
Dec 02 2019 5:04am
AZUR wrote:
Dec 01 2019 7:35am
I have 2 issues.

First is that I don’t get any value in the trip distance field.

Second issue, I can only enter in the configuration menu and modify the fields.

On main screen I can´t modify the fields.

Because the test I am going to do with 15S battery, and because I don´t have yet the BMS installed I would like to see Voltage and Current on the main screen.
Really nice bike!!! The battery should be pretty small to be on that bag... is that 13S1P, 230 Watt-hour??

Yes, this are bugs that I should solve for next release, that I hope I will do this week.

The 850C display needs more love on the wiki, I need to improve much more the documentation. So, I just created a specific page that is linked from main page and has the keys you are looking for, please report if it worked for you:

https://github.com/OpenSource-EBike-fir ... 0C-display

Keys combinations
Main screen
- ON/OFF long press to turn of
- UP or DOWN click to change assist level
- UP and DOWN click to enter configurations screen
- ON/OFF quick click + long press to select which variable to show on the four numeric fields at center and on the graph.
-- UP or DOWN click to choose a new variable
-- ON/OFF click to jump to next field
-- ON/OFF long press to leave
Configurations screen
- ON/OFF long press to go back
- UP or DOWN click to scroll up or down
- ON/OFF click select and edit item field
-- ON/OFF long press to apply
Thanks Casainho,

I will try the display as soon I have my battery ok again.

Today, before the ride, I´ve made a short circuit and one cell die.

It was 13s1P.

Next time will be 15S1P.

54 Volt battery with maximum 63V (at 4,2V cell)

Tomorrow I will change it, and after I will tell you if it works or the controller burns !!!

Yes, with 3,6V/cell 13S1P it´s 230Wh

With 15S1P will be 260Wh.

As soon I make the 15S test I will do 2 or 3 batteries with a total of 1000Wh.

15S4P 21700 4800mA with BMS and Bluetooth.

I´m doing myself the battery.

My wife´s battery was made by a professional.

Regards

AZUR   100 W

100 W
Posts: 116
Joined: Apr 05 2018 6:52am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by AZUR » Dec 02 2019 5:59pm

mctubster wrote:
Dec 01 2019 7:20pm
AZUR wrote:
Dec 01 2019 7:13am
Hi

This is my new bike with TSDZ2 and Opensource SW and 850C Display

My thanks to Casainho that makes it possible.

Is a Giant Trance Ltd 2014, 140mm Front and Rear.

Very nice job, looks great. Can I ask how you interfaced the TSDZ2 into the bottom bracket shell? I assume that bike had some kind of press fit bearings? Did you just remove and it was a snug fit or did you use an adaptor?

Cheers
Hi,

Thanks.

Yes I use an adapter.

My Bottom Bracket it´s 41mmx91mm.

First I bought the adapter from www.future-bike.it

http://www.shop.future-bike.it/futurebi ... dattatore/

The problem is the adapter only has 68mm.

I did another adapter, with the same shape but with about 90mm.

I did it in my local bike shop.

Maybe you can ask future-bike to make it with the size of you frame.

It doesn’t make sense to sell an 68mm adapter for a motor with 92mm axel !!

But they did it !!!!

In the end I bought 2 adapters !!!.

The “secret” of the adapter, is that the hole is not centered in the BB. It is necessary to do this in order to get the motor well installed.
BB30.jpg
BB30.jpg (45.43 KiB) Viewed 2753 times
20191202_220037 T2.jpg
20191202_220037 T2.jpg (277.37 KiB) Viewed 2753 times
20191202_220106_t2.jpg
20191202_220106_t2.jpg (291.01 KiB) Viewed 2753 times
20191202_220126 T3.jpg
20191202_220126 T3.jpg (210.12 KiB) Viewed 2753 times
20191202_220300_T2.jpg
20191202_220300_T2.jpg (144.64 KiB) Viewed 2753 times
Regards

danielson   10 mW

10 mW
Posts: 30
Joined: Aug 21 2019 1:45am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by danielson » Dec 02 2019 7:09pm

casainho wrote:
Dec 02 2019 2:47am
danielson wrote:
Dec 02 2019 1:40am
Got my SW102 from pswpower today. Do I still need to cut it open to flash / update bootloader and firmware or can it be done via bluetooth. Recall reading that bluetooth was on the way.
Follow the wiki instructions.
Thanks, I thought I read that it would / might be possible to do it without cutting to make the swd connection soon. Have I read wrongly ?

Waynemarlow   1 kW

1 kW
Posts: 318
Joined: Jul 09 2016 7:22am
Location: Bucks, England

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by Waynemarlow » Dec 03 2019 7:42am

Guys, bit of a grumble and it must irritating for the software developers having to wade through a whole pile of bike and battery related stuff on the Motor Technology thread.

Perhaps we could get it back on the correct thread and leave the actual software and motor development here.

viewtopic.php?f=28&t=79788

nick2204   1 µW

1 µW
Posts: 1
Joined: Dec 03 2019 8:03am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by nick2204 » Dec 03 2019 8:07am

danielson wrote:
Dec 02 2019 7:09pm
casainho wrote:
Dec 02 2019 2:47am
danielson wrote:
Dec 02 2019 1:40am
Got my SW102 from pswpower today. Do I still need to cut it open to flash / update bootloader and firmware or can it be done via bluetooth. Recall reading that bluetooth was on the way.
Follow the wiki instructions.
Thanks, I thought I read that it would / might be possible to do it without cutting to make the swd connection soon. Have I read wrongly ?
Yeah you still have to open it for the first go.
I did find that rather than cutting it open, you can heat it carefully from the front to soften the glue holding the glass and buttons on(much like removing a mobile phone screen). just don't heat too quickly or you'll melt the plastic.

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 03 2019 10:25am

850C display new firmware release

Download here: https://github.com/OpenSource-EBike-fir ... 5.0-beta.7

These release would not be possible without the recent work of the developers: geeksville, lowPerformer and casainho.

NOTE: this version was developed for the TSDZ2 motor controller firmware v0.19.0.

Image Image

Image Image

Changelog beta.6:
- corrected issue about Imperial units on graphs
- corrected issue about trip distance always being 0 on numeric field
- changed buttons to enter field customization, so no on/off button is used to enter as this can make the user to turn off the system by mistake
- added soft color transitions on error and warning thresholds values, on graph and numeric fields
- added error and warning thresholds configurations
- added graph max and min configurations
- added hall sensors state and pedal right/left state on configurations - technical, so it is easy do debug faulty hall sensors as also verify correct pedal right/left - all this needs a specific motor firmware that should release soon (based on V0.19.x) otherwise this values will be zero without meaning
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

mittkonto   10 mW

10 mW
Posts: 34
Joined: Mar 02 2019 2:31am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by mittkonto » Dec 03 2019 12:42pm

You devs are awesome!!!
By the wholesome Code Gods of Muchgivings!!? A tidy TSDZ2 spliced cable and a nice chunk of HIGO-Z812-B with a tad of temperature mods sprinkled on top, you say?

AZUR   100 W

100 W
Posts: 116
Joined: Apr 05 2018 6:52am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by AZUR » Dec 03 2019 12:45pm

casainho wrote:
Dec 03 2019 10:25am
850C display new firmware release

Download here: https://github.com/OpenSource-EBike-fir ... 5.0-beta.7

These release would not be possible without the recent work of the developers: geeksville, lowPerformer and casainho.

NOTE: this version was developed for the TSDZ2 motor controller firmware v0.19.0.

Image Image

Image Image

Changelog beta.6:
- corrected issue about Imperial units on graphs
- corrected issue about trip distance always being 0 on numeric field
- changed buttons to enter field customization, so no on/off button is used to enter as this can make the user to turn off the system by mistake
- added soft color transitions on error and warning thresholds values, on graph and numeric fields
- added error and warning thresholds configurations
- added graph max and min configurations
- added hall sensors state and pedal right/left state on configurations - technical, so it is easy do debug faulty hall sensors as also verify correct pedal right/left - all this needs a specific motor firmware that should release soon (based on V0.19.x) otherwise this values will be zero without meaning

Thanks Casainho, Geeksville, and LowPerformer.

I will try tomorrow.

Regards

AZUR   100 W

100 W
Posts: 116
Joined: Apr 05 2018 6:52am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by AZUR » Dec 03 2019 12:53pm

AZUR wrote:
Dec 03 2019 12:45pm
casainho wrote:
Dec 03 2019 10:25am
850C display new firmware release

Download here: https://github.com/OpenSource-EBike-fir ... 5.0-beta.7

These release would not be possible without the recent work of the developers: geeksville, lowPerformer and casainho.

NOTE: this version was developed for the TSDZ2 motor controller firmware v0.19.0.

Image Image

Image Image

Changelog beta.6:
- corrected issue about Imperial units on graphs
- corrected issue about trip distance always being 0 on numeric field
- changed buttons to enter field customization, so no on/off button is used to enter as this can make the user to turn off the system by mistake
- added soft color transitions on error and warning thresholds values, on graph and numeric fields
- added error and warning thresholds configurations
- added graph max and min configurations
- added hall sensors state and pedal right/left state on configurations - technical, so it is easy do debug faulty hall sensors as also verify correct pedal right/left - all this needs a specific motor firmware that should release soon (based on V0.19.x) otherwise this values will be zero without meaning

Thanks Casainho, Geeksville, and LowPerformer.

I will try tomorrow.

Regards
So now the buttons to enter field customization is not on/off anymore?

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 04 2019 5:37am

AZUR wrote:
Dec 03 2019 12:53pm
So now the buttons to enter field customization is not on/off anymore?
I updated the wiki, see there.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 04 2019 3:43pm

Mobile app for TSDZ2 with SW102 display

My wife is an Android developer professionally and would like to start a project for learning new mobile technologies - I suggested her to develop our app as OpenSource.

For start, we would like to research current state of art of this apps for ebikes. For instance, I think the most valuable feature may be the map navigation with on top layers the specific information of ebike like battery SOC, wheel speed, motor power, etc.

Can you guys help suggest other ebike apps to have as reference and features??

We plan to put all the notes and sources on a github repository, as OpenSource.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

famichiki   100 W

100 W
Posts: 130
Joined: Jul 12 2019 9:00am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by famichiki » Dec 04 2019 6:36pm

casainho wrote:
Dec 03 2019 10:25am
850C display new firmware release
Hi casainho,

I'm trying to judge if I should purchase a better display so I can run the main version of your firmware, currently I have a VLCD5 and am running a fork.

There is a motor overrun problem because the cadence rpm does not drop to zero for up to a couple of seconds after stopping pedalling. The overrun duration increases with cadence rpm. I have heard the overrun is also present in the main v0.19 but I cannot verify it for myself, due to only having the VLCD5.

Was this ever this corrected in v0.19 or v0.20? If yes, was there any particular simple fix that resolved it, or was it a major rewrite? If it exists, I am wondering if a fix can easily be applied to the VLCD5 fork also.

Thanks.

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 05 2019 2:33am

famichiki wrote:
Dec 04 2019 6:36pm
There is a motor overrun problem because the cadence rpm does not drop to zero for up to a couple of seconds after stopping pedalling. The overrun duration increases with cadence rpm
This is not my priority, may take months until something is done.

But I hope in 1 month to start working again in the motor controller but there are many things to be improved, I don't know what will happen.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

AZUR   100 W

100 W
Posts: 116
Joined: Apr 05 2018 6:52am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by AZUR » Dec 05 2019 12:41pm

casainho wrote:
Dec 04 2019 5:37am
AZUR wrote:
Dec 03 2019 12:53pm
So now the buttons to enter field customization is not on/off anymore?
I updated the wiki, see there.
Thanks Casainho

In the 850C the configuration procedure and the information on the fields are amazing.

We can see the voltage, current, motor power, human power, cadence, etc.

Well done.

Today I did some real tests with 15S1P battery with 21700 4800mA .

I will report later but everything went ok.

redwater   10 mW

10 mW
Posts: 24
Joined: Oct 18 2019 12:36pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by redwater » Dec 06 2019 1:03pm

Hi, excellent job Casainho. Will be in future estimated range battery on 850C ?

Regards

redwater   10 mW

10 mW
Posts: 24
Joined: Oct 18 2019 12:36pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by redwater » Dec 06 2019 1:10pm

AZUR wrote:
Dec 03 2019 12:53pm
AZUR wrote:
Dec 03 2019 12:45pm
casainho wrote:
Dec 03 2019 10:25am
850C display new firmware release

Download here: https://github.com/OpenSource-EBike-fir ... 5.0-beta.7

These release would not be possible without the recent work of the developers: geeksville, lowPerformer and casainho.

NOTE: this version was developed for the TSDZ2 motor controller firmware v0.19.0.

Image Image

Image Image

Changelog beta.6:
- corrected issue about Imperial units on graphs
- corrected issue about trip distance always being 0 on numeric field
- changed buttons to enter field customization, so no on/off button is used to enter as this can make the user to turn off the system by mistake
- added soft color transitions on error and warning thresholds values, on graph and numeric fields
- added error and warning thresholds configurations
- added graph max and min configurations
- added hall sensors state and pedal right/left state on configurations - technical, so it is easy do debug faulty hall sensors as also verify correct pedal right/left - all this needs a specific motor firmware that should release soon (based on V0.19.x) otherwise this values will be zero without meaning

Thanks Casainho, Geeksville, and LowPerformer.

I will try tomorrow.

Regards
So now the buttons to enter field customization is not on/off anymore?
Butttons to enter customization and configuration menu are swaped now.

Uturn   1 W

1 W
Posts: 58
Joined: Jun 06 2018 10:09am

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by Uturn » Dec 07 2019 6:29am

I find it a bit difficult we currently seem to see a firmware 0.19 for sw 102 and one for 850c, and a firmware 0.20 for LCD3, plus I find it especially difficult to locate those firmwares on Github as there does not seem to be one folder containing, say, all beta firmware stuff. Would be great to have some convenient menu in github to point us to current versions of stuff and to bleeding edge versions of stuff easily.

casainho   10 GW

10 GW
Posts: 4093
Joined: Feb 14 2011 2:43pm

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Post by casainho » Dec 07 2019 9:13am

Uturn wrote:
Dec 07 2019 6:29am
Would be great to have some convenient menu in github to point us to current versions of stuff and to bleeding edge versions of stuff easily.
Good idea. It should be a wiki page pointing to the download/release of github. Are you able to do it??
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of the Flexible OpenSource firmware for EBikes: TSDZ2 mid drive motor, KT motor controllers and displays: Bafang 850C color, SW102 Bluetooth and KT-LCD3.

If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.

Post Reply