Grove_3AxisAccelerometer

Found at :

Library for Grove 3-axis accelerometer moduleGrove - 3 Axis Digital Accelerometer(±16g)

wired(scl, sda {, vcc, gnd})

Connect pins to an obniz Board.

grove cable obniz
scl - scl
sda - sda
vcc - vcc
gnd - gnd
// Javascript Example
var accelMeter = obniz.wired("Grove_3AxisAccelerometer", { scl:0, sda:1, vcc:2, gnd:3 });

[await] getWait()

Get values from sensor.
It return values in array which has three elements.
Values are unit of gravity, "g".

// Javascript Example
var accelMeter = obniz.wired("Grove_3AxisAccelerometer", { scl:0, sda:1, vcc:2, gnd:3 });
var val = await accelMeter.getWait(); // [x,y,z]
console.log(val);



You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers

Forum

Visit our developer’s forum to discuss and discover technologies.

Forum

Contact

Feel free to contact out support and technical team.

Contact us