GY-91 Sensor; Arduino: Difference between revisions

From wikiluntti
Line 6: Line 6:


=== Accelerometer ===
=== Accelerometer ===
<syntaxhighlight lang="C" line>
  mySensor.beginAccel();
</syntaxhighlight>
<syntaxhighlight lang="C" line>
  accelX();
</syntaxhighlight>


=== Gyrometer  ===
=== Gyrometer  ===

Revision as of 20:14, 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

Theory

Accelerometer

  mySensor.beginAccel();
  accelX();

Gyrometer

Magnetometer

Exercises

See Also & References

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