0

How to use Calibration constants for ADXL335
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to use Calibration constants for ADXL335

by LRF on Fri Sep 13, 2019 8:58 pm

The following was copied from the "calibration and programming" documentation page for the ADXL335:

"Calibration Sketch Output:

Once calibrated, the output will show the calibrated raw range for each axis, followed by the measured "G" forces. The raw ranges can be used as constants in sketches.

Raw Ranges: X: 408-616, Y: 398-610, Z: 422-625
511, 511, 625 :: -0.01G, 0.07G, 1.00G
.........."

My question concerns the last sentence (I underlined) talking about using the raw range constants in a sketch. Could someone provide an example of what this means and provide a code snippet showing how they are used in a sketch?

LRF
 
Posts: 7
Joined: Mon Sep 09, 2019 10:02 am

Re: How to use Calibration constants for ADXL335

by adafruit_support_bill on Sat Sep 14, 2019 6:51 am

See the "2-point calibration" page in this guide: https://learn.adafruit.com/calibrating- ... -calibrate

adafruit_support_bill
 
Posts: 74645
Joined: Sat Feb 07, 2009 10:11 am

Re: How to use Calibration constants for ADXL335

by LRF on Sat Sep 14, 2019 11:06 pm

Thank You

LRF
 
Posts: 7
Joined: Mon Sep 09, 2019 10:02 am

Please be positive and constructive with your questions and comments.