I'm working with the Seeed XIAO nRF52840 Sense because I want to make use of the motion detection to wake the board up. I'll put full details on Github when the project is ready to share.
I'd recommend that people wait until I share the app and use that first to confirm that the bike data is being read, then buy the hardware after that.
Hello everyone,
I am proud owner of a brand new eBike with a Bosch Performance SX motor, and also a data collector with my Garmin. Very excited to use my bike, but also very annoyed by Bosch's lack of data sharing...
Thus, I am also working on an app that would do the bridge between the bike and act as a BLE sensor in Garmin.
I started from RobbyPee's app.
After a huge weekend of work (with the help of Gemini) :
- App is ported to iOS with Kotlin MultiPlatform, so it would probably work using Android too (but I don't have an Andoid phone for now) - but note that Bluetooth management is slightly different from iOS and will probably require adjustments.
- Scanning & connecting to the bike is OK
- Reading data from the bike is OK : speed, cadence, human power, motor power, battery (with a tiny difference from the Bosch app), and many others that will require further tests to understand what they are.
- Showing them in the app is OK
- Publishing them using BLE is OK in Zwift on another phone (showing power & cadence at least)
I am now focusing on the Power Sensor :
- Garmin Edge is detecting the sensor but fails to pair it. They are very strict on the way to detect/pair sensors.
- I managed to pair it twice in 2 days, but I can't manage to get it working each time for now.
Compared to HexagonSun's work with a XIAO chip that can handle ANT+ signals, I am limited to basic sensors due to BLE. - Garmin Edge only manages LEV through ANT+ (which means special pages on Garmin Edges)
- Garmin Edge supports 3 BLE Sensors maximum (max 12 with ANT+, including BLE ones)
- Compared to advanced solutions that reads the CAN bus, it will always require a smartphone that is paired with the bike (and logged-in to eBike Flow).
- But, if it works, no hardware may be required.
I will let you know as soon as I have a bit of time to cleanup a bit, share all this with the community
PS : after a lot of tries, there may be issues in using a smartphone, and especially the same that is already paired for "Garmin Connect", and trying to pair it also using BLE.. an additional chip such a SeeedStudio XIAO may be the fast way to success
