Search results

  1. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    I don't see how gear shift can affect the ESP32 board operation. Check the connections and the power supply, there must be some problem there. The wheel circumference must be configured with the Android app. The wheel diameter on the display is instead used to set the default assistance mode...
  2. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    It is not the purpose of this project. In theory, however, it would be possible by modifying the firmware of the ESP32 board even if it would then be necessary to add some HW at least to turn the system on / off.
  3. M

    Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

    Yes, for medium/high speeds, the difference between the time T1 in which the quantity you use for the calculations is sampled (phase current or Hall sensor) and the time T2 in which you apply the result of the calculations is also important, because during this time interval the rotor is moving...
  4. M

    Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

    Yes, it would be possible to calculate the delay value running the motor at different speeds and record the difference between the two detected angles. The difference should increase with the motor speed. Of course you should use the HW interrupt to detect the Hall transition. Otherwise, a...
  5. M

    Motor Controller with Customizable Electronics, easy DIY and repair OpenSource

    If you want to get a precise estimate of the rotor position based on the Hall sensors, it is not enough to think in spatial terms (angle) but time must also be considered. Otherwise, as the rotor speed increases, the estimation error can become significant. For example in my tests on the TSDZ2...
  6. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    yes, you should remove the board. To leave it you would need a special firmware that acts as a pass through on the connection between the controller and the display.
  7. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Thank you! often people post on the forum to complain about something wrong or to ask for help. So if there are not many messages for me it means everything is working fine :D :D. (Or that there are few people who use it). In any case, no problem at all. Enjoy your rides.
  8. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    New Version released: Functional changes: Torque Smooth (see https://endless-sphere.com/forums/viewtopic.php?f=30&t=115535) New Torque sensor setup screen Architectural changes: Bluetooth interface optimization (MTU change, all real-time data sent in only one notification) ESP32/Controller...
  9. M

    Motor Torque Smooth

    I was able to test the change more thoroughly and had to change my mind a bit on my first impressions. The difference is more noticeable the greater the effort applied and the lower the cadence and also depends on how the motor is configured, particularly if aggressive or softer motor current...
  10. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Yes In the phone app private storage but the data cannot be exported.
  11. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Everything seems to be fine. Headers will be soldered after confirming the correct placement of the components.
  12. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Today I finally started riding the bike again and I was able to test the new modification well. Certainly the impact on the riding experience is not huge but the impression I got was positive even if it is clearly a subjective judgment. However, analyzing the graph of the stored data, it is...
  13. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    The idea is explained here: https://endless-sphere.com/forums/viewtopic.php?f=30&t=115535
  14. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Yes, for Power Mode you have to increase the "Torque Sensor ADC Step" and you have to manually enter in the configuration the Torque ADC Offset (the zero torque ADC reference), but if you have a maximum range of 40 and a fluctuation of 20, I think you can't satisfactorily solve the problem with...
  15. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If the raw torque ADC value without any weight on pedals changes with the position of the pedals, the problem should be electrical not mechanical. Perhaps the two discs of the torque sensor are not perfectly matched? Are the springs correctly positioned? Regarding the torque calculation, the SW...
  16. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    No way to solve this problem with the calibration. Calibration is only the definition of a function which, given the ADC value of the Torque sensor, provides the real Torque value (Nm). The SW doesn't have a reference position of the pedals (the PAS sensor doesn't provide a 0 reference...
  17. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If uses the Bafang protocol it doesn't work.
  18. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If the 860c uses the OEM protocol (works with the OEM Firmware) it should work also with the ESP32 board.
  19. M

    Motor Torque Smooth

    No, at the moment it only uses the information coming from the torque sensor. In practice, the software memorizes the last curve and compares the instantaneous value with that of the previous pedal stroke to understand if the cyclist is modifying the effort. I tried to keep things simple also...
  20. M

    Motor Torque Smooth

    I just updated the code on github. Before releasing a new version, however, I will have to do some testing as the commit includes several other changes.
  21. M

    Motor Torque Smooth

    Sorry https://github.com/TSDZ2-ESP32/TSDZ2-ESP32-Wiki/wiki (it is in my signature) Although this topic is not strictly related to my project but it concerns any firmware that uses a torque sensor.
  22. M

    Motor Torque Smooth

    We are well aware that torque sensing motors acts as power/torque amplifier. An annoying effect though, at least for the TSDZ2 motor that I normally use, is that it follows just exactly the force measured instantly which, even if we are pedaling constantly, changes significantly according to the...
  23. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    For Item #20 the replacement is OK (it is just a header) For Item #1 an alternative could be BZX584C5V1. But there are many other 5.1V Zener diodes with SOD-523 footprint.
  24. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Everything is in the wiki.
  25. M

    My DIY Battery Charger Controller

    The Web interface is still under development.
Back
Top