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!
Yes you can, that's very interesting !
I think the problem come from a bad connection. Did you try with the MPU6050_DMP6 programm, and did this show you data in the serial windows ?
I found a solution to change the plane in another (simple) 3 object. But first, I have to thanks Jeff Rowberg for his help on it (I send him a mail, this is the guy who created the MPUTeapot).So, for doing that, you only need to change the lines 112-139 (the lines which are coding the plane), using the 3D programmation for processing (here is the tutorial I used: https://processing.org/tutorials/p3d/ ). So with this, you can do simples models likes boxes, cylinders, triangles and quadrilaterals, and It will be enough for the majority of us :) Hope It helped someone !
I would put something in the void setup, like "while the difference between 2 values is too big, don't continue". But I'm not sure at all.
Really good tuto, but you missed to tell something very very important, at least for windows users on the last step (I had a white screen instead of the plane):You have to comment the line: "String portName = Serial.list();" (by adding two "/"), and uncomment the line: "//String portName = "COM4";" and change the "COM4" by the COM port on wich your arduino is connected (you can see it on the arduino IDE --> Tools --> serial ports). And It works perfectly then.However, I have a question: Do you have a simple solution to change the plane in something else, something of my choice ? Thank you.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.