Unexpected ADXL375 Measurement

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pcom
 
Posts: 5
Joined: Mon Jun 13, 2022 9:05 pm

Unexpected ADXL375 Measurement

Post by pcom »

Hello,

I recently got the ADXL375 accelerometer and followed the Python usage on the guide (https://learn.adafruit.com/adafruit-adx ... cuitpython), but for some reason when my sensor is perfectly still, I do not measure a total acceleration of 9.81 m/s^2. My measurement value hovers around 12.1 m/s^2 which is a good amount different then expected. Is there some calibration or zeroing I have to do? It's connected to my Raspberry Pi via a Qwiic to female socket cable and I noticed that the little "on" LED doesn't turn on when I connect power to the device. Is it possible there's an issue with the sensor?

Also as a quick aside, I believe I found an error in the Python document guide for the DPS310 sensor but I'm not sure who to inform to help future users. Specifically, on this page: https://docs.circuitpython.org/projects ... /api.html#, the guide says "property pressure" returns a reading in [kPa], but I believe it's [hPa]. Also, "property altitude" isn't given a unit and I believe it's [m].

Thanks for any help or thoughts!

User avatar
mikeysklar
 
Posts: 14171
Joined: Mon Aug 01, 2016 8:10 pm

Re: Unexpected ADXL375 Measurement

Post by mikeysklar »

Please start a new thread for the DPS310 so we can check that out.

You can set the offset calibration with this script to dial it in.

https://github.com/adafruit/Adafruit_Ci ... bration.py

User avatar
pcom
 
Posts: 5
Joined: Mon Jun 13, 2022 9:05 pm

Re: Unexpected ADXL375 Measurement

Post by pcom »

That code solved the problem perfectly! Thanks for your help, I'll be sure to make a new thread for the DPS310.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”