-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
MPU6050 Tap feature #703
Comments
Hi Kanimaru, I am also looking to get tap detection working. The MPU6050 does support it according to the spec but this library doesn't have that support yet. Did you manage to find any alternatives? |
Was looking for other modules but didn't find any and currently I have no time for that anymore. Sorry. |
You know, although this library is good, it's not the only one, which supports MPU6050. The official driver available almost for 10 years now. You can download it yourself from manufacture's website: https://invensense.tdk.com/developers/software-downloads/#mpu-en Also, there is several repos you can check as an example:
The SparkFun library already has tap example: https://github.com/sparkfun/SparkFun_MPU-9250-DMP_Arduino_Library/blob/master/examples/MPU9250_DMP_Tap/MPU9250_DMP_Tap.ino. You only need to define the correct sensor version ( If for some reasons, you highly coupled with this library, it is possible to reproduce the same behavior here (mix MPU6050_DMP6_using_DMP_V6.12 with SpurkFun example).
Remember, that you also need to update FIFO size in library (
It's a bit low-level, but works just fine. You also can try to modify
But I didn't test it. You can produce the |
Hi guys what have to be done to get the Tap feature that the datasheet is promoting?
Probably another version of dmpMemory but where you get it in the first place?
And then I'm confused what to do next? Shouldn't be there a documentation how the DMP communicate these information?
My use case:
I have an ESP32 connected to GY512 as a portable device. To save power I just want to activate the device when it get tapped.
If there is a better Idea it would be also OK otherwise how the heck this works :).
Much thanks in advance.
The text was updated successfully, but these errors were encountered: