wollewald / ADXL345_WE

Arduino Library for the ADXL345 accelerometer. I2C and SPI are implemented.
https://wolles-elektronikkiste.de/en/adxl345-the-universal-accelerometer-part-1
MIT License
40 stars 9 forks source link

Raw-z never changes #7

Closed zdila closed 1 year ago

zdila commented 1 year ago

I ran ADXL345_angles_orientation and Raw-z is always 511.0 and it never changes. Raw-x and Raw-y changes if I rotate the sensor.

With Sparkfun library I see all x, y, z to be changing. There z is between 520-1030.

zdila commented 1 year ago

After changing range to higher G value of Raw-z starts changing.

I also tried different sensor and it also doesn't work for low range because all the raw X,Y,Z values are always on their max (511.0). Could it be that both sensors are just faulty?