Search found 132 matches

by mbrusa
Jul 13 2020 12:05pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

For me reading my options byte show option byte as 0x20 and only AFR5 is different than stock settings. Weird since option_no_prot should set it to 0x00 and stock was 0x28. EDIT: Just tried programming my stock option file (my own backup that has option byte as 0x28) which went fine with no complai...
by mbrusa
Jul 13 2020 8:39am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Of course, the reason to write the option byte file at least once is to disable the read protection bit. I had seen that in the stock file the protection was off, but not knowing if it had always been so and if it always will be, I preferred to rewrite it as provided by marcoq. The strange thing is ...
by mbrusa
Jul 13 2020 1:53am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

...I think the S19 and the hex files re the same ? https://drive.google.com/drive/folders/1eGcBtTj8GrGQ4tDJAECr6ejMrpW2ZqvH The S19 file is identical to my backups. With STVP I see some differences (AFR5 and AFR3) with "option_no_prot.ihx" But the only thing I can do is comparing files, not interpr...
by mbrusa
Jun 29 2020 6:45am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Are you sure about that? That was my first concern so I hade a look at the code and it's populated like this: ui16_display_data_factor = OEM_WHEEL_FACTOR * ui8_oem_wheel_diameter; The largest wheel diameter I can configure is 35 inch and when I do ui8_oem_wheel_diameter returns 35. The highest OEM_...
by mbrusa
Jun 29 2020 1:18am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Well kallt_kaffe I see you are having fun, I'm on a summer break ... Warning, multiplying ui16_display_data_factor x 10, it overflows. The operations should be 32 bit, but the higher resolution is lost in the calculation performed by the display to show the speed, it has a much lower resolution and ...
by mbrusa
Jun 26 2020 3:09am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Hi There are still some aspects that have not been understood. Maybe it's the translation or I haven't explained them well. I try again. With the battery fully charged and calibration done, the remaining% is very precise because calculated on consumption, I would say +/- 1%. This with the bigger bat...
by mbrusa
Jun 25 2020 9:02am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Strange, if the data display works in manual mode it should also work with the lights on, the procedure is the same. I do not have any lights connected but I will try flashing again with lights enabled to see if it makes a difference. I had a look the at the source code and I wonder if these lines ...
by mbrusa
Jun 24 2020 1:42pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

I only saw it now.
Of course the lights must be enabled.
by mbrusa
Jun 24 2020 5:56am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Got my STLinkV2 yesterday and have since been trying out this firmware. Still tweaking settings and just did ADC working range calibration. Right pedal measured 130 while left measured 120 so I entered 125 in the configurator. Is that the recommend thing to do or should I go with the lower or highe...
by mbrusa
Jun 24 2020 5:20am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

The max battery capacity is only used to calculate the remaining%. Only one value can be saved in eeprom on shutdown. You should only change batteries when fully charged, which you can already do. I am really confused here. My unmodified xh18 calculates the remaining %, without knowing the capacity...
by mbrusa
Jun 19 2020 1:47pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Atrihalov wrote:
Jun 19 2020 11:23am
when I carry out a throttle, the motor runs faster.
The cause of the problem may be the value of "ADC throttle value min".
You read 40, but there may be a display error.
Try to change it, I can't tell you whether to increase or decrease, you have to do some tests.
by mbrusa
Jun 19 2020 8:49am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

I see. So many modes... it should be enough. I will try to install the firmware during the weekend and see what they are and how they work. I would like to feature request two battery profiles or at least two capacity settings, ie: city/cursing, Pack1/Pack2, That should take less space that full us...
by mbrusa
Jun 19 2020 8:01am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Atrihalov wrote:
Jun 19 2020 2:48am
When you turn on the engine immediately starts to work.
If you have VLCD5, is the throttle connector inserted in the right direction?
What happens when you operate the throttle?
by mbrusa
Jun 18 2020 3:07am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

