Skip navigation
Previously we managed to measure the inclination angle and calculated  pitch and roll of xtrinsic mma8491q . In the guide we will be measuring the 45 degree tilt detection using the dedicated pin-outs in xtrinsic.       Before moving on we will be automating the accelerometer EN pin GPIO setup process, so that we don't have to manually setup the gpio everytime we restart Riotboard.   below code will do that. system("devmem 0x20E009C w 0x5  > /dev
ull ");& ...
In the previous blog we setup the xtrinsic board to read accelerometer registers. However the raw register values doesn't mean anything by itself. It needs to be converted to suitable human readable format to be useful in measurement applications.   In this guide we shall use a proper logic to calculate the elevation and bank, other wise called Pitch and Roll of xtrinsic mma8491q accelerometer.   A self-explanatory image of Pitch, Roll & Yaw.   Pitch: Pitch is the measu ...
Earlier we have used xtrinsic as a temperature measuring module. This time we shall use it as an accelerometer.   The Xtrinsic Sensor Board comes bundled with multiple sensors & is arduino compatible. The Xtrinsic module supports consists of  sensors: MPL3115A2  - high-precision sensor used to provide accurate pressure and temperature. MAG3110     - small, low-power, digital 3-axis magnetometer MMA8491Q  - low voltage, 3-axis low-g acceleromete ...