Skip to content

Tap detection on Circuit Playground Bluefruit hypersensitive #77

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

Closed
kattni opened this issue Dec 17, 2019 · 5 comments · Fixed by #96
Closed

Tap detection on Circuit Playground Bluefruit hypersensitive #77

kattni opened this issue Dec 17, 2019 · 5 comments · Fixed by #96
Assignees

Comments

@kattni
Copy link
Contributor

kattni commented Dec 17, 2019

Tap detection seems to be more sensitive on Bluefruit than Express. May be worth looking into.

@dhalbert
Copy link
Contributor

The accelerometer is in the center of the board on CPX, but is to the right of the slide switch on CPB. That could make a difference.

@Panometric
Copy link

It defaults to all axes, but you can limit to just Z, which should negate the location difference.

In Circuit Python:
`cpx._lis3dh.set_tap(tap=1, threshold=120, time_limit=4, click_cfg=0x10)

https://cdn-shop.adafruit.com/datasheets/LIS3DHappnote.pdf
https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH/blob/master/adafruit_lis3dh.py

Therefore clock_cfg=0x10 Sets to only Z axis, single click.

@evaherrada
Copy link
Collaborator

@kattni Is this resolved?

@kattni
Copy link
Contributor Author

kattni commented Jun 25, 2020

@dherrada I have not looked into it beyond creating the issue.

@evaherrada evaherrada self-assigned this Jul 17, 2020
@evaherrada
Copy link
Collaborator

Definitely more sensitive on the bluefruit. I know you can set the threshold so my plan is to just raise the tap threshold for the bluefruit so that it behaves like the express does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants