Skip to content

v3.29.0 - Enhanced MeGyro with Accelerometer and Temperature Support

Choose a tag to compare

@nbourre nbourre released this 24 Sep 14:36
· 29 commits to master since this release

Enhanced MeGyro with Accelerometer and Temperature Support

New Features

  • Temperature Sensor: Added getTemperature() method to MeGyro class for MPU-6050 internal temperature sensor
  • Full Accelerometer Support: Added complete accelerometer functionality with getAccX(), getAccY(), getAccZ(), and getAcc(index) methods
  • Proper Units: Accelerometer readings now properly return values in g units (gravity = 1.0g)

Bug Fixes

  • Fixed multiple definition linker errors by moving MeAuriga global array initializations to .cpp file
  • Fixed accelerometer initialization by properly configuring register 0x1c for ±2g range
  • Enhanced MeGyro class with proper accelerometer sensitivity handling and raw data processing

Examples

  • AurigaTempSensors: New example demonstrating dual temperature sensor reading (gyro + onboard NTC)
  • Auriga_MeGyroTest: Updated example with Serial Plotter compatibility and comprehensive sensor data display

Technical Improvements

  • Proper handling of raw accelerometer data vs processed values
  • Correct variable assignments in update() and fast_update() methods
  • Enhanced documentation with clear method signatures and usage examples

This release provides comprehensive 6-axis IMU functionality (3-axis gyro + 3-axis accelerometer + temperature) for the MPU-6050 sensor in MakeBlock devices.