Skip to content
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

Easy way to detect movement of the sensor? #7

Open
ctschach opened this issue Dec 14, 2021 · 2 comments
Open

Easy way to detect movement of the sensor? #7

ctschach opened this issue Dec 14, 2021 · 2 comments

Comments

@ctschach
Copy link

I want to use the sensor to detect if an object (my car - where the sensor and microcontroller is mounted) is moving or not. It looks like the advanced filtering of this sensor makes the readings much more reliable.

Does the sensor even already come with this feature? Any experiences?

@peterhinch
Copy link
Contributor

An IMU cannot in principle detect motion at constant velocity. It can detect changes in direction, acceleration/deceleration, and vibration consequent on movement. I don't know any ready made solutions to your problem, but it will make an interesting project for experimentation.

The other solution is GPS which can detect movement relative to Earth's surface.

@ctschach
Copy link
Author

Okay, I was hoping for an easy way. Let's look closer at the changing values and see if this might help to identify movement.

For GPS...yes, I know, but it takes more power and more time to fix the position. I want to use the "movement detection sensor" to detect if it's worth to start the GPS and look for a position. Or to determine how often I want to read the GPS position (if car is not moving, read it every 30 min), if car is moving, then update every 1 min or so...

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

No branches or pull requests

2 participants