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

Discussions related to motors other than hub motors.
This includes R/C motors, botttom bracket, roller and geared drives.
casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Sep 24 2021 10:32am

guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
Sorry I don't know what is happening. Maybe you can try full erase and flash again the bootloader?
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

stek692003   10 µW

10 µW
Posts: 6
Joined: Aug 01 2020 10:40am

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

Post by stek692003 » Sep 26 2021 4:33pm

casainho wrote:
Sep 06 2021 6:06am
casainho wrote:
Sep 06 2021 6:01am
kalleg wrote:
Sep 06 2021 5:36am
I simply love this project. My current LCD5 has just broken down due to water ingress and I'm looking for a new solution. The wireless controller paired with the android app would be optimal for me. But I'm afraid it would be too big of a project to handle with my limited skills. Are there any place you can buy a finished wireless controller (Ecobikes? - site down atm), or would anyone be willing to build one for me (will pay for hours ofc). Would be a major upgrade for me, instead of buying another LCD5 and running stock (I have cable and ability to flash the motor myself).
The most simple solution would be to use the wireless controller with wired remote. You can even skip the installation of the 2 mosfets (and so leave the TSDZ2 motor controller always enabled as others seems to be doing that).
Here the schematic for TSDZ2 wireless controller with wired remote and TSDZ2 motor controller always enabled (power on/off the battery to disabled the motor controller, if using a Smart BMS with Bluetooth on your battery, you can turn on/off the battery using the BMS app):

Image

This along with another user on the main thread has got me thinking. If I have a 8 pin cable from my motor could the dc-dc be removed like below? Power on would be from the bike battery and control would be via the phone app. Thanks
IMG_20210926_211913.jpg
IMG_20210926_211913.jpg (30.53 KiB) Viewed 975 times

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Sep 27 2021 3:08am

stek692003 wrote:
Sep 26 2021 4:33pm
casainho wrote:
Sep 06 2021 6:06am
casainho wrote:
Sep 06 2021 6:01am
kalleg wrote:
Sep 06 2021 5:36am
I simply love this project. My current LCD5 has just broken down due to water ingress and I'm looking for a new solution. The wireless controller paired with the android app would be optimal for me. But I'm afraid it would be too big of a project to handle with my limited skills. Are there any place you can buy a finished wireless controller (Ecobikes? - site down atm), or would anyone be willing to build one for me (will pay for hours ofc). Would be a major upgrade for me, instead of buying another LCD5 and running stock (I have cable and ability to flash the motor myself).
The most simple solution would be to use the wireless controller with wired remote. You can even skip the installation of the 2 mosfets (and so leave the TSDZ2 motor controller always enabled as others seems to be doing that).
Here the schematic for TSDZ2 wireless controller with wired remote and TSDZ2 motor controller always enabled (power on/off the battery to disabled the motor controller, if using a Smart BMS with Bluetooth on your battery, you can turn on/off the battery using the BMS app):

Image

This along with another user on the main thread has got me thinking. If I have a 8 pin cable from my motor could the dc-dc be removed like below? Power on would be from the bike battery and control would be via the phone app. Thanks

IMG_20210926_211913.jpg
That makes sense and I am almost sure it will work!!
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

rdancer   10 µW

10 µW
Posts: 5
Joined: Jul 10 2021 9:21am

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

Post by rdancer » Sep 27 2021 8:26am

casainho wrote:
Sep 24 2021 10:32am
Sorry I don't know what is happening.
I can send you one of the bricked dongles, if you want to :-)

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Sep 27 2021 8:28am

rdancer wrote:
Sep 27 2021 8:26am
casainho wrote:
Sep 24 2021 10:32am
Sorry I don't know what is happening.
I can send you one of the bricked dongles, if you want to :-)
I have no time.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

agphil   10 mW

10 mW
Posts: 23
Joined: Jan 17 2020 1:02pm

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

Post by agphil » Sep 27 2021 9:12am

guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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.

stek692003   10 µW

10 µW
Posts: 6
Joined: Aug 01 2020 10:40am

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

Post by stek692003 » Sep 27 2021 4:28pm

casainho wrote:
Sep 27 2021 3:08am
stek692003 wrote:
Sep 26 2021 4:33pm
casainho wrote:
Sep 06 2021 6:06am
casainho wrote:
Sep 06 2021 6:01am

The most simple solution would be to use the wireless controller with wired remote. You can even skip the installation of the 2 mosfets (and so leave the TSDZ2 motor controller always enabled as others seems to be doing that).
Here the schematic for TSDZ2 wireless controller with wired remote and TSDZ2 motor controller always enabled (power on/off the battery to disabled the motor controller, if using a Smart BMS with Bluetooth on your battery, you can turn on/off the battery using the BMS app):

Image

This along with another user on the main thread has got me thinking. If I have a 8 pin cable from my motor could the dc-dc be removed like below? Power on would be from the bike battery and control would be via the phone app. Thanks

IMG_20210926_211913.jpg
That makes sense and I am almost sure it will work!!
Just looked into this a bit more. I think vbattery and vin would also need to be connected together to work.

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Sep 27 2021 4:33pm

agphil wrote:
Sep 27 2021 9:12am
guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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 am on Linux and following the Linux guide, it works for me.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

agphil   10 mW

10 mW
Posts: 23
Joined: Jan 17 2020 1:02pm

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

Post by agphil » Sep 28 2021 4:36am

stek692003 wrote:
Sep 27 2021 4:28pm
casainho wrote:
Sep 27 2021 3:08am
stek692003 wrote:
Sep 26 2021 4:33pm
casainho wrote:
Sep 06 2021 6:06am
Here the schematic for TSDZ2 wireless controller with wired remote and TSDZ2 motor controller always enabled (power on/off the battery to disabled the motor controller, if using a Smart BMS with Bluetooth on your battery, you can turn on/off the battery using the BMS app):

Image

This along with another user on the main thread has got me thinking. If I have a 8 pin cable from my motor could the dc-dc be removed like below? Power on would be from the bike battery and control would be via the phone app. Thanks

IMG_20210926_211913.jpg
That makes sense and I am almost sure it will work!!
Just looked into this a bit more. I think vbattery and vin would also need to be connected together to work.

YES

agphil   10 mW

10 mW
Posts: 23
Joined: Jan 17 2020 1:02pm

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

Post by agphil » Sep 29 2021 1:53am

casainho wrote:
Sep 27 2021 4:33pm
agphil wrote:
Sep 27 2021 9:12am
guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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 am on Linux and following the Linux guide, it works for me.
I'm not trying to compile the firmware myself at this time, I'm using your compiled version V0.8.0 located there: https://github.com/OpenSourceEBike/TSDZ ... s/releases

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Sep 29 2021 2:06am

agphil wrote:
Sep 29 2021 1:53am
casainho wrote:
Sep 27 2021 4:33pm
agphil wrote:
Sep 27 2021 9:12am
guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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 am on Linux and following the Linux guide, it works for me.
I'm not trying to compile the firmware myself at this time, I'm using your compiled version V0.8.0 located there: https://github.com/OpenSourceEBike/TSDZ ... s/releases
I would say installing the bootloader on the Linux, may solve that issue. I am not sure why.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

Peacepirate   100 mW

100 mW
Posts: 36
Joined: Sep 22 2020 11:49am

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

Post by Peacepirate » Sep 30 2021 3:50pm

Hello,
I am selling my wahoo bolt at the moment due to the poor implementation of gps features. Some months ago i could connect my wahoo to the nrf board successfully but lets be honest there are only 3 ebike fields available (battery level,motor support level & i don’t remember anymore what else) and you can’t even change the motor support level with the wahoo. And if you have an iphone then there isn‘t even a chance to use this device to change config. I am aware that this is not the developers fault since there are no other standard fields for ebike available but this means that actually that the whole project forces you to garmin-only devices if i am right. Still fine and nice solution if the garmin device supports the necessary custom garmin apps or whatever these fields are called. This leads me to the following questions.
1. i like the design of those small garmins but i read they dont support these garmin apps (connect iq?). I discovered the Garmin Edge Explorer, which i can get for under 200€. Will this device offer me all the features i need to use the nrf52 board?
2. I never instructed a company to 3d print a designed product for me. Can someone tell me where / which company can print this nrf-remote for me that allows users to switch on/off the controller?
Regards

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Sep 30 2021 3:57pm

