Search results

  1. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Good choice! It looks as though it's the replacement for the BSS100, same spec just not available in the old TO92 package. There are some projects that use it for switching LEDs, with the Gate input being 3.3V logic, so it should be fine - and with 100V Drain/Source breakdown battery voltage is...
  2. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Obviously it works, but the datasheet describes this as a logic-level device that can work directly with 3V devices? Mosfets (other than logic-level mosfets?) so far as I remember are voltage devices and don't need current-limiting resistors on the inputs like transistors, but beyond that...
  3. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Please can you confirm where the 150K resistor is connected? The datasheet is as below:-
  4. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    That is correct. BTS4140N Input pin floating = OFF BTS4140N Input pin grounded = ON If all the nRF pins are high-impedance on start-up this should be safe. Nice work!
  5. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    It looks great and the Garmin seems really flexible in displaying the data you want. Just out of curiosity, is it possible to display actual speed, rather than GPS calculated speed, in eBike mode? It's nice to have good tools at your disposal, but don't be too modest! Hope the stress levels...
  6. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Okay, I didn't think about how the 860C would write any config. changes to the motor-controller. :oops: I guess the basic information would still be good and updated on the main page, but..... I guess the only way to do it would be to copy the ESP-32 board and have a dual-UART. As far as I...
  7. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    That's a lot to process! :shock: You guys are both cheating - it sounds like you've done this before! My battery has a switch as well, but in all honesty I'm tempted to link it out as it looks way too small for 20+ Amps. There is no dedicated display supply - the 5V is only there on the...
  8. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    I'm guessing everyone is starting to get busier as things come back online, so is there any merit in using the ESP-32 Android App as starting point, to save on duplication? Just out of curiosity, I'm going to install Android Studio when I can find my Windows laptop and have a look. Don't expect...
  9. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Having re-read the datasheets and trawled through Mouser, I think the Buck IC is one of these https://www.monolithicpower.com/en/mp2148.html. When the Vin drops below Vout (3.3V on the dongle) the Fet output is permanently switched on, which is okay with ~3V cell, but the under-voltage lock-out...
  10. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    With battery voltage monitoring circuit and brakes on one input - leaves 2x GPIOA and 2x GPIO. The two NFC DIOs have other components connected to them, so not ideal for buttons.
  11. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    1. I think so, but I can't find the part number of the tiny DC-DC converter. Do you have a microscope? :D There seem to be various ways you can use the internal PSU on the nRF52840 to increase efficiency. CR2032 etc. all seem to work down to 2V, and the nRF52840 runs down to 1.7V - I've made a...
  12. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    @casainho - would this be useable? https://www.aliexpress.com/item/32845674676.html I don't know if the nRF52832 is current model?
  13. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Wouldn't the easiest be to use another lower spec nRF product? I assume you mean a self-contained Bluetooth button using the VLCD5 keypad, a Bluetooth GPIO processor and a button cell? Easy to wire up, I'll leave the programming to you - making it neat would be an issue! Perhaps the brakes could...
  14. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    @casinho - My brain is grinding to a halt! The https://opensourceebikefirmware.bitbucket.io/development_tsdz2/Datasheets_and_application_notes--STM8S105S4T6.html datasheet shows that @V.DD = 5V, the STM8S105 V.IH Min = 0.7 x V.DD == 3.5V :warn: Which are CMOS levels, so a 3.3V output from the...
  15. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    100R would allow 14mA (by my reckoning) into the GPIO Schottky protection-diode, which is a bit much. I guess 2K would be fine - you can always reduce it if it seems like there are reliability issues.
  16. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Apologies - it's not in the manual, but someone has already asked the question on the Nordic Forum. They have Schottky diodes, hence the VDD+0.3V limit on the GPIO input voltage - why they didn't explain it explicitly I don't know..... So a simple resistor will do. No idea what value though, if...
  17. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    Just worries me that the nRF52840 manual doesn't mention GPIO input diodes like most older products have, in which case a simple resistor current-limiter may cause problems for reliability. A couple of voltage-dropper diodes in line would also do the trick, but I'll wait to hear back from you.
  18. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    @casainho - Can I just check one thing? What is the voltage of the TSDZ2 motor-controller's UART? Given the brake input is pulled up to 5V I would have assumed that the procesor was running at 5V, but 3.3V seems to be the correct voltage for flashing it? The nRF52840 does not have 5V-tolerant...
  19. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    I noticed that the nRF52840 dongle has an RGB LED which could be used to flash error codes? If you go for a truly minimal set-up you could protect it in "transparent" heatshrink so you can still see the LED, and seal the open ends and motor-controller cable with hot-glue or silicon. As long as...
  20. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    @casainho - Hmmm, I'm not confident that I know what I'm doing! Generally... I'll make a note to add a diode to Brake Input and remove the mosfet on the next version. Anything else? It's pretty simple so far!
  21. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    @casainho - do you want the whole KiCAD project or just the .pdf? I also have the supporting datasheets I can upload. The BTS4140 control input floats for off and is pulled-down to be active - I have included a mosfet as per the datasheet. This can be omitted is you are happy that no glitches...
  22. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    No Github account yet - will do both tomorrow.
  23. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    I've never used wireless buttons, but I did see a Youtube video where an ANT+ ebike button seemed to have ~1s delay. I know it will be heavily application dependant, but do you think the Walk function and Virtual Throttle will still be usable? That (and batteries!) are my only concerns with...
  24. H

    TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

    I was just playing around with some ideas in KiCAD that would be useful to me :oops: , if not anyone else:- I don't know how many spare GPIO the nRF52 has, or what they are capable of (I think I read somewhere that they are all pin-assignable?) but you could easily lose some of the functions...
Back
Top