Search found 54 matches

by mbrusa
Apr 04 2020 1:33pm
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

I have the gear sensor hooked up where the brake sensor goes and that's it no brake sensor is used. Yes, I will test a new firmware change even if it hasn't been tested by you. THANKS Okay let's do this test. I send you the hex file with a private message, then if it works I will released it on the...
by mbrusa
Apr 04 2020 12:51am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

I rode 25 miles today on my handcycle and I didn't notice any difference with the changes that you made. It all seem to be exactly as before. THANKS Positive is that it does not depend on "fix overrun". I think I understand where the problem is. The stop with the brake sensors is immediate, but the...
by mbrusa
Mar 31 2020 10:48pm
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

jeff.page.rides wrote:
Mar 31 2020 5:58pm
Thanks, I'll give it a try on Friday. Do we need to just flash the TSDZ2 I hope or do we have to flash the LCD3 also?
Only the TSDZ2.
by mbrusa
Mar 31 2020 1:30pm
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

jeff.page.rides wrote:
Mar 31 2020 11:41am
I am using the LCD3 with version 20 beta 1 and the overrun fix installed a couple of weeks ago. Is this file the same or is it something you've changed for me to try?
Yes it is a new version to try.
by mbrusa
Mar 31 2020 7:33am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

I installed my shift sensor on the brake sensor plug and wow does it shift great. The second I push my shift button the motor stops it shifts fast, smooth, and quiet. Now the problem is it powers off for about 2 seconds and about 2 revolutions at 75 RPM before the power comes back on, that's a long...
by mbrusa
Mar 29 2020 2:09pm
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

.... I want to highlight that by increasing the calculated value of "ui16_cadence_sensor_ticks_stop", increases the overrun time, decreasing it lacks startup assistance. I had reports of too fast stops and a case of lack startup assistance. For this reason, in the next full version I will slightly ...
by mbrusa
Mar 29 2020 1:25pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

.... I want to highlight that by increasing the calculated value of "ui16_cadence_sensor_ticks_stop", increases the overrun time, decreasing it lacks startup assistance. I had reports of too fast stops and a case of lack startup assistance. For this reason, in the next full version I will slightly ...
by mbrusa
Mar 28 2020 2:57am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

stancecoke wrote:
Mar 28 2020 2:06am
most warnings are imported, but not used libraries. You can simply delete those rows. So your self built GUI is working now?
I'm looking foreward to see your improved configurator!

regards
stancecoke
Yes, it works now
by mbrusa
Mar 28 2020 1:42am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Hi stancecoke
After several attempts, now no errors, only warnings.
NetBeans_build.jpg
NetBeans_build.jpg (240.66 KiB) Viewed 624 times
by mbrusa
Mar 27 2020 10:56am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

I've added the whole Netbeans project structure for the configurator to github now, so you can easily import it to netbeans. You should fork my repo first and import from your own fork to be able to push your commits back to github. Unfortunately, even changing the version of NetBeans and importing...
by mbrusa
Mar 24 2020 12:30am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

stancecoke wrote:
Mar 23 2020 1:12pm
@mbrusa can you do the same?
Open a cmd/terminal-window and type sdcc -v
regards
stancecoke
I use SDCC 3.9.0 with windows 10, never had problems.
by mbrusa
Mar 23 2020 10:41am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Hello, after having managed to have no errors when connecting the stlink with the stvp program, now when trying to compile the latest firmware I get errors and the process does not continue ... I have downloaded all the necessary programs in C: ST software, SDCC compiler and firmware Some help? The...
by mbrusa
Mar 22 2020 10:26am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Finally my tsdz2 bike works from a fresh battery charge but ime getting the error on screen E0 8 which is battery over voltage will this do some harm to the motor if i use the bike until the voltage drops from use. Before the firmware update the motor would struggle to get going until the voltage d...
by mbrusa
Mar 21 2020 3:23pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Finally got it to work flashing i have tried all setting using the latest firmware but throttle still does not work can someone post an image of there settings in the advanced so i can compare Have you read the guide and manual? Have you enabled throttle and brake sensor? #define ENABLE_BRAKE_SENSO...
by mbrusa
Mar 21 2020 2:31am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Hi i have updated my firmware with the latest one everything seems to work except my throttle which i like to use i have tried altering the settins in the advanced txt file from zero to one but with no job any help much appreciated i have a tsdz2 48v With the latest version, on the Italian forum I ...
by mbrusa
Mar 21 2020 2:11am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Hi mbrusa, I plan to add the overrun fix to the LCD3 version. LE: I noticed in lcd3 thread taht you already did it :). But my question still stands. I noticed that in case of STANDARD_MODE there is // for overrun problem ui16_cadence_sensor_ticks_stop = (ui16_cadence_sensor_ticks + (ui16_cadence_se...
by mbrusa
Mar 20 2020 10:06am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

Sorry, I do use a Nexus or Alfine hub. I think the next step I want to try is a gear shift sensor hooked up to either the brake cut off or like in this post on the other forum the Speedo sensor. https://endless-sphere.com/forums/viewtopic.php?f=30&t=98281&start=825#p1533489 If the shift sensor is h...
by mbrusa
Mar 19 2020 6:01am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

Of course, with the gear on the hub, also with "fix overrun" the chain always remains under tension if the pedals are not released.
by mbrusa
Mar 19 2020 2:53am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

jeff.page.rides wrote:
Mar 18 2020 6:11pm

The rain stopped today and the clouds parted so I went for a ride. The overrun fix works, but I still have to give a quick yank back on the pedals to get the hub to shift when there's pressure on the chain.
I do not understand. Can you explain better?
by mbrusa
Mar 18 2020 3:57pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Unfortunately I did not manage to modify the cooling system. But I could test the new Github version. Now the display and limit function works as intended :D Thanks a lot! Also the overrun fix works great. But... I think your E06 fix is not that good, because the error code (when reaching the MOTOR...
by mbrusa
Mar 17 2020 3:51pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

bingo5, ilu I did not believe it but it is just like that, with the version on GitHub the temperature control does not work. For stancecoke The problem is: #include "advanced.h" it must be in the main.h file, some definitions are used there, and from there it is included in other files. In the check...
by mbrusa
Mar 17 2020 11:20am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 951
Views: 98148

Re: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

Hi bingo5
Fix overrun has nothing in common with temperature control.
Can you post the config.h and advanced.h files?
I don't have a temperature sensor but I had tried in simulation.
by mbrusa
Mar 17 2020 9:35am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

The HEX file is for the TSDZ2 controller, only that has changed.
For LCD3, the buba 20 beta 1 version is still fine.
by mbrusa
Mar 17 2020 2:07am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

In the zip file, in addition to the source code, there is also the HEX file already compiled and ready to be flashed.
by mbrusa
Mar 16 2020 3:32am
Forum: Motor Technology
Topic: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)
Replies: 97
Views: 8472

Re: TSDZ2 open source firmware only for KT-LCD3 (v0.19.0 / v.0.20.0beta1)

Here is the "fix overrun" update in the TSDZ2-20beta1 version, for the LCD3 display. The files changed are 3, ebike_app.c, motor.c, motor.h I had not considered the riding modes with stationary pedals, which consequently do not work. Now "fix overrun" is disabled in WALK ASSIST, CRUISE, THROTTLE mod...