Closed eighteight closed 10 years ago
Hello! I noticed at the link you provided that there is an Arduino & Processing sketch. Do those work with your device?
If everything's good on that end, then maybe try the latest Arduino library that we used: https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
Hope this helps!
Yes, the sketches from that page work, and I am using latest from i2cdev. I am still not sure 1) whether I need to initialize arduino with an *.ino sketch for your openframeworks program to work 2) which arduino sketch is supposed to be used in 1)?
Thanks.
In hindsight I see how this is probably confusing. Unfortunately it's been close to a year since I've worked on this and sadly no longer have access to the hardware to check for you. My suggestion would be that if Arduino & Processing sketches are working, examine those... and just swap out the Processing sketch with my openFrameworks projects and make any necessary mods -OR- re-write the Processing sketch in openFrameworks and go from there.
Hope that helps!
For the record: The things started moving. Steps I had to add for this to work:
Awesome! :-)
I'm going to close this issue. Glad to hear you're sorted.
Do you have any suggestion as to how to use MPU6050 for position acquisition (dead reckoning)?
Thanks.
Please let me know what arduino sketch I am supposed to upload to mpu–6050/arduino in order for it work with CONV_MWAS. I am using this exact hardware setup: http://www.geekmomprojects.com/geekmomprojects-wp/wp-content/uploads/2013/03/DSC_1292.jpg (taken from http://www.geekmomprojects.com/gyroscopes-and-accelerometers-on-a-chip/ ). I have tried to upload provided MPU6050_DMP6.ino and MPU6050_raw.ino, but did not receive any sensible results in the app. Thanks.