![]() ![]() ![]() 0x18, but according other information // the registers in that unknown area are for gain // and offsets. According to the InvenSense document // "MPU-6000 and MPU-6050 Register Map // and Descriptions Revision 3.2", there are no registers // at 0x02. #include // Register names according to the datasheet. // At power-up, all registers are zero, except these two: // Register 0圆B (PWR_MGMT_2) = 0x40 (I read zero). ![]() // Temperature sensor from -40 to +85 degrees Celsius // 340 per degrees, -512 at 35 degrees. // Documentation: // - The InvenSense documents: // - "MPU-6000 and MPU-6050 Product Specification", // PS-MPU-6000A.pdf // - "MPU-6000 and MPU-6050 Register Map and Descriptions", // RM-MPU-6000A.pdf or RS-MPU-6000A.pdf // - "MPU-6000/MPU-6050 9-Axis Evaluation Board User Guide" // AN-MPU-6000EVB.pdf // // The accuracy is 16-bits. MPU-6050 Accelerometer + Gyro + Arduino Uno // - // // // June 2012 // Open Source / Public Domain // // Using Arduino 1.0.1 // It will not work with an older version, // since Wire.endTransmission() uses a parameter // to hold or release the I2C bus. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |