Read the wiki, where you can find the wiring of the cable for 6 and 8 wires cable that goes to LCD.thineight said:casainho said:How to install TSDZ2 on Decatlhon RockRider 540 S full suspension bicycle
I bought new bicycle, this time a full suspension and it was cheap on Decatlhon for 500 euros. Thanks to the pictures/ideas shared by an user on how to fix TSDZ2 to the frame, I took the risk to buy this bicycle RockRider 540 S to install TSDZ2.
Also since the bicycle has hydraulic brakes, I had to use the type of sensor brakes as seem on the pictures.
I am sharing this images in the hope it can help others that want to install TSDZ2 on a bicycle with a similar frame.
![]()
Hello casainho and everyone, I'm new on this forum as active user but I was a silent follower since 1yr ago, when I bought two TSDZ2 motors.
Last year I installed the motors on two city bikes, and I home made a brake cut off system with a magnet and a reed switch, very cheap and it worked out. I have the VLCD5 display so i wired one brake with 2 wires on one of the ports on the back of VLCD5.
If needed, more info on the italian forum where I posted a schematic and picts of the actual work.
https://www.emtb-mag.com/forum/threads/motore-tongsheng-con-torsiometro.24/page-85#post-54805
https://www.emtb-mag.com/forum/threads/motore-tongsheng-con-torsiometro.24/page-96#post-62469
In june I made the decision and I bought a KTM mtb 29" and I moved one motor on it, and I've recycled the brake cut off system. I had to adapt a bit the system since the city bike's brakes were wired while the MTB ones are hydraulic, so the "travel" of the lever was nearly zero at the magnet location.
Recently, after a careful review of jbalat videos, I convinced myself to give a try to the Open Source Firmware (compliments for the great work to casainho and all the active contributors) and I ordered the display KT-LCD3 plus the usb programmer.
While waiting I realized that there are not (as far as i can see) the ports on the back like the VLCD5 where I wired the brake cut off system.
Casainho, i saw in the last picture above you installed a brake sensor on hydraulic brakes and LCD3, could you please explain which cut off you used, and how you wired it into the display? Or just redirect me to a site with the instruction, then i can work it out myself.
Many thanks and, again, thanks for the great job!
Thineight
sulx said:Had similar situation with speed sensor being only 4 wire. As RC hobbyist i had jst wires and plug sets available (e.g. https://hobbyking.com/en_us/jst-sh-servo-plug-set-futaba-gold-plated-10pairs-set.html) and cut one wire and connected female plugs to other end.
sulx said:EndlessScream said:I would like to flash my controller, but suprisingly my speed connector has only 4 pins (not 6), so I don't know how to connect ST Link (and I don't know if it is even possible this way).
I have measured voltage levels and I have identified 3 pins (ground, 6V for headlight and speed sensor input with pullup resistor to 5V).
Would it be possible program the controller using only ground pin and SWIM? I have read that connecting RESET pin (purple wire) is optional and power for the controller can be provided from the battery.
Had similar situation with speed sensor being only 4 wire. As RC hobbyist i had jst wires and plug sets available (e.g. https://hobbyking.com/en_us/jst-sh-servo-plug-set-futaba-gold-plated-10pairs-set.html) and cut one wire and connected female plugs to other end.
![]()
EndlessCadence said:I'm not sure but this could be the original firmware? https://github.com/hurzhurz/tsdz2/tree/master/firmwareBartman said:Does anyone have a .hex file of the original 36v Firmware for the TSDZ2 that they can send me ? Or know of another way to get the standard firmware back onto the motor ?
I stupidly did not save a copy and want to do some faultfinding/diagnostics using the standard firmware.
Thanks
Did never test it though.
The files are still on github but we need to browse historic to get them -- here the link to V0.13:cascarabias said:Hi, I've seen that the v.13 hex has been removed !! for serious problems .... I have installed this version and 200 kms without problem, problems are those of v.13hex? Should I change to v12 hex?
Thank you.
Version 0.13.1 (bugfix) is released, see my signature below for the link. Tomorrow I will try to update the wiki accordingly, but very little was changed compared to v0.12.casainho said:The files are still on github but we need to browse historic to get them -- here the link to V0.13:cascarabias said:Hi, I've seen that the v.13 hex has been removed !! for serious problems .... I have installed this version and 200 kms without problem, problems are those of v.13hex? Should I change to v12 hex?
Thank you.
https://github.com/OpenSource-EBike-firmware/TongSheng_TSDZ2_motor_controller_firmware/tree/16b97e8607d62fc590d1ea4a8b5aa4d56ec354a3/TSDZ2_and_KT_LCD3_Flexible_OpenSource_firmwares
spiked said:Is think this is what you're looking for?
https://github.com/hurzhurz/tsdz2/blob/master/programming.md
casainho said:Read the wiki, where you can find the wiring of the cable for 6 and 8 wires cable that goes to LCD.thineight said:casainho said:How to install TSDZ2 on Decatlhon RockRider 540 S full suspension bicycle
I bought new bicycle, this time a full suspension and it was cheap on Decatlhon for 500 euros. Thanks to the pictures/ideas shared by an user on how to fix TSDZ2 to the frame, I took the risk to buy this bicycle RockRider 540 S to install TSDZ2.
Also since the bicycle has hydraulic brakes, I had to use the type of sensor brakes as seem on the pictures.
I am sharing this images in the hope it can help others that want to install TSDZ2 on a bicycle with a similar frame.
![]()
Casainho, i saw in the last picture above you installed a brake sensor on hydraulic brakes and LCD3, could you please explain which cut off you used, and how you wired it into the display? Or just redirect me to a site with the instruction, then i can work it out myself.
Many thanks and, again, thanks for the great job!
Thineight
Crazymac680 said:Hi. Is the 500 and 750w version larger than the 250 and 350 versions? Would the 750w version give me worse bottom bracket clearance? Is it heavier or is it all software changes?
Thanks for any advice.
EndlessCadence said:I have an annoying "click" with every pedal rotation, it's not very loud. I'm not sure if it relates to cadence or how hard I press on the pedals.
tomtom50 said:Crazymac680 said:Hi. Is the 500 and 750w version larger than the 250 and 350 versions? Would the 750w version give me worse bottom bracket clearance? Is it heavier or is it all software changes?
Thanks for any advice.
All TSDZ2 models are the same size and weight
500W and 750W hardware is the same, the only difference is firmware settings.
Going further, the controllers are the same for 36V, 48V, and 52V. The only difference in controllers is whether it is wired to support throttle or not.
No throttle - 6-pin
With throttle - 8-pin
And there are only two motors, 36V and 48/52V. The two motors have different windings so they spin about 4000 rpm at full battery voltage.
The simplest approach is to buy what you think you will use, but other than 36/48V motor any purchase error can be fixed if you are willing to fuss with firmware.
Mu unsolicited advice is to buy a unit with throttle. I did not even mount it on the bike, the torque sensor is that good. But it is nice to have for setup and adjustments.
Thanks for your help! Today I found out that the motor mount had moved and it has crushed my display cable. I think this caused the clicking sound as well. Cable is repaired but I didn't test if the noise is gone now.cresny said:EndlessCadence said:I have an annoying "click" with every pedal rotation, it's not very loud. I'm not sure if it relates to cadence or how hard I press on the pedals.
How worn are your chain and chaining? I noticed this sort of sound when my chainring was worn to sharp points. My guess is the regular tick on revolution is when the tip of a chainring tooth happens to meet the rod center of a chain pin, which then snaps down into the space in between teeth.
Make LCD3 invert the state, with a configuration for that. I guess other users may have thesame need. Even good if you coild document ypmour build with pictures on wiki.EndlessCadence said:Thanks for your help! Today I found out that the motor mount had moved and it has crushed my display cable. I think this caused the clicking sound as well. Cable is repaired but I didn't test if the noise is gone now.cresny said:EndlessCadence said:I have an annoying "click" with every pedal rotation, it's not very loud. I'm not sure if it relates to cadence or how hard I press on the pedals.
How worn are your chain and chaining? I noticed this sort of sound when my chainring was worn to sharp points. My guess is the regular tick on revolution is when the tip of a chainring tooth happens to meet the rod center of a chain pin, which then snaps down into the space in between teeth.
I hope someone can help me with my lights circuit:
Because of the low maximum current of the TSDZ2's light output I wired an external solid state relay and DC-DC converter to power my lights. This works but it is inverted! I didn't know that NC (normally connected) solid state relays even existed and only saw them at high prices. But it looks like my relay is NC??
The lights turn on when I apply battery power, they turn off when I power on the lights using the LCD3 display. Confusing isn't it?
These are the parts I'm using:
- DC SSR: https://www.aliexpress.com/item/the-cheapest-shipping-wholesale-KYOTTO-S-S-R-KF0602D-NEW-ORIGINAL-50PCS-LOT/1674971340.html?spm=a2g0s.9042311.0.0.27424c4dt0nLQ5
- DC-DC converter: https://www.aliexpress.com/item/DC-24V-36V-48V-60V-20V-60V-to-6V-5A-DC-DC-Converter-Step-Down-Buck/32714423315.html?spm=a2g0s.9042311.0.0.27424c4dt0nLQ5