Search found 228 matches

by thineight
Jan 07 2019 2:47am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

Hi all! That was a long read :) I’m planning to install a tsdz2 on my cargo bike, but i have two worries that you might be able to help me with: 1. Bottom bracket play: I will need to apply a 5mm spacer to compensate for the chainstay and there seems to be a 0.5mm play between the motor axis and th...
by thineight
Jan 06 2019 9:41am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Let me share my poor man's cable solution for whose in doubt on which cable tu buy and cut: just with the dupont cables supplied with the ST-LINK V2 clone it is sufficient to remove the plastic end at one side and to protect the metal end with a little piece of shrinking cable. The female ends can b...
by thineight
Jan 04 2019 2:05pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Regarding the marcoq fork and request to accept pull request The bellow message serves as a good example of what I am looking for. I plan to implement more complete walk assist than the one on the original firmware (as I already described before) and marcoq fork, I plan a walk assist that depends h...
by thineight
Jan 04 2019 1:38pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Thanks thineight for reporting... but the error was introduced by my editor in the comment and not in the code ... so the firmware has not been altered. :) Not sure I understood correctly: I found the "wrong" line in your motor.c code inside the zipped file and I presume it is the one that will be ...
by thineight
Jan 04 2019 8:07am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

Ron Paul's Blimp wrote:
Jan 03 2019 9:09pm
Yeah, I'm the guy in the other thread who's planning to try to bring marcoq's vlcd6 work into casainho's tree.
I'm with you in this task!! :thumb:
Otherwise I feel we are missing a train...
by thineight
Jan 02 2019 5:38pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

I think that if casainho agrees, the two projects could be integrated, so you would get a single project that can satisfy all users of the forum. :D :D :D Well, we understand that casainho is actually focused with the display 850c task now, therefore he his happy when other bugs or improvements are...
by thineight
Jan 01 2019 6:38pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Regarding casainho's Master Project and marcoq "fork" I performed a side by side comparison between their codes (just a file compare, unfortunately my knowledge on chip programming is limited :( ). I understood that there are 2 main topic covered by marcoq's work: 1) Walk assist 2) Implemented compa...
by thineight
Dec 31 2018 1:42pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Yes, LCD3 already implement walk assist but is the TSDZ2 motor controller firmware that lacks the needed implementation. If I remember correctly Marcoq mentioned that in its fork with the original display the walk assist function was working. From your point of view is it possible to get the necess...
by thineight
Dec 30 2018 8:07am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Other than cycling, a lot of people here also run/walk on mountains... put an electric motor on an already existing bicycle is kind of easy but developing an exoskeleton so the heavy people like me can run/walk on mountains, should be very hard!! And for commuting, could be walking/running at 1/2 o...
by thineight
Dec 30 2018 8:01am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Yes, LCD3 already implement walk assist but is the TSDZ2 motor controller firmware that lacks the needed implementation. If I remember correctly Marcoq mentioned that in its fork with the original display the walk assist function was working. From your point of view is it possible to get the necess...
by thineight
Dec 27 2018 5:50am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

Which is in your opinion the new version of the mechanics, the straight or the helical gear?
I have 2 motors from late 2017 and both with straight gears (pswpower)
by thineight
Dec 22 2018 4:00am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

Regarding the sprag clutch...I know someone who has done it with a hammer but you can easily cause damage. My brother is a motor mechanic and he has a hydraulic press, it's just a car Jack mounted in a steel frame. We used a piece of steel tubing and pressed it out slowly. It was easy to do but if ...
by thineight
Dec 21 2018 8:22am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

Casainho, I kind of understand that the bearing is press fit on the big gear, how did you pull it out from its housing?
Hammer?
Thanks!
by thineight
Dec 15 2018 5:58am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Is walk mode working in v.16 or planed for v.17 ? Over Xmas I’m planning on buying a frame and building a Surly Big Fat Dummy cargo bike for bikepacking and it will probably need walk mode. I'm afraid not.. walk mode is, as far as I understood, a bit complicated to implement but it's definitely in ...
by thineight
Dec 06 2018 6:12pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Hello all, Last week I installed the open source firmware and I am really pleased with the performance! Big thanks to the developers! (!!!) I have had over ten TSDZ2 units with original firmware and in my tests the TSDZ2 with open source firmware is quieter with the metal gear than the orginal firm...
by thineight
Dec 04 2018 4:47pm
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

I had no space to fit the stock bracket, therefore I created a sort of cantilever using the stock skrew (M8 I guess) with two washers and a aluminium cylinder in between to put it against and grip the threads. The skrew is inserted in the same hole where it is supposed to be with if the bracked is i...
by thineight
Dec 03 2018 2:22am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6915
Views: 715746

Re: New "TSDZ2 Torque Sensor Central Motor"

Yes, absolutely, one sole recording does no justice. And myeah, I am convinced PSWpower taking 2 months to do nothing is bad, and I will recommend noone to buy from them because of it. Unfortunately I bought both my engines from them, so I see that it might be the manufacturers quality control I sh...
by thineight
Dec 01 2018 4:59pm
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

The motor commutation is done in the motor.c The ebike specific things (processing of PAS-, throttle-, torque-signals, display communication etc...) are done in the ebike-app.c regards stancecoke Thanks a lot.. but I'm afraid the learning curve to get into an effective level is definitely to steep ...
by thineight
Dec 01 2018 9:30am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

Just a Little question for the developers: what is the main open source file to look at the code?
I see there are a few .h and .c files in the repository.. I would like to look into to see if I understand some of the logic behind this great firmware.

Any suggestion or tip is welcome, many thanks!
by thineight
Nov 30 2018 8:18am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

So are the available sensors capable to detect backwards movement of pedals? I think so, the hall sensor for the cadence but must be developed and tested. If you are ready to do it?? please say if so, other way I will be losing my precious time talking here. No, it is definitely beyond my knowledge...
by thineight
Nov 30 2018 8:04am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

For backward resistance, I would implement detection of pedals rotating backwards. So are the available sensors capable to detect backwards movement of pedals? With my suggestion above I assumed that it was not possible to detect the direction of pedaling.. And by the way.. any news from EC? Hope h...
by thineight
Nov 30 2018 4:38am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

so: no brake control? not important enough? i was so proud of my brake sensor...it was "highly recommended"... firmware on github: where? I guess it is just matter of shorting the BRAKE and GND cables along the wire to the controller. The firmware itself already handles the cut-off.. maybe the disp...
by thineight
Nov 29 2018 11:35am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

I also found that my pedals rotate backward and that will make pedal cadence value > 0 and also torque sensor value > 0, and this will start to energize the motor... the solution may be to detect backwards pedal rotation and then keep motor off on this situation. Casainho, could you please list the...
by thineight
Nov 08 2018 2:39am
Forum: Motor Technology
Topic: TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4910
Views: 347247

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

How have you guys wired in your brake wires? I understand how to do it schematically (thanks to the wiki , but am curious where you’ve spliced them in and what kind of connectors. Looking to capitalize on the group think instead of reinventing the wheel. Same interest here.. unfortunately the LCD3 ...