sharkduino / Arduino_Animal_Tag

The main code that runs on the Sharkduinos
0 stars 0 forks source link

Accelerometer no longer has gravity component #31

Closed d9i closed 7 years ago

d9i commented 7 years ago

We talked about this earlier today - making an issue just to be tidy.

a[x,y,z] readings for v3.0 on device 2.2b no longer shows a -1G acceleration for gravity. Maybe the accelerometer's built-in HPF is enabled?

TheBen27 commented 7 years ago

The same register that sets the accelerometer's range also controls the high-pass filter. If not configured correctly, the tag might enable that filter by accident.

Try re-configuring the tag from scratch with the new Configure sketch and see if the problem persists.

d9i commented 7 years ago

worked during testing, works fine now! I guess it was a config thing.