Skip to content

[DRAFT - DO NOT MERGE] Switch out accelerometer for magnetometer #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

microbit-robert
Copy link

@microbit-robert microbit-robert commented Jan 2, 2025

This branch is for testing purposes only and adds the ability to record data using the magnetometer and includes a new filter which seems to try and help the model differentiate between left and right swiping motions over the top of the micro:bit with a magnetic object. The filter attempts to get the first significant change in gradient and output the signed vector of this gradient.

The magnetometer data is rescaled to -1..1. As accelerometer data is not available in this branch, there is no need for the scales to be consistent.

This branch has pulled in relevant changes from #268.

Copy link

github-actions bot commented Jan 2, 2025

Preview build will be at
https://review-createai.microbit.org/magnetometer/

@microbit-robert microbit-robert changed the title Switch out accelerometer for magnetometer [DRAFT - DO NOT MERGE] Switch out accelerometer for magnetometer Jan 2, 2025
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.

1 participant