With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Hi, you mean the code for a quadcopter? I don't have one yet, but I will be writing it soon, I've just been in the process of gathering all the parts I need for the quadcopter. So stay tuned as I am planning to post an instructable on making an arduino quadcopter soon.
Hi Ainel,Apologies for the late reply, I was trying to find a solution to your answer online but I haven't found anything. If you're still looking for a solution you can either experiment with the code to see if there is a way to start printing data automatically, or if there isn't a way and that's just how the arduino serial window works, maybe you could experiment with other serial windows like PuTTY or Tera Term. Hopefully you find something that works, but if not it shouldn't matter too much because the serial window is mainly for debugging your project so when you send the data through an XBee there probably won't be a need for Serial Begin / Write / Read in your code.
Actually the link I posted in this instructable is correct, it is the official repository for "all current and future releases" as stated by toxiclibs.org.
No worries, if you happen to find a solution please post here for the benefit of anyone else who might be experiencing the same problem. Thanks!
Hey Gabriel, at this point I think your chip might be broken and you may need to get a new one. But just in case it's not, you could try asking for a solution on this forum: http://www.i2cdevlib.com/forums/. If that fails, then just get a new chip.
Hi Gabriel, based on the motion response in the simulation in your video I'd say it's working fine but with a weird offset in the pitch angle for some reason, perhaps there was a slight misalignment when the chip was being manufactured which is causing the offset. I think you should be able to compensate for that with a simple fix: find the line of code (in the arduino sketch) that says// supply your own gyro offsets here, scaled for min sensitivityAnd adjust the appropriate X, Y, Z Gyro offsets accordingly. It might take some trial and error. Let me know if that works.
Gaming With Thoughts/Mindwaves (w/ Arduino)
Make A One Desk Electronics Lab (in a small place, for beginners)
Solar Powered R/C Drone
What do you mean?
Hi, I haven't looked at other simulations but it sounds interesting, especially arducopter. To find out if other simulations exist and how to do them, I would just search on google and youtube. That's how I learnt about the MPU6050 simulation before I made this instructable.
Hi Kitu,It sounds similar to some of the problems others have been posting in the comment section here. Have a read through the comments and you might find a solution that works for you.
I've just re-downloaded the library and repeated the process outlined in my instructable and there doesn't seem to be any compilation errors. A possible reason why you are getting an error is a very subtle mistake you may have done in step 2: in renaming Adafruit-GFX-Library, make sure you have used _ instead of -.
RGB's with Arduino and Processing
Hi, did you make sure to restart the arduino application after editing the .h file? So maybe close arduino then reopen it and then compile and upload.
No worries, glad to help.
I just found a similar question on the ic2devlib forum, answered by Jeff Rowberg himself where he explains what the raw output of the accelerometer / gyro mean.
That's awesome! I will release an instructable when I'm done (currently in the designing / building phase), be sure to follow me so you know when it comes out. I've got a list of other projects I'm planning to release soon if you're interested.
I've had a look at the comments in the MPU6050.cpp library and it looks like the acceleration is g.
Weather proof, Bluetooth capable RFID reader
A Universal RFID Key
How to connect Arduino and RFID
Hi,did you make sure to select the correct COM port before uploading? Also double check the wiring is correct, e.g. SCL / SDA not XCL / XDA. If that's still an issue, try an earlier version of the ic2dev library, like January 4 (the link to that is in the one of the comments).
Hey, what a coincidence! I'm also making an arduino quad from scratch! Hi 5! Haven't started yet though, just received all the parts in the mail.Your printed values don't seem too bad to me, it looks like only small changes when the device is stationary, that happened to me too. I think you'll simply have to set a tolerance level (e.g. #define tol ...) for your ypr values so that if they change by more than the tolerance, then it can be interpreted as actual motion and not just noise.There's another person I've come across who's making a quad from scratch using the MPU6050. You might find some useful notes there: https://hackaday.io/project/6671-quadcopter-from-scratch
Hi, if you want to communicate with your laptop there are several options even besides this 433MHz module. For example, you can communicate via bluetooth (e.g. using the HC-05 module, here is a good starting point) or via WiFi (e.g. using the ESP8266, the version 3 module is probably best but I'll have to test it when I get the chance).
Thanks! I managed to get it working on my computer. I used PuTTY instead of Tera Term.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.