Peacepirate wrote:
Sep 30 2021 3:50pm
Hello,
I am selling my wahoo bolt at the moment due to the poor implementation of gps features. Some months ago i could connect my wahoo to the nrf board successfully but lets be honest there are only 3 ebike fields available (battery level,motor support level & i don’t remember anymore what else) and you can’t even change the motor support level with the wahoo. And if you have an iphone then there isn‘t even a chance to use this device to change config. I am aware that this is not the developers fault since there are no other standard fields for ebike available but this means that actually that the whole project forces you to garmin-only devices if i am right. Still fine and nice solution if the garmin device supports the necessary custom garmin apps or whatever these fields are called. This leads me to the following questions.
1. i like the design of those small garmins but i read they dont support these garmin apps (connect iq?). I discovered the Garmin Edge Explorer, which i can get for under 200€. Will this device offer me all the features i need to use the nrf52 board?
2. I never instructed a company to 3d print a designed product for me. Can someone tell me where / which company can print this nrf-remote for me that allows users to switch on/off the controller?
Regards
You need to go to the Garmin CIQ apps store and see there the application you would like to use, then, see also for wich devices that application works. Note the Garmin Edge 530/830 and 1030, (I have the 830), they support natively the ANT+ LEV but then you can also install the apps developed by the other developers.

For the remote, probably your best option is to find some individual that has a 3D printer and ask for 3D print the parts, which are very easy and very quick to print since they are very small.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

Peacepirate   100 mW

100 mW
Posts: 36
Joined: Sep 22 2020 11:49am

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

Post by Peacepirate » Sep 30 2021 4:32pm

casainho wrote:
Sep 30 2021 3:57pm
You need to go to the Garmin CIQ apps store and see there the application you would like to use, then, see also for wich devices that application works. Note the Garmin Edge 530/830 and 1030, (I have the 830), they support natively the ANT+ LEV but then you can also install the apps developed by the other developers.

For the remote, probably your best option is to find some individual that has a 3D printer and ask for 3D print the parts, which are very easy and very quick to print since they are very small.
[/quote]
Well, the edge explore seems to support ANT+ LEV protocol and the price of the 830 is almost twice as big. Guess that checking garmin CIQ apps compatibility will be only possible with a garmin device… but i‘ ll check that.
Well Casainho, imagine there are people on this planet who don‘t have friends with 3d printers;)

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Oct 01 2021 6:30am

Peacepirate wrote:
Sep 30 2021 4:32pm
Well Casainho, imagine there are people on this planet who don‘t have friends with 3d printers;)
See that it just a box to hold the electronic board and the battery and hide the wires. You can do manually any small black box with some black thin plastic sheet, cut and do hole for LED, and glue. You do not need a 3D printer. You can use the VLCD5 remote as it is and route the cable to inside the box.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

gfmoore   100 W

100 W
Posts: 165
Joined: May 01 2021 4:48pm
Location: Stoke-on-Trent, UK

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

Post by gfmoore » Oct 01 2021 1:29pm

Apparently tic tac boxes will do at a pinch, well for feketehegyis gizmo
viewtopic.php?f=28&t=79788&start=9025#p1677417

:D
Known purveyor of useless questions :roll:

User avatar
woojak   1 mW

1 mW
Posts: 18
Joined: Mar 16 2021 9:25pm

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

Post by woojak » Oct 01 2021 5:57pm

agphil wrote:
guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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 a similar problem Image 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" :D
I have uploaded another soft and I am racing on it :)
IMG_20210604_162903.jpg
IMG_20210604_162903.jpg (167.51 KiB) Viewed 741 times
IMG_20210606_153726.jpg
IMG_20210606_153726.jpg (171.5 KiB) Viewed 741 times
IMG_20210606_153801.jpg
IMG_20210606_153801.jpg (224.2 KiB) Viewed 741 times
IMG_20210606_153812.jpg
IMG_20210606_153812.jpg (187.28 KiB) Viewed 741 times
IMG_20210606_170406.jpg
IMG_20210606_170406.jpg (634.46 KiB) Viewed 741 times
IMG_20210606_170419.jpg
IMG_20210606_170419.jpg (429.72 KiB) Viewed 741 times

Sent from my MAX1 using Tapatalka
TSDZ2 Internal Wireles Board - Github repo. and Wiki for TSDZ2 EBike wireless controller project.

agphil   10 mW

10 mW
Posts: 23
Joined: Jan 17 2020 1:02pm

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

Post by agphil » Oct 05 2021 4:05am

woojak wrote:
Oct 01 2021 5:57pm
agphil wrote:
guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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 a similar problem Image 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" :D
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
Are you programming the bootloader on Linux or Windows?

User avatar
woojak   1 mW

1 mW
Posts: 18
Joined: Mar 16 2021 9:25pm

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

Post by woojak » Oct 05 2021 10:16pm

agphil wrote:
woojak wrote:
Oct 01 2021 5:57pm
agphil wrote:
guihei wrote:
Sep 24 2021 5:39am
Hello, I have problems with the DFU of the wireless controller. The flashing of the bootloader with the STLINK V2 worked and I can connect to the nRF52840 with the nRF Connect mobile app. When i start the DFU the file trancfer is displayed with the graph like in the video and ends at 100%. Then the nRF Connect mobile app disconects from the nRF52840 but nothing happens now. I can't connect to the controller with the TSDZ2 controller app and there is no Bluetooth divice with the name TSDZ2. The LED on top of the nRF52840 is all the time off, just if i press the reset button it flashes in green.
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 a similar problem Image 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" :D
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
Are you programming the bootloader on Linux or Windows?
I am a Windows 10 user: D

Sent from my MAX1 using Tapatalka

TSDZ2 Internal Wireles Board - Github repo. and Wiki for TSDZ2 EBike wireless controller project.

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Oct 09 2021 10:37am

woojak wrote:
Oct 01 2021 5:57pm
Image
Nice boards!!

Because I have my cargo bike shared with my wife, and there is no Garmin display on it, it is hard to use the wireless remote - I really miss a display.

I decided to buy a SW102 because it is small as we like. Then when opening the SW102 to solder the wires and install the bootloader, I destroyed it because the board inside was totally different then the ones I had previously. So, I decided to not spend money anymore on this displays and instead build one based on the wireless controller and a small display, as small as the SW102. Small so it can be made robust with a thick 3d printed case and not be something eye catching for when I park my bicycles on the street for some hours.

And I own a popular cheap electric scooter Xiaomi M365, with OpenSource firmware and with many improvements / mods to be done. I need a custom display for it so I will reuse this one (it needs connection to throttle and brake signal, as this ones are sent by UART to the motor controller).

My idea is to reuse the SW102 firmware that we did develop and add the Bluetooth and ANT+ from TSDZ2 wireless, including the same mobile app. From the hardware perspective, is like the TSDZ2 wireless wired remote + display.

To the TSDZ2 wireless board, we just need to add 4 wires (Vcc 3.3V) to connect to this 0.96 inches OLED display:
Image

And here is our the display firmware for SW102, I do not expect more then this. I wish to see on the display the battery SOC, when the motor is on/off, wheel speed and the current motor power (in percentage, relative to max configured value):
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Oct 11 2021 8:17am

Here is the schematic that I think will work.

Image

The display current usage maybe something like 0.7mA when turned off by a specific command. In total, I think this hardware can get about 1mA current usage when the system is turned off (0.2mA for the NRF52 and 0.5mA for the display).

I was thinking on the firmware and because I have very little free time, I hope to implement the TSDZ2 wireless controller with wired remote + the SW102 display firmware (but without the configurations on the display, they will only be done on the mobile phone app - sure is possible to do the configurations on the display, but is not a priority for one first working version).
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

frenchie   100 mW

100 mW
Posts: 45
Joined: Dec 24 2019 1:22pm
Location: France, cos UK sucks 8-)

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

Post by frenchie » Oct 12 2021 2:29am

hi, I've got a cheap ST Link but the connectors are labelled DTR, TXD, RXD etc
can someone please confirm
SWDIO=TXD
SWCLK=DTR
cheers

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Oct 12 2021 2:42am

frenchie wrote:
Oct 12 2021 2:29am
hi, I've got a cheap ST Link but the connectors are labelled DTR, TXD, RXD etc
can someone please confirm
SWDIO=TXD
SWCLK=DTR
cheers
Almost for sure is not a STLINK but a USB UART converter.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

frenchie   100 mW

100 mW
Posts: 45
Joined: Dec 24 2019 1:22pm
Location: France, cos UK sucks 8-)

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

Post by frenchie » Oct 12 2021 6:22am

casainho wrote:
Oct 12 2021 2:42am
Almost for sure is not a STLINK but a USB UART converter.
ok interesting thanks, it shows up as 'Silicon Labs CP210x UART Bridge'
do I need to buy a proper 'ST link' or can I get away with something extra to go with what I've got?
cheers

casainho   100 GW

100 GW
Posts: 5777
Joined: Feb 14 2011 2:43pm

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

Post by casainho » Oct 12 2021 6:26am

frenchie wrote:
Oct 12 2021 6:22am
casainho wrote:
Oct 12 2021 2:42am
Almost for sure is not a STLINK but a USB UART converter.
ok interesting thanks, it shows up as 'Silicon Labs CP210x UART Bridge'
do I need to buy a proper 'ST link' or can I get away with something extra to go with what I've got?
cheers
I would buy the correct one.
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware

Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.

Post Reply