Search the Community
Showing results for tags 'mpu'.
-
I trying to work with mpu6050 sensor with I2C communication in matlab and matlab software recognized the device(mpu=I2Cdev) but when i use readRegister () the result shows zero and i tried with different board the result is the same so how can i solve the problem? thanks
-
Hi, everyone, I'm making a college project that consists in a quadcopter with Arduino. I'm trying to use MPU-6050 to balance it. I've already read about this sensor and done a complementary filter to combine the effects of the accelerometer and gyroscope. It worked nicely, and I'm using Processing to manage it. However, I still have no idea about how to use this combinated data to balance the quadcopter's motors. I've tried to do a simple test: if the quadcopter inclines at least 15 degrees to some side, motor(s) of the opposite side stops. This is a very bad solution, of course. Also, as the quadcopter vibrates, the MPU's accelerometer vibrates too, forcing the combinated data (angle of MPU) to be very different from the real angle. I found lot of stuff about making a filter, but couldn't find much stuff about balancing a quadcopter with MPU. So, I would appreciate every single help! Sorry about my English, this is not my natural language. Thanks!
-
- quadricopter
- mpu
-
(and 3 more)
Tagged with:
-
Hi, I've been using the code found at https://github.com/sparkfun/MPU-9150_Breakout. I need to get the quaternions, but the problem is the orientation. The current orientation doesn't fit my application because I need it to control the movements of an industrial robot which has the axis as shown in the attached photo. I'm guessing that I could change the orientation of the given quaternions from the arduino code but I can't figure out how. As soon as I start the program, the robot orients itself upward and I'm guessing this is because the orientation from the Arduino code is set for aircraft control which needs Z axis to be facing in this manner. I've attached a photo of how the robot is being oriented with the given quaternions. In my case I would need the +z axis to be facing forward, the +x to be facing towards earth and +y can be seen in the picture (green). The robot axis are highlighted and color coded for easy identification. If you could help, that would be awesome. This is the code: https://github.com/sparkfun/MPU-9150_Breakout/blob/master/firmware/MPU6050/Examples/MPU9150_AHRS.ino I've only taken out the display part because I don't have one.
-
- quaternion
- orientation
-
(and 5 more)
Tagged with: