How to use Calibration constants for ADXL335

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
LRF
 
Posts: 14
Joined: Mon Sep 09, 2019 10:02 am

How to use Calibration constants for ADXL335

Post by LRF »

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?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: How to use Calibration constants for ADXL335

Post by adafruit_support_bill »

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

User avatar
LRF
 
Posts: 14
Joined: Mon Sep 09, 2019 10:02 am

Re: How to use Calibration constants for ADXL335

Post by LRF »

Thank You

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

Return to “Other Products from Adafruit”