Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (613 codes)
  2. Shawon Shahryiar (252 codes)
  3. Alcides Ramos Zambrano (143 codes)
  4. Dany (66 codes)
  5. S P (63 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. FOURNET Olivier (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Roman Toropov (25 codes)

Most Downloaded

  1. Timer Calculator (87472 times)
  2. FAT32 Library (43789 times)
  3. Network Ethernet Library (41831 times)
  4. USB Device Library (32375 times)
  5. Network WiFi Library (30210 times)
  6. FT800 Library (24392 times)
  7. PID Library (20469 times)
  8. GSM click (20412 times)
  9. microSD click - Example (16992 times)
  10. GPS click - Example (13656 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back

MPU6050 IMU Accel, Gyro, Quaternion ARM


Author: Armstrong Subero

Last Updated: 2018-04-13

Category: Measurement

Downloaded: 95 times

Not followed.

This example demonstrates how to read to and write from the MPU6050 IMU including raw gyroscope and accelerometer data as well as gyroscope calibration, gyroscope readings in radians/s and accelerometer readings in G's as well as the Madgwick filter algorithm for obtaining quaternion values.

This example does not utilize the onboard DMP.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MPU6050 IMU Accel, Gyro, Quaternion ARM" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MPU6050 IMU Accel, Gyro, Quaternion ARM" changes.

Do you want to report abuse regarding "MPU6050 IMU Accel, Gyro, Quaternion ARM".

  • Information
  • Comments (0)

Download Example [332.91KB]


mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc


ST7735 with STM32

This example uses the ST7735 with the STM32F103C8T6. The example was designed to be simple to use and modify by the user.

[Learn More]


This library contains functions code that demonstrates using the NRF24L01+ in receiver and transmitter mode. The code is very simple and easy to use.

[Learn More]

USB HID with pywinusb Program

This example uses the USB HID library with the STM32F103C8T6. The library also contains a simple python program using pywinusb which allows communication easily with the microcontroller.

[Learn More]