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

Electric Motors and Controllers
buba   10 kW

10 kW
Posts: 587
Joined: Aug 31 2018 12:36am

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

Post by buba » Aug 27 2019 6:09am

thineight wrote:
Aug 27 2019 2:46am
buba wrote:
Aug 26 2019 2:46pm
Rafe wrote:
Aug 26 2019 1:26pm
I think you may need to look at the debounce again. As you asked I have tried A8 out on the route that I use walk assist. Very steep steps in flights of about 6 or 7 steps cut into a cliff. I set assist level to 9 at the bottom as I always do and lifting the front wheel up to start each flight and pushing the saddle to help get some traction I also always use panniers and run a heavy bike. Then I noticed that the assist was getting weaker and weaker and this was because the assist level had dropped down to 5 so I upped the assist level back to 9 and it was not long before the assist level had fallen down again. When I got to the top I discovered that this was due to fast finger bounce on the walk assist button (the down button) manually lowering the assist level.
Good points! Will fix and deactivate the button events during Walk Assist and Cruise!
Yes, I mentioned this "issue" in one of my previous posts:
- during the w.a. the DOWN button should not change the current assistance level
- of course the brake sensors shall reset everything, if activated


The use of the DOWN button shall of course be restored once the walk assist is interrupted (whether if brake sensors are applied or just the DOWN button is released for the proper amount of time).

At this point I will wait directly the A9 to test the latest features (I'm currently on A7).
Thanks :thumb:
Will fix! :) I actually read your great suggestions. But when developing and testing I noticed that with enough debounce time I had time to switch assist level without disengaging Walk Assist. Was almost like a feature that I thought would be appreciated when going uphill or in challenging terrain. The assistance does not have to disengage to increase or decrease the assist level. And it is set so that if there is a single button bounce it will not change anything. But if there are multiple bounces it will change.

However, I understand that this is maybe not that necessary so will of course disable the buttons! Maybe only disable the DOWN button and keep the other buttons active? Regardless, I understand the problem reported and will fix!
GitHub: https://github.com/leon927
PayPal: leonstor at bredband.net

thineight   100 W

100 W
Posts: 220
Joined: Oct 05 2018 3:53am

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

Post by thineight » Aug 27 2019 6:24am

To me yes, the only button to be disabled is the DOWN. I think that the finger will slip just on that one only.
I will wait the A9 to try it out, possibly before the end of the week..? I have a trip in my mind that might require a good walk assist a lot 😋
MTB KTM Ultra 29" - City bike DAYTONA 28"

buba   10 kW

10 kW
Posts: 587
Joined: Aug 31 2018 12:36am

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

Post by buba » Aug 27 2019 6:35am

maximusdm wrote:
Aug 27 2019 4:33am
Did some more tests. I just installed the motor on a new MTB 29".
I am testing A7 with the default assistance levels.
I tested power mode because I wanted to see improvements form 0.19 first, at the moment only on flat city road.
Great! :D Please try and configure to settings you feel fit your riding style!


maximusdm wrote:
Aug 27 2019 4:33am
1. Acceleration. Previously I used 8A/s and was very pleased. Now I am using 80 and seems to me a smaller acceleration.
@Buba can you please detail what is the corresponding between old mode and new one?
The acceleration is set mainly to not cause motor jitter at startup and reduce excessive strain that did not do much other than damage. This was the reason we could have premature failure of the blue gear and also accelerated wear. This is true for the metal gear as well.

The acceleration is much faster than before in all situations! Where it might feel "slower" (actually smoother) is during startups. If you press hard on the pedals you can easily get up to high power levels but there will not be a sudden power delivery so as not to strain the system.

But will of course look and see if there is anything I can improve for the Alpha 9, Maximusdm!


maximusdm wrote:
Aug 27 2019 4:33am
2. Startup boost does not work for me. Tested with 40-60-80 sensitivity. On flat this is nice to have, but on steep hill it is a must if you stoped and want to start with a 25kg bike. I think the problem here is that on old boost mode you could set a separate assistance level, but still I cannot feel no difference between 0 and 80.
There is no Startup Boost. Are you referring to startup without pedal rotation? That is a parameter to enable assistance without pedal rotation. Higher values gives assistance with lower torque applied. If you were to set it to 100 % it would assist as soon it feels torque on the pedals.

Startup Boost is included in Power Assist, sort of. Power Assist has now a wider operating range and improved control theory. So it should assist more if you want it to.

If you are using more torque and low cadence you could try Torque Assist. Otherwise, configure the Power Assist after your personal preference and I think you will find something that fits you perfectly!


maximusdm wrote:
Aug 27 2019 4:33am
3. Power delivery. On motor mode 0 (48 std) it is impossible to get 600W+ on flat with assistence 9 whatever you do. With mode 2 (48 HC) it is better, with my custom HC mode it is a BEAST! On 5 assist i get constant 800w+ at 45km/h, on huge MTB tires. With road tires i assume i can hit 50km/h with small effort. Obvious it is burning the battery but what is important is if you need speed, it can provide. :bigthumb:
I think you really need to configure the settings. They are highly individual and depend completely on the torque sensor and user. If you do that I can guarantee that you will be able to reach any power level you wish! :)


maximusdm wrote:
Aug 27 2019 4:33am
One good thing in 18.2 and 19 was that it was possible to make the motor behave violent :D. Starting with boost of 800W is :D. Now even with 9 assist it is starting with 150w
Overall impression is a more powerful motor, but it delivers the power on a linear way with smaller angle and acceleration is slower. Can this be configured or it is possible only with software changes?
Again, try changing from the default values and you will see that there will be more power :bolt: :wink: It will be smoother than before but within limits of the TSDZ2.


maximusdm wrote:
Aug 27 2019 4:33am
Thank you!
Thank you for a detailed post and feedback!
GitHub: https://github.com/leon927
PayPal: leonstor at bredband.net

buba   10 kW

10 kW
Posts: 587
Joined: Aug 31 2018 12:36am

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

Post by buba » Aug 27 2019 6:40am

thineight wrote:
Aug 27 2019 6:24am
To me yes, the only button to be disabled is the DOWN. I think that the finger will slip just on that one only.
I will wait the A9 to try it out, possibly before the end of the week..? I have a trip in my mind that might require a good walk assist a lot 😋
Thank you for a very quick reply!

Will fix!

How about I finish the A9 today? :wink:
GitHub: https://github.com/leon927
PayPal: leonstor at bredband.net

thineight   100 W

100 W
Posts: 220
Joined: Oct 05 2018 3:53am

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

Post by thineight » Aug 27 2019 6:53am

Good afternoon, I personally think that one of the major showstopper for the new displays is that currently they need to be opened in a tricky way (sw102) or a special programmer must be purchased (850c).
The work to access the bootloader, beside the connector wiring that needs to be done anyway, is actually way more difficult than the LCD3, that just requires few skrews.

The questions are:
+ Do you think that in future We will be able to purchase displays that are already prepared for the Open source firmware? Maybe an agreement with the manufacturer is required.

+ Otherwise, can an experienced user (that currently has the programmer for the bootloader) collect from the community the "orders" of the displays, make the modifications, and ship them to the people? Of course a fee for the rework must be paid by the final user.

I currently have the LCD3 and I think it has more than sufficient features for my use, therefore I hope it will last long in terms of updates. In the meantime I keep myself informed about the new displays eheheh :lol:
MTB KTM Ultra 29" - City bike DAYTONA 28"

casainho   1.21 GW

1.21 GW
Posts: 3920
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Aug 27 2019 7:08am

thineight wrote:
Aug 27 2019 6:53am
Good afternoon, I personally think that one of the major showstopper for the new displays is that currently they need to be opened in a tricky way (sw102) or a special programmer must be purchased (850c).
The work to access the bootloader, beside the connector wiring that needs to be done anyway, is actually way more difficult than the LCD3, that just requires few skrews.

The questions are:
+ Do you think that in future We will be able to purchase displays that are already prepared for the Open source firmware? Maybe an agreement with the manufacturer is required.

+ Otherwise, can an experienced user (that currently has the programmer for the bootloader) collect from the community the "orders" of the displays, make the modifications, and ship them to the people? Of course a fee for the rework must be paid by the final user.

