Search found 32 matches

by shaddi
Feb 27 2019 10:16am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Since my KT LCD3 died, is it possible to enable the TSDZ2 by simply connecting "green|P+|battery voltage" to "white|Vin|ground when LCD disabled and P+ (battery voltage) when LCD is enabled"? https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/Wire-KT-LCD3-to-TSDZ2 I think it does not work...
by shaddi
Feb 22 2019 9:36am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Anybody trying to build the latest github code under linux? Im getting a crashing sdcc :( sdcc -c -I../../common/STM8S_StdPeriph_Lib/inc -I. -I../../ -mstm8 -Ddouble=float --std-c99 --nolospre --out-fmt-elf -olcd.c lcd.c *** buffer overflow detected ***: sdcc terminated Linux Mint 18.2 SDCC : stm8 3...
by shaddi
Jan 14 2019 2:40am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

- Cruise function (BETA) : this is a great new function for those days you need kind of a “virtual throttle”. When at speeds above 8 km/h or around 5 mph simply hold down the DOWN button and the bike will do the rest. The speed will automatically be maintained. Feedback controller firmware. Great f...
by shaddi
Nov 19 2018 10:45am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

Motor without a display would be nice. The current problem is that the configuration is not split up in a persistent and a runtime-part. I opened a ticket for that on github and trying to implement it by myself. But i have not much spare time and the code is complex :-) -> https://github.com/OpenSou...
by shaddi
Nov 08 2018 3:34am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

I have been getting a lot of rubbing lately from the inside of the chainring to the motor.. Yes it does normally rub, you can see a big wear mark on the inside of the chainring but lately its been squeaking and getting annoying If I grab the chainring it will tilt some.. Anyone else have this issue...
by shaddi
Nov 03 2018 2:59am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

beta2. Haha that was fun. When you start peddling it gives you a massive boost, but the fun part (and scary) is that it would run on for about 2 seconds despite I had stopped pedaling. Reminded me of my old PAS bike. whow, that was the same experience i had with the "official" 0.14.3 version i repo...
by shaddi
Oct 31 2018 10:45am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

hm, ok. old code..

im still confused. STM8 Datasheet says we have 10 Bit ADCs. Align is set to left, so we have 8 bits in ADC1_DBxL and 2 bits in the ADC1_DBxH register. The old code got the full 10Bit-Value but the current one is only reading the ADC1_DBxH registers, right?
by shaddi
Oct 31 2018 9:27am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Hi, still searching for my strange effect on my bike. While reading the code i got confused about the function torque_sensor_read. This one is used to write the current (mapped) torque value to ui8_torque_sensor which is used to calculate ui8_pedal_human_power which is used to calculate ui8_adc_batt...
by shaddi
Oct 30 2018 8:03am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Oh, eeprom_write_if_values_changed (void) is commented out, so every new value from the LCD gets never written to the eprom of the Motor? The Motor always runs with the vars temporary added by the LCD while "online".. hmm, ok :)
by shaddi
Oct 30 2018 2:57am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

HI all, i have a strange effect on a complete clean install to 0.14.3. No option was changed after installation. 48V Motor, 48V Battery. The motor starts to rotate already with a slightly touch the pedals. Riding on the smallest assist-level (set to 400W) is like "no need to pedal". It seems that my...
by shaddi
Oct 23 2018 9:40am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

I think we should go in the direction like the Bafang Motors. With the shipped LCDs, the user can only alter some basic settings like wheel circumfence, speed-limit and so on. For extended settings, which are endless with the new firmware, should be altered by some sort of tool. This could be an And...
by shaddi
Oct 08 2018 6:14am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Im using this lamp on my bike, directly connected to the 6V-Output of the motor:
https://www.amazon.de/dp/B07CVWV7NB/ref ... UBbCZBCP68

Works as expected, but never measured the real consumption..
by shaddi
Oct 08 2018 3:47am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

GFK seems to be "to weak" for 500+ Watts :)
small_IMG_20181008_082002_014.jpg
Broken support
Trying it cutting from aluminium or steel now...
by shaddi
Sep 27 2018 6:47am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

