Recent content by kallt_kaffe

  1. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    Wasn't this the problem someone had with the options-file? Try flashing the stock option-bytes file.
  2. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    Ok, then I'm out of ideas but I would start with disabling the odometer compensation while troubleshooting because with it on you will always get no speed displayed for a short while everytime you try a new setting. Once you get the speed display working you can enable it again.
  3. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    Yes, but if it's a very small number (like 26) it will not generate a speed high enough to be shown. The display does not show numbers lower than 3.5km/h or 3.8 or something like that. You would need a really fast rotating wheel to reach 4km/h if the wheel circumfence is 26mm. You would need to...
  4. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    That is your problem. 26mm wheel circumference is a very small wheel. If your wheels are 26inch in diameter my guess is that your wheel circumference is around 2050mm. If you do not want to try to measure it yourself you could use this table for reference: https://www.bikecalc.com/wheel_size_math
  5. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    What did you configure as wheel circumference in the Java configurator?
  6. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    It'll start working after a while. The odometer compensation will display 00.0km/h until it has compensated for the time it has shown other stuff (like the 99.9% battery it shows everytime you turn in on).
  7. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    I do not have access to the java configurator right now so I cannot check the ini-file. Your config.h could help. However my guess is that you accidently blanked LIGHTS_CONFIGURATION_2 in the java configurator. I think if that is not set to anything this would happen when you try to compile.
  8. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    52v battery means 14s, not 16s. Change that and battery bars should be correct. Also change capacity to 655W (50.4v*13Ah). On the second tab, check "Throttle on street mode". E02 in Eco-mode means you switch to off-road mode. Read manuals for more info on display settings. You also might want...
  9. K

    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...
  10. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    STVP 3.4.1 here. For me the file from eco-bikes and the one I backuped from my motor (48V) before doing anything else to it is identical. All bytes 0x00 except for byte 2 that is 0x28. The option_no_prot.ihx on the other hand has all bytes as 0x00 which changes the settings of AFR5 and AFR3...
  11. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    If you install the ST Visual Programmer you can load the option files into it and see what the differences mean. EDIT: Actually, if you've followed the instructions in the wiki you should have it installed already.
  12. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    What happens if you manually flash the option_no_prot.ihx file instead (you'll find it in C:\TSDZ2-Smart-EBike-1-master\src\controller). It's the options file the configurator uses. If that produce the same result as flashing with the configurator you could compare the stock-options-file and...
  13. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    You don't need to stop but you need to stop pedaling for 2 seconds or more and I think most people do that frequently when biking.
  14. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    Not being sure if all my changes to the code are what everyone wants I cloned the repository and pushed my changes to my own version of the repository if anyone else would like to give it a try and/or if emmebrusa wants to cherrypick some of the changes for the main repository. This is the...
  15. K

    Tsdz2 firmware open source adapted to vlcd5, vlcd6 and xh18

    An update on the matter of the internal battery pack resistance. Calculating the internal resistance and showing it is very possible, however the value varies as there seems to be a delay in the voltage fluctation when current changes. I actually did some filtering to try to minimize this in...
Back
Top