02-16-2024 05:52 AM
Hello everyone,
We are using bno055 and we want to detect tap or impact on a physical instrument, so how to configure bno055 to get the tap or what is the process to find.
We also want to know is this possible to detect impact using bno055 or we should use different sensor. We have mounted the sensor on a physical instrument and now want to detect impact when someone hits the instrument, how this can achieve. Right now we are getting readings for orient, accel, and others. Any help will be highly appreciated
02-20-2024 05:30 PM
Hi,
I assume BNO055 is installed in the handle of the cricket. You may use BNO055 ACCOnly mode to log accelerometer data into a file. You may refer to the library at https://github.com/adafruit/Adafruit_BNO055.
In order to detect if the ball touches the cricket or not, you need to fine tune BNO055 any-motion interrupt based on the logged accel data when you do both empty swing and hitting the ball. Then you can figure out the any-motion threshold and duration. Or you can develop your own algorithm running in your MCU to detect if the cricket hits the ball or not based on accel data.
Thanks.
02-28-2024 11:25 AM - edited 02-28-2024 11:26 AM
Hi, Yes you are right BNO005 is mounted on the cricket handle .can get any motion, slow motion or notion interuptts by using adafruits bno055 library as you suggested. Does it provide api to access all registered bno055 offer, I doubt some api are not there in adafruit library, as we have to detect motions interuptt and impact of ball with cricket bat. I also read about bosch native c library I think it supports all supports and we can get all regiseter values. Right now I am using Arduino atmega328p and bno055. I also install atlem studio. Please suggests some tools and more stuff, because we have to detect the impact of ball with cricket bat.
02-29-2024 02:29 AM
Hi,
If you can use Arduino atmega328P to read and write BNO055 registers, then you can directly enable BNO055 accel any-motion interrupt and configure some parameters such as threshold and duration to test if it can give you any-motion interrupt when the cricket hits the ball. You don't have to use API or library to do that.
Thanks.