Search found 43 matches

by vscope
Jun 24 2019 4:58pm
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

from my rc times i remember running a brushless motor with a less agressive timing keeps the motor cooler. maybe thats also possible with the tsdz2?
by vscope
Jun 04 2019 10:26am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1122
Views: 116753

Re: Tsdz2 firmware open source adapted to vlcd5

Also I could use some advice; when opening up the motor I might have put the pas sensor in wrong somehow and don't seem to get a signal anymore. I'm hoping to debug it by temporarily displaying the pass cadence on the vlcd6 instead of the bike speed but can't get it to work. Has anyone tried use th...
by vscope
Feb 27 2019 10:23am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

I think it does not work. A lot of variables are not filled with data so the controller is waiting for them via serial. As i suggested, there should be some config-vars and runtime-vars splitted in the code and everything "non-critical" could be filled with default values. https://github.com/OpenSo...
by vscope
Feb 27 2019 6:49am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

Hi guys,
Since my KT LCD3 died, is it possible to enable the TSDZ2 by simply connecting
"green|P+|battery voltage" to "white|Vin|ground when LCD disabled and P+ (battery voltage) when LCD is enabled"?

https://github.com/OpenSource-EBike-fir ... 3-to-TSDZ2

cheers
vscope
by vscope
Nov 10 2018 9:14am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

hi casainho, i would suggest to use the wheelspeed as a factor for the ramp up. since when on speed faster ramp up is no such a problem for gears compared when wheelspeed is low. so not use a constant but a var multiplied with wheelspeed should give a quick response when its mostly needed, when on h...
by vscope
Nov 08 2018 5:34am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

Thank you all for all these informations about motors. But one more question is it dangerous for my 36V motor to run on a 13S Battery ? That question because if i order a 48V Motor for my other bike i would like to be able to use the battery on both bikes. Thank you, I am running my 36V motor on 12...
by vscope
Nov 07 2018 11:49am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

I really appreciate your work. After your notes and reports, I think I did learn a new things. First, I do not agree that we should just reduce the PWM_DUTY_CYCLE_RAMP_UP_INVERSE_STEP, as I believe it should be worst for the gears and other mechanical parts. I think it can be done like this: 1. we ...
by vscope
Nov 07 2018 5:05am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

You are correct, there is that issue with power boost not always working but it is hard to understand why. At least we know it is nothing about brakes because users with brake sensors also has the issue. If you can help to understand, great!! I think is the only issue with power boost otherwise it ...
by vscope
Nov 07 2018 3:00am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

Boost is a very nice feature for me. For instance when you ride around a corner its nice to have some extra boost to get to speed again. Or when i have to climb a short slope, i stop pedaling for a short amount and then use boost to do the climb without loosing speed. Its not that hard to implement ...
by vscope
Nov 06 2018 6:00pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

Vscope the lag also occurs without boost but that is not software related its purely due to the engine rpm catching up to your pedals, that is solved by ramping the motor up faster.. I have never used boost so not sure what this software issue is but I really dont know how you could ever program a ...
by vscope
Nov 06 2018 3:14pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

Rider pedal power show on LCD3 I implemented the code that calculates the rider torque/power/energy (in Watts), applied to the pedals. That value is now shown on LCD3, in odometer field. It also shows the pedal applied force (in Nm). I can see that my regular value is about 200W of pedal torque/pow...
by vscope
Nov 04 2018 3:57pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

maybe it would make sense to have up to 9 walk speeds. using up/down buttons when in walk mode sets the walkspeed. 0-9.
by vscope
Oct 31 2018 8:21am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

However it's not exactly clear about the lag when pedalling, I installed 14.3 a week ago, however I think that lag is present, do we have to change some settings, or it should not be present with 14.3? unfortunately lag is still present in 14.3... i hard to analyse since its so random... most of th...
by vscope
Oct 31 2018 7:11am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

However it's not exactly clear about the lag when pedalling, I installed 14.3 a week ago, however I think that lag is present, do we have to change some settings, or it should not be present with 14.3? unfortunately lag is still present in 14.3... i hard to analyse since its so random... most of th...
by vscope
Oct 31 2018 7:09am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

tried 14.3 "experimental high cadence mode" but its not working for me.
motor is less efficient when around 90rpm cadence. (20-40 watt more power needed)
less torque too. 36V motor with 12 cell lipo here.
by vscope
Oct 31 2018 5:48am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

Very cool hacking!!!!
Where did you buy yours? Just to be sure to have the same Version.
thx
vscope
by vscope
Oct 24 2018 2:45am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

firmware version?
by vscope
Oct 23 2018 5:35am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

You get a used mobile phone with touch and everything for the price of a bafang 850c...
You have GPS, Accelerometer, Bluetooth oboard ...
Screen ontime should be about 5 hours for a charge.

We just need to do an Android app thats all.
Thats not hard to do.
I can help here.
by vscope
Oct 23 2018 2:38am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

the main problem with android stuff is how to change assist levels? i think the buttons of klcd near the grip are very important. however we can use something like these instead? https://www.ebay.de/itm/Auto-Car-Lenkrad-Fernbedienung-Audio-Media-Musik-Bluetooth-Remote-Control-Button-/253464468584 ht...
by vscope
Oct 22 2018 2:30pm
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

casainho maybe we can find possible drivers if we have the resolution and size of the display? can you make a high res picture so we can check the resolution (count pixels). then search alibaba :) https://www.alibaba.com/product-detail/3-2-inch-display-ILI9341-lcd_60740625986.html?spm=a2700.7724838....
by vscope
Oct 22 2018 2:09pm
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 7267
Views: 758471

Re: New "TSDZ2 Torque Sensor Central Motor"

Maybe we should just write an email to bafang, if we are lucky we get some info about the used display/driver.
by vscope
Oct 19 2018 6:31am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

maybe we should add a eeprom config version number to the builds.check on boot if eeprom version in build not the same as eeprom version saved in eeprom. clear eeprom and set defaults from build. if no changes in eeprom layout no reset to default needed eg minor fixes in code
by vscope
Oct 19 2018 5:50am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

like i proposed with my code changes. wouldn't it make sense to include the whole safety logic in one function at the end before powering the motor? so in the other parts of the code no safety checks have and shall be made? so similar to this code below but with added logic? maybe adding codes on th...
by vscope
Oct 17 2018 7:18am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

i started fixing https://github.com/OpenSource-EBike-fir ... e/issues/9 after 0.14 came out but then i realized that the main problem is not this piece of code but the whole ebike_control_motor is a mess. checking brake values in the middle of ebike_control_motor or setting torque values to 0 in the...
by vscope
Oct 17 2018 6:22am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 5676
Views: 386353

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

Same 1 and 3 problems for me with 0.14 if went back to 0.12 since i need the bike for commuting every day. I think this is an incorrect conclusion. To be honest I also do not agree with a lot of your changes like removing the compile switch for throttle/non-throttle versions. Yes, we want a separat...