Open caternuson opened 4 years ago
there's 'significant motion' detection, wanna try adding?
Hmm, wonder if it would work for shake? Might be more of a heavily integrated accelo reading to determine change in position: Can at least check behavior first.
🤷♀ want me to write some arduinocode?
Sure, if you want, or I can. I like the way they put it in quotes. So just some simple sketch to test what actual behavior is.
tried it. its not that great - basically same as pedometer, you have to shake for at least a second to get it to fire.
tried wakeup instead - seems better. wanna try the arduino side?
just wanna check in case it matters - which LSM6DS are you testing with? it looks like these basic detection features are common, but i might be missing something?
im using the LSM6DS33 - other subclass chips inherit all the same functionalities
ok, for arduino side, added some info here: https://github.com/adafruit/Adafruit_LSM6DS/issues/9
Is there any way to get this working with circuitpython?
@godzan It will eventually. It's being worked out on the Arduino side first. You commented there as well.
The CircuitPlayground library just did this by reusing the LIS3DH implementation. So maybe this is something that should be added to the LSM6DS library? But starting the conversation here. Since this feature is just math on the x,y,z accelo readings, it's not really hardware specific to the LSM6DS.