Arduino and ADXL330 accelerometer/gyro

My friends and I are attempting to get this ADXL330 accelerometer working. We have the accelerometer outputting data in m/s2; however, the data isnt right.

We tried to calibrate the accelerometer by holding each axis vertically to the ground in an attempt to calibrate the x,y, and z axis with gravity. We then subtracted the average of several of these “calibrated” values from the output values when the accelerometer is in operation to zero all the outputs to no avail.

What re we doing wrong? We havent messed with bandwidth. I myself am not the person who actually did these tests/wrote code, so if I am not clear, please ask. We need to figure this out like asap.

Thanks,

Pearl

I talked to my friend, and when we subtract the calibrated values, the output does not go to zero when the accelerometer is not moving. The output is near zero, but not zero.

Does anyone have any ideas?