Search found 32 matches

by revher
May 27 2020 11:44am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

..... you can access every single commit on github........ Thanks for that. I wasn't aware of this before As Stancecoke said, you can easily access every single commit from the GitHub.com web site. However, it seems that to get a snapshot of the whole directory at a particular commit in order to do...
by revher
May 26 2020 4:37am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Thank you, so the 20% additional time of version B compared to version A, concerns only the initial boot, and it can reduced after testing that "Time to menu items" set to 40 (4 seconds), maybe even 30 will work with the display (XH18 you said, it will). Thank you again Mbrusa for your work and expl...
by revher
May 25 2020 12:11pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

... Also, you explained earlier that in order to switch the lights on or off, you had to check a long process again (similar to a boot?). And definitely the boot of the version A is shorter. ... ... Now the time to start will be 1 second longer, in addition to 5 for battery% display, 6 seconds inst...
by revher
May 25 2020 6:18am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

... Flashing main.ihx is not enough, data memory (eeprom) must also be deleted. Regards Hi, thank you mbrusa for your long comment and also all the work you did. No time to answer yet, sorry. Concerning the flashing of main.ihx only which is the Casinho procedure in his original Makefile (_linux an...
by revher
May 24 2020 6:07am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Hi all, and thank you Mbrusa for opening the wiki. Therefore I reversed to latest version "mb.20beta1.A" using the git history and checking out to the latest workable version of Stancecoke ($ git checkout 17a3649) before Stancecoke deleted his simple java configurator. It was after Mbrusa overrun i...
by revher
May 23 2020 2:16pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Stancecoke made his wiki "open to everyone" on GitHub and that the reason why I already made the OS/X and Linux page. So please mbrusa, open the wiki for editing. Revher Revher, thanks for your collaboration. Now the wiki is open. Hi all, and thank you Mbrusa for opening the wiki. I tried to update...
by revher
May 20 2020 11:43am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

I've deleted my fork now, so mbrusas fork is listed direcly under the main project now. https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/network/members As a big fan of direct drive hub motors, I won't contribute to this project any more :D regards stancecoke Nice to see you again sta...
by revher
May 20 2020 5:36am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Yes, you have to unzip the latest version and then you can launch the configurator with the command line java -jar JavaConfigurator.jar and it will create the config.h under the subdirectory src/controller by clicking on "Compiling and Flash" button. It will work also on OS/X and Linux........... T...
by revher
May 20 2020 2:34am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Yes, you have to unzip the latest version and then you can launch the configurator with the command line java -jar JavaConfigurator.jar and it will create the config.h under the subdirectory src/controller by clicking on "Compiling and Flash" button. It will work also on OS/X and Linux. In fact, the...
by revher
May 18 2020 2:56am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Thank you Mbrusa for your prompt reply.
I can better understand the process. However the battery wasn't fully charged and therefore the 99.9% is probably a very rough measure.

Regards,

Revher
by revher
May 17 2020 12:22pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Hi all (thank to mbrusa and stancecoke...), I am using the latest version with the settings described on the scan of my screen. It is a new bike with a Trio German mid-motor which in fact is a TSDZ2. Everything worked fine with a backup of the original ".bin" files in case of a failure. Then flashin...
by revher
Apr 01 2020 8:56am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Thanks, if I can't find a firmware fix I'll try using the speed sensor instead of the brake sensor. I made an error in the photo which has been fixed on the new photos (the green wire,+5V is numbered 4 on Tongsheng 6 pins). I added the references. Sorry, New edit: Regarding the firmware fix, I gues...
by revher
Mar 31 2020 6:32am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

For connecting the Bafang gear sensor directly to the Y connector of the Tonghsheng speed sensor. If one of the Y branch is used by the lights (it was not the case for my first bike viewtopic.php?f=30&t=98281&start=825#p1533489 ), we have to build a new connector with 3 cables as described on this (...
by revher
Mar 14 2020 4:26am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

...this is the right one. motor.c-TSDZ2-mb.20beta1.A-fix_overrun.zip Thank you mbrusa. I tested it yesterday on about 5 km in central city, with the gear shift sensor on the way in and without it (unplugged) on the way back. It is hard to see huge differences now with an internal gear hub (I have a...
by revher
Mar 04 2020 6:07am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

I am quite interested in this. The only way I can see the gear sensor working when hooked to a speed sensor port, is if it makes a temporary spike in the speed sensor pickup, tricking the system to thinking that it went over the speed limit and causing a temporary cutout... Is that what you accompl...
by revher
Mar 01 2020 3:09pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

... I don't have a VLCD5 but a XH18 display; also my gear shifter cable is at the rear and the open end of this cable (which is currently not connected) is located close to the end of the speed sensor cable; ... Which display and firmware version are you using? I have no idea if you can connect the...
by revher
Feb 27 2020 11:37am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Aren't you making life awkward for yourself, both the OS and the V20 have a brake wire, its a simple fit and already at the VLCD5 display. The gear shifter is another set of wires which you are going to have to wire in and doesn't really do anything other than what the brake wire will do ? Both the...
by revher
Feb 26 2020 4:33pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Is there any way to limit the "time out" duration...the time until motor quits after you stop pedalling... with this compiler? I'd like to turn it way down. Isn't that what ebrakes are for? The brake lever closes a contact that turns off the motor. Yes, but I have no ebrake. The TSDZ2 is sold witho...
by revher
Feb 14 2020 4:11am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

I am not well aware of git (but know very well CVS, yes I am old) and github. And for me it is still a waste of disk space to fork an entire repository for just adding two files and a java patch, but I will do it. Not right now but probably during the WE.
Regards,

revher
by revher
Feb 13 2020 6:42pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Hi,

I started a wiki page entitled "OS X and Linux installation" but my scripts (compile_20.sh and edit_advanced.sh) and my java patch are still on my computer. Stancecoke could I send them to you or to anyone by mail, in order to test them?

Regards,
revher
by revher
Feb 13 2020 5:43pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Hi all, I have been able to flash my TSDZ2 250w 36V 10.4ah motor with a firmware produced with Stancecoke Java configurator that I adapted to run on Linux and OS/X. Even with the same config.h and because (probably) the version of the compiler were different the .rel and main.ihx are about of the sa...
by revher
Feb 12 2020 7:30am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

You can find all the information in the wiki of the main project, see the link in the readme.md https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki I want to keep my wiki main page as simple and self explanatory as possible. For details that are missing from your eyes, please create a new ...
by revher
Feb 09 2020 1:19pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

Thanks for that, I found another option too. In linux (ubuntu 18.04 with SDCC 3.8 I have some related commands sdasstm8 - -plosgffw main //manipulates symbols etc sdldstm8 -nf main.lk //linker I found it all worked by just running `sdldstm8 -nf main.lk` in the src/controller dir after the make proc...
by revher
Feb 09 2020 5:17am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

I have a github account but I can't see the edit/newpage button on your wiki. Sorry, I had to disable the restriction to collaborators, now is should work! ... For details that are missing from your eyes, please create a new page. ... regards stancecoke Yes your wiki can be edited now, as well as t...
by revher
Feb 08 2020 11:05am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1134
Views: 117947

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

obcd wrote:
Feb 08 2020 8:15am
The open source firmware uses "simplified FOC" to drive the motor. That should be more efficient than the standard firmware.
...
Thank you, this is exactly what somebody would like to read in Stancecoke's wiki (but I haven't found yet how to write in).