As the title suggests, the motion detection on the MMA8451 is not working. I have followed the following source in order to write the correct data to each respective register: https://www.nxp.com/docs/en/application-note/AN4070.pdf I used the following library in order to write to the registers and followed the example in the lib: https://github.com/dalmirdasilva/ArduinoAccelerometerDriver/blob/master/AccelerometerMMA8451/examples/motion_detection/motion_detection.ino My code is follows: ..
I have device and want to calculate its tilt (theta) angle using 3 axis accelerometer? For the reference, I attached an image which showing how the device position in hand and need to calculate theta showing in the image. enter image description here SO, anyone can give me the formula to calculate the theta angle ..
I’m using the Bosch BMX160’s accelerometer to measure oriëntation. When I print the raw x, y and z axis data I get values between around -16500 and 16800. The datasheet says it returns force in milli G’s, this should mean the values should be between -1000 and 1000. I’m using an output data rate of ..
I am currently estimating position of a car using kalman filtering using GPS,magnetometer and wheel pulse rotation. I use magnetometer and wheel rotation pulse(for distance i know how much distance each pulse covers) to predict next position and i correct it using GPS data. So far so good. The problem is some car’s dont give ..
I am currently writing an Android app purely in c++ because of its performance advantage and I have been unable to find a way to record sensor input from multiple sensors concurrently. I want to keep track of the device’s orientation in addition to the direction and magnitude of the accelerometer input. Is it possible ..
I just started this project and I’m trying to log the data from an accelerometer (ADXL355) to a SD card. Sadly it’s not working. I can send data to the SD card without having the accelerometer connected and i can read the data on the serial monitor when the SD card is not connected but ..
I am using adxl355 and confused how to change the setting of odr(output data rate). Here is the code. As you can see, I have the set_filter_ctl_reg in the main. But it seems not working. I feel that only the part in the while loop influence the sampling rate(same with odr here). In the datasheet, ..