Search results

  1. M

    My DIY Battery Charger Controller

    Since I use my eBike intermittently I don't recharge the battery every time. Then it happens to free myself from a commitment, I arrive home and I would like to take a ride in the mountains but the battery has to be charged. So I realized this small project that allows me to remotely manage the...
  2. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    It might be fine for some functions like updating bike firmware, but it doesn't work for real-time data display and data logging.
  3. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Hi, I'm glad to see everything worked out well. At first I also used a solution like yours. I guess it is not easy to solder the bare ESP32 Wroom module. Others have successfully used the ESP32 DevKit board which is bigger and easier to solder but clearly then you need a slightly bigger case...
  4. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Probably the ESP32 board is already connected. When connected it isn't discoverable.
  5. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    The original esptool is a python script. I just provided a dummy-proof one click executable version. You could just install a python interpreter an use the original esptool script. https://github.com/espressif/esptool
  6. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Yes a reistor voltage divider works well, but in the other direction, a 5v buffer/driver is useful not only for safety reason but also to have a better connection reliability. The cable that goes to the display is quite long an the noise margin using a 3.3v driver and a 5v receiver is small...
  7. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Yes, I can confirm that everything works even without the TMP1XX sensor installed. One is for 5V to 3.3V conversion and the other for 3.3V to 5V conversion. But in the new version I have used two SN74LVC2G17 for both conversion since I verified that the 3.3V output of the ESP32 is able to drive...
  8. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    New PCB v4 All the the tests of v4 PCB went well. I have updated the Giuthub repository and the wiki with the new version.
  9. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Strange, because the LM5166 Enable pin is a MOS input that doesn't sink current. However, if this is the cause, it should no longer happen with the v4 as the XL7005A has an active low Enable which is connected to an external NMOS driven by the switching line through a high value resistor. On...
  10. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    LM5166 has a nominal input voltage of up to 65V and Texas Instruments are usually high quality components. If it burned out, it should have received a too high voltage (possibly electrostatic discharge). The v4 uses the Chinese XLSEMI XL7005A, the same used on the TSDZ2 controller board. It is...
  11. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    I also needed a couple of PCB for a friend, but due to the global chip shortage, the current v3 cannot be ordered. I then created a new PCB version (v4) which uses the currently available chips. The new PCBs have already been shipped and are on their way. As soon as they arrive I will test them...
  12. M

    New "TSDZ2 Torque Sensor Central Motor"

    Try to move slowly the crank forward and check the signal sequence on the Yellow and Blue wires. The signal should change about every 5 degrees. The sequence should be: H=5Volt L=0Volt Yellow Blue L H L L H L H H L H etc...
  13. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    In this case there is not much to explain. Simplifying things a bit, the advance angle correction is based on two components: time: essentially given by the delay of the combination of Hall Sensors and electronics (the advance angle increases with the motor speed) load: the advance angle...
  14. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If you have the 8 pin connector identify the cables connected to the pin 4 (TSDZ2_Rx) and 8 (TSDZ2_Tx) of the connector. Then cut the cables and do the following connections: TSDZ2_Rx wire connector side - ESP32 TXL TSDZ2_Rx wire controller side - ESP32 RXC TSDZ2_Tx wire connector side - ESP32...
  15. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    If the Android App is able to connect, it means that the ESP32 is working fine. If the Android App shows "Controller Communication error" and not "LCD communication error" it means that the ESP32 board receives data from the display but does not receive data from the controller. Error E03 on...
  16. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    I have released a New Version with some minor updates: Slightly increased FOC angle multiplicator default values New Controller OTA FW update process (no more Power OFF/ON but use of Watchdog reset: Thanks @Beli for the suggestion) Added battery overcurrent check also in main loop Solved a...
  17. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Thanks Wimpy747. I too have been using it for two months now without experiencing any problems. I have done several rides by now and compared to the same ride done last year with the v7, the travel time is the same, I am one year older, I weigh 2 kg more but the battery consumption is still...
  18. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Cadence mode in my firmware and mbrusa's firmware are the same since mbrusa firmware uses my pedal movement detection alghoritm.
  19. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Cadence mode works like this. Just move the pedals and the motor starts delivering the power you have programmed for the selected level. I don't use the pedal without rotation because pedal rotation detection is very sensitive and the cadence mode for my use is just an emergency mode in case of...
  20. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    it's true! But here it continued to get cold and bad weather and there is still snow in the mountains. So I had some more free time. And then there were still a couple of things that bothered me to fix :) Probably this will be the next ;)
  21. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    New version released. Everything should be updated, Android App, ESP32 and Controller. The files are on Github: https://github.com/TSDZ2-ESP32/TSDZ2-ESP32-Wiki/tree/master/bin - Android: TSDZ2_ESP32v2.1.10.apk - ESP32: TSDZ2-ESP32-Mainv1.1.8.zip - STM8: TSDZ2-v14.zip This version improves the...
  22. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    The quick and dirty solution could be to put something like a 10k resistor in series to the 3.3v ESP32 input or better a voltage divider with two resistors. Not what I would use for production or something you need to depend on but should work. About the DC-DC converter it would be better to use...
  23. M

    Optimized TSDZ2 Firmware

    :o No problem :) Electrical Revolutions Per Second. For TSDZ2 1 ERPS = 8xRPS. (Revolution Per Second).
  24. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Check the wiring between ESP32 and controller, check also the solder points on the ESP32 board in particular the 3 small integrated circuits close to the 4 pin serial connector.
  25. M

    New TSDZ2 Open Source firmware with Bluetooth interface

    Switching frequency is a tradeoff between motor speed and efficency. The Mosfet of the TSDZ2 controller aren't so fast, and i think 18KHz colud be a good compromise to have good efficiency and at the same time to guarantee good operation when you need to use a high cadence.
Back
Top