 Hello everyone, my name is Thiago Hayes, and today I would like to demonstrate some of the most popular functionalities of our best-in-class ultra-low-power accelerometer, the LIS-2DW12. The LIS-2DW12 is one of the most flexible accelerometers in the market, featuring two different noise options and five different power modes that can dynamically be programmed. The device can reach ultra-low-power consumption values close to 350 nm and still be active sensing motion. Some of the most popular functionalities in accelerometers are tap, double-tap, wake-up detection, free fall, orientation sense, activity and inactivity detection. This video will actually demonstrate some of these functionalities that can be embedded directly into our accelerometer. The LIS-2DW12 can also be a good fit for a wide range of applications covering handheld and wearable devices, gesture recognition, impact recognition, display and device orientation, button replacement through tap and double-tap, and of course, due to its ultra-low-power consumption, be a good fit for many different IoT applications. One of the most powerful evaluation tools that we have is the STVAL MKI109V3, also called the Professional MEMS tool. The Profi MEMS allows you to connect through a D24Ping socket a wide range of adapter boards featuring all the available ST sensors, and in this case I have listed here the LIS-2DW12 adapter board, the STVAL MKI179V1. Once the desired adapter board is connected to the Profi MEMS, you can utilize a graphical user interface called the UNICO, that is a dedicated software that gives you access to each register setting of the sensor of choice. The UNICO GUI is one of the key elements part of our development ecosystem for sensor evaluation. On top of being able to control the device register settings, UNICO also allows a developer to configure all the smart functions of our sensors, including interrupts, pedometer, finite state machines, and also the machine learning core on our high-end IMUs. It is also a very powerful tool that allows you to perform data logging and data visualization with just a couple of clicks. The UNICO GUI is available on Windows, Mac and Linux, and can be downloaded directly from st.com. For this demo, we are also going to rely on the STM32 power shield. This evaluation board allows accurate power consumption measurements of external sensors. In this case, we are using the ultra-low power consumption measurements provided by this platform. As you can see, you can supply the target board from 3.3V down to 1.8V, and the dynamic current consumption that you can measure is from 100nm all the way to 50mA. And at the same time, as static current measurements, the range is from 1nm all the way to 200mA, and the accuracy of this board is approximately 2%. In this case, we are also going to use it in stand-alone mode, which is going to allow us to visualize the current consumption measurements directly on the LCD display available on the top of the board. As a starting point, let's start by measuring the ultra-low power modes of the LIS-2DW12. When opening UNICO, it's time to connect the COM port with the PROPHY MEMS. Once the connection is established, we are now able to configure the sensor that is on top of the board. As you can see, the device is currently in power-down mode, and let's take a look at the current consumption of the device when in this stage. When looking at the power shield, in power-down mode, the accelerometer is actually consuming 33nm of current consumption. And as per the LIS-2DW12 datasheet, the typical value for the power-down current consumption is 50nm. Now let's take a look at the ultra-low power mode capability of the LIS-2DW12. We are going to open up UNICO back again and take a look at the different operational modes. In this case, we are switching from power-down mode to low power sampling at 1.6 Hz. As you can see, I will enable the bar graph so we can actually visualize the sensor data flowing through the PC. And under that condition, we are actually having an ultra-low current consumption capability of the device itself. Let's take a look at it. We are talking about close to 380nm of current consumption, being extremely power-effective for any IoT application. Now that we went through the ultra-low power capabilities of the LIS-2DW12, let's talk about one of the most popular smart features of this accelerometer, the activity slash inactivity detection. The way this mode works is by allowing the user to configure both a threshold and a duration parameter that would represent a wake-up signal. Whenever these conditions are met, the device will wake up and operate at the desired operational mode as per the control registers configuration. In this demo, we are using 100 Hz as a reference. It's important to highlight that this interrupt also includes the inactivity flag, which means that after a while, without any interaction of the host microcontroller, the accelerometer will automatically go back to its low power state. In this case, a ODR sampling rate of 12.5 Hz. And this plays a key role of bringing intelligent power savings capabilities to any battery-powered product using our accelerometer. Now let's take a look at the device register settings that we are going to use for this demo. We are going to turn on the accelerometer and configure the output data rate to 100 Hz, with a full scale of plus or minus 2G. We will also set the duration for both inactivity and wake-up detection together with the relevant threshold that will define the activity or inactivity state as explained on the previous slide. To make this demo even more visual, I'm also going to route the sleep state of the device to the interrupt pin 2. This means that the pin signal will be held high whenever the device is in sleep mode. Just like the first demo, let's open up Unico GUI and connect the professional MEMS tool to the PC. The sensor is already configured with the register settings I listed on the previous slide. And we'll start in sleep mode. Note the interrupt 2 signal is held high. From there, if I apply some motion into the sensor, you see the interrupt pin going low and the output data rate going faster than the 12.5 Hz. In this case, 100 Hz. After a while, the sensor node will automatically detect that there is no motion and raise the interrupt pin 2 back again, as you can see on the left-hand side of this slide. So doing it once more, we'll apply motion, interrupt pin 2, go low and then after a while, you leave the board sitting and the device will enter in ultra-low power mode or sleep mode as well. This is a very important feature for any battery power device. In talking about power, let's take a look at the current consumption of the device under those conditions. With the STM32 power shield connected, we can actually see that the device is in ultra-low power mode with an average of 930 nanoamps of current consumption. And note that the interrupt pin 2 LED is turned on. Now, if I start moving the device, the device will enter the faster ODR with a current consumption of about 5 microamps. So this is the 100 Hz current consumption of the LIS2DW12. After a while, the interrupt 2 pin will go high again and the device will automatically enter the ultra-low power mode that we just saw. The last demo that I wanted to show you today is the 6D orientation detection that is also one of the most popular smart features of our accelerometers. The goal here is to generate an interrupt whenever the device switches from one orientation to the other. Note that you can actually know the orientation of the device by reading the status register of the 6D interrupt. Some of the common use cases for the device orientation are screen rotation on mobile devices, smart speakers and soundbars that can be mounted in different orientations and also for tampering purposes in smart industry applications. For this example, the configurations that we are going to use will be the following. 12.5 Hz sampling rate with the device in low power mode, the full scale at 2G, and we will also enable the 6D orientation interrupts. Note that it is also possible to configure the 6D orientation threshold, meaning the different angles that would actually trigger switching the absolute orientation of the device. And last but not the least, we are also routing the 6D interrupt in this case to the interrupt one pin. Let's open up Unico GUI again and connect our board once more. In this case, I'm going to show you the absolute orientation of the accelerometer by using the T-POT demo. As you can see, I'm collecting sensor data and as soon as I start moving my sensor node, you can actually see the interrupt being generated on interrupt line one every time I change the device orientation. You can also notice the chart with the different acceleration values from x, y and z axis and also the T-POT orientation drawing to allow you a better visualization. And finally, but definitely not the least, let's look at the current consumption of the LIS2DW12 when running the 6D orientation detection. As expected, the current consumption of the device is about 900 nanoamps, still being able to detect the device orientation but being extremely power effective when doing so. And with that, I thank you very much for your time and attention, and for more information, please visit us at st.com slash sensors.