I was not sure if using 470 ohm resistors instead of the 500-1000ohm was 
causing it. The bigger question is if I use the Z value since that is the 
third axis for the conversion then how do I measure acceleration in the z 
axis? I set the zero offset so that the values all =1. Wouldn't that be 
sufficient to measure G's since a value of 1 should equal 1 G? I guess I am 
trying to see if the conversion factor is a constant that can be hard coded 
or dynamic based off the other axis?

On Wednesday, July 2, 2014 1:29:30 AM UTC-4, Alfredo Muniz wrote:
>
> Luke,
>
> On Tue, Jul 1, 2014 at 4:19 PM, Luke Walsh <[email protected] 
> <javascript:>> wrote:
>
>> So do I just change the below offset and conversion factor? If so how do 
>> I find those?
>
>
> Yes. The comments in the code say that when the board is flat on a table 
> the x and y should be zero. So simply read the values while it is flat and 
> that is your zero offset. Then you can use the z value for you conversion 
> factor as it needs to be 1 when it is flat. Just look at the formula: 
> (x.value-zeroOffset)/Conversion
>  

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to