About Tongsheng TSDZ2 mid drive motors

  1. Motor controller
    1. log
  2. LCD - VLCD5
  3. Motor
  4. Torque sensor and PAS

Datasheets and application notes

  1. STM8S105S4T6

Development tools


  1. 2018.04.18 - original firmware and debug session using OpenOCD
  2. 2018.04.19 - First code runs: Hello world
  3. Math operations CPU time

About Tongsheng TSDZ2 mid drive motors


TSDZ2 motor is mid drive motor that includes a torque sensor. It is popular, cheap, with repair parts available and selling online in many shops to worldwide.
PSWPower sells this motors as also many others online shops.

There is a lot of technical information shared by users, on forums like Endless sphere here.
You can also find on Youtube videos from users, of riding, installing and even repairing.

Tongsheng website:


Linked file: TSDZ2 INSTALL MANUAL.pdf

Linked file: TSDZ2 REPAIR MANUAL.pdf

Linked file: VLCD-5 Manual.pdf

Linked file: XH-18 Manual.pdf

Pictures of the motor:

images/119-3.png images/119-4.png images/119-5.png images/119-6.png images/119-7.png images/119-8.png images/119-9.png images/119-10.png