 Good morning and welcome to this tutorial video from ST Microelectronics. I am Andrei Vitani, Sensor Ecosystem Manager in the Internet of Things Excellence Center in Santa Clara. Today I'm going to use the Sensor Tile Development Kit. We will see how to use the inertial MEMS sensors and verify their performance. MEMS stands for Micro-Electromechanical System. The inertial sensors are the accelerometer to sense the inner acceleration and the gyroscope to sense the angular velocity. We will also have a look at the magnetometer, because it is often using combination with the other two sensors to get the device 3D orientation in space. A short introduction to the Sensor Tile. The Sensor Tile is a reference design, an evaluation tool and a development platform. The Sensor Tile is a tiny, square-shaped module. It is only 13.5 by 13.5 millimeters. This module packs a powerful microcontroller, a Bluetooth low-energy radio network processor, motion sensors, accelerometer and gyroscope, environmental sensors, magnetometer and biometer, and a digital microphone. The Sensor Tile is part of the Sensor Tile Kit. The Sensor Tile Kit includes two different motherboards that can extend its capabilities. The Sensor Tile Cradleboard and the Sensor Tile Cradle Expansion Board. If you want to learn how to assemble the Sensor Tile, search the unboxing the Sensor Tile video on YouTube. Once you have assembled your Sensor Tile, you can connect it to your smartphone. You just need to download and install the ST BlueMS app from the iTunes or the Android Store. When you are ready, power up your Sensor Tile and run the ST BlueMS app on your smartphone. Connect the Sensor Tile to the ST BlueMS app. Power up the device and wait until you see the orange LED blinking. Then launch the ST BlueMS app, push on the start discovering button, and you will see the device name on the list. In this case, we are running the old MEMS 1 firmware version 3.2.0. Select the device and you will be connected. Plot accelerometer data. Press the plot data icon on the bottom of the screen. Press select feature and scroll until you find the parameter of interest. Let's choose the accelerometer. Select. Scroll to select the timescale for the plot and select. You will see the data in real time. You can now move the device to see variations in the linear acceleration. Let's try up and down. Left and right. Back and forth. By changing the orientation, the gravity will stimulate a different accelerometer axis. This is why the orientation can be estimated from accelerometer data. Plot magnetometer data. Now press stop plotting. Select feature. Scroll until you find the magnetometer. Select. And again select to confirm the timescale. You can now move the device to see variations in the magnetic field. By changing the orientation, the earth magnetic field will stimulate a different magnetometer axis. This is why the orientation can be estimated from magnetometer data. You can also use a magnet to induce variations in the field. The measured field would be linked to the distance between the sensors and the magnet. Plot gyroscope data. Now press stop plotting. Select feature. Scroll until you find the gyroscope. Select. And again select to confirm the timescale. You can now move the device to see variations in the angular velocity. Let's try around the x-axis, around the y-axis, and around the z-axis. By integrating the angular velocity, one can compute the angular position. This is how the orientation can be estimated from gyroscope data. Log inertial data. We will now learn how to log the data. Press the share icon on the top right corner of the screen. A pop-up menu will appear. Select start logging. Make some motion. When you're done, press again the share icon and select stop logging. The app will prepare an email with several attachments. If you have selected uninertial parameters for the plot, you will get the log for all the inertial parameters, accelerometer, gyroscope, and magnetometer. The log is a text file in CSV format, comma separated values. Data fusion and orientation estimation. Data from the accelerometer, the gyroscope, and the magnetometer can be used to estimate the orientation of the device. This is known as data fusion. Press the mems sensor fusion icon on the bottom of the screen. If there is the need to calibrate, a pop-up window will appear. Press OK and move the device until the icon on the bottom right corner becomes green. Calibration is always running in the ground. Gyroscope calibration can be completed whenever the device is static. On the opposite, magnetometer calibration can only be completed when the device sweeps different orientations. You can now move the device to verify the performance of the orientation estimation. Long data fusion output. Quaternions. Press the share icon on the top right corner of the screen. A pop-up menu will appear. Select start logging. Move the device as you like. When you're done, press again the share icon and select stop logging. The app will prepare an email with the log in attachment. The log is a text file in CSV format, comma separated values. The log holds the output of the sensor fusion in compact format. Quaternions. The quaternion is a group of four numbers that represents the orientation of the device in a redundant yet effective way. The quaternion can be easily converted to alternative representation, such as rotation metrics or other angles. You'll pitch and roll. During this tutorial, we have seen how to use the sensor tile development kit to use inertial MEMS sensors and verify their performance. I hope you have seen how easy it is to use the sensor tile as an evaluation tool. Thank you for watching. Bye.