2020-08-10 02:58 AM
Hello, there,
I would like to know about the application of FSM feature of LSM6DSO sensor.
I can see in the example that every embedded functions are implemented using FSM.
We have developed three algorithm and looking at implementing via state machine diagram.
Can FSM be used for our custom algorithms?
Does FSM only supports sensor's internal features such as 4D, Free Fall, Wrist-tilt, Basic Pedometer, Motion and so on?
Kind regards,
Aakash Soni.
2020-08-12 08:21 AM
Hi Aakash @ASoni.2,
yes, FSM can indeed be used for your custom algorithms.
you can read the application note below to learn how to program it:
what algorithm are you planning to implement?
2020-08-12 09:16 AM
Hi Niccolo @niccolo.ruffini
Thank you for your reply.
We are developing a smartwatch.
We have fall detection and sleep monitoring algorithms as well as small features such as step counting and wrist tilting.
We might also use accelerometer for PPG sensor.
Kind regards,
Aakash Soni.
2020-08-13 01:55 AM
That is really cool.
As you can see, there is a version of a wrist tilting algorithm in the sample code at the link you posted, for the other ones you should try and program it using the application note I linked.
keep up the good work!