02-29-2024 04:35 PM
Is there a tap detection sensor ID on the Nicla Sense ME for single, double and triple taps? I am trying to use the tap method in a sketch to start data acquistiion and writing sensor data to a file. There appears to be tap detection for the Nicla Vision in the LSM6DSOXSensor.h library, but not in the Arduino_BHY2.h library.
LSM6DSOXStatusTypeDef Enable_Single_Tap_Detection(LSM6DSOX_SensorIntPin_t IntPin);
LSM6DSOXStatusTypeDef Disable_Single_Tap_Detection();
LSM6DSOXStatusTypeDef Enable_Double_Tap_Detection(LSM6DSOX_SensorIntPin_t IntPin);
LSM6DSOXStatusTypeDef Disable_Double_Tap_Detection();
LSM6DSOXStatusTypeDef Set_Tap_Threshold(uint8_t Threshold);
LSM6DSOXStatusTypeDef Set_Tap_Shock_Time(uint8_t Time);
LSM6DSOXStatusTypeDef Set_Tap_Quiet_Time(uint8_t Time);
LSM6DSOXStatusTypeDef Set_Tap_Duration_Time(uint8_t Time);
03-05-2024 02:11 AM
Hi DNez2001,
The firmware of Nicla Sense ME doesn't support TAP feature.
03-05-2024 02:18 PM
Could one use Neuton to teach the NSME what one, two and three successive taps are, which could then be uploaded to firmware and used in sketches?
03-07-2024 03:18 AM
Hi DNez2001,
We haven't tested it like this before.
The TAP algorithm usually needs to be implemented in the firmware to achieve faster response.
03-07-2024 02:53 PM
Would developing a TinyML with Neuton and uploading to firmware work?