obniz Parts Library

SH200Q

GitHub
SH200Q
Usable Devices :
obniz_board
m5stickc
Found at :

#SH200Q

A total of 6 axes consisted of 3 axes of acceleration and 3 axes of gyro are detected.

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

var sensor = obniz.wired("SH200Q", { gnd: 0, vcc: 1, sda: 2, scl: 3 });

Set gnd, vcc, sda and scl to your favorite pins.

[await] getAllDataWait

Return acceleration, gyro, compass data.

var sensor = obniz.wired("SH200Q", { gnd: 0, vcc: 1, sda: 2, scl: 3 });
const data = await sensor.getAllDataWait();
console.log('accelerometer: %o', data.accelerometer);
console.log('gyroscope: %o', data.gyroscope);

[await] getAccelWait()

Return acceleration data.

var sensor = obniz.wired("SH200Q", { gnd: 0, vcc: 1, sda: 2, scl: 3 });
const data = await sensor.getAccelWait();
console.log('accelerometer: %o', data);

[await] getGyroWait()

Return gyro data.

var sensor = obniz.wired("SH200Q", { gnd: 0, vcc: 1, sda: 2, scl: 3 });
const data = await sensor.getGyroWait();
console.log('gyroscope: %o', data);

Supported from: obniz.js 3.5.0

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