Tag for "Micro-processor unit", smaller MCU/SOC. Generally a bad tag. Suggest [embedded]. For an ARM memory protection unit, use [arm-mpu].
Questions tagged [mpu]
48 questions
0
votes
0 answers
Large capacity, SPI storage for PIC12f1840?
I'm using a PIC12F1840 chip with an MPU9250 accelerometer to collect movement data. I'm currently using a 1Kb, SPI RAM chip, but it gets full quite quickly, and there is also data loss while trying to read the data from it (due to the RAM's need for…

Samu Nemeth
- 393
- 1
- 3
- 16
0
votes
0 answers
Quaternion to degrees MPU9250
I use the library https://www.google.com/url?sa=t&source=web&rct=j&url=https://github.com/arduino-libraries/MadgwickAHRS&ved=2ahUKEwiGrpOakcvjAhWOlIsKHXsQD_EQFjAAegQIBRAB&usg=AOvVaw3198y6BzSifkJqTH8BGy8M I get the data from mpu9250, the Raspberry…

goose
- 109
- 1
- 10
0
votes
0 answers
How to correct the drift in MPU9250 IMU using DMP MotionApps v4.1
I'm trying to provide a visual orientation of a device in 3D using Qt. For this,I have integrated the DMP MotionApps v4.1 for a MPU9250 and obtained the Quaternion values from the MPU's FIFO register. This works perfectly fine. But when the device…

jxgn
- 741
- 2
- 15
- 36
0
votes
1 answer
No data from magnetometer on MPU9255
I have a problem with reading data from the magnetometer on an MPU9255. The accelerometer and gyroscope work properly, but I do not receive any data from the magnetometer. I am working on the STM32F103 target.
Has anyone any idea what is wrong with…

Mateusz B
- 13
- 2
0
votes
0 answers
how to remove gravity from real accelaration 3-axis?
I wanted to remove gravity from my 3-axis data, Please help me fixing it.
mpu9250_read_accel(&AccValue);
AX = ((AccValue.x *9800)/(16384));
AY = ((AccValue.y *9800)/(16384));
AZ = ((AccValue.z…

Aishwarya royal
- 31
- 6
0
votes
1 answer
Improved calculation of Tilt and Roll angles for an accelerometer and gyroscope
I'm developing a 2axis gyro-stabilized Gibmbal. I use a 10DOF sensor :
MPU6050 (gyro & accelerometer)
HMC5983 (magnetometer)
MS5611-01BA (altimeter)
I've already calculeted the tilt and roll angles by THIS method
//Roll & Pitch Equations
roll =…

Sad egg
- 79
- 1
- 9
0
votes
2 answers
Can I cancel out gravity only with gyro and magnetometer?
On a device I want to detect a range of forces: small forces (Minimum around 0.01g) but also stronger forces like 0.1g - 0.15g.
This device will have different positions in 3d space so in order to detect the small forces I have to know its angle in…

user3554669
- 11
- 4
0
votes
0 answers
Why mpu 9150 yaw values are not accurate?
Downloaded MPU library from https://github.com/jrowberg/i2cdevlib.
I graphed yaw values and its not accurate.
The graph has kept increasing,I don't think it's a right way.
Please check the below graph.

Aishwarya royal
- 31
- 6
0
votes
1 answer
Getting/Processing the right values U get from the MPU-6050 with Arduino Due
for my project for school that decides if I pass this year or not I have to work with an MPU-6050 and an Arduino Due. The MPU works via I2C and ive got that part working. I can get values and its linked. But there is one problem, with my code it…

Martacus
- 723
- 6
- 23
0
votes
1 answer
How to get position in 3D cordinates using mpu 6050?
I am working in a project using MPU6050 with my designed chip to detect object movement.
Project is divided into 2 phases:
Phase I: visualize object orientation (DONE)
Phase II: visualize object position in 3D cordinates with gyroscope and…

ios198
- 37
- 1
- 9
0
votes
1 answer
SI Unit of acceleration in JRowberg's MPU6050 library
I can't find the or don't really get what SI unit the values will have.
It's the acceleration component with gravity removed and adjusted for the world frame.
line 109 in…

54272115
- 1
- 4
0
votes
1 answer
Powering MPU-6050 with Arduino digital pins
I have been trying to use MPU-6050 (specifically GY-521) with an Arduino Nano v3.0 but am not getting any readings when I try to power the MPU-6050 with the VCC and GND hooked up to digital pins on the Arduino.
When I have VCC and GND hooked to the…

yoshi
- 3
- 3
0
votes
1 answer
Get static values from MPU6050 DMP
I have a problem in getting clear and not jumping values from MPU9050 DMP. I used Jeff Rowberg's code. The problem is when I use the code all is perfect, YPR is very smooth. But when I use that in my program with delay I have jumping values over…

keivan
- 29
- 2
- 9
0
votes
1 answer
Error when building project using Atmel Studio 6, for Atmega2560(with HMC5883L, MPU6050 and I2Cdev libararies)
This is my code:
#include
#include
#include
#include
#include "Arduino.h"
void setup();
void loop();
MPU6050 accelgyro;
HMC5883L mag;
int16_t mx, my, mz;
void setup() {
Wire.begin();
…

deciding
- 1
0
votes
1 answer
issues accessing magnetometer data from MPU9150
Output: -What I am getting is 0xFF on reading every register (corresponding to magnetometer). On the other hand I am able to access the registers of the accelerometer and the gyroscope perfectly. I have initialized the system with i2c master mode…

user3825537
- 1
- 1
- 2