×

SparkFun Electronics will be closed in observance of memorial day on Monday, May 29th. We will resume normal business hours on Tuesday, May 30th. Any orders placed after 2pm Mountain Time on Friday, May 26th will process and ship out on Tuesday, May 30th.

Flare

Member Since: May 19, 2010

Country: United States

  • 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.
    Thanks!

No public wish lists :(