mc_lee wrote:
Jun 18 2020 2:21am
From your ini file, I can see you have enabled the "Street mode on startup" in "Basic settings" page. And I noitced that you have not enabled the "Throttle on street mode" in "Assistance settings" page. May be you can try to enable it to see whether it can help.
:bigthumb:
by mbrusa
Jun 17 2020 3:24am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

... Is this a fork or a branch? I would like to propose the creation of real user defined profiles/presets. Let's say, 3 config slots to choose from at runtime. Should this be done on the original OpenSource code (HEAD?) and be merged here (Branch?)? or should I propose this directly here? And a fe...
by mbrusa
Jun 17 2020 2:48am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

... What settings is affecting this? Motor acceleration and maybe ramp down? Im using 35 acceleration (36V battery, 36V motor) and 8 ramp down. Could you share what you are using? HrKlev, I have no strange settings, only slightly higher values for "Assist whitout pedaling threshold", "Pedal torque ...
by mbrusa
Jun 16 2020 11:34am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

I did everything according to your recommendation. The ADC value changes from 4.0 to 21.0, but the motor does not rotate. I use level 2-3, but the motor does not rotate from the throttle. Are you using the latest version of the configurator? If you put the ini file or the config.h file here, I try ...
by mbrusa
Jun 13 2020 12:06pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Hey, mbrusa. Is it OK to come with wishes for next version (I know you are doing this in your spare time, so I hope Im not nagging too much)? I really enjoy the bike now, so I'm not complaining! But a couple of things would make it even better. Maybe it can be adjusted in the settings as it is in t...
by mbrusa
Jun 13 2020 11:30am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Atrihalov wrote:
Jun 13 2020 8:49am
I use level 2-3, but the motor does not rotate from the throttle.
Are you using the latest version of the configurator?
If you put the ini file or the config.h file here, I try with your configuration.
by mbrusa
Jun 13 2020 4:49am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Atrihalov wrote:
Jun 12 2020 6:14am
I did everything according to your recommendation.
The ADC value changes from 4.0 to 21.0, but the motor does not rotate.
Hi Atrihalov
I have tried with virtual throttle and it works.
So the real one must work too.
Aren't you using it at level 0-OFF?
At level 0-OFF the throttle is disabled.
by mbrusa
Jun 13 2020 2:43am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Unfortunately I don't have the throttle to try. Mbrusa we have a spare throttle here, if you send me your address by PM I will post it to you. Thanks for all your time in maintaining this side of the development. Thanks Waynemarlow, the problem is that I should disassemble the controller to solder ...
by mbrusa
Jun 12 2020 7:01am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

I did everything according to your recommendation. The ADC value changes from 4.0 to 21.0, but the motor does not rotate. Well Atrihalov, the test was to verify the operation of the adc input, it's ok. Unfortunately I don't have the throttle to try. In the next few days I will try to develop a virt...
by mbrusa
Jun 12 2020 3:17am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

New user here. Just compiled the firmware as explained here: https://github.com/emmebrusa/TSDZ2-Smart-EBike-1/wiki/OS-X-and-Linux-installation All went fine (main.ihx was created) I used git version: 17a3649, is that correct? Are newer versions unstable? And my main question: I have two battery pac...
by mbrusa
Jun 12 2020 2:31am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Hello, I'm new here and my name is Daniel. I would like to be the first to thank you for the fantastic work of everyone involved in this project! I have been driving the firmware for 600km and am thrilled with it. Unfortunately I have had a problem since yesterday. I replaced the controller with a ...
by mbrusa
Jun 12 2020 2:14am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18
Replies: 1362
Views: 131886

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

Yes, the brake sensor is on and the throttle is on. Can you check it out? Temporarily set: "Data 1" to 13 "Time to displayed data 1" to 250 (25 sec) "Number of data auto displayed" to 1 "Auto display data with lights on" enabled Compile & Flash Then do the following: Turn on the display, the level ...