-
Notifications
You must be signed in to change notification settings - Fork 21
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
Wake on Significant Motion #48
Comments
Looks like this should be an easy addition. I don't have the hardware but I can submit a PR with this functionality if you'd like to help me test it! |
I plan to get one anyways to work on some other issues, so no worries! |
Sounds good! I was going to see about doing #17 so I can just try that when the sensor arrives! |
This library supports multiple devices with a common base class LSM6DS33 (?? guessing ??) STM doesn't seem to acknowledge its existence anymore ISM330DHCX (AN5398) |
@scath999 In AN5398, it describes the "significant motion" detection as:
Is that what you are expecting? Or were just wanting something like shake detection? EDIT: Also checkout the comment here: |
Hi Everyone, Sorry for the late replies - busy at work. I've managed to solve this issue for now by creating a Pin.Alarm on D3. This works, though less well than I'd like: The sensor has to be moved pretty quickly and repeatedly to wake. Thoughts? |
Exactly - @ladyada is having the same experience I'm having. |
Wondering how I can configure this device to fire an interrupt on significant motion, per page 45 of the datasheet (here)?
The goal is to be able to set an alarm in CPy to wake when pin D3 is set high - according to the schematics for the Feather Sense (which I'm developing on), this is the GPIO connected with INT1 on the LSM6DS33.
Something like
The datasheet seems to indicate that setting register
0x0D
on the device to 64 (bin 01000000) will accomplish this.Thoughts?
The text was updated successfully, but these errors were encountered: