Search results

  1. R

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

    and here is what we have for bluetooth: https://www.bluetooth.com/specifications/gatt/ CPP Cycling Power Profile 1.1 Active 03 May 2016 N/A CPS Cycling Power Service 1.1 Active 03 May 2016 N/A CSCP Cycling Speed and Cadence Profile 1.0 Active 21 Aug 2012 N/A CSCS Cycling Speed and Cadence...
  2. R

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

    Just a refresher for the new people that joined: the JSON configuration protocol just defines how the available settings of the device (wireless i.e. dongle) are specified (name of the setting, data type, min max value, current value) and is agnostic to the "what". There can be any number of...
  3. R

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

    i have compared the scan results from the nrfconnect app with the results of my app and i get the same discoveries. only difference is that the nrfconnect app adds new found devices to the list on each scan cycle, keeping the not-recently-seen ones on the list (grey dBm display). my app in...
  4. R

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

    Yes, flutter has some learning curve. when coming from c/c++ android (java) is much more straight forward, while flutter belongs more to the latest reactive web development efforts (react, vuejs, angular). flutter is also pretty new so there are not many people familiar with it. but if starting...
  5. R

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

    how is the plan now? my flutter (android/ios) app has currently the json config interface partially implemented and is also able to scan and connect to bluetooth devices (incl. reconnection). i have tested it with the dongle blinky app. im waiting for a sign that the bluetooth firmware for the...
  6. R

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

    little update on the app: bluetooth discovery and connection view is working, the chosen device is saved, the connection state is displayed on the title bar of the homescreen and on startup the app searches and automatically connects to the dongle. next step is to implement the battery display :)
  7. R

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

    i have the blue nrf52840 dongle (pca10059) maybe my dongle has something in memory that messes things up, but i have no idea how to reset it. i do not have a stlinkv2 connected yet.
  8. R

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

    i have never designed a bluetooth profile but from what i read this is how its done. one characteristic for every variable that we want to read or change wireless. so one for the battery level, one for assist level, motor temperature, cadence, watts, human power and so on. i found a guide about...
  9. R

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

    for an example of an simple BLE service you can look at examples/ble_peripheral/ble_app_blinky and on ./components/ble/ble_services/ble_lbs/ble_lbs.c / .h that is the most basic example i were able to find :)
  10. R

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

    i do not think this is a good idea because it will limit the functionality and flexibility that BLE offers to us. With BLE there is no need for periodic packages; if the app wants to display the cadence, it subscribes to the characteristic and gets notified when it changes. if the user does not...
  11. R

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

    i think so, had some problem with the dongle disconnecting after 2 seconds but now i think that my dongles firmware is bugged because this also happens on the nrf connect app o_O I don't really understand what you have in mind. do you plan to pass the uart packages to the app and have it act...
  12. R

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    im working on the tsdz2 fully wireless android/ios app. i think it can be used for the sw102 too - the sw102 uses a board from the same manufacturer and uses the same SDK as the nrf52 we use on the fully wireless project. so if the dongle implements the profiles, they should be portable to the...
  13. R

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

    sure, as long as you get a proper step-down converter that is able to handle 63v as input and output 2 - 5,5v.
  14. R

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

    yes. 1. there will be a dongle (small box) that can be attached to the motor instead of the display. the dongle has a bluetooth interface to configure all the motor settings currently supported by the flexible open source firmware 1.x.x. which will be used by the android/ios app. the dongle...
  15. R

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

    yes, no problem. i just wanted this to be added to the "roadmap" so it is kept in mind when designing and deciding stuff (like reserving the 2nd UART for this). my plan is now: 1. finish bluetooth discovery/connection stuff and connection status display (currently WIP) 2. read and display data...
  16. R

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

    ah ok, i thought the display was running on 5v already.. but yes it runs on battery voltage which means we need to have a step down conversion. the dual uart solution is what i had in mind, passing the packages from the motor to the display so it can show the current values on the main screen...
  17. R

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

    im still alive! glad to see some progress on the hardware side here, so here are my thoughts on some topics: * i have not continued to work on my mobile app in the meantime, but i will do now. if you implement the json-based configuration interface i have described earlier, i can develop my...
  18. R

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

    have you ordered them from china? :mrgreen: im currently adding bluetooth functionality to the app using the cycling speed and cadence example from the sdk. i have looked into building a custom service and characteristic but as it did not progess as fast as i wanted i switched over to do some...
  19. R

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

    @casainho thank you for sharing info about your setup. i am now thinking about upgrading my watch :) i have finished my concept of the configuration screen and JSON structure. i expect it to change a bit over time, but now we have at least something we can discuss about. here is my draft of...
  20. R

    TSDZ2 mid drive with 860C, 850C or SW102 displays only -- Flexible OpenSource firmware (Casainho code only)

    for serious development, it is recommended to get a 850c and use JTAG for debugging and development. it is nice if you want to continue developing on the 860c, because i dont think it will see new features coming from casainho or me. But as you are a Web dev like me, you may be interested in...
  21. R

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

    there are profiles we can use: https://www.bluetooth.com/specifications/gatt/ i did not read into them. afaik a phone can use multiple profiles at the same time, so we could implement these and just add some profile specific to our firmware. the good thing about BLE is that the profiles are...
  22. R

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

    yes, cheap phones will not have the brightest screens. if there is nothing comparable in the 50€ class to the 860c brightess now it may come on some years. there are a lot phones to choose from, so i think everyone will find one that fits his requirements and price range. and for battery - yes...
  23. R

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

    While it sounds like fun to build our own display, i do not think it is worth the effort. i expect the "cheap" 10€ display to also be cheap quality which manifests in low resolution and readability in direct sunlight. also, while it is cheap on the hardware costs, it requires a lot of work to...
Top