I currently have the LCD3 and I think it has more than sufficient features for my use, therefore I hope it will last long in terms of updates. In the meantime I keep myself informed about the new displays eheheh :lol:
850C can be programmed just like KT-LCD3, that is the other option to flash it.

Currently you can buy 850C and/or TSDZ2 already flashed with our firmware.

You just need to follow the wiki to have the information about this 2 points.

850C has some improvements over KT-LCD3, like the clock and the USB charger.
- 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.

maximusdm   10 W

10 W
Posts: 78
Joined: Sep 08 2018 12:51pm

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

Post by maximusdm » Aug 27 2019 7:40am

Ok. I am almost sure I do not fully comprehend how the new configuration works. This is why I have issues.

I have additional questions :)
1. Acceleration - I will surely make this 100%. Is it possible to put more, for example 150 if I want higher acceleration?
2. Assist without pedal rotation - I do not understand what this means, sry. If I set 0, I still have startup assistance but it is very modest. I am expecting to have power at least a few hundred when I start pressing the pedals, controlled by the acceleration logic, not power spike. You can think of it as a torque assist only with a high assist factor.
My recommendation is to set assistance level to 1 and assist without pedal rotation to 100. Please try it and let me know if you feel a real startup help.
Also can I set this to 150? :)

Thanks for your support,
Max.

buba   10 kW

10 kW
Posts: 587
Joined: Aug 31 2018 12:36am

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

Post by buba » Aug 27 2019 7:57am

maximusdm wrote:
Aug 27 2019 7:40am
Ok. I am almost sure I do not fully comprehend how the new configuration works. This is why I have issues.
That is totally fine, we will try to help as much as possible! :)


maximusdm wrote:
Aug 27 2019 7:40am
I have additional questions :)
1. Acceleration - I will surely make this 100%. Is it possible to put more, for example 150 if I want higher acceleration?
100 % would be equivalent of over 200 amps per second if you really push the pedals hard at standstill. Could you please configure the assist levels and try out the different riding modes? You really need to configure the assist level multipliers because I think you are lacking power and not acceleration.


maximusdm wrote:
Aug 27 2019 7:40am
2. Assist without pedal rotation - I do not understand what this means, sry. If I set 0, I still have startup assistance but it is very modest. I am expecting to have power at least a few hundred when I start pressing the pedals, controlled by the acceleration logic, not power spike. You can think of it as a torque assist only with a high assist factor.
My recommendation is to set assistance level to 1 and assist without pedal rotation to 100. Please try it and let me know if you feel a real startup help.
Also can I set this to 150? :)
Okay, this is very important:

If you have set startup assist without pedal rotation to 0 it will not assist until it senses that the pedals are rotating. When the pedals are rotating it will start assisting. it has nothing to do with power.

If you have set startup assist without pedal rotation to some value you are allowing the system to start assisting without pedal rotation if it is over a set torque threshold. If you set it to 100 % it will start even if you apply the slightest of torque. 150 % would be negative torque.

Please try and configure the assist level multipliers so you get appropriate assistance.


maximusdm wrote:
Aug 27 2019 7:40am
Thanks for your support,
Max.
Let me know if you have any more questions, Max!
GitHub: https://github.com/leon927
PayPal: leonstor at bredband.net

casainho   1.21 GW

1.21 GW
Posts: 3920
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Aug 27 2019 8:11am

thineight wrote:
Aug 27 2019 6:53am
The questions are:
+ Do you think that in future We will be able to purchase displays that are already prepared for the Open source firmware? Maybe an agreement with the manufacturer is required.
Currently there are 2 shops selling TSDZ2 and 850C display with our OpenSource firmware: https://www.electrifybike.com and www.eco-ebike.com.

When I started this projects I didn't expect such success and I think is good that we can keep options for DIY and commercial.

Because you asked, and because I think www.eco-ebike.com option for TSDZ2 with our OpenSource firmware needs advertisement as it is new and provides very good value for users: TSDZ2 and 850C display with our OpenSource firmware (including the update box for 850C), motor temperature sensors, magnetic brakes, etc.

