×

SparkFun Electronics will be closed on November 26, 2020 and November 27, 2020 for the Thanksgiving holiday. We will begin normal operations at 9:00 AM Mountain Time on November 30, 2020.

×

Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Ktak

Member Since: July 22, 2012

Country: United States

  • I have 2 BMA180 connected to an arduino on a adafruit datalogger shield (there are onboard i2c pullups) using long cable to each (4m) into the i2c bus. I came across with a strange problem. I am reading the values every 25ms in block of 7 bytes using the BMA180 library from here http://www.varesano.net/files/libraries_20120118_0959.zip. In the beginning the capturing is ok 8g mode ACC1_X ACC1_Y ACC1_Z ACC2_X ACC2_Y ACC2_Z 2 -45 1195 147 -128 1345 4 -55 1174 149 -124 1406 -3 -42 1209 144 -130 1336

    but after some time things go really strange and the sensor is still

    859 -72 4   -48 1293    815
    907 -62 1   -38 1299    831
    917 -82 1   -39 1287    810
    866 -74 -6  -42 1286    795
    879 -89 10  -36 1302    805
    914 -83 3   -54 1284    797
    

    later

    1263    813 -36 846 84  -58
    1273    814 -25 835 66  -4
    1259    810 -44 823 60  -69
    1249    786 -44 816 67  -64
    

    the strange "offsets" happen all the time. Its like the value off the Z is moving to the other values.

    here is plot with the problem Its a 1h log.

    Any ideas?

No public wish lists :(