Search the Community
Showing results for tags 'quadcopter'.
Hello, I am a college student working to build a UAV. I selected the MPU6050 as my IMU because it seems to have a pretty substantial community around it. Time to test that! Does anyone know how to invert the orientation of the IMU sensor in order to change its frame from a quadcopter to a UAV? I have attached photos below. I have tried flipping the physical sensor and playing with the offsets but that has not yielded anything useful. I have designed a complicated quaternion attitude controller dependent on the AC orientation and it would be a real pain to have to redo all of my work because of a IMU coding issue. I have the MPU6050 connected to a raspberry pi, which runs the controller, and am using an Arduino Due to control the motors/servos. Any help with this would be greatly appreciated!
Hi guys, I come here, to ask you all nice people one tricky question.But for the beginning I will describe you my project which I am working on. My project is quadcopter, but not normal one, on board should be raspberry pi and arduino due with mpu6050. Basically everything works very well but not always. Here comes the problem. Sometimes Arduino DUE cant connect to mpu6050 over I2C. Sometimes it can and after restart of arduino DUE it again cant connect. Afterwards I have to power off arduino DUE and than power it again on. Than it works. So it looks to me some problem with registers or probably as I read, it can be with pull-ups on I2C. I was trying to repair it for a month but I could not, after lot of time I am trying to contact some person or group of people who could help me. I would be happy for all kinds of help. Here I am posting also my code on github and some pics of quadcopter. https://github.com/JurajKabzan/Quadcopter Little description of my project. On pc runs ground control written in C# which generates control strings and than sends them over network connection through sockets to raspberry pi, it executes them and then when necessary sends directly over serial to arduino DUE. Arduino DUE takes care for PIDs and sensors staff. When I use example dmp from i2cdevlib it happens the same.One I can next time I can not connect. Please I will be happy for all kind of help!
I have a quick question regarding the MPU-6050. I'm using it in a quadcopter, connected to a Pro Mini, and I'm having some trouble. I'm using the DMP data, but I get FIFO overflows all the time. I tried using both solutions posted on the I2C forums here, but neither worked for me. In addition, occasionally I get a reading or two that are abnormal, and the rest are fine, i.e., the MPU is stationary, and once in a while the reading jumps at least ten degrees, and then suddenly jumps back the next reading. I suspect this may have to do with the FIFO overflow, but I'm not sure how to find out. I'd love it if you could point me in the right direction, or let me know what I need to do to solve this issue. I can post screenshots/sample data if need be. Thanks!