https://www.eco-ebike.com/products/tsdz ... a-250-750w

Image

Image

Image
- 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.

jimmyfergus   100 mW

100 mW
Posts: 49
Joined: Jul 17 2018 4:19pm

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

Post by jimmyfergus » Aug 27 2019 9:20am

thineight wrote:
Aug 27 2019 6:53am
+ Do you think that in future We will be able to purchase displays that are already prepared for the Open source firmware? Maybe an agreement with the manufacturer is required.
I believe (?) with the SW102 at least, all we need is a display with Bluetooth enabled by default. Given that, it's possible to flash it over Bluetooth. Unfortunately the SW102s easily available don't have Bluetooth enabled so the primary point of the first flash is to get that, and subsequently upgrades can be done over Bluetooth.

Bluetooth-enabled SW102s would be a huge win, only leaving cable connection to be done.

Even better would be for them to have a compatible cable with brake sensor connectors. Actually all that would be needed there would be an adaptor cable to run from the short pigtail on the motor with a female plug for the SW102 (and brakes) at the other end.

I succeeded in flashing a SW102, but I had to chop open the side of the case. I'd love to be able to run a pristine one.

buba   10 kW

10 kW
Posts: 587
Joined: Aug 31 2018 12:36am

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

Post by buba » Aug 27 2019 9:38am

Alpha 9 is up!

------------------------

Here is the wiki (work in progress):
https://github.com/OpenSource-EBike-fir ... %7C-Manual

------------------------

Here is my Google Drive folder with the Alpha 9:
https://drive.google.com/open?id=1CPGT- ... bYtY4_JH2R

------------------------

Here is my branch where you can see the source code and latest changes:
https://github.com/leon927/TSDZ2-Smart- ... ng-pwm-acc

------------------------

Here are the changes from Alpha 8:
- Walk Assist debounce time adjustable
- Walk Assist not changing assist level during accidental button bounce
- Some small display improvements
- Walk Assist, minor improvements

------------------------

Comment:
Feel free to update if you want the very latest changes. I am considering this to be a great candidate to an official beta release so more users get their hands on the 0.20.0! If no major changes are needed we could move to an official beta release via the official project page very soon!

Have not implemented the torque sensor calibration as this will take too much space. We would have to combine Torque Assist and Power Assist or do some other big changes that would facilitate enough space for the torque sensor calibration. There are ways to simplify the calibration but I am not certain it is the best thing to do for the 0.20.0 and it is not my right to decide anything regarding that!
GitHub: https://github.com/leon927
PayPal: leonstor at bredband.net

perryscope   100 W

100 W
Posts: 106
Joined: Jan 06 2019 4:29pm
Contact:

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

Post by perryscope » Aug 27 2019 11:06am

jimmyfergus wrote:
Aug 27 2019 9:20am
I succeeded in flashing a SW102, but I had to chop open the side of the case. I'd love to be able to run a pristine one.
I have successfully opened and flashed two Sw102 units now using a knife and small screwdriver in the corner of the button display. the glue is very rubbery and only really under the the screen so the plastic and buttons were both almost untouched . once back together and sealed with a small amount of silicon it really does look as good as new. I appreciate that some people prefer to cut the side off, but honestly i think the knife method all be it with a much stronger Stanley style blade is the cleanest method.
for me the trick was to use the knife to spread the plastic slightly and rather than repeat cutting. then us the small flat blade screwdriver in the bottom right corner to get under the lower plastic edge and pry the buttons out. It takes a few attempts but its steady and works well i think.

I am expecting a third device in the next week or so, so i will try to record a video this time to show the whole process.
This is the first one i did and has the most scuffing to the plastic at the bottom, the second one had no marks at all on the outside.
Attachments
sw102.JPG
sw102.JPG (84.04 KiB) Viewed 853 times
Empowered people support rider and trustee
www.empoweredpeople.co.uk

btslo   1 W

1 W
Posts: 64
Joined: Apr 17 2019 8:55am

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

Post by btslo » Aug 27 2019 12:21pm

I guess you also need the bafang extension cable since the supplied one is just 62cm?

