Search found 70 matches

by buba
Mar 02 2019 5:26pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Yes, amazing how non-linear wind resistance makes it. After about 25-30kph it graph gets pretty vertical. A little extra speed costs a lot of power. Thanks for sharing this. I look forward to trying out the results. :) Totally! :) That is very interesting, maybe we should write a wiki page specific...
by buba
Mar 01 2019 5:12pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

How can I be sure that the my hex and the TSDZ2-v0.18.2.hex are the same if I didn't modify any src file? It should and must be the same if you are compiling the same source files. Do note that the latest source files will not compile version 0.18.2 of the firmware. The source files have been updat...
by buba
Mar 01 2019 4:56pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Okay, so I am working on increasing the resolution of the assist level multipliers. This is so that we can setup the assistance for any rider and their particular disposition. Could not help myself to include physics. I have calculated (not measured) the aerodynamic forces in play. Mostly parasitic ...
by buba
Feb 28 2019 3:41pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Hello buba, Thanks for answering. I am not sure what happened, I think it overheated. I need to check and maybe replace the temp sensor also What do i need to change in the source code and how to do it? Thank you No problem at all! Hope you sort it out. If you want to use a different motor you need...
by buba
Feb 28 2019 1:07pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Hello every one The inner motor seems to have given upp :( I manager to order a replacement that Will take some time. Sorry to hear that! May I ask what happened? My question is: if i connect my old hub motor 36v 350w (hall sensor) to the controller. Will it run normal or i Will be damaging the con...
by buba
Feb 28 2019 1:04pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Hello everybody, I'm working on Windows 10, the installed SDCC is at version mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.8.0 #10562 (MINGW64), the STVP is at versione 1.8.0.0. When I compile the files in the src folder on master branch of Flexible OpenSou...
by buba
Feb 27 2019 12:47pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Long time, no write... I have been buried in work the last two weeks and worked every single day. I literally had no time to read and update myself on all the updates posted here. But hopefully things will slow down a bit in the coming days and I will have some more time. Anyway, fun to see that the...
by buba
Feb 16 2019 5:46am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

There is no need to update TSDZ2 motor? Only KT-LCD3? I tried v018.2 in motor and LCD and nothing worked. No boost, no more assistance stays same in diffirend levels alltough they was tuned to bigger values. I travelled about 20 kms and assistance fade almost away. Previous version v0.17.0 worked f...
by buba
Feb 15 2019 8:39am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

I've read the new wiki and I understand the distance left is based on the consumed Wh since last charge Vs Wh left, and the "actual consumption" is not used. Please correct me if I'm wrong, but in this case if I consumed half battery in assistance 1 (say 50km done) and then I switch to assistance 4...
by buba
Feb 15 2019 7:58am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

I think you could close the KT-LCD3 and focus on color LCD, because it has much more memory so will be possible to add much more features with the advantage that will be easier for user to understand all that fields, since we can custom label each field. This is just an idea because I think using t...
by buba
Feb 15 2019 7:38am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Okay, anyone want to test out the 0.19.0 beta 1? :wink: Here is a link to the hex file for the KT-LCD3: https://drive.google.com/open?id=1kgcgkNtmCiIDREVW_bBf5ekDKftLnotw Here is a link to the wiki: https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Features-and-configurations-for-version-...
by buba
Feb 15 2019 5:03am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Hello Kisazul, thanks for the feedback! In which field can I see how much total energy was spent by the motor on my trip? I understand this data is recorded in the data energy field? Or in the battery field? It is not possible to see watt-hours consumed since you started your trip. You can only see ...
by buba
Feb 14 2019 7:10pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

Re: Open Source Firmware Tutorial

A lot of people, including me, found upgrading to open source firmware difficult, because the information is spread out over two threads with over 200 pages between them. I also needed the excellent github information and jbalat's videos, and those resources weren't immediately clear to me as I wen...
by buba
Feb 14 2019 6:56pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Quick update: ---------------------------------------------- I am back from the longer than planned weekend trip and I resumed development today. Just have to test the last changes I made today and then I will release a beta version and also pull request the most recent changes to the official mast...
by buba
Feb 08 2019 7:00pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Just a thought. Is holding down the plus button used for anything? The minus is pretty much a universal standard for walk assist. Since cruise control is a new feature, how about using the plus button so they don't conflict? It could work but the plus button hold is now used to activate or deactiva...
by buba
Feb 08 2019 6:54pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

... But another solution is to not activate Cruise if Walk Assist is activated and vice versa. The user would have to re-press the down button to enable Cruise, and vice versa. I can implement this in the coming 0.19.0. Yes I think that will be better. Done! Walk Assist and Cruise are now slightly ...
by buba
Feb 08 2019 1:11pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Small Issue. When testing walk assist, I noticed that in the highest assist levels if your speed goes over 8km/h then you quickly switch into cruise mode. This without letting go of the down button. I noticed this most when testing the bike on a stand, without any load in higher gears the wheel wou...
by buba
Feb 07 2019 6:57am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

thineight wrote:
Feb 06 2019 12:27pm
Not a single message in 4 days... Are you guys ok lately? :wink:
Update coming soon... :wink:
by buba
Feb 01 2019 7:40pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

i installed v. 0.18.02 yesterday night and today i have done 14km. All it's ok it woks perfectly !! only small defect if I stop with the foot on the pedal the bike tries to start. This slight defect is common to all the versions I tried but does not affect the use of the bike. I'm very very happy :...
by buba
Feb 01 2019 7:13pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Having some issues with v18.0.0 release for KTLCD3. I have been running KTLCD3-v.0.18.0-beta-2 without issue and decided to upgrade to the release. However, in STVP I get the following when i load the program file... STVP-v18.0.0.PNG File Checksum is 0x2DE60F is that correct? This does not look rig...
by buba
Jan 31 2019 10:27am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Absolutely no problems with either walk assist or cruise. Yes tried to replicate and no re-occurrence, as soon as the button was released they dropped out every time. They work very well too and are a great addition. That is great! Thanks a lot for the testing! Installed and working fine Thanks! Ho...
by buba
Jan 31 2019 6:42am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

After we found an issue with the generated hex files, I had created anew version that should be ok now: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.18.2 Is the configuration wiki changed compared to buba's 0.18beta? Thanks The wiki is applicable on 0.18.2 and has ...
by buba
Jan 29 2019 4:08pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Having some issues with v18.0.0 release for KTLCD3. I have been running KTLCD3-v.0.18.0-beta-2 without issue and decided to upgrade to the release. However, in STVP I get the following when i load the program file... File Checksum is 0x2DE60F is that correct? This does not look right , It will uplo...
by buba
Jan 28 2019 2:58pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

Casainho, I have submitted the pull request. You can edit the release 0.18.0 with these changes or make a new version, version 0.18.1. I feel it might be better to change and update the 0.18.0 release but it is up to you! Either way, this should be it and this great community has a new official rele...
by buba
Jan 28 2019 2:17pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2008
Views: 77381

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

I did the release: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.18.0 Please update the wiki main page to point on that new page for v0.18.0. I will update the wiki main page! If you only want one HEX file for the controller it is necessary to remove the "if THROTTL...