SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!
Frequently Asked Questions
Mon-Fri, 9am to 5pm
U.S. Mountain Time:
Chat With Us
May 19, 2010
about 5 years ago
I am actually making a 6DOF with 3D accelerometer and 3D gyroscope and using I2C communication. I am using 700 Ohms as the pull-up for the I2C.
Problem: The accelerometer seems to have ~100 counts in variation. The center looks like it’s at the right value: for example 2 axes are pretty close to 0 while the other is close to 256 counts (for gravity). I can change which axis gets the 256 counts by reorienting my pcb. So I appear to be getting some meaningful data, but corrupted by noise. I am doing the following for the accelerometer:
1) Set the data output rate to 3200 Hz
2) Set the resolution to 13-bit, +/- 16g
3) Set to measurement mode
4) Collect data every 400 Hz by reading addresses 0x32 to 0x37
Example plot (temporarily disabled the gyroscopes): http://picasaweb.google.com/109181630684373342739/6DOFTrace?authkey=Gv1sRgCLqf77vO-8jNIA#5528389685196930034
I would appreciate any feedback regarding where I am going wrong.
No public wish lists :(
Forgot your password?
No account? Register one!