Hello,
I have Favero Assioma Duo power meter pedals on my bike
(Assioma Power Meter), my vision is to build a lightweight microcontroller based device which will convert instant power to 3sec average and use that to drive an RGB display based on defined power ranges in my indoor training room.
I am a total novice in this space but committed to learn the tools i need to implement the solution I am looking for. I would appreciate some guidance please on a high level E2E architecture so I can avoid some rabbit holes if possible.
I have installed Simulant and AntWare2 (on my pc) and configured a receiving channel such that I can connect to the pedals and receive initial power data on pages 10, 12 & 13 from the ANT+ Power Only Profile, I have not yet created a sample log file of actual power messages (need to bring my trainer near my PC) but will do so once I have validated the rest of the architecture I will need. I believe the only data I am going to need from the stream once established will be 4E power messages on page 10 so I’ll be looking to write code that reads only those lines.
Requirements:
Hardware:
ANT USBM – I have two already.
Microcontroller – There's a bewildering array of SOC modules so I am not sure how to determine what meets my needs, I think a a starter kit would help me so I believe it requires a receiver for ANT channel management (USBm), serial interface for data streaming, onboard compute for whatever code is required to manage data conversion and GPIOs for RGB matrix connection, any guidance on suitable options? (
D52DK2 - D52 ANT SoC Module Series Starter Kit?)
Display matrix – I would like to drive either an RGB LED strip and mount it under my trainer or just a couple of daisy chained RGB display matrices, power requirements for either might be somewhat different but if I go for a display matrix how can I validate the right display matrix for a starter kit if I get one? Can I confirm that the board will support a Hub75 connection?
Software:
Planning to use Antware2 to capture inbound data to create a log file then leverage Simulant to build an app.
The gap I am working on is how I then implement the app in a runtime environment on the MCU, I can’t find anything that directly explains how this can be achieved (even for a different use case like HR) so I assume I need to use Simulant as my IDE along with code written in something like Perl or Python and then commit that code to the MCU. The question is “how?”. This probably belies my current maturity in this space but think of me as an empty mind eager to be filled with Kool-Aid!
All help, direction, guidance (and maybe some mocking of my sheer n00bness) gratefully received.
Signature
Zendog75
Amateur cyclist, amateur coder, professional procrastinator!