I am trying to program the microbit to measure g by having one act as a falling object and another to log the data. I have got the two of them communicating and got data, but I don't understand the values. Why when my microbit is stationary do i get a z reading of approx -1g? Surely when stationary the acceleration is 0? If the -1000 represents the force due to gravity, why does it go up to a positive value when falling? My expectation was that either it would start at 0 and go to +980 ish whilst falling, or start at +980 ish and then fall to 0 in freefall, but neither seems the case
If anyone can help me with how the accelerometer readings actually work then i would appreciate it
Accelerometer readings
Re: Accelerometer readings
https://en.wikipedia.org/wiki/Equivalence_principlethechymist wrote: ↑Thu Feb 04, 2021 8:12 pmWhy when my microbit is stationary do i get a z reading of approx -1g? Surely when stationary the acceleration is 0?
Being "stationary" in a gravitational field is equivalent to being in an accelerating rocket in empty space.
What sort of positive values do you see? While the device is truly in freefall, (i think) you should see values close to zero.thechymist wrote: ↑Thu Feb 04, 2021 8:12 pmIf the -1000 represents the force due to gravity, why does it go up to a positive value when falling?
When the device hits the ground you will see positive values as it decelerates.