GY-91 Sensor; Arduino: Difference between revisions

From wikiluntti
Line 2: Line 2:


Uisng GY-91 sensor with Asukiaa's MPU9250 library. Install the library using Arduino IDE Manage Libraries. More information about the library is at https://github.com/asukiaaa/MPU9250_asukiaaa
Uisng GY-91 sensor with Asukiaa's MPU9250 library. Install the library using Arduino IDE Manage Libraries. More information about the library is at https://github.com/asukiaaa/MPU9250_asukiaaa
GY-91 includes MPU-9250 circuit which has gyro, accelerometer and compass.


== Theory ==
== Theory ==

Revision as of 20:17, 26 November 2022

Introduction

Uisng GY-91 sensor with Asukiaa's MPU9250 library. Install the library using Arduino IDE Manage Libraries. More information about the library is at https://github.com/asukiaaa/MPU9250_asukiaaa

GY-91 includes MPU-9250 circuit which has gyro, accelerometer and compass.

Theory

Accelerometer

  mySensor.beginAccel();
  accelX();

Gyrometer

  mySensor.beginGyro();
  gyroX();

Magnetometer

  mySensor.beginMag();
  magX();

Exercises

See Also & References

https://www.cod3v.info/index.php?title=Arduino_OKY3259-1_GY-BMP280