rzr / generic-sensors-lite

Naive implementation of w3c specs for IoT.js
https://purl.org/rzr/sensors
Apache License 2.0
10 stars 6 forks source link

support for MPU6050 (6DoF Gyro+Accel) #10

Open DoNck opened 5 years ago

DoNck commented 5 years ago

Request for support for the Invensense MPU6050 (now officially part of TDK) 6DoF I²C sensor. Datasheet : https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Datasheet1.pdf supported by NodeJS https://github.com/jstapels/mpu6050

rzr commented 5 years ago

Thanks, It's on my list actually I know this module I tried and patched it I am wondering if current version is supporting quaternions because this is the minimal feature that has been "implemented" in the simulator:

https://github.com/rzr/generic-sensors-lite/blob/master/lib/orientation/simulator.js#L22

If you manage to have a similar array then we're fine to integrate it in index.js in same directory

ping @jstapels

https://github.com/jstapels/mpu6050/pull/9

rzr commented 5 years ago

mpu9250 clould be also considered if it gets node10+ support

https://github.com/miniben-90/mpu9250/issues/14

rzr commented 4 years ago

Also my this one from ST be considered too:

The LSM9D1 Accelerometer/Magnetometer/Gyroscope -- see section 5.1.1 -- https://www.st.com/resource/en/datasheet/lsm9ds1.pdf

It's on Pi Sensehat too :

https://github.com/rzr/sense-hat-webthing

Relate-to: https://github.com/rzr/mozilla-iot-generic-sensors-adapter/issues/13

rzr commented 4 years ago

https://www.nxp.com/products/sensors/motion-sensors/6-axis/digital-motion-sensor-3d-accelerometer-2g-4g-8g-plus-3d-magnetometer:FXOS8700CQ

This sensor may be considered too

rzr commented 4 years ago

with MMA8451Q accelerometer from FRDM-KL25Z is also welcome but I don't have any