just found a shop in germany that ships the speed sensor for a fair price.. https://www.elektrofahrrad-einfach.de/products/Einzelkomponenten/Zubehoer/SFM-Zubehoer/SFM-Tachosensor-mit-Speichenmagnet.html meh, this part only have a 4-pole connector and does not work for flashing. Just sending it back...
by shaddi
Sep 26 2018 3:34am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 2445
Views: 113716

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

EndlessCadence wrote:
Sep 26 2018 2:55am
plans related to wireless communications, debugging and updating the firmware wirelessly as well! Will reveal more when they're more than just plans. :wink:
Serial Bootloader? :o
by shaddi
Sep 25 2018 2:43am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

Try https://www.e-bike-technologies.de/index.php/en/connectors/higo where you can by the Higo connector for just a few Euros and as you're in Germany, it will be with you in a couple of days. I already know the page, but they dont have the female 6-pole connector :( just found a shop in germany tha...
by shaddi
Sep 25 2018 1:31am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

Try https://www.e-bike-technologies.de/index.php/en/connectors/higo where you can by the Higo connector for just a few Euros and as you're in Germany, it will be with you in a couple of days. I already know the page, but they dont have the female 6-pole connector :( Does someone want to test a very...
by shaddi
Sep 24 2018 8:59am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

Hi all, here is my solution to mount the motor on a full-suspension bike. Milled out of GFK. small-IMG_20180922_122834_982.jpg small-IMG_20180922_213351_027.jpg small-IMG_20180923_175411_333.jpg What is the actual "best practice" to flash the firmware on the motor? Do i have to cut the speed-sensor-...
by shaddi
Sep 18 2018 6:45am
Forum: E-Bike Non-hub Motor Drives
Topic: Improving original firmware - TongSheng TSDZ2 mid drive motor
Replies: 124
Views: 8480

Re: Improving original firmware - TongSheng TSDZ2 mid drive motor

Nice work on the XH18, hurzhurz! @hurzhurz, @casainho: what features does a display need? I did not look into full details of the code for the LCD3, but the most features i can see is to set lot of options with a numbers-only LCD and push them to the motor controller. The other features like ODO and...
by shaddi
Jul 25 2018 2:18am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

I have the same problem with rotating motor and no place to get a fixture because of my "fully" bike. Yesterday i had an idea and wanted to share with you. It replaces the factory-provided piece of metal and locks down with the screw of the rear swing... Any comments on this? WhatsApp Image 2018-07-...
by shaddi
Jul 23 2018 7:58am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

jbalat wrote:
Jul 23 2018 7:45am
To program the lcd3 without connection to the motor can I just use 5v to j7 from the dongle ?
yes, worked for me with a chinese clone dongle.
by shaddi
Jul 12 2018 4:36am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

LCD3 firmware just got the very first contribution from another user - Karl Szmutny from Munich, Germany, submitted the implementation of offroad mode for the LCD3!! Please see here the description of how ti is activated: https://github.com/OpenSource-EBike-firmware/Kunteng_LCD3_firmware/pull/3 I t...
by shaddi
Jul 09 2018 9:14am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 5070
Views: 396243

Re: New "TSDZ2 Torque Sensor Central Motor"

Does anybody use the OpenSource-Firmware on the MotorController? Can it be used like the original firmware, without a throttle?
by shaddi
Jul 09 2018 8:52am
Forum: E-Bike Non-hub Motor Drives
Topic: Improving original firmware - TongSheng TSDZ2 mid drive motor
Replies: 124
Views: 8480

Re: Improving original firmware - TongSheng TSDZ2 mid drive motor

LCD-Controller on the XH18 is a ST7735 and its connected via 8-Bit interface (not so common). Its a 16 Bit TFT Display.
Jog-Dial is conncted via an Hall-Sensor to one GPIO-Pin of the STM.

ISP-Port is clearly visible and have the same pinout like the LCD3. Firmware is Read-Protected, so no backup :(