• Howdy! we're looking for donations to finish custom knowledgebase software for this forum. Please see our Funding drive thread

TSDZ2 OSF Source Code

MLAT

100 µW
Joined
May 1, 2022
Messages
7
I am new to this web site and the OSF world and have a question that I hope someone can help me with. I have looked at many of the Github entries and found a lot of updates to the display and motor programming. What I did not find was any actual source code. It appears to me that the programs are originally written in some variation of C and then compiled with Visual Studio. The compiled code is then uploaded to the controller & display with the STM firmware program. Is this right? Where are the source code files? It would be interesting to me to see the basis for some of the choices and to see how the separate modules for things like PAS and motor power reporting/display were developed. If my assumptions are not correct I would appreciate any information that I can get.
Thanks.
 
I'm not a programmer, but aren't they in the SRC section of the github project?

Like here?
https://github.com/OpenSourceEBike/TSDZ2-Smart-EBike/tree/master/src

https://github.com/emmebrusa/TSDZ2-Smart-EBike-860C/tree/master/src
 
I appreciate the link to the source code. It was very helpful. I did not realize that the src folder had this information in it. After looking at some of the entries I can see that they are small independent sections of source code. I will have to spend some time learning more about how the various pieces are combined into a single program. Thanks again for your help.
 
MLAT said:
.... I will have to spend some time learning more about how the various pieces are combined into a single program. ...
On the Tsdz2 wiki there is a special section for developement. Maybe that is what you need?
https://github.com/OpenSourceEBike/TSDZ2_wiki/wiki/Development
 
Thank you for the link to the development section of the wiki. A quick look tells me that this is will cover a lot of what I have been looking for. I am also new to Github and how it is set up so this will help me a lot. I can see that a couple of hours spent on how Github works will be time well spent.
 
Thank you for the additional information. After reading a number of posts I have seen the three screen names you mention a lot. It appears that all of the current software owes a lot to these people. I recently added a TSDZ2 motor to my Terracycle trike and got the OSF upgrade from the vendor Eco Cycles. So far I am very happy with it and the pedaling experience is very similar to my wife's Bosch e-drive on her trike. Since I have never ridden a bike with the stock firmware I do not know how they compare but I am satisfied so far. I like the 860 display because it easy to read in the bright sunlight. I am an electrical engineer and am always interested in the mechanics of how the final product gets produced no matter if it software or hardware.
 
MLAT said:
.... I like the 860 display because it easy to read in the bright sunlight. I am an electrical engineer and am always interested in the mechanics of how the final product gets produced no matter if it software or hardware.
This are about my background and reasons too, but like "DIY" and "KISS" principle and have choosen for OSF for stock display and the Java configurator of mbrusa.
Imho EcoCycles flashed the later mbrusa OSF build for 860C. (v.20.1C3 or v.20.1C4)
 
I checked my display and it says 20.1C-3. So, I am assuming that it is the mbrusa version that you refer to.
 
MLAT said:
... that it is the mbrusa version that you refer to.
correct :thumb: v20.1C.4 is the latest
https://github.com/emmebrusa/TSDZ2-Smart-EBike-860C
 
Back
Top