I want to access the 8g range of the accelerometer.

I can't seem to measure more than 2g with the accelerometer.

What is the maximum range that the accelerometer can measure?


The default measurement range of the accelerometer is +/-2g in all 3 axes.

The micro:bit accelerometer hardware (the MMA8653FC) has configurable ranges, and can stretch as far as 8g, as detailed here in the product data sheet:

The underlying runtime code (the DAL) written in C++ by Lancaster Uni, allows this to be chosen at runtime using this method call:

The Javascript Blocks editor at surfaces this function call in the INPUT block as below:

MicroPython allows you to read 3g, 6g and 8g gestures


06 NOV 2016