Maybe that is the one I trashed while opening to flash the bootloader firmware. I really like SW102 for his size... this DIY display is much bigger, there is no way to make something so compact in a DIY way. On the other side, the buttons on the SW102 are bad, lack of tactile feedback and the buttons are to small, here our display has much better buttons. And most importantly, it can be repaired and adapted for different systems, like adding CANBUS communication instead of UART or any other thing, like for Xiaomi scooters is a different UART type, only 1 wire UART - SW102 would never work.Peacepirate said:It seems as if an updated version of the sw102 display exists on the market for a few weeks now with improved stability and a better oled display.
https://www.star-union.net/upgraded-mini-size-1-3-inch-oled-display-ds103-sw101-product/
Sorry, I don't known an answer to your questions. I also did not fully understand all the things as they are nee to me.skyng22003 said:Hi, very cool project!
I am considering migrating to your platform and contributing to its development.
I have been developing something similar on the ESP32, DA14856 and NRF24AP2.
I am also using DI2 for gearshifting and wonder if the nrf52840 can act as client and server to read the currently selected gear broadcaster by the DI2 on ANT ?
Attached is my controller and 3d printed shifter.
casainho said:Sorry, I don't known an answer to your questions. I also did not fully understand all the things as they are nee to me.skyng22003 said:Hi, very cool project!
I am considering migrating to your platform and contributing to its development.
I have been developing something similar on the ESP32, DA14856 and NRF24AP2.
I am also using DI2 for gearshifting and wonder if the nrf52840 can act as client and server to read the currently selected gear broadcaster by the DI2 on ANT ?
Attached is my controller and 3d printed shifter.
Where can I find the source code of your project? Any github link?skyng22003 said:My understanding of your current setup is that there are 2 ANT channels being used on the nrf52840 (physically connected to the TSDZ2), one for the LEV+ ANT for the buttons and the other for sending data via ANT to the Garmin?
I guess it should be possible to add a third channel to receive (slave) ANT broadcast data from the Di2 shifter system?
I have done this successfully on the NRF24AP2, receiving data from the Di2, just wondering how difficult/possible it would be to implement an additional channel.
Thanks!
casainho said:Where can I find the source code of your project? Any github link?skyng22003 said:My understanding of your current setup is that there are 2 ANT channels being used on the nrf52840 (physically connected to the TSDZ2), one for the LEV+ ANT for the buttons and the other for sending data via ANT to the Garmin?
I guess it should be possible to add a third channel to receive (slave) ANT broadcast data from the Di2 shifter system?
I have done this successfully on the NRF24AP2, receiving data from the Di2, just wondering how difficult/possible it would be to implement an additional channel.
Thanks!
Sorry, I am not remembering about ANT+ LEV. Donas you want, I am only using the new display and I will start to using the ANT+ Controls for the Garmin Edge page change. Later I wish to have the ANT+ Lev also working, but maybe just after 6 months from now. My time is very short.skyng22003 said:Hi casainho
Got the NRF52840 dongles working and have been looking at the ANT+ lev profile.
Is there a reason to use the gear_state variable to send motor status?
If I were to move the motor status to the system_state would you see any issues?
So I can actually use the gear_state to indicate currently selected gear for the Di2 shifter system.
Thanks,
Sky
Sure, it is here: https://github.com/OpenSourceEBike/TSDZ2-Android/commits/masterskyng22003 said:Hi casainho,
Was wondering if you're willing to share the source code ebike for the android app so I don't have to start from scratch?
Thanks,
Sky
woojak said:I am a Windows 10 user: Dagphil said:Are you programming the bootloader on Linux or Windows?woojak said:I have a similar problem [emoji3] 2 devices do not respond completely (after many attempts to upload the software) 3rd device can be seen in dfu but the software does not run on it. Unfortunately, I gave up, I had a lot of potential in this project, but unfortunately I still have to wait. so far the board is waiting for "better times"agphil said:I have the same problem, and with 3 different nRF boards. I can connect to NRF connect after installing the bootloader, not with the app installed. LED is always OFF.![]()
I have uploaded another soft and I am racing on it
IMG_20210604_162903.jpg
IMG_20210606_153726.jpg
IMG_20210606_153801.jpg
IMG_20210606_153812.jpg
IMG_20210606_170406.jpg
IMG_20210606_170419.jpg
Sent from my MAX1 using Tapatalka
Sent from my MAX1 using Tapatalka
Is it OpenSource your project? If so, can you share the link?skyng22003 said:Hi, very cool project!
I am considering migrating to your platform and contributing to its development.
I have been developing something similar on the ESP32, DA14856 and NRF24AP2.
I am also using DI2 for gearshifting and wonder if the nrf52840 can act as client and server to read the currently selected gear broadcaster by the DI2 on ANT ?
Attached is my controller and 3d printed shifter.
Hi Silvio.silvocross said:Finally I was able to finish the assembly, connect my Garmin Edge 530 and make a testride.
I found some Issues and Features to be finalized:
1- Speed and Distance values are trasmitted with a factor 0.1 (instead of 20km/h I read 2km/h on the Garmin)
2 - Human power is not transmitted over ANT+ (that was one of the main reasons to move to this project)
3 - The info button does not allow to switch pages on the garmin
I would like to contribute on the development and try to fix at least some of those points, can you point me to a short guide to set up the development environment for nrf52?
Thank you
Silvio
unfortunately I wasn't looking for a solution to my problem. it is very possible that it is my computer's fault or a fake from aliexpress: /silvocross said:woojak said:I am a Windows 10 user: Dagphil said:Are you programming the bootloader on Linux or Windows?woojak said:I have a similar problem [emoji3] 2 devices do not respond completely (after many attempts to upload the software) 3rd device can be seen in dfu but the software does not run on it. Unfortunately, I gave up, I had a lot of potential in this project, but unfortunately I still have to wait. so far the board is waiting for "better times"![]()
I have uploaded another soft and I am racing on it
IMG_20210604_162903.jpg
IMG_20210606_153726.jpg
IMG_20210606_153801.jpg
IMG_20210606_153812.jpg
IMG_20210606_170406.jpg
IMG_20210606_170419.jpg
Sent from my MAX1 using Tapatalka
Sent from my MAX1 using Tapatalka
Hi, did you solve the issue in any way? I have exactely the same issue on 2 boards, bootloader programmed and flash process successful but unfortunately I can not see the TSDZ2 on the bluetooth device list..
Any help please?
Silvio
I can see the project going forward. nice job, it looks clean and nice!casainho said:Here is a video of the display working on my EBike with TSDZ2 motor - it was quick, thanks to the usage as the same hardware as the wireless controller and the SW102 firmware.
I started the firmware using the wireless controller firmware and only after I added the display firmware, so this display works with th mobile app as also ANT+ LEV ebike and the ANT remote:
[youtube]viimR74NPZk[/youtube]
I did the 3D printing enclosure in a way it fix to the handlebar in a similar way of the Garmin GPS displays, using the elastic, so should be easy to fix on any handlebar position.
On the bottom there are 4 small screws on the corners, to easily open in the case of needed repair:
![]()
![]()