mspider65 said:All the source code is available on Github.vass said:if in the future the source code for the app is also available i can try to code something.
From the project main page https://github.com/TSDZ2-ESP32 you could browse all the repositories.
PandaYeti said:Since there seems to be quite few people interested in the pcb. I decided to also order 3 pcbs. If there is anyone interested in Germany or Europe, let me know.
vass said:Nice, as soon has i have some time i will play with it, do you have "something" that can emulate the motor and the bluetooth connection to the App so one can code without the need for the real thing?
Wimpy747 said:Very anxious to use these, the main.hex is to flash the motor?bart594 said:sp1n4d0 said:I was able to build using this "how to" https://makerdiary.com/blogs/news/how-to-use-nrf5-sdk-with-arm-gcc
and TSDZ2 Wiki https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Development
After building i run the script "release-SW102_ota" it successfully build an sw102-otaupdate.zip file to flash the display but when i try to flash this zip it gives me an error, i have no idea what´s wrong.
(click this image to view full log)
Motor firmware, bart594 have another repo with it: https://github.com/bart594/TSDZ2-Smart-EBike
i think you need to open it up and flash the "hard" way
https://github.com/OpenSource-EBike-firmware/Color_LCD/wiki/Initial-SW102-firmware-install
i don't think that unlocked bootloader makes the difference here
Or have you already flashed casainho's official 1.0.0 version ?
here you will find compiled firmware files (lcd and controller) with compatible android app
https://github.com/bart594/Color_LCD/releases/tag/20.1.15
However the .apk file fails to install on any device I have, I'm running android 9 and 10.
Any idea what the problem can be?
Wimpy747 said:Also removed my posts, I do love the project but would like to be able to use it with the sw102 display, because i actually like this display and also pefer the .20 firmware as the osf 1.0.0 is way to 'big' for me, do not need 20 assist levels for example.
In the first post you were refering to this in the future, so I guess I will have to wait.
Will order the board in the meantime, thanks for the nice work
pgwguk said:As well as testing the VLCD5 which worked great, I also tested the SW102 from EcoCycles.
This mini display has TSDZ2 compatible firmware pre-loaded, so my hope was it'd be compatible with the ESP32 setup.
The great news is, it does! All the functionality of the SW102 appears active, power level and power mode selection also works!
PandaYeti said:Hi guys,
I fiddeled around a bit with the PCB and have the following Problem, which I don't know how to solve:
When I connect to the PCB via bluetooth, without connecting an antenna to the IPEX port, it works perfectly. As soon as I connect the antenna and try to connect, it does not work. Connecting the antenna while beeing connected via bluetooth, works. I checked the antenna physically according to 2,4 Ghz spec, and it seemss correct. Does anyone have an idea what could be the problem?
I guess if I don't want to open the motor I can also place the board in the cable in a waterproof box, think this does not affect the behavior and functioning of the board?mspider65 said:Wimpy747 said:Also removed my posts, I do love the project but would like to be able to use it with the sw102 display, because i actually like this display and also pefer the .20 firmware as the osf 1.0.0 is way to 'big' for me, do not need 20 assist levels for example.
In the first post you were refering to this in the future, so I guess I will have to wait.
Will order the board in the meantime, thanks for the nice work
A user reported that the SW102 display sold by EcoCycles, works fine with the current release
pgwguk said:As well as testing the VLCD5 which worked great, I also tested the SW102 from EcoCycles.
This mini display has TSDZ2 compatible firmware pre-loaded, so my hope was it'd be compatible with the ESP32 setup.
The great news is, it does! All the functionality of the SW102 appears active, power level and power mode selection also works!
mspider65 said:PandaYeti said:Hi guys,
I fiddeled around a bit with the PCB and have the following Problem, which I don't know how to solve:
When I connect to the PCB via bluetooth, without connecting an antenna to the IPEX port, it works perfectly. As soon as I connect the antenna and try to connect, it does not work. Connecting the antenna while beeing connected via bluetooth, works. I checked the antenna physically according to 2,4 Ghz spec, and it seemss correct. Does anyone have an idea what could be the problem?
It's strange behavior, do you have another antenna to try?
Check if the ground and antenna wire are not shorted
Yes you can do it in this way too.Wimpy747 said:I guess if I don't want to open the motor I can also place the board in the cable in a waterproof box, think this does not affect the behavior and functioning of the board?
PandaYeti said:I tried another antenna which lead to the same behavior. Then I connected it to another 3,3V power source and everything worked as expected, so I guess something is not quite right with my FTDI. Very strange.
Thanks for the hints, and for the update, btw! Can't wait to connect the PCB to the motor and take if for a spin!
mspider65 said:Yes you can do it in this way too.Wimpy747 said:I guess if I don't want to open the motor I can also place the board in the cable in a waterproof box, think this does not affect the behavior and functioning of the board?
It's really difficult to compare power consumption between two different firmware, there are really many parameters that affects the comparison. I have a 36V motor and my feeling is different and compared to the official 0.20beta i have detected a slightly lower consumption (about 5% less)PandaYeti said:Hi,
so I connected the pcb and tested it with ne new firmware for a couple of days. I love the instant response when starting to peddle and the overall agility! Also the field weakening works great (48v motor here) Best firmware I tried so far!
I also have a couple of issues:
- I feel like the motor is getting way hotter and it drains the battery faster than for example mebrusa's firmware, even if I do not use the high cadence boost. Might field weakening have anything to do with this anyway?
Yes, in the Android app you could set the torque offset parameter. Enable the checkbox and put the value you read on the "ADC torque" dashboard field when the your feets are not on pedals.- my torque sensor seems to have a very bad stock calibration. It shows 20, without any weight on the pedals. Any way to calibrate it with this firmware?
Actually the only way is changing the setup on the OEM display. But I think it would also be useful to have the option to change it from the Android app. I will take this into account for the next release.- is there any way to switch street mode using the android app? I tried setting the respective entry in the config, but it did not work. I liked the way it was implemented in mebrusa's firmware, being able to easily switch to off-road when powering up the display, but by default just going into street mode.
E-bike lover said:Hi guys
I am interested in this pcb too but I have just found this post after searching for months. Probably others couldn't find this post too and will be better to add these kind of pages(optimisation for tsdz2) to github.
I have a idea to improve this pcb and that is by adding gps and sim function to it so that the bike could be traceable. Anyone has any idea how to make it?
Also, it would be nice if someone could sell me 1/2 pcb in a reasonable price in EU![]()