Search results

  1. M

    FOC Angle calculation

    Here you will find how i have calculated the reference angle between rotor and applied phase current under "no load condition". Optimized TSDZ2 Firmware As you know, then the reference (no-load) angle should be corrected according to motor phase current and motor speed, but i have not found any...
  2. M

    Current Sensing

    If you want to measure the current using an Hall effect sensor you should pay attention to the reaction time of the sensor compared to the PWM frequency you want to use.
  3. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If you have the same problem with the OEM firmware and without the ESP32 board, maybe the problem is the Display or the wiring between motor and Display. If I remember correctly, E03 means that the display is not receiving any data.
  4. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    No, it is just an alternative to the offset calculation which is done automatically when the motor is turned on.
  5. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If checked you shoud enter the ADC value you have without any pressure on pedals. In you case is 194, and so a value around 198 would be ok.
  6. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    For high cadence, in my opinion, the best solution is a 36v motor with 48v battery. In this configuration the motor will be able to provide high power even at high cadence with better efficiency than a motor with a standard battery of the same voltage using field weakening. This firmware uses...
  7. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    In the last Android apk the OTA update is broken. Revert to 2.1.12 version to do the OTA update, then you can return to the last version (2.2.0). I have already a new Android version with the bug fixed and i will publish the new apk on the github project page About the speed problem, probably...
  8. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    It is available the Cycling Power Service (UUID 0x1818)
  9. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    New version of the Android app. It is just a Technology refresh. - Removed various deprecated classes - Compiled with the last Android SDK 33 (Android 13) - New Bluetooth permissions (if running on Android 12 and up) TSDZ2_ESP32v2.2.0.apk
  10. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    It can't work if you use a firmware other than the one provided by the project.
  11. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If you want to turn on the system with a bluetooth connection, the ESP32 cannot stay in sleep mode since the radio interface must be active. Yes the switch should be between +Batt and +LCD and should manage the battery voltage and at most 100/200 mA.
  12. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    no, there is no switch. For your scenario you would need a small external switch to turn on the ESP32 board and bike controller. The ESP32 board will also consume power otherwise. (ESP32 consumes more current than the controller STM8 MCU) So you should also modify the ESP32 firmware and also the...
  13. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Everything seems ok to me
  14. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    the error is self explanatory. Check the electrical connection of the rxc, txc signals.
  15. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Thank you Beli, despite user washichi reporting, so the old version works fine on Android 12 as expected. Regarding the new version i will do some test as soon i have an Android 12 device. This is almost certainly a permissions issue, maybe installing from scratch will fix it.
  16. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If you are using an Android 12 Device, try the new version above
  17. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    New Android app released: - Changed target SDK to 32 (Android 12) - Added new Android 12 Bluetooth permissions https://github.com/TSDZ2-ESP32/TSDZ2-ESP32-Wiki/blob/master/bin/Android/TSDZ2_ESP32v2.1.13.apk I don't have an android 12 device to test, please report back if everything is ok.
  18. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    It is an old and outdated picture of the early stage of the project. The white wire shouldn't be used as power source but only as power enable.
  19. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    I glued the board with silicone and it has been running smoothly for three years now.
  20. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    I don't see anything in the SW that can cause this problem. There is only one loop that sends a bluetooth notification only if there is an active connection, and the controller knows nothing about if there is an active bluetooth connection. My opinion is that it could be an electrical problem...
  21. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If the system goes down, it is most likely the BMS that cuts the power. The firmware, if it detects a low battery voltage, only stops the motor. I don't have an Android 12 device to test. However Android 12 should support legacy Bluetooth permissions if the APK is compiled with older SDK...
  22. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Hi, position of diodes is Ok!
  23. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Yes, "Torque ADC Offset" should be the Torque ADC value with no load and "Torque ADC Factor" is the multiplying factor of the Torque Delta value (Torque ADC value - Torque ADC Offset) I don't know the mbrusa's SW but I guess from the number of parameters it uses, that the model in its case is a...
  24. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Currently the sensor response is modeled with a line with the two parameters "Torque ADC Offset" and "Torque ADC Factor" and then you can adapt the response according to the sensitivity of your sensor. Using the new "Torque Sensor Configuration" screen it is very easy to calculate and enter the...
Back
Top