Search found 14 matches

by mspider65
Nov 28 2019 12:41pm
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 1603

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

stancecoke wrote:
Nov 28 2019 3:51am
Do you plan to write a tutorial how to use your ESP32 and app? e.g. in the wiki page of your github repo?
https://github.com/TSDZ-ESP32/ESP32_TSDZ2/wiki

regards
stancecoke
Yes, as soon as everything is tested and i have time i will start to add a wiki.
by mspider65
Nov 26 2019 5:39am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 1603

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

Really cool! :-) Do you have to change some optionbyte settings, or will the UART bootloader work from the default settings of the stock firmware for flashing? regards stancecoke I had to enable the STM8 bootloader using the usual "ST Visual Programmer" by changing the corresponding option byte bec...
by mspider65
Nov 25 2019 5:27pm
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 1603

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

Finally the controller is arrived! http://www.jobike.it/Public/data/mspider65/20191125224227_20191125_223355.jpg All the tests went well and, after some minor adjustments, also the firmware update of the STM8 controller from the Android app works perfectly. I would say that at the moment I did not e...
by mspider65
Nov 18 2019 6:34am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 1603

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

protocol conversion So you don't use casinhos data protocol to commuicate with the app?! Why? regards stancecoke On the controller side you should use the Official Open Source Firmware (casinhos data protocol) and actually the ESP32 translates the messages to the OEM LCD Protocol (I have the VLCD5 ...
by mspider65
Nov 17 2019 11:02am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 1603

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

Great! Cool work! :thumb: This stops the messing around with just three buttons of a display to adjust all the parameters! Are you using BLE or "normal" BT for communication? Why don't you use a simple HC-05/06 or HM-10 BT-module? regards stancecoke Hi, the interface is based on BLE. HC-05/06 are j...
by mspider65
Nov 17 2019 8:36am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 1603

BT Interface for TSDZ2 Open Source firmware - Work in progress

Simulation test done successful. https://youtu.be/vp3WN9OPtdk Now i'm waiting a new spare controller to start the field test. When done, using an Android you will be able to: Monitor all the parameter sent by the controller. Setup all the motor parameters. Wireless update the module firmware Wireles...
by mspider65
Sep 06 2019 5:11am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6609
Views: 661573

Re: New "TSDZ2 Torque Sensor Central Motor"

casainho wrote:
Sep 06 2019 3:49am

Are you aware of the SW102 display with Bluetooth? SW102 is very flexible and for instance we have now integration with Strava mobile app.
Yes, i know, but i like to make experimens ad i already have an ESP32 board an the OEM Vlcd5 display.
by mspider65
Sep 06 2019 2:32am
Forum: E-Bike Non-hub Motor Drives
Topic: New "TSDZ2 Torque Sensor Central Motor"
Replies: 6609
Views: 661573

Re: New "TSDZ2 Torque Sensor Central Motor"

Hi, i'm planning to add an ESP32 board between the motor controller and the display. The board will act as "man in the middle" between the two UARTs and will be able to add blutooth and WiFi capability to the Controller. I'm still really undecided about how to get power supply for the board. One opt...
by mspider65
Aug 07 2019 12:40pm
Forum: Motor Technology
Topic: TSDZ2 mid drive and 850C and SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4558
Views: 312694

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

I just want to say that I will be developing today and making Alpha 3. Here is what I planned: - EEPROM will be slightly more efficient thanks to mspider65! - Motor temperature not displayed in odometer field when user selects it to be displayed, this will be sorted out! - No assistance over 90 cad...
by mspider65
Aug 05 2019 9:08am
Forum: Motor Technology
Topic: TSDZ2 mid drive and 850C and SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4558
Views: 312694

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

- there is absolutely no need to store the configurations on the motor controller, instead, the LCDs as 850C has 16x times more memory (512 kbytes VS 32 kbytes) and so they can store it without any worry Hi Casainho, It was not my intention to raise an issue. In any case i was talking about the few...
by mspider65
Aug 05 2019 8:00am
Forum: Motor Technology
Topic: TSDZ2 mid drive and 850C and SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4558
Views: 312694

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

But this would be possible to implement on the controller as we are starting from scratch. Do you have any further thoughts? Please give feedback where improvements can be made and thank you again for helping me! Hi Buba, glad to be helpful. And Yes, I have another thoughts :) Would it be possible ...
by mspider65
Aug 05 2019 1:36am
Forum: Motor Technology
Topic: TSDZ2 mid drive and 850C and SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4558
Views: 312694

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

I just want to mention for future reference that the EOP flag is not something you need to poll on our type of microcontrollers (low density, ST). The write operation is stalling the CPU so it can not do anything else until the operation is completed. Hello Buba, I don't want to sound insistent, an...
by mspider65
Aug 04 2019 2:59pm
Forum: Motor Technology
Topic: TSDZ2 mid drive and 850C and SW102 displays only -- Flexible OpenSource firmware (Casainho code only)
Replies: 4558
Views: 312694

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

The last 24 hours I have worked like a mad man to take care of the EEPROM bug and get the Alpha 2 out. I tested, changed and modified well over 1000 lines of code to get it to work perfectly. Works great for me and I can only hope it will work great for the community. Hi Buba, as for the eeprom bug...