Serial.print(” | GyX = “) Serial.print(GyX) Serial.print(” | Tmp = “) Serial.print(Tmp/340.00+36.53) //equation for temperature in degrees C from datasheet Serial.print(” | AcZ = “) Serial.print(AcZ) Serial.print(” | AcY = “) Serial.print(AcY) Serial.print("AcX = “) Serial.print(AcX) Wire.write(0x3B) // starting with register 0x3B (ACCEL_XOUT_H) Wire.write(0) // set to zero (wakes up the MPU-6050) Can you guide me on how to save the data? Im using the code below to get the readings.Ĭonst int MPU_addr=0圆8 // I2C address of the MPU-6050 But im having difficulties trying to extract the data out to excel etc for other purposes. ![]() ![]() ![]() Hi im currently working on a project using arduino uno and mpu6050 to get readings of the gyroscope and accelerometer when i move the board.
0 Comments
Leave a Reply. |