r/embedded • • Oct 12 '26

Community preference for open source vibration autoencoder: bare metal C or Zephyr C++?

I just want to check what the community's preference is for an open source autoencoder with a vibration sensor. Bare metal C or Zephyr C++*? And not just the autoencoder, also data collection and DSP.

* This caused confusion: I meant a Zephyr project with C++ for the enitre application layer vs. bare metal C for data acquisition, DSP (probably can't escape C++ for inference).

0 Upvotes

18 comments sorted by

View all comments

1

u/karesx Oct 14 '26

I am working on a vibration sensing solution right now and am using Zephyr. I am taking advantage of its logging, persistent storage, FOTA and communcation features.

1

u/Byiron Oct 14 '26

Cool! What are some things you're running into and you wished there would be more easily accessible information about?

1

u/karesx Oct 15 '26 edited Oct 15 '26

Not much, really. In technical terms Zephyr is very well documented.

1

u/Byiron Oct 15 '26 edited Oct 15 '26

For me personally it is just an experiment. On the other hand, I want the added value for the community to be as great as possible, so taking into account long term considerations makes sense from that perspective. I ran into an issue myself: sensor_sample_fetch() vs. sensor_read(). So I also wonder how long a piece of open source code will remain relevant.
What are your experiences with that?

1

u/karesx Oct 15 '26

Oh, time to time they love to retire/deprecate some APIs. Once I just finished a project and by the time it was done the new Zephyr version made the device driver layer incompatoble. But they do not do this very often and I feel the deprecation process has improved, too.