Search found 2738 matches

by casainho
Jan 15 2019 2:51am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

New stable flexible OpenSource firmware v0.17.0, get it here: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.17.0 Thanks to all the developers, testers and other contributors!! Changes from v0.16.x: KT-LCD3: - settable odometer - trip distance function - TM and TTM t...
by casainho
Jan 11 2019 5:45pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

- Walk assist enabled without having to hold the DOWN button (maybe not a good idea). Disables immediately if user presses ANY button. What bothers me most with normal walk assist is if you let loose the down button for just a blink of an eye (which happens quite often to me :cry:) you have to go t...
by casainho
Jan 11 2019 5:29am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

I submitted a talk proposal to Pixel Camp, where I plan to talk about TSDZ2 flexible OpenSource firmware (motor controller and both LCDs). I learn a lot every time I goes there and I find a lot of interested and cool developers, so I am very excited to be there again. Pixels Camp is the largest tech...
by casainho
Jan 11 2019 5:21am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 4217
Views: 293451

Re: New "TSDZ2 Torque Sensor Central Motor"

Planning on converting Dahon Vybe D7 to electric and from what i gathered around torque sensing is the most suited for my preferred style of riding. The main purpose of it is going to be 14 miles roundtrip for work and as a workout. What I can't figure out from all the specs and pictures is if I'm ...
by casainho
Jan 11 2019 4:50am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

marcoq, can you please create a new thread for user support to your branch? Perhaps we could build a Java Tool, that creates the hex-file (e.g. EEPROM.hex) for the EEPROM content and then flashes the file via a batchfile that calls the STVP commandline tool (like it is done for opitonbytes and prog...
by casainho
Jan 10 2019 3:07pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Rafe wrote:
Jan 10 2019 3:03pm
This new 82.1k 17.0 has gone in no problem at all the old one was only 56.7k cheers :thumb:
Thanks for the feedback. The previous was just the motor controller firmware, there was an issue with the script that builds all the firmware (that I jist did).
by casainho
Jan 10 2019 2:15pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

No changes on motor controller side. I hope it works, as the previous user reported error. Thanks, I'll hold off until the 0.17 LCD3 file issues are sorted out. Found the issue and I did uploaded the correct files: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.17.0
by casainho
Jan 10 2019 10:42am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

New stable flexible OpenSource firmware v0.17.0, get it here: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.17.0 Thanks, casainho, and all who contributed! Will give 0.17 a try ASAP in my LCD3. Do I have to update my motor controller firmware to 0.17? Or are there n...
by casainho
Jan 10 2019 3:13am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 4217
Views: 293451

Re: New "TSDZ2 Torque Sensor Central Motor"

Hi, Im having a problem flashing the LCD3. Everything was fine following along with jbalat's video. Was able to erase old firmware, download 0.17 firmware but when i try to "program all tabs" it I get: Error : Verify failed at address 0x4000 Error : < DATA MEMORY verifying failed. Error : < Operati...
by casainho
Jan 10 2019 3:13am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Hi, Im having a problem flashing the LCD3. Everything was fine following along with jbalat's video. Was able to erase old firmware, download 0.17 firmware but when i try to "program all tabs" it I get: Error : Verify failed at address 0x4000 Error : < DATA MEMORY verifying failed. Error : < Operati...
by casainho
Jan 09 2019 3:53pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

marcoq, can you please create a new thread for user support to your branch? Since it is harder to configure, the number of messages will be big (I saw this happening on KT motor controller firmware, where the process is similar and is a more extensive process to user). I think we are all interested ...
by casainho
Jan 09 2019 1:34pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

New stable flexible OpenSource firmware v0.17.0, get it here: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.17.0 Thanks to all the developers, testers and other contributors!! Changes from v0.16.x: KT-LCD3: - settable odometer - trip distance function - TM and TTM ti...
by casainho
Jan 09 2019 1:32pm
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 4217
Views: 293451

Re: New "TSDZ2 Torque Sensor Central Motor"

New stable flexible OpenSource firmware v0.17.0, get it here: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.17.0 Thanks to all the developers, testers and other contributors!! Changes from v0.16.x: KT-LCD3: - settable odometer - trip distance function - TM and TTM ti...
by casainho
Jan 08 2019 5:39pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

We are looking for pedal human power in watts, and that is torque x rpm, analog to electric power in watts as amps x volts (if we want the motor with more torque we provide amps and we need to provide volts to increase motor speed rpm). Analog torque sensor signal, like a sine wave (every lower peak...
by casainho
Jan 06 2019 3:35pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Riding south french mountain, first ride with open source running . -BAI97_nvGk I remember to see your videos with TSDZ2 on mountains when I found the first information about this motor. It is really nice to see that 1 year after, your preference goes to the firmware I started to it!! Who knows wha...
by casainho
Jan 06 2019 7:42am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

i don t use throttle, i hope for a wonderfull " walk assist " ... Sometimes it s necessary to use walk assist in mountain climbing . With stock firmware walk assist worked, but it was a " poor " walk assist, not really usefull, i dream for a "walk assit " more powerfull and usefull . Same with me, ...
by casainho
Jan 05 2019 1:09pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

After many years of ebikes and Endless Sphere forum, I think I started the first and only one (up to now) OpenSource firmware for ebikes!! and took some years, it was not quick and cheap, but was strategic. Some days ago I got in a chat with another OEM, that reflects what I would not like to happen...
by casainho
Jan 05 2019 7:47am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Ron Paul's Blimp wrote:
Jan 05 2019 2:21am
When wiring up the KT-LCD3, if you're not using brake sensors, what do you do with the brake wire from the controller? Leave it unconnected? Or tie it to P+ (green on 6 pin, blue on 8 pin)?
I think you can leave the wires unconnected. I will put this note on the wiki.
by casainho
Jan 04 2019 5:39pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Unfortunately I am not very expert in brushless motors ... but I can say that in my firmware the walk assist is not fixed but has 5 levels of assistance .... if you want I can eventually help you implement this feature. Can you explain how it works? Does it control speed? The walk assist does not c...
by casainho
Jan 04 2019 4:52pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

marcoq wrote:
Jan 04 2019 3:50pm
Unfortunately I am not very expert in brushless motors ... but I can say that in my firmware the walk assist is not fixed but has 5 levels of assistance .... if you want I can eventually help you implement this feature.
Can you explain how it works? Does it control speed?
by casainho
Jan 04 2019 2:09pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Regarding the walk assist, I appreciate the idea to have an advanced version usable with the advanced displays. Just an idea: can the Marcoq "basic" version can be implemented by now while the complex code is under development? A sort of "better something than nothing" I would say :wink: If someone...
by casainho
Jan 04 2019 2:01pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

v0.17.0-beta5 is available here, please test and give feedback: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.17.0-beta5 Changes: - implemented automatic fast increase/decrease of variables on configuration menus - settable odometer - trip distance function - imperia...
by casainho
Jan 04 2019 11:44am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Hello casainho. In the motor.c file at line 290 I noticed that ui8_sin_table has a length of 256 ( SVM_TABLE_LEN ) ... it should not be long 60 ( SIN_TABLE_LEN )? Thanks, have a good day. Yes, probably. Since you are looking at that code, what would be the BEST improvement is the FOC Field Weaking ...
by casainho
Jan 04 2019 11:35am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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 casainho
Jan 01 2019 4:16am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1616
Views: 54454

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

Not wanting to be a killjoy but I am going to have to mention it. Indicated human power (4.0) is now ridiculously high, I can easily get it past a Kilowatt... Have not looked at that before and may look into it. Have made a pull request for the latest beta and I am simply dividing the value by half...