Search found 1115 matches

by stancecoke
Feb 17 2020 2:41am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

I flashed the 36v files from the eco-bike tutorial which was easy enough. Sorry please explain exactly, what you have done! Have you still the stock firmware and just edited the EEPROM for voltage setting (as described at eco-bike), or have you flashed the OpenSource firmware?! If you have flashed ...
by stancecoke
Feb 14 2020 1:47am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

revher wrote:
Feb 13 2020 6:42pm
my scripts (compile_20.sh and edit_advanced.sh) and my java patch are still on my computer.
Just fork my repo, upload your changes and send a pull request!

regards
stancecoke
by stancecoke
Feb 12 2020 9:24am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

because I am still lost Have you read the wiki of the main project ? You can find very much information there. Look at the links to bitbucket, too. You can find the original firmware files there also, so you can go back to the stock firmware any time. As you have managed to read the flash, EEPROM u...
by stancecoke
Feb 11 2020 4:50am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

fratto wrote:
Feb 11 2020 2:40am
In case of my electric tricycle, the "reverse march" is a must
There were several requests for reverse direction before in the german forum, e.g. from Xiongda-Users, where the motor direction changes the gear ratio.

I have to think about it :-)

regards
stancecoke
by stancecoke
Feb 11 2020 1:28am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

kristof645 wrote:
Feb 10 2020 12:00pm
as my motor is sensorless
The open source firmware does't work in sensorless mode. The motor has to have Hall-sensors.

regards
stancecoke
by stancecoke
Feb 08 2020 11:50am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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! 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). You can find all th...
by stancecoke
Feb 08 2020 8:20am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

revher wrote:
Feb 08 2020 6:34am
I appreciate your new wiki and I started to install the softwares.
You are welcome! :D
If you have any approvements for the wiki, just edit it. Anybody with a github account can write to the wiki.

regards
stancecoke
by stancecoke
Feb 06 2020 12:25pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Valopallo wrote:
Feb 06 2020 3:47am
what other options do I have
You could remove the big resistor and feed the LM317 with 17V from an extra DC/DC converter...

regards
stancecoke

edit: fixed typo
by stancecoke
Feb 06 2020 12:23pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

"loading file option_no_prot.ihx in option byte image in computer" Ah, again an issue of my .gitignore settings. I just fixed it at github. Please download the repo again, it should work now! https://github.com/stancecoke/TSDZ2-Smart-EBike/commit/9920098a4251dd72e4d271157c45909c5fe54be1 regards sta...
by stancecoke
Feb 06 2020 6:25am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

I've added a wiki page with a short installation-guide and links to the related forum discussions:

https://github.com/stancecoke/TSDZ2-Smart-EBike/wiki

Improvements are welcome, any user with a github account can edit the page.

regards
stancecoke
by stancecoke
Feb 05 2020 9:01am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

For some reason I'm really struggling to get the GUI to operate correctly on my PC Make sure that every piece of software is installed in the correct path on your computer according to the manual. For the use of the GUI the Java Runtime Environment has to be installed. Is there anyway we could just...
by stancecoke
Feb 05 2020 1:45am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

there is a problem in the config.h file I just fixed the bugs , see the last commit :-) Please report, if it works now! When are the .ini files saved, upon compiling & flashing? Are they saved in JSON format or something proprietary? The .ini files are just simple text files. They content the value...
by stancecoke
Feb 04 2020 1:47pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

Till there is a working Gui Here you are! The configurator works now for the basic settings. I think it is mostly self explanatory. https://github.com/stancecoke/TSDZ2-Smart-EBike GUI_working.PNG For people who want to bring the advanced settings into the GUI: You'll need approximatly 5 minutes for...
by stancecoke
Feb 04 2020 7:23am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Correct? Yes, if the gear has only one stage. I guess, it has more stages, as the displayed speed is that much to high. But you can easily check it by comparing the shown speed with a speedometer. If you have the external speedsensor set active, make sure, that the number of pulses per wheel revolu...
by stancecoke
Feb 04 2020 5:54am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Ok, so as it seems I have 21 teeth on the drive gear and 36 teeth on each driven gears. no, I guess, you have a planetary gear. So the number of teeth of the planet gears is irrelevant, important is the ratio from the sun gear to the ring gear. https://upload.wikimedia.org/wikipedia/commons/thumb/3...
by stancecoke
Feb 04 2020 2:59am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Valopallo wrote:
Feb 03 2020 3:35pm
I set gear ratio 10 because I counted 20 magnets at the hub. Is this correct?
For a direct drive it is OK, if it's a geared motor, you have to multiply the 10 with the mecanical gear ratio.

regards
stancecoke
by stancecoke
Feb 04 2020 2:57am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

The choice of which parameters to put in main.h and which in config.h I made and the result is this! You are right, mixing the advanced parameters in the main.h is not a good idea. Therefore I moved them to the advanced.h. I plan to use the second button in the GUI to open the advanced.h with notep...
by stancecoke
Feb 03 2020 2:33pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

Elinx wrote:
Feb 03 2020 1:17pm
The release is just published
I've moved most parameters to the file advanced.h and started a GUI:
https://github.com/stancecoke/TSDZ2-Smart-EBike

The GUI is not working yet, it will take two more hours of work, I think...

regards
stancecoke
GUI.PNG
GUI.PNG (31.21 KiB) Viewed 629 times
by stancecoke
Feb 03 2020 3:28am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 805
Views: 78946

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

Mbrusa released his code for the 0.20 in the italian forum (sadly as zip-file in the forum, not as repo at github) now. Thank you mbrusa! The GUI is still missing, you have to edit the config.h manually at the moment. I wonder if all 111 (!!!) :shock: parameters need to be adjusted by the "standard ...
by stancecoke
Jan 29 2020 2:37am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Valopallo wrote:
Jan 28 2020 3:41pm
Does BluOSEC prevent changing parameters when there is something wrong with the flashed controller parameters?
Make sure, that you use the latest BlueOSEC-version with the latest controller firmware version!
https://github.com/Xnyle/bluosec-apk

regards
stancecoke
by stancecoke
Jan 28 2020 2:40pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Valopallo wrote:
Jan 28 2020 2:27pm
So I just have to try different motor specific angle parameters and see what works?
Yes, try to add/substract 64 to/from your recent value (64 is 90 degree as 256 is 360 degree)
Or just increase/decrease in steps of 15 and check what happens...

regards
stancecoke
by stancecoke
Jan 28 2020 2:06pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

This is the effect of the throttle. Very good! So nothing's wrong with the controller :-) We have to check the hallsensor-signals next. Put in GPIO_ReadInputData(HALL_SENSORS__PORT) & (HALL_SENSORS_MASK) instead of ui16_setpoint now. Then turn the motor shaft slowly by hand. The signal sequence has...
by stancecoke
Jan 28 2020 12:14pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

It connects and sends numbers: 1, 0, 0, 323, 0, 0 OK, that looks like normal operation. printf("%u,%u, %u, %u, %u, %u\r\n", ui16_control_state, ui16_setpoint, ui16_motor_speed_erps, ui16_BatteryCurrent, ui16_sum_torque, ui16_momentary_throttle); Are the values changing when you push the throttle? Y...
by stancecoke
Jan 28 2020 10:08am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3810
Views: 323358

Re: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW

Valopallo wrote:
Jan 28 2020 9:52am
Yes, there is
OK, but this should be no problem, the log looks fine.

Have you tested the Diagnostics mode? Does the controller send any information in this mode? Use e.g. Blueterm for logging.

regards
stancecoke