Search found 21 matches

by buba
Jan 11 2019 1:27pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

This will be a big oneā€¦ I have worked on a couple of new functions, features and overall KT-LCD3 and controller firmware improvements. Some changes from stable version 0.17.0: ------------------------------------------------------------------------------------------------------------------------- - ...
by buba
Jan 06 2019 11:31pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

No bugs to report over 40 miles of testing, all the new features work well. This is with a 52v battery, no temperature sensor, throttle, off road mode not enabled. Great stuff. My only adverse comment is yet again about indicated human power in watts which seems high (possibly 2x) and also the peda...
by buba
Jan 02 2019 8:19am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

Here is a video update on the new time measurement functions in the KT-LCD3 display. This is code that will hopefully be merged soon in a version 0.17 beta and then released in the stable version 0.17. The pull request is submitted. TM = Corresponds to number of seconds and minutes passed since powe...
by buba
Dec 30 2018 10:26am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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...
by buba
Dec 29 2018 6:59pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

Casainho, soon I am submitting a new pull request with a new function: time measuring. Wanted to make another video explaining and showing the function but have no time right now. ( haha :wink: ) I think it would be smart to incorporate this in the version 0.17 release. Changes: - Time measured sinc...
by buba
Dec 28 2018 10:41am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

OK that has fixed the motor watt meter. :thumb: But there is an oddity with battery state of charge. I had noticed it before but did not look at in any detail until the wattmeter and fast variable adjust was sorted. Before I try to explain just to say SoC works perfectly in Buba's 16.1 but not in 1...
by buba
Dec 23 2018 8:44pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

Nice. The previous faults on metric to imperial and fast variable set are all fixed. Setting up the configuration menu is now a doddle. :D The fault I reported about the motor wattmeter reading high by a factor of 10 is still there though. I don't think I have made a mistake. I previously went back...
by buba
Dec 22 2018 2:08pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

Keeping it short: I am working on a version with minor bug fixes. Will be seen on GitHub soon. Planning to send a pull request to Casainho so he can look at the code. Can not promise anything but will look into the bugs you mentioned! Please make pull request for small changes -- try to solve one i...
by buba
Dec 20 2018 5:22pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

I have hit a snag straight away in the configuration menu option 0. When MPH is selected the maximum speed and wheel circumference can not be increased, they can be lowered but not raised. Also the circumference reading is reduced (2050 to 1280) when MPH is selected by I assume a conversion ratio a...
by buba
Dec 11 2018 10:44am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

I developed the automatic fast increment/decrement of configuration variables with button long click event, for KT-LCD3: Very, very, nice! Looks and works so much better! Off topic: Just throwing ideas out here but has there been any thought to connecting a bluetooth module to the UART in the motor...
by buba
Dec 09 2018 5:36pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

haha...all this i knew...my question came from the fact that i do not know how to download it.... :lol: what do i need to do? with the other releases, you klick on them and they download automatically. when i click here, the file opens...and i do not see how to download...so this is why i am asking...
by buba
Dec 09 2018 5:07pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

can the hex file be downloaded and installed yet? It is on my forked repo on GitHub: https://github.com/leon927/TSDZ2-Smart-EBike There you can find the hex under releases and then under 0.16.1. The official version will be 0.17 as Casainho has said. You can try it out if you want or wait for the o...
by buba
Dec 09 2018 4:06pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

On 850C firmware, I went a bit further: struct_var_number lcd_var_number = { .p_var_number = &p_configuration_variables->ui8_wheel_max_speed, .ui8_size = 8, .ui8_number_digits = 2, .ui8_decimal_digit = 0, .ui32_max_value = 99, .ui32_min_value = 1, .ui32_increment_step = 1 }; item_var_set_number(&lc...
by buba
Dec 09 2018 1:58pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

Great work!! For the code and the video!! I was looking at your code changes to review it -- they seem good and I have one note: You set the odometer by adding 100 km with the up button and subtracting 5 km with the down button. <--- this is clever but on the other side, this only happens to this f...
by buba
Dec 09 2018 1:56pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

how do you reset the trip meter? Thanks for the thumbs up!! :) You reset the trip meter by a short-click followed by a click-hold on the down button until the trip meter value starts blinking and resets. Down button: short-click click-hold Or in other words... Short click down button and then long ...
by buba
Dec 09 2018 7:32am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

On current code, 1.1 and 1.2 are implemented but 1.2 ODOMETER is not. What I wanted to do but I didn't had time, was to store on EEPROM the last selected 1.x, so if user prefers to see for instance 1.1 DISTANCE SINCE POWER ON, the system will always start at 1.1 when users cycles over odometer fiel...
by buba
Dec 06 2018 6:59pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

On current code, 1.1 and 1.2 are implemented but 1.2 ODOMETER is not. What I wanted to do but I didn't had time, was to store on EEPROM the last selected 1.x, so if user prefers to see for instance 1.1 DISTANCE SINCE POWER ON, the system will always start at 1.1 when users cycles over odometer fiel...
by buba
Dec 06 2018 6:50pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

i think it is really important that casainho get involved in this matter since endlesscadence seems not to be around. casainho is in the process of adapting the firmware to work with a color display and i think in order to stay compatible with the future development all changes should be integrated...
by buba
Dec 06 2018 5:59pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

dameri, could it be your flash cable is too long ? buba, well done !!!.. How do you reset the trip meter, I think we had problems trying to come up with a button combination that hasnt been used yet. Thank you so much!!! (And thanks for all the videos!) When you are choosing to display the trip dis...
by buba
Dec 06 2018 4:12pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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 firmw...
by buba
Aug 31 2018 1:01am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 1610
Views: 54108

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

Thanks Casainho and other for a great job you are doing with the open source firmware.

I would like to ask if we can program TSDZ2 with power signal on in turbo mode from the begining?

That way we can test it without use of any LCD.