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

kallt_kaffe said:
NexusG said:
I have bought a spare controller in mid-may on Pswpower and it still have the STM8 microcontroller
I ordered my 48V TSDZ2 (no throttle version) on the 31st of May (from pswpower) and while my VLCD5-display (version 5.0) allow setting max speed up to 60km/h (instead of the 45km/h I expected) it does allow for disabling speed limit or just increasing it, something I understand (if my german skills did not deceive me) from the german thread was a problem with the new version. Also I do not experience the hard shut-off when it reaches the speed limit that's also described in the german thread. Still waiting for my STLinkV2 to arrive to be able to confirm for sure.

Is there any source for the spare controller in Germany that's not shipped from China?
 
hefest said:
Is there any source for the spare controller in Germany that's not shipped from China?
Not that I have found but I haven't looked that hard either.
EDIT: There are controller for sale on both amazon.co.uk and amazon.de. Not sure how to tell if they are shipped from within EU or if they are shipped from China though.
 
Casainho, does the latest 1.0.0 have a threshold for assist w/o pedal?

I can't remember...
 
cavi said:
or I can just send you some cash and you can get them so I do not have to have them shipped to me than ship them to you. How can I send you money? Paypal to friends and family?
Sent some Cash to you yesterday
 
Nfer said:
HughF said:
Casainho, does the latest 1.0.0 have a threshold for assist w/o pedal?

I can't remember...

yes it does. The default value is 20
Cool, I need to find my stlink and upgrade from 1.0.0alpha
 
casainho said:
Are there are many others things to do that I think have higher priority:
- solve SW102 lock issues on configurations menu
- solve lights issue
- automatic shutdown does not work
- Trip (with quick reset): time, distance, Wh
- Short Trip: time, distance, Wh
- kms range estimation, based on Wh used of current short trip, last 5 or 10 minutes
- disable sensors: brake, cadence and torque

Did you fix the light problem?
I have a simple light mounted.I rode with the lights on for several kilometers.
I stopped pedaling before crossing the streets.
When I wanted to speed up I saw that the engine was not working.
It started working when I drove about 100m.
The lamp is ordinary (led) cheap
 
cityboy19 said:
Did you fix the light problem?
I have a simple light mounted.I rode with the lights on for several kilometers.
I stopped pedaling before crossing the streets.
When I wanted to speed up I saw that the engine was not working.
It started working when I drove about 100m.
The lamp is ordinary (led) cheap

The lights included in the motor kit work well
 
Does anyone here use their TSDZ2 for real mountain biking? With the new firmware I am having a problem where the motor cuts out when you need it most. Like for instance I was doing an uphill switchback, and right on the power stroke on the corner the motor doesn't engage and I fell over down the hill. Then a second time in a ditch, the motor did not engage on a hard pedal and I scraped the hell out of my elbow.

I thought I fixed the problem by disabling the field weakening but that doesn't seem to be the case. I cannot figure out what it might be. BTW both our bikes were doing this. I tried switching from torque to power under motor settings as well but doesn't seem to matter.

I am using the SW102 with 1.0.0 of the firmware.
 
Aquakitty said:
Does anyone here use their TSDZ2 for real mountain biking? With the new firmware I am having a problem where the motor cuts out when you need it most. Like for instance I was doing an uphill switchback, and right on the power stroke on the corner the motor doesn't engage and I fell over down the hill. Then a second time in a ditch, the motor did not engage on a hard pedal and I scraped the hell out of my elbow.

I thought I fixed the problem by disabling the field weakening but that doesn't seem to be the case. I cannot figure out what it might be. BTW both our bikes were doing this. I tried switching from torque to power under motor settings as well but doesn't seem to matter.

I am using the SW102 with 1.0.0 of the firmware.
Rode mine today on real trails, with the newest software and the settings I posted earlier in this thread it works great. Only thing that does not work is the throttle, it is useless as it is. Seems that it is tied to your current PAS level so it really does not do you much good.
Casino, is there anything I am missing on setting the throttle? Honestly i am about to ditch it.
 
Aquakitty said:
Does anyone here use their TSDZ2 for real mountain biking? With the new firmware I am having a problem where the motor cuts out when you need it most. Like for instance I was doing an uphill switchback, and right on the power stroke on the corner the motor doesn't engage and I fell over down the hill. Then a second time in a ditch, the motor did not engage on a hard pedal and I scraped the hell out of my elbow.

I thought I fixed the problem by disabling the field weakening but that doesn't seem to be the case. I cannot figure out what it might be. BTW both our bikes were doing this. I tried switching from torque to power under motor settings as well but doesn't seem to matter.

I am using the SW102 with 1.0.0 of the firmware.
Try the settings I posted a good few pages back, that's what I have found to give the fastest engagement response.

I'm on the lookout for a f/s frame to build my other tsdz2 into, then I can try some proper mountain biking with it. I took my 700c hybrid bike on a rock garden yesterday and came out with a smashed up leg and the battery held on with a spare inner tube :)
 
Aquakitty said:
Does anyone here use their TSDZ2 for real mountain biking? With the new firmware I am having a problem where the motor cuts out when you need it most. Like for instance I was doing an uphill switchback, and right on the power stroke on the corner the motor doesn't engage and I fell over down the hill. Then a second time in a ditch, the motor did not engage on a hard pedal and I scraped the hell out of my elbow.

I thought I fixed the problem by disabling the field weakening but that doesn't seem to be the case. I cannot figure out what it might be. BTW both our bikes were doing this. I tried switching from torque to power under motor settings as well but doesn't seem to matter.

I am using the SW102 with 1.0.0 of the firmware.

Are you using brake sensors? With those there's always a slight delay before the motor starts to work again. Because of this I only have the sensor on the rear brake and use only front brake when instant motor engage is needed.
 
Aquakitty said:
Does anyone here use their TSDZ2 for real mountain biking? With the new firmware I am having a problem where the motor cuts out when you need it most. Like for instance I was doing an uphill switchback, and right on the power stroke on the corner the motor doesn't engage and I fell over down the hill. Then a second time in a ditch, the motor did not engage on a hard pedal and I scraped the hell out of my elbow.

I thought I fixed the problem by disabling the field weakening but that doesn't seem to be the case. I cannot figure out what it might be. BTW both our bikes were doing this. I tried switching from torque to power under motor settings as well but doesn't seem to matter.

I am using the SW102 with 1.0.0 of the firmware.

Sounds like torque sensor not being able to sense anything because of pedal kickback https://youtu.be/XGxYZ9Rh2t4. It occurs more on certain rear suspension designs and especially evident on slow speeds with high suspension compressions (pedalling very hard/going through ditch/going over rocks/mounds).

What I like to do when going through rough terrain is to turn the assist down low so that I mostly use power through my own legs, that way if the motor doesn't respond in time, you can still make it through the technical terrain under your own power as you don't expect motor to help you that much anyways.
 
Aquakitty said:
Does anyone here use their TSDZ2 for real mountain biking? With the new firmware I am having a problem where the motor cuts out when you need it most. Like for instance I was doing an uphill switchback, and right on the power stroke on the corner the motor doesn't engage and I fell over down the hill. Then a second time in a ditch, the motor did not engage on a hard pedal and I scraped the hell out of my elbow.

I thought I fixed the problem by disabling the field weakening but that doesn't seem to be the case. I cannot figure out what it might be. BTW both our bikes were doing this. I tried switching from torque to power under motor settings as well but doesn't seem to matter.

I am using the SW102 with 1.0.0 of the firmware.

Read the configuration section of the wiki. In Various, disable the cadence fast stop
 
feyris said:
baloubic said:
Wonder if a small 6v relay would work better, allowing you to pass the signal from the display even though you draw power to the light from the battery?
I'm pretty sure that a 6v relay on the light signal will be ok.
Has anyone been successful with this? I see someone way back in 2018 mentioned getting a MOSFET to work (for the most part) similarly and I'm hoping to get either that or a solid state relay to work.
 
stancecoke said:
casainho said:
Do you know what is the microcontroller?

As far as I can see, it's an Infineon XMC1302 38Pin.
The Infineon DAVE IDE seems to be for free, but I can't find a cheap programmer?!

regards
stancecoke

I have a brand new 48v motor still in the box (from pswpower EU warehouse sent after June 14).. no battery yet.
What is the task to perform to make sure which controller I have?
I was thinking to use the 4 wires to connect through the speed sensor port and try to read the memory with the STVP software.. if it respond I guess I've the old STM version, correct?
 
danjoh13 said:
feyris said:
I'm pretty sure that a 6v relay on the light signal will be ok.
Has anyone been successful with this? I see someone way back in 2018 mentioned getting a MOSFET to work (for the most part) similarly and I'm hoping to get either that or a solid state relay to work.

I use this relay to switch the lights working on 52V battery power and it works without a problem. (The image in the link shows 12V relay but it's really 5V)
 
thineight said:
stancecoke said:
casainho said:
Do you know what is the microcontroller?

As far as I can see, it's an Infineon XMC1302 38Pin.
The Infineon DAVE IDE seems to be for free, but I can't find a cheap programmer?!

regards
stancecoke

I have a brand new 48v motor still in the box (from pswpower EU warehouse sent after June 14).. no battery yet.
What is the task to perform to make sure which controller I have?
I was thinking to use the 4 wires to connect through the speed sensor port and try to read the memory with the STVP software.. if it respond I guess I've the old STM version, correct?
Yes, if you can program our firmware then it is the regular motor controller. I think is highly unlikely that you will erase or damage if is the new motor controller.
 
casainho said:
Yes, if you can program our firmware then it is the regular motor controller. I think is highly unlikely that you will erase or damage if is the new motor controller.

I think I will start reading the three tabs in STVP instead of programming.. do you think it is sufficient?
 
thineight said:
casainho said:
Yes, if you can program our firmware then it is the regular motor controller. I think is highly unlikely that you will erase or damage if is the new motor controller.

I think I will start reading the three tabs in STVP instead of programming.. do you think it is sufficient?
Go ahead and see how things advance comparing to the usual flashing processing.
 
casainho said:
Go ahead and see how things advance comparing to the usual flashing processing.

Ho, I think I was lucky this time. Looking at the controller compared to the pictures of the German forum they looked different.Tried to read and flash a hex firmware I have in my pc and it worked (at least it looks like, as I don't have the motor installed to properly test).
Therefore I conclude that pswpower has still motors with the old controller.
See Picts below.
IMG-20200622-WA0003.jpg
IMG-20200622-WA0002.jpg
 
thineight said:
Therefore I conclude that pswpower has still motors with the old controller.
Lucky for you but not for me, as I need to find a source for the new motor controllers, so I can start developing the firmware for them.
 
casainho said:
thineight said:
Therefore I conclude that pswpower has still motors with the old controller.
Lucky for you but not for me, as I need to find a source for the new motor controllers, so I can start developing the firmware for them.

I think you won't find any difficulty to source a new controller: I guess many "unlucky" users with the new controller are happy to exchange with a old type.. at least I would have been that kind of user
 
cityboy19 said:
casainho said:
Are there are many others things to do that I think have higher priority:
- solve SW102 lock issues on configurations menu
- solve lights issue
- automatic shutdown does not work
- Trip (with quick reset): time, distance, Wh
- Short Trip: time, distance, Wh
- kms range estimation, based on Wh used of current short trip, last 5 or 10 minutes
- disable sensors: brake, cadence and torque

Did you fix the light problem?
I have a simple light mounted.I rode with the lights on for several kilometers.
I stopped pedaling before crossing the streets.
When I wanted to speed up I saw that the engine was not working.
It started working when I drove about 100m.
The lamp is ordinary (led) cheap

For illustration, I recorded a movie....
[youtube]7jqUf0mez4k[/youtube]

0sec-8sec : Light off; Cadence yes; Motor yes
8sec - 17 sec : Light on; Cadence yes; Motor yes
17 - 20 sec : light on; Cadence NO; Motor no
20 - 38 : Light on ; Cadence YES; Motor NO
38 - 50 : Light on ; Cadence YES ; Motor NO; change display
50 - : Light OFF ; Motor YES
 
Back
Top