Search found 81 matches

by buba
Apr 10 2019 5:52am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

I don't want to be pessimistic, but comparing to LCD3, we see it is not enough, we really need more space, maybe like more 50%. Since it is a graphic display, it uses much more memory to store letters and numbers. I can say that 850C, with configuration menu + regular main screen, uses a bit more t...
by buba
Apr 08 2019 2:00pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

I tried a v0.19.0-beta3 version today. I drove just a short distance because it was very cold and started to rain. Walking assistant worked well and cruise too. Boost function I didn't try. Suddenly the assist ended, I tried to increase the level of assistance, did not help. I booted KTLCD3 and the...
by buba
Apr 07 2019 7:49am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

Hi! So, I'm about to order parts for a build. However; According to local regulations: You are restricted to 250w and 25km/h OR You are restricted to 1000w and 25km/h (albeit, its not allowed to have restrictions that's easily removable to increase speed aaand then some other requirements) Question...
by buba
Apr 07 2019 7:02am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

2. Walk assist too strong.. I did not test extensively but you have to run (not walk) besides the bicycle to keep up.. Very strange. There is a bug introduced with the last couple of firmware changes. Can confirm it worked as expected just before the last couple of changes to the motor controller f...
by buba
Apr 07 2019 6:36am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

I guess beta3 solves perhaps 1-2 of the issues listed above, but not them all. Better wait the next one, at least for the bug n.1 :wink: Correct me if I'm wrong Just wanted to test my solution for the distance bug and validate it. Will give feedback ASAP but looks good for now! Tested walk assist w...
by buba
Apr 07 2019 5:38am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

I was testing walk assist and it was very strong to me so I changed the code that walk assist level represents now ADC step current, which is the minimum unit of current possible on the system. I still think is far from perfect but I think is not worst than original firmware. I would of loved to he...
by buba
Mar 31 2019 6:52am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

Buba wrote this on the change log: * Heavily optimized code size and speed. I think he must had a lot of work to optimize the code size so it could go to LCD3 memory, so I think not many will want to do that type of optimizations every time they want to change some bits on LCD3. And I really hope t...
by buba
Mar 31 2019 6:42am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

Thanks Buba, maybe you meant to say "wait for the stable v.0.19" not the beta, as the latter is already out on casainho repository. https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/releases/tag/v0.19.0-beta1 I would like to try this out (as I'm currently with your 0.18beta) , but I'm ...
by buba
Mar 30 2019 6:28pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

What is the setup wiki valid for this one? The 18.2? So I conclude that the above 0.19beta for LCD3 and motor are not directly from Buba earlier 0.19beta code. :roll: I think it is best to wait for the official beta that Casainho will release and test it from there :) It will be compatible with the...
by buba
Mar 28 2019 4:30pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

I found this new video on youtube channel of Buba, seems he is busy recently :-) LVqvzC2e2sE Haha! Fun that you noticed but that is not my project :wink: As I have said before that is my fathers YouTube account that I borrow time to time. It is actually his project and development! The account buba...
by buba
Mar 28 2019 4:14pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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

I am still alive! But I do apologize for not being that active. Today was the first day in a very long time where I was free from work. I still consider myself a developer to this community but I hope everyone understands that it is hard to free up time. Anyway, the show must go on. Casainho sugges...
by buba
Mar 02 2019 5:26pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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: 2184
Views: 90196

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...