Questions tagged [accelerometer]

An accelerometer is a device that measures the proper acceleration of the device.

From Wikipedia:

An accelerometer is a device that measures proper acceleration. The proper acceleration measured by an accelerometer is not necessarily the coordinate acceleration (rate of change of velocity). Instead, the accelerometer sees the acceleration associated with the phenomenon of weight experienced by any test mass at rest in the frame of reference of the accelerometer device.

For example, an accelerometer at rest on the surface of the earth will measure an acceleration of g=9.81 m/s^2 straight upwards, due to its weight. By contrast, accelerometers in free fall or at rest in outer space will measure zero. Another term for the type of acceleration that accelerometers can measure is g-force acceleration.

Most questions regarding this tag deal with how to access, interpret, and process accelerometer data that is abundant in smartphones.

2578 questions
0
votes
0 answers

georeferencing a trajectory from inertial sensors (IMU)

There are data from tracking a moving object based on inertial measurement unit (IMU), using sensors like accelerometer, gyroscope, magnetometer. From these data (by sensor fusion) is generated a trajectory (polyline) and rendered into…
Vill
  • 1
  • 1
0
votes
0 answers

get device's motion trajectory from CMDeviceMotion data

I want to get CMDeviceMotion data and plot the device's motion trajectory after data processing. (I referred to Mack Raymond's article on implementing sensor data for Android devices in Python)…
iWu
  • 1
0
votes
0 answers

Best approach for detecting periods of vibration with an accelerometer

I'm working on a camera scanning application, and I've noticed that there is a degree of vibration after movement (some axes are worse than others). I've attached an I2C accelerometer/gyroscope (MPU 6050) as close to the image sensor as I can get,…
flimsy
  • 204
  • 1
  • 10
0
votes
0 answers

Google Pixel 6 Pro Gyroscope and Accelerometer issue

The Gyroscope and Accelerometer sensors are defective. As a result, features that require these sensors do not work such as Auto-rotate, Compass, Flip to shh, Flip camera for selfie and games that require these functions. The sensors work again…
Grecko
  • 1
  • 1
0
votes
0 answers

Keep the identifier for each row in a rolling window of functions R

I have managed to apply a rolling window of functions per column of my accelerometer data where each row is associated with a behaviour. However, the output doesn't include the behaviour associated. Is there a way to either keep the behaviour per…
0
votes
1 answer

Android accelerometer values inside Flash CS5

Hey am a newbie to Android development. I need an application to test the accelerometer values on my mobile phone. I need the values on my system so that I can manipulate that info for something else. If I write an Android application, the values…
kumar
  • 21
  • 5
0
votes
0 answers

Animating accelerometry and depth data in relation to time

Thanks in advance for your help. I'm new to Python so bare with me. I have accelerometry and dive depth data from several seals that I'm aiming to animate. Here's a sneak peak of what the data looks…
0
votes
0 answers

Acceleration/ gyroscope sensor data stopped working

i'm programming an app in Android Studio with flutter and need to access the acceleration data from the device. So far, i did that by using the package "sensors" and it worked nicely. But yesterday, the method stopped getting information from the…
icecase
  • 23
  • 3
0
votes
0 answers

Accelerometer Bubble Level Back to Center

I'm attempting to build a bubble level application but am having issues with the bubble coming back to center when phone is on a flat surface. I believe something needs to be added to the onPause method. However, simply entering initial coordinates…
RUSKIED
  • 39
  • 1
  • 2
  • 8
0
votes
1 answer

Use accelerometer values to control FPS on PC?

If I was running a FPS like counter-strike on my PC would it be possible to have the phone (connected to the PC via WiFi/Bluetooth) act as the mouse and control the character's looking direction? For example, the player stands up in front of his…
James
  • 1
0
votes
0 answers

Accelerometer Uncalibrated gives different values when also registering to Gyro Uncalibrated

I found out the weirdest thing. I'm dumping SensorEvent.values[2] to the console and when I'm just registered to the Uncalibrated Accelerometer this hovers / averages around 9.84 (slightly off on this phone). But when I also register to the…
HerbertV
  • 113
  • 6
0
votes
1 answer

How to pass a variable sized array to TensorFlow Lite model

I am trying to find how I can pass a dynamic-sized array (not fixed size) into my TensorFlow. I am building an Android App to read Accelerometer values and predict an activity. I have built a TensorFlow model and am able to successfully import…
SyncMaster
  • 9,754
  • 34
  • 94
  • 137
0
votes
0 answers

How smartphone read accelerometer when togglw switch on in Flutter?

I make app to read accelerometer but I have difficult to read accelerometer sensor log. Anyway, I used toggle switch. The problem is when I turned on toggle switch, the accelerometer only read once not my trial before by used button component. These…
0
votes
0 answers

unable to configure FF_MT_CFG register from MMA8452QR1 accelerometer

I am using MMA8452QR1 with STM32 and, for communication, the I2C protocol is used. I am trying to get the motion detection of accelerometer. But while configuring a register FF_MT_CFG (0x15) = 0xD8;, it did not write that value but instead of that,…
pranal
  • 1
  • 1
0
votes
1 answer

ADXL375Z Shock Threshold False Triggering

I am working on ADXL375 and interfacing it with Arduino UNO using I2C protocol. I get the values of X, Y, Z axis as mentioned in the datasheet, i.e., when placed horizontally I get x=0g, y=0g, z=1g(approx. calibrated). I have enabled trigger mode…
Diracx
  • 61
  • 10
1 2 3
99
100