Search results

  1. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    As soon I'll be back from my holidays, I'll try to compile it for 860C and implement it on last version. That's what I wanted to do in the future, it will be a lot easier for me now.
  2. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    +1 What a nice feature !! I'll try to improve it. I'm a bit like you (first time in C programming and French too). You did a great job ! For RAM missing, I saw that the graphs consume a lot of it. Maybe we could remove some of them.
  3. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I read the code but I don't understand what could be wrong for now. I don't have enough time currently, maybe next two weeks I'll can investigate more as I'll be in holiday (but without testing as I won't have my bike with me).
  4. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I just did the pull request. I hope I did not made mistake in the code, it's the first time I work on that kind of project. I did not fix the trip distance calculation, no time to test the fix I did. But I did not encounter any issue since the last 2 weeks where I use my bike every day of the...
  5. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    Ok so I noticed the same behaviour about boost feature. I thought there was something else too. I had already check the code a few weeks ago and I had not notice any thing special. I'll check again to see why enable / disable logic is inverted and figure out if I can fix it. Thanks guys for you...
  6. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    Ok, so I'll try to make the PR in the next days, maybe this weekend. If I don't have time to fix my mistake about the distance calculation, I'll make PR with my current commit. (And I still have to change the daily RTC counter reset to make the auto reset trip memories above 24h works) And...
  7. B

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Very nice work @casainho !! I plan to buy a Garmin watch soon. And I'm interested in developing a Garmin app. Do you already know if we could have full control on the TSDZ2 (seeing data and configure it) directly from a Garmin device (watch or GPS display like yours)? I'm not really aware of...
  8. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    For those who are interested on that feature, I'm still working on it. I use my bike every day to go to work since last week, so now I can affirm this works pretty well. But the distance is a little buggy : I made a mistake in the code calculating it. I will correct it soon. Last thing, I have...
  9. B

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    I think a DC-DC solid state relay is what you need. For example : Input : 3 to 32V Ouput : 5 to 60V I'm already using it for a DIY CNC wood machine to enable/disable the laminate trimmer (from a 5V output of a Arduino board) and it works perfectly. That's plug & play.
  10. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    Than'ks, I'll try it. I'm interested too for the ebay link. Less cheap I found is 43€ with shipping cost (ebay and aliexpress).
  11. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I've just compiled it for 850C. You can find it on my Github : https://github.com/Kenny-54/Color_LCD/tree/WIP-trips-memories Direct download links : 850C bootloader : https://github.com/Kenny-54/Color_LCD/raw/WIP-trips-memories/850C_v1.0.0-trip-bootloader.bin 850C standard ...
  12. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    For now, manual reset is only available in a new menu "Trip memories" in the configuration screen, like all other settings. I'll do better later. You can induviduallky reset trip A or B, with "Reset trip ..." option, setting it to "yes" (it'll go back to "no" immediately, just like the "reset...
  13. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    Auto reset is now working but, there is a case it won't work because of how time is saved. As it is reset to 0 every day (RTC_IRQHandler function in rtc.c file), in some cases auto reset won't occur. Example : if last trip update occurs at 14h and auto reset feature is set to 24 hours. The next...
  14. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    Yesterday I added the manual reset feature. But I made it very simple, within the configuration screen. I have to see to do that from the main screen. And autoreset is not yet working. I hope it will be done this week.
  15. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I'm currently working on it ! What is already done : 2 trip memories ("A" and "B") with : time distance average speed max speed Trip A and B are independant. Datas are saved/load in EEPROM. It's working fine for me, I have to test it again to be sure. I now have to implement the reset...
  16. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    You're right and I agree with you. And I think using a smartphone and using a Garmin like display are two different projects with different features (ANT+ for Garmin, no need to buy other devices for the smartphone).
  17. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I think it should work. Personnaly, I use an Arduino Due board (Due, not Duemilanove, it's a board with ARM microcontroller and with I/O ports on 3.3V) as a USB<->serial converter (with just simply connecting reset and GND). That's a nice project but personnaly I would prefer to use an ESP32...
  18. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I saw that on the forum. Do you know why it happen ? The 850/860C has however an intagred RTC with its own battery. I'll see what I can do :wink: For now, as I don't use to develop in C and, in general, with low level language, it ask me lots of time and debug is not easy... modify code...
  19. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I thought about it but I wasn't sure to implement it, or in a first time only a manual reset. But it's a nice feature and I'll made it configurable (manual and/or auto reset with configurable amount of hours). And for the manual reset, what do you think is better : combination of pressing...
  20. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    @vshitikov : you're in France like me ? I'm currently adding some features : two independent trip memories (A and B) with : - time - distance - average speed - max speed All since last reset and saved in EEPROM (except average speed which is calculated) It's already working, tested on my 860C...
  21. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I think there is a problem in the source code of the last release, in the "mainscreen.c" file. If I compile it myself, the main configuration screen is different from the firmware (860C_v1.0.0-beta.1-bootloader.bin ) in the Github release. In the Github release firmware file : In my firmware...
  22. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    I finally succeeded to compile TSDZ2 firmware with Linux ! What I did : in the "Makefile_linux" file : I changed ELF_FLAGS value from "--out-fmt-elf --debug" to "--out-fmt-ihx --debug". It then generate a main.ihx file instead of a main.elf. The main.ixh file can then be converted in a main.hex...
  23. B

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    Thanks ! I tried to compile it on Windows juste after posting my last message and it worked (I did not yet flash it however) That's what I'll do so. I would prefer to compile both firmwares on Linux but the essential is I can compile .
Back
Top