2019-11-21 11:00 PM
Use 3-axis acceleration LIS2DS12
page 10 figure 2 Pin description in datasheet
The z direction is reversed in the output, but I don't know why.
ex) Gravity acceleration is displayed as + g.
2019-11-25 05:40 AM
Hi @Jlee.1572 , the reading is correct. The accelerometer sense the 1g gravity acceleration but in the direction of the reaction constraint exercised by the surface on which you have placed the device (so, bottom-up direction). To understand this, please note that in case you left your device fall (free fall condition), the sensed acceleration will reduce to 0g. Regards