Hello all,
I am having some trouble understanding how to convert from mV to Gs using the method described by AWOL in the forum linked:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1272149318/3
I am using an ADXL322, with a Vs=3.3v. Is the analog reference to the arduino analog pins 3.3v or 5v?
This other question may be related to my confusion with the first question:
Assuming my ref is 3.3v, then the increment should be 3.3/1024 = 3.22mV / increment. The accel sensitivity is 420mV/g. given that info: 420mV / 3.22 mV/increment = 130.4 mV / increment.
Ok, so with this information I know that 1G of acceleration gives me 420mV at the pin. AWOL then says you can subtract 420mV - 130.4mV/increment. however, they are different units. If I do that I get 290 increments as my zero which is not what I read at the accel. Reading the accel value I get something closer to 334.
But... If I do this using an analog reference of 5v, then I get 5/1024 = 4.88mV. Then 420mV/4.88 = 86. 420-86 = 334 and voila! it makes sense. My problem is, I cant get over the subtraction of the different units and the analog reference being 5v vs 3.3.
Any and all help would be greatly appreciated.
Thanks!!