Skip to content

Conversation

@jonnor
Copy link
Owner

@jonnor jonnor commented Sep 28, 2025

Included in this MR

  • Driver for LSM6DSTR-C with FIFO support
  • Support reading in gyro data in addition to accelerometer
  • Support for recording data directly in firmware, not via har_record.py script (which requires a screen)
  • Adapt PWM and GPIO to also support Zephyr on MicroPython
  • Support selecting which hardware is used. M5StickC PLUS2 or XIAO BLE Sense
  • Improved training and dataset preparation scripts, including Github Actions
  • Test that still works on M5StickC PLUS2

Things that can be done later

  • Record training/validation data on XIAO BLE Sense
  • Re-train the model
  • Basic instructions on how to setup/run on XIAO BLE Sense

There is also interest in porting the code to be in C instead of Python, so it can run on Zephyr without MicroPython.

jonnor added 30 commits August 3, 2025 23:47
Currently not finding a PWM output,
and filesystem access with mpremote fails with OSError 2
.mpy files do not work on Zephyr build atm
Can run the main loop
No GUI dependencies
If enabled, will record from start
Some files were missing, like compute_features.py
git submodule is used instead
@jonnor jonnor merged commit 52c33d6 into master Oct 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants