![](/media/cache/group/ST_logo_2020_blue_V_cmyk.jpg.50x50_q85.jpg)
Example of tilt detection for LSM6DSO in X-NUCLEO-IKS01A3
Dependencies: X_NUCLEO_IKS01A3
Tilt Detection Demo Application with LSM6DSO based on sensor expansion board X-NUCLEO-IKS01A3
Main function is to show how to detect the tilt event using the sensor expansion board and send a notification using UART to a connected PC or Desktop and display it on terminal applications like TeraTerm.
After connection has been established:
- the user can try to tilt the board and then view the notification using an hyper terminal. When the tilt event is detected, the LED is switched on for a while.
- the user button can be used to enable/disable the tilt detection feature.
History
Update button label
2021-06-24, by cparata [Thu, 24 Jun 2021 12:38:41 +0000] rev 8
Update button label
Update LSM6DSO library
2020-10-29, by cparata [Thu, 29 Oct 2020 13:15:08 +0000] rev 7
Update LSM6DSO library
Update the code to be compatible with mbed OS 6
2020-06-04, by cparata [Thu, 04 Jun 2020 17:13:12 +0000] rev 6
Update the code to be compatible with mbed OS 6
Format with Astyle
2019-07-24, by cparata [Wed, 24 Jul 2019 15:00:08 +0000] rev 5
Format with Astyle
Update example to be compatible with mbed OS
2019-06-03, by cparata [Mon, 03 Jun 2019 09:44:40 +0000] rev 4
Update example to be compatible with mbed OS
Update mbed library to support mbed-os
2019-05-24, by cparata [Fri, 24 May 2019 12:54:32 +0000] rev 3
Update mbed library to support mbed-os
Update X-NUCLEO-IKS01A3 library
2019-04-12, by cparata [Fri, 12 Apr 2019 13:45:33 +0000] rev 2
Update X-NUCLEO-IKS01A3 library
Add reference to public repositories
2019-03-07, by cparata [Thu, 07 Mar 2019 09:10:35 +0000] rev 1
Add reference to public repositories
First version of Tilt_LSM6DSO_IKS01A3 application
2019-03-06, by cparata [Wed, 06 Mar 2019 13:37:33 +0000] rev 0
First version of Tilt_LSM6DSO_IKS01A3 application