Skip to navigation.


Gravity (accelerometer) Plug

€2.50 - €18.00

The g Plug (or Gravity Plug) is a small board containing a MEMS-based 3-axis accelerometer sensor from Bosch Sensortec. With a high (10 bits) resolution and an adjustable ±2/±4/±8g range (i.e. up to 64 LSB/g), it communicates directly over I2C. There is a “GravityPlug” class in the JeeLib library to interface with this sensor and read out the 3 axes' accelerations as integers.

An I2C bus running at 3.3V is used as interconnect, with all the power and signal lines brought out to to both sides of the board to allow daisy-chaining with other I2C-conformant boards.

The pre-assembled version came with the SMD-sized BMA020 chip and decoupling capacitor already soldered onto the board. This sensor is no longer in production.

The pre-assembled 'T' version comes with the later BMA150 chip and decoupling capacitor already soldered onto the board. This adds access to an integrated temperature sensor. Note that no 6-pin headers are included.

The PCB only variant contains just the board for the Gravity Plug. No parts, no headers.

As connectors you can use a Plug Headers set with 10 male and 10 female 6-pin headers, which makes it easy to connect multiple plugs and JeeNodes in a “standard” way. Or you can solder the board directly in place for more permanent use.

The documentation and full design details are freely available.