Also, I tried eMTB with sensitivity 5 and got max assist of around 350W which was a bit low for some climbs (if I went down to max assist it boosted to 800W+)

Will try sensitivity 7 next to see if it will improve.

casainho   1.21 GW

1.21 GW
Posts: 3920
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Aug 27 2019 1:26pm

perryscope wrote:
Aug 27 2019 11:06am
I appreciate that some people prefer to cut the side off, but honestly i think the knife method all be it with a much stronger Stanley style blade is the cleanest method.
Note that by cut the side you after can glue with black silicone and the SW102 will have the same water resistant level as original: water prof. Do you think your method will also leave it water resistant?
- 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.

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

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

Post by elem » Aug 27 2019 1:40pm

btslo wrote:
Aug 27 2019 12:21pm

Also, I tried eMTB with sensitivity 5 and got max assist of around 350W which was a bit low for some climbs (if I went down to max assist it boosted to 800W+)

Will try sensitivity 7 next to see if it will improve.
Yes, if you'r using alpha8 or more,
5 it s for performers only ;)
i use 7 to match 400W+ or 8 witch is easier ...

in alpha 8 grade come from 0 to 20, default is 10 .
RockRider 9.1 TSDZ2 open source firmware .

andrea_104kg   100 W

100 W
Posts: 180
Joined: Mar 05 2018 5:51pm

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

Post by andrea_104kg » Aug 27 2019 3:44pm

Forgive me a little strange question.
Is it possible to power a 48v motor with a 36v battery? are there any drawbacks?
I have to do a long tour and I would like to use a 36v battery, at least for the stretch on the flat.
In the firmware what should I change, besides the battery? the engine type remains at 48v?

e3s   10 W

10 W
Posts: 76
Joined: Jan 08 2018 12:40pm

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

Post by e3s » Aug 27 2019 4:19pm

You lose 17,28% of rpm assist but not the torque
Last edited by e3s on Aug 27 2019 4:52pm, edited 1 time in total.

john61ct   100 MW

100 MW
Posts: 2964
Joined: Dec 18 2018 2:06pm

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

Post by john61ct » Aug 27 2019 4:23pm

AKA you lose top speed potential

buba   10 kW

10 kW
Posts: 587
Joined: Aug 31 2018 12:36am

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

Post by buba » Aug 27 2019 4:33pm

andrea_104kg wrote:
Aug 27 2019 3:44pm
Forgive me a little strange question.
Is it possible to power a 48v motor with a 36v battery? are there any drawbacks?
I have to do a long tour and I would like to use a 36v battery, at least for the stretch on the flat.
In the firmware what should I change, besides the battery? the engine type remains at 48v?
Absolutely possible and no problems at all. The drawbacks have been mentioned by other users in the posts above.

What you need to change are the battery parameters. But the motor type should never be changed. It has nothing to do with the battery. Only configure the motor type parameter depending on what type of motor you have regardless of battery.

Other than that, have a great tour! :wink:
GitHub: https://github.com/leon927
PayPal: leonstor at bredband.net


Rydon   100 W

100 W
Posts: 246
Joined: Aug 11 2016 5:26pm

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

Post by Rydon » Aug 27 2019 8:38pm

buba wrote:
Aug 10 2019 8:45pm
Rydon wrote:
Aug 10 2019 4:24pm
With A3 on coaster brake we are noticing that if you go from pedaling to brake quickly, as in an urgent braking situation, then backward resistance is there. If you then release the brake and then reapply the backward resistance is gone. Alternatively, if you have time to pause/coast before applying the brake, there is no backward resistance. Not absolutely sure but the resistance seems higher if you are in a higher level of assistance.
Good feedback and description! Will remember that and make some tests when I install the brake clutch! Did not expect I would be getting Coaster Brake feedback so soon so I do appreciate it as it prepares me for the different tests I need to do!

Thank you, Rydon!
Buba, just wondering if you had a chance to look at this with clutch installed. We did calibrate the PAS and had the same result.

perryscope   100 W

100 W
Posts: 106
Joined: Jan 06 2019 4:29pm
Contact:

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

Post by perryscope » Aug 28 2019 2:43am

casainho wrote:
Aug 27 2019 1:26pm
perryscope wrote:
Aug 27 2019 11:06am
I appreciate that some people prefer to cut the side off, but honestly i think the knife method all be it with a much stronger Stanley style blade is the cleanest method.
Note that by cut the side you after can glue with black silicone and the SW102 will have the same water resistant level as original: water prof. Do you think your method will also leave it water resistant?
Yes I think so, the surface of the plastics that interface is not warped or damaged and if you take a little time to pick out the existing glue, its easy to add a thin seam of silicon sealant all around the edge of case where the button cover seats (highlighted below)

once clicked back this should provide as good a seal as the original.
sw102-seal.JPG
sw102-seal.JPG (57.55 KiB) Viewed 752 times
For me the key to keeping the correct button movement (clickyness) was to seat the rubber seal correctly by making sure the plastic pegs were correctly pushed through ( highlighted in red) and also remove old glue, if this does not click down far enough your buttons have no feel at all. I dont know why the bottom peg does not line up correctly maybe a molding design error? however this i think helps when opening as it makes it easier to pry up the bottom left corner with a small flat end screwdriver. You can see on this first attempt how i bend the plastic slightly doing this
sw102-button-cover.JPG
sw102-button-cover.JPG (44.67 KiB) Viewed 752 times
Once my spare unit has arrived i will give mine a soak test, but i guess time will tell as to the true water-proofness :)

PS. I have purchased two units form this ali-express seller that both worked great and arrived within 10 working days to the UK from China. https://www.aliexpress.com/item/4000054 ... 4c4dxD5Vfg
Empowered people support rider and trustee
www.empoweredpeople.co.uk

casainho   1.21 GW

1.21 GW
Posts: 3920
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Aug 28 2019 4:00am

perryscope wrote:
Aug 28 2019 2:43am
For me the key to keeping the correct button movement (clickyness) was to seat the rubber seal correctly by making sure the plastic pegs were correctly pushed through ( highlighted in red) and also remove old glue, if this does not click down far enough your buttons have no feel at all.
Ok, that is why I think the side access to the pads for wiring is better, because you do not touch on the key pad and in the end it just works as original. I damaged one unit by trying to cut and I was able to access the pads but in the end, the correct button movement (clickyness) was gone and the SW102 is then damaged because the original buttons clickyness are already not so great.
- 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.

perryscope   100 W

100 W
Posts: 106
Joined: Jan 06 2019 4:29pm
Contact:

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

Post by perryscope » Aug 28 2019 4:51am

casainho wrote:
Aug 28 2019 4:00am
perryscope wrote:
Aug 28 2019 2:43am
For me the key to keeping the correct button movement (clickyness) was to seat the rubber seal correctly by making sure the plastic pegs were correctly pushed through ( highlighted in red) and also remove old glue, if this does not click down far enough your buttons have no feel at all.
Ok, that is why I think the side access to the pads for wiring is better, because you do not touch on the key pad and in the end it just works as original. I damaged one unit by trying to cut and I was able to access the pads but in the end, the correct button movement (clickyness) was gone and the SW102 is then damaged because the original buttons clickyness are already not so great.
Yes I understand why you went down that path, and I agree that not disturbing the buttons is defiantly beneficial.
Has anyone tried just drilling small holes or indeed a small slot in the correct location to connect to the programming pins using pin headers? It should be easy to create a template to get the position and depth correct and this would be also easier to seal with some silicon sealant.

Having said that I am hopeful that we may be able to program over Bluetooth from the outset so hopefully we wont need to open it at all :D
Empowered people support rider and trustee
www.empoweredpeople.co.uk

Rafe   10 W

10 W
Posts: 91
Joined: Oct 16 2018 5:56pm

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

Post by Rafe » Aug 28 2019 5:43am

buba wrote:
Aug 27 2019 9:38am
Alpha 9 is up!


Here are the changes from Alpha 8:
- Walk Assist debounce time adjustable
- Walk Assist not changing assist level during accidental button bounce
- Some small display improvements
- Walk Assist, minor improvements
Thanks Buba you have made the walk assist mode just about perfect now :thumb:

Post Reply