[beagleboard] ADXL355 Accelerometer issues on BBB

2014-07-01 Thread Luke Walsh
I am trying to follow the tutorial for the accelerometer found here: http://beagleboard.org/Support/BoneScript/accelerometer/ If I read it right I should be getting back a 1.0 as the resting state on the table. However I get back this: Analog Read Value x: -4.853507815339876 Analog Read Value

Re: [beagleboard] ADXL355 Accelerometer issues on BBB

2014-07-01 Thread Alfredo Muniz
Luke, On Tue, Jul 1, 2014 at 4:19 PM, Luke Walsh 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

Re: [beagleboard] ADXL355 Accelerometer issues on BBB

2014-07-02 Thread Luke Walsh
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 su