Search results

  1. B

    TSDZ2 Garmin integration and/or smaller display

    looks like that's the case yes, I run casainho's fw without a display and haven't used mbrusa's - but looks like that fw implements the standard display protocol so just the controller needs flashing.
  2. B

    TSDZ2 Garmin integration and/or smaller display

    If Garmin is the primary requirement then the only option for the tsdz2 is the first one. But no, casainho's osf doesn't have the latest motor control improvements that are in mbrusa's but it does include field weakening for higher cadences. Casainho's fw is still stable and very good but it...
  3. B

    Deciphering the tsdz2 torque sensor circuit

    Ok, so we have some progress finally :) When I built the circuit as show in the previous post - it didn't work - everything tested out ok up to the mosfet - but the mosfet was just on constantly. LTSpice showed that it should be creating a sawtooth/triangle wave, but it wasn't - and tbh even...
  4. B

    TSDZ2 Strange error code

    they're not locked as such, but some vendors use a different, 32 rather than 8 bit mcu and no-one has ported the open source firmware as yet to that platform. From the images in the link I posted - if the images match what is delivered - they are compatible with the osf. You can see the 1cm or...
  5. B

    Deciphering the tsdz2 torque sensor circuit

    Ok, I connected up my test controller to the 12V input to the area of the board that deals with the ts and had a poke around with the scope to see how the real circuit compared to my simulation. At first I was completely confused because I was seeing a 50kHz pulse even without a signal generator...
  6. B

    Deciphering the tsdz2 torque sensor circuit

    Ahh and the other test I can do now - is connect 12v and a arduino/esp to my borked tsdz board and see if at least that works...
  7. B

    Deciphering the tsdz2 torque sensor circuit

    @endlessolli when you documented the circuit on the small pcb with the hall sensor - is that all on the top side, so I just need to scrape the black gunk off to be able to take measurements? I don't need to unscrew it and prise it off to get to the back side to probe? I think before I build...
  8. B

    Deciphering the tsdz2 torque sensor circuit

    ** Before i build the test circuit - if anyone can see any obvious issues with the components i've selected - or see where I might have made a mistake with the traced circuit, please shout - I really am a novice at this. I know how much I don't know - and it's a lot! ** So I had a bit of time...
  9. B

    Never fitted a mid drive - do you need to protect the frame in case the motor twists under torque?

    Just make sure it can't move and you should be good - speaking from experience with only the tsdz2. If you're installing on a fsr or something unusual that doesn't allow you to clamp it to the chainstays you might need to make brackets. I made one that fixed to the seat-tube to keep the motor...
  10. B

    Deciphering the tsdz2 torque sensor circuit

    Yes I'm really puzzled, I've got some more opamp bits arriving tomorrow that should allow me to do a test at 18v so we'll see. I'll also do another test with the Arduino - just in case something didn't have a good connection or something silly. I don't know what the voltage is on the 2nd side...
  11. B

    Deciphering the tsdz2 torque sensor circuit

    dammit i need to order some better opamps, the 741s i have lying around won't work from a single supply - and I don't have a +/- 20v supply to hand...
  12. B

    Deciphering the tsdz2 torque sensor circuit

    oh another side bit of info. I dropped the battery voltage i was feeding the unit from 48v down to 24v and the pulse voltage didn't change...
  13. B

    Deciphering the tsdz2 torque sensor circuit

    Looking closer at the trace - I don't think the pulse is bipolar AC. The 2us pulse is about 18v so I'm going to make a quick x6 gain non-inverting op-amp circuit so with a 3v peak input should give 18v... Image below is the pulse when the coil is off the sensor.
  14. B

    Deciphering the tsdz2 torque sensor circuit

    Hi @endlessolli I took a video today when I tested the sensor still works with the original controller - and I also did a retest with the nano running the code you provided... Unfortunately same result - sensor works but no apparent response when connected to the nano. I also tested with a...
  15. B

    TSDZ2 - torque sensor excitation

    Well.. the nano arrived yesterday, hooked it up, ran the code - and lo and behold - bugger all happened! :cry: I didn't take any vids - will try to remember later. I got excited initially as when I put the ring coil on top I got a reflected waveform showing on the scope - but on further...
  16. B

    TSDZ2 - torque sensor excitation

    Ok i'll order a nano and see if that makes any odds. Yes I'm pretty sure the sensor works as I get current changes when using the tsdz2 controller - see the vids in this post No difference using an AC signal +/- 2v at various frequencies... Time for a beer and not sit hunched over a soldering...
  17. B

    TSDZ2 - torque sensor excitation

    I'm not sure current is the issue - I can sink 20mA at least if I need to by upping the duty cycle - and no change.... but yes I guess it's worth a punt for <£10... You're absolutely sure you didn't have any additional circuity? :) I'm really stumped - I can't see why your test would work and...
  18. B

    TSDZ2 - torque sensor excitation

    Unfortunately I don't have an arduino based on the right processor for this code - but I looked up the register definitions - looks like it generates a 25% duty cycle - at 150kHz. Sadly if I do the same with my ESP32C3 - I don't get any current deflection... :( // RTM_TimerCalc 1.20 // Timer-1...
  19. B

    TSDZ2 - torque sensor excitation

    Thanks, much appreciated. Based on what you said yesterday, this morning I hooked up a ESP32C3 to the torque sensor. I generated a 2uS pulse @50kHz (also tried 100, 150) - and I can see the square wave being generated, the torque sensor pulls about the same amount of current c.8.9mA at 50kHz/2uS...
  20. B

    TSDZ2 - torque sensor excitation

    Thanks, that's useful information I assumed you'd used an opamp to increase the voltage, maybe the voltage increase I'm seeing is due to the coil windings perhaps. I had tried a signal generator but it was only 2.5v peak to trough so maybe 5v will be better.
  21. B

    TSDZ2 - torque sensor excitation

    I know this is an old post - but that is interesting, thanks @Blacklite - I'll investigate more! @endlessolli any chance you could share the circuit you used to read the torque sensor without the controller please if you still have it, I'm in the process of trying to do the same thing
  22. B

    Deciphering the tsdz2 torque sensor circuit

    It's been a while, but I finally got my dev stuff out of storage - still have too much work to do on the house (and campervan, and so many other things) but I miss a bit of tinkering... So I had a look again at the torque sensor on the tsdz2 - as unless I can work out how to read it separately...
  23. B

    TSDZ2 Strange error code

    Do you have an oscilloscope? If you do that's another way to tell if it's alive. But I know it's not something many people have! https://opensourceebikefirmware.bitbucket.io/development_tsdz2/About_Tongsheng_TSDZ2_mid_drive_motors--Motor_controller.html Has information about the various...
  24. B

    TSDZ2 Strange error code

    Where did you get that info from? Is it definitely related to TSDZ2? The TSDZ2 has no way (with stock firmware and no hardware modifications) of knowing the temperature of anything...
  25. B

    TSDZ2 Strange error code

    https://endless-sphere.com/sphere/threads/tsdz2-ebike-wireless-standard-like-specialized-turbo-levo-opensource.106346/page-23#post-1610086
Back
Top