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

I have similar problem with my motor, although the power drop happens irregularly and returns to normal after a few seconds. Also the power only goes partially down, current draw being around 0.5 to 1.5 A. Seems to mostly happen when I'm pedaling hard uphill, but sometimes also when driving steadily on level ground.

I have throttle installed, which I don't use that often, but few times I've tried to drive longer with throttle and the power drop never happens. When this problem started, I also calibrated the torque sensor again, and when doing that on the right side I had briefly ADC value going back to zero down when more weight was applied, although later I could not replicate that anymore. So probably there's something wrong with the sensor, even though the ADC readings usually seem fine.
 
ilu said:
I have similar problem with my motor, although the power drop happens irregularly and returns to normal after a few seconds. Also the power only goes partially down, current draw being around 0.5 to 1.5 A. Seems to mostly happen when I'm pedaling hard uphill, but sometimes also when driving steadily on level ground.

I have throttle installed, which I don't use that often, but few times I've tried to drive longer with throttle and the power drop never happens. When this problem started, I also calibrated the torque sensor again, and when doing that on the right side I had briefly ADC value going back to zero down when more weight was applied, although later I could not replicate that anymore. So probably there's something wrong with the sensor, even though the ADC readings usually seem fine.
God idea!! It is possible to test using the virtual throttle in the case you do not have the physical throttle installed.
 
vdivald said:
When I'm pedalling the assist drops for short period of time. It happens only when I apply bigger force on the pedals. It only happens if I pedal hard. If I pedal very lightly with a high assist level, the motor current is normal, it goes up to 16 Amp (software limit) and assist is normal. If I keep pedalling hard the assist doesn't return.

Lately I'm having the same issue. In my case I'm pretty sure its a bad cell dropping below 2.8v and the BMS cuts power to the whole battery for a moment

I confirmed this by using a lower assist level and pressing hard and no issues

Hope this helps
JB
 
Is there anywhere a backup of original 48V 250W version available in order to flash it to a 48V 500W / 750W version and make it road legal in Germany?

Also, any news about the new Infineon controller? What is kind of controller PSW delivering at the moment with 36V / 48V versions - new or old controller?

Regards
 
FD88 said:
Is there anywhere a backup of original 48V 250W version available in order to flash it to a 48V 500W / 750W version and make it road legal in Germany?

Also, any news about the new Infineon controller? What is kind of controller PSW delivering at the moment with 36V / 48V versions - new or old controller?

Regards

To first question. If you use now 850C or 860C display you can put street mode on and configure any speed and motor power there what you want.

Configurations: https://github.com/OpenSourceEBike/TSDZ2_wiki/wiki/Features-and-configurations-on-display
 
FD88 said:
I.....
Also, any news about the new Infineon controller? What is kind of controller PSW delivering at the moment with 36V / 48V versions - new or old controller?....
Imho only EnerProf (Germany) delivers the 36V-250W-25km/h with that controller.
I haven't yet heard that PSW deliver the new controller.
 
Peacepirate said:
But i wonder in which funny world this firmware is an improvement compared to the stock firmware apart from the display implementation. Are you kidding me??? Months of work and programming and this is the result??? For real?
I understand the issue, but please, this is a noble community project in on-going development, so the irksome tone of your post is uncalled for and likely counter productive.

I think this fault is well know, casainho linked to a fix for an issue with the lights that might help: https://github.com/OpenSource-EBike-fir ... -699741653, there was also talk of adding a low pass filter to eliminate noise that might be confusing the current values for the PWM. Sadly I didn't feel familiar enough with how to implement the files in that link to risk trying to implement it.

I worry everytime I plug and unplug those thin-contact plugs and load and unload software that I'm going to mess something up and lose the use of my bike, so have hesitated experimenting with a software fix I don't really understand. I was hoping to see a newer version that had a definitive fix, but this thread suggests maybe not.

It was the complaint of my daughter, with whom I share my bike, about the assist lag that led me to reinstall the stock firmware as well. I really miss the data, but the work around of enabling AWOP was a bit of a safety issue for us as we usually ride with a toddler in the back, and having the motor kick in while she is mounting or dismounting because the pedal got bumped led to a few scary moments. We live on a moderate hill, so are starting uphill uphill 50% of the time. Losing so much momentum during a shift (even though we have a Nexus 8 that shifts well under slight load) ended up the deal breaker.
 
dameri said:
FD88 said:
Is there anywhere a backup of original 48V 250W version available in order to flash it to a 48V 500W / 750W version and make it road legal in Germany?

Also, any news about the new Infineon controller? What is kind of controller PSW delivering at the moment with 36V / 48V versions - new or old controller?

Regards

To first question. If you use now 850C or 860C display you can put street mode on and configure any speed and motor power there what you want.

Configurations: https://github.com/OpenSourceEBike/TSDZ2_wiki/wiki/Features-and-configurations-on-display

Thanks, but this is not the answer to my question or another possible solution. In Germany, it is not allowed by law to change these values / toggle between different legal/illegal modes over a display, a switch, a bluetooth mobile phone etc. In case of an accident you have to proof that no illegal mode was activated and that is impossible if there possibilties to changes between modes over the display, you will really get frocked by your insurance, by the police and by the judge.

I am looking for an original 48V 250W road legal file (stock firmware). Is the Enerprof 48V 250W version the only 48V version with 250W from the factory? And is / was it only available with the new Infineon controller inside?

If PSW is still delivering 48V 500W / 750W with the old controller is would be very nice to buy it and flash it with a 250W true road legal stock file from somewhere else.
 
FD88 said:
.....In Germany, it is not allowed by law to change these values / toggle between different legal/illegal modes ......
I am looking for an original 48V 250W road legal file (stock firmware). ....
.....
If you only want stock firmware, this is not the right topic to ask.
 
Elinx said:
FD88 said:
.....In Germany, it is not allowed by law to change these values / toggle between different legal/illegal modes ......

I am looking for an original 48V 250W road legal file (stock firmware). Is the Enerprof 48V 250W version the only 48V version with 250W from the factory? And is / was it only available with the new Infineon controller inside?

If PSW is still delivering 48V 500W / 750W with the old controller is would be very nice to buy it and flash it with a 250W true road legal stock file from somewhere else.
If you flash OSF for 850C/860C/SW102 then all settings can be done with the display. So you can't use this firmware as legal as you want.
If you flash OSF for stock display, you must insert the settings before flashing. You can setup a maximum speed of 25 km/h and prevent changes by display, so you can't change this anymore afterwards, or you must flash again.
If you order a tsdz2 from PSW and stock FW, you can always change the speed with the display, what isn't legal as you say.
Only EnerProf (Germany) has the 25km/h limit, problably for the same reasons you want.

FYI
All Tsdz2 stock firmware (for the old controller) you can find at Eco Cycles cloud drive

If you only want stock firmware, this is not the right topic to ask.

In this topic there are the people who have by far the best understanding of the software.

I know the Google cloud drive with the stock files for the motor controller, but there is for every motor version only one(!) file set for every hardware version: 36V, 36V with coaster brake, 48V, 52V. There are no files for them for the different wattages (250/350/500/750W). I don't believe that the wattage setting is done in the display, is has to be in the motor controller. Does anyone know why?

In Germany, not only the 25km/h limit is an issue. The motor has to be 250W max. as rated capacity. I don't believe that Enerprof has really max. 25km/h speed limit. Just take a look at their manual - 25km/h is the standard setting only, but they say that you can adjust it up to 45km/h. For them it is not a problem, they only sell the parts and do not build the bike in the end. They only claim that their product conforms to CE and that DIN EN 15194 has to be applied / is valid for it - not that it conforms to DIN EN 15194 and that's a huge(!!!) legal difference. There are lots of sellers in Germany who give a shit on the regulations because it is not their problem when the end user has an accident. Even big players like BOSCH did it similarly (downrated a 500W motor to 250W and software modes for on/off road easily adjustable) in the past. That's why in 2018 DIN EN 15194 was adjusted. It was and still is a legal gray area, but the rules are very clear if you know which rules apply for all other cars, vehicles, bikes etc. in Germany. The whole situation in Germany is a ticking time bomb until there will be a precedent for this topic and this will clarify the situation finally.
 
you have to proof that no illegal mode was activated and that is impossible if there possibilties to changes between modes over the display

Then how will you prove you did not flash original software over modified software in the first place?
 
Woly said:
you have to proof that no illegal mode was activated and that is impossible if there possibilties to changes between modes over the display

Then how will you prove you did not flash original software over modified software in the first place?

In case of an accident a recognized expert is allowed to investigate your bike. There will be no problem if you have a stock firmware installed matching the legal requirements. But you will have a huge problem if the expert finds out that you have a firmware installed with the possibility to switch between legal and illegal modes (on / off road modes) and then you have to proof that you didn't use the illegal mode during the accident and that's impossible. Even the possibility to switch between these modes is already considered as illegal.
 
FD88 said:
I know the Google cloud drive with the stock files for the motor controller, but there is for every motor version only one(!) file set for every hardware version: 36V, 36V with coaster brake, 48V, 52V. There are no files for them for the different wattages (250/350/500/750W). I don't believe that the wattage setting is done in the display, is has to be in the motor controller. Does anyone know why?

It may as well be thay there are no differences in the firmware of the different wattage rated motors, but some of the sellers have noted that it's better for sales to have them nominally available. At least I didn't have any noticeable difference in peak power when I switched my 36V 250W rated motor's firmware to OSF with 16A setting (max ~600W). And I think that with a hard capped peak power of 250W there's not much reason to use a rather heavy torque sensor midmotor like TSDZ2.
 
The other thing to consider is that Bosch, Shimano,Brose etc all produce 250W motors that will output 800W and legally sell in Germany. There are others like FlyOn that output closer to 1000W’s and legally sell into the EU market.

Do some research to convince yourself, but the 250W is not the output upper limit, but that your motor can maintain an output of 250W without damage to the motor.

What is set in stone is not the watts, but the speed limit of 25kph.
 
There is a new TSDZ2 motor firmware release v1.1.1 -- this version solves an issue on the communications as on the TSDZ2 wireless project we found an issue and solved it. It should not be relevant if your display works well, like it startups correctly and control TSDZ2 motor as expected.

There are no new firmware versions for the displays.

Download: https://github.com/OpenSourceEBike/Color_LCD/releases/tag/860C_850C_SW102_v1.1.0

And the news from the TSDZ2 wireless:

I would like to show my TSDZ2 fully wireless and the best wireless display for TSDZ2

I build my own wireless remote and I decided to use a 860C display keypad. As seen on the picture, one cable is the keypad and the other is for the brake sensors (yes, the brake sensors are also wireless!!).
Also note the CR2032 coin cell that gives the power to the wireless remote for about 2.5 years.

20210131-165247-2.jpg


And some tape to make it water prof and the water prof Higo connector to connect to the magnetic brake sensors that are installed on the brake levers:

20210131-172704-2.jpg


And the remote LED with red light showing that I am using the brakes:

wireless-remote-1.jpg


And the GPS wireless display showing the TSDZ2 EBike battery level as also the current assist level number. Also note my heart rate graph, where it is being measured on my pulse by my watch and sent wireless to the GPS wireless display:

20210131-184927-2.jpg


If you want to have a clean EBike and/or cheap EBike, the Garmin GPS wireless display and the wireless remote are optional as you can use you mobile phone to see the EBike data and control everything on the TSDZ2.

The cost of materials to make TSDZ2 fully wireless is about 25€ only!! See how to build it for free on the project page: https://opensourceebike.github.io/

The mobile app:

Screenshot-20210113-083624-EBike-wireless.jpg
 
Congratulations! That is super cool. I assume if not using brake sensors there would need to be no cable on the keypad.
 
nesdon said:
Congratulations! That is super cool. I assume if not using brake sensors there would need to be no cable on the keypad.
The brake signal goes wireless like the buttons signals. Yes, if not using the brake sensors, then na cable at all.
 
ilu said:
FD88 said:
I know the Google cloud drive with the stock files for the motor controller, but there is for every motor version only one(!) file set for every hardware version: 36V, 36V with coaster brake, 48V, 52V. There are no files for them for the different wattages (250/350/500/750W). I don't believe that the wattage setting is done in the display, is has to be in the motor controller. Does anyone know why?

It may as well be thay there are no differences in the firmware of the different wattage rated motors, but some of the sellers have noted that it's better for sales to have them nominally available. At least I didn't have any noticeable difference in peak power when I switched my 36V 250W rated motor's firmware to OSF with 16A setting (max ~600W). And I think that with a hard capped peak power of 250W there's not much reason to use a rather heavy torque sensor midmotor like TSDZ2.

I can confirm that. I bought the 48V 250W version from enerprof in Germany and flashed it with the stock firmware from eco-cycles (the Google Drive you're mentioning). This made no difference in power.
Actually, you can know if the firmware has an Amp limit by reading the data memory tab. It's explained here
https://www.eco-ebike.com/blogs/eco-cycles-instructionals/tsdz2programmingfromscratch
When I read mine, it had the value 00, which apparently means the following
"Some TSDZ2/Controllers will read‘00’when they come from the factory which seems to default the power level."
So, the 250W version is just marketing... Enerprof still gives a street-legal certification. I can supply you with their firmware if you want it (48V).
 
FD88 said:
Woly said:
you have to proof that no illegal mode was activated and that is impossible if there possibilties to changes between modes over the display

Then how will you prove you did not flash original software over modified software in the first place?

In case of an accident a recognized expert is allowed to investigate your bike. There will be no problem if you have a stock firmware installed matching the legal requirements. But you will have a huge problem if the expert finds out that you have a firmware installed with the possibility to switch between legal and illegal modes (on / off road modes) and then you have to proof that you didn't use the illegal mode during the accident and that's impossible. Even the possibility to switch between these modes is already considered as illegal.

You do understand that the stock firmware allows the user to change the speed limit?
This makes the stock motor illegal too.

FYI it's 250 watts continuous average output over 30 minutes. Which is why Bosch etc can legally peak at 500+ watts.
 
SW102 problem: I've tried the successive quick click and long hold on the power button to access the Config screen for initial setup with the OSF. No success after many attempts. The wiki page doesn't describe the button sequence for this on the SW102. An earlier post to this forum suggested that this was the method.
Is there any other way to open the Config screen? Perhaps there's a fault on my display. I've tried both Version 1.1 and 1.0 but still no luck getting to Config.
Are there any earlier releases I could try which have a different button sequence to open Config?
Any help would be greatly appreciated.
 
Hangman said:
SW102 problem: I've tried the successive quick click and long hold on the power button to access the Config screen for initial setup with the OSF. No success after many attempts. The wiki page doesn't describe the button sequence for this on the SW102. An earlier post to this forum suggested that this was the method.
Is there any other way to open the Config screen? Perhaps there's a fault on my display. I've tried both Version 1.1 and 1.0 but still no luck getting to Config.
Are there any earlier releases I could try which have a different button sequence to open Config?
Any help would be greatly appreciated.

I assume it is up/down & on/off as in the manual: https://github.com/OpenSourceEBike/TSDZ2_wiki/wiki/Features-and-configurations-on-display
 
Hi Alfie, Thanks for your interest. You can't press UP and DOWN together on the SW102 display. It's a rocker switch, either UP or DOWN but not able to do both together.
 
Hangman said:
Hi Alfie, Thanks for your interest. You can't press UP and DOWN together on the SW102 display. It's a rocker switch, either UP or DOWN but not able to do both together.
Sure you can!! at least on the SW102 displays I have.
 
OK cool, thanks, I'll have another try.
I read somewhere that there's this double click thing on the power button and assumed the rocker action of the buttons would make simultaneously clicking both impossible. No wonder it wasn't working!
Really looking forward to trying the new firmware.
 
Back
Top