Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

I have copied here a piece of code from Nordic_nRF_Connect_SDK\v2.4.2\zephyr\arch\common\ramfunc.ld As some background info: memory sections used for MPU needs to meet following: section start ...
pasu's user avatar
  • 1
0 votes
0 answers
70 views

Is it possible the Cortex M MPU to disable write access to its own registers for privileged code. I want to setup the MPU once and disable MPU modifications forever. This will prevent someone to ...
momchil uzunov's user avatar
1 vote
0 answers
220 views

I am trying to use the MPU in an ARM Cortex-M4 device. The device was running without MPU and was in privileged mode. When I enable the MPU and try to switch to unprivileged mode there is a hard fault ...
Xiao Wang's user avatar
1 vote
0 answers
118 views

I'm working on a project that uses Zephyr on a Nordic nRF52840 ARM CortexM. In the build they have the C NULL pointer exception protection enabled with: CONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y ...
gulchrider's user avatar
  • 4,334
0 votes
1 answer
2k views

I am currently using a ESP-32s WROOM dev board v1.1 as a control module. I have connected this to a MPU9250/6500 as an IMU, using the following connections: As code for the ESP-32s WROOM dev board v1....
redib's user avatar
  • 23
0 votes
0 answers
143 views

I'm trying to debug a firmware in production mode using STM32cudeIDE, running on the cortex M4 on the stm32MP157F. When debugger starts it seems g_pfnVectors isn't properly created. When I stops ...
Juan Pablo Toro Arenas's user avatar
0 votes
1 answer
209 views

I am using FreeRTOS 10.5.1 with MPU support on a Cortex M4 microcontroller (STM32F4). I created some tasks (all privileged -> portPRIVILEGE_BIT set) and my system is running fine. Now I tested ...
mostrich's user avatar
1 vote
1 answer
775 views

I'm learning RISC V Assembly language, and I have been going through some code (I like to see practical examples of how others do their coding). I found an odd Assembler directive in the startup code ...
user avatar
2 votes
2 answers
872 views

I'm using Arduino UNO and I2C protocol to read data from MPU 9250 in arduino IDE. But the sampling rate is lower than the one I selected, indeed, I try to use 1KHz but the maximum speed I can reach is ...
VITTORIA ATTOLINI's user avatar
1 vote
0 answers
768 views

I am trying to build a 3D FPS game in unity. A friend of mine bought a (replica) gun and modified it to add an ESP32 and an MPU-9250 gyroscope/accelerometer in it to track and send the rotation of the ...
Kostas Letros's user avatar
0 votes
1 answer
3k views

I want to protect an OS_Task using MPU in Vector AUTOSAR Conguration Tool. How can I do?
Doveal's user avatar
  • 21
0 votes
0 answers
69 views

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 ...
Samu Németh's user avatar
2 votes
3 answers
3k views

I am trying to upload a PDF file to AWS S3 using multi part uploads. However, when I send the PUT request for uploading the part, I receive a SignatureDoesNotMatch error. <Error><Code>...
Rachit Anand's user avatar
1 vote
0 answers
685 views

I'm now working with mpu9250 for my master thesis, but I'm quite new to hardware device. My goal is to collect the data at the sample rate and postprocess these data via allan deviation. So I just ...
段永旭's user avatar
1 vote
1 answer
1k views

I am using a complementary filter for my gyro X and gyro Y values: float angle_x = alpha*gyro_angle_x + (1.0 - alpha)*accel_angle_x; However, due to Gyro Z drift, I am using a magnetometer to try ...
savs apps's user avatar
0 votes
0 answers
679 views

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=...
goose's user avatar
  • 111
1 vote
1 answer
3k views

Does anyone know how the MPU6050 internally calculates the quaternion values? I followed all of the steps to attempt and replicate this math by integrating the gyro degrees per second readings over ...
GNG's user avatar
  • 1,621
0 votes
0 answers
749 views

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. ...
jxgn's user avatar
  • 821
1 vote
2 answers
625 views

I'm trying to read out MPU data on an HTML website. I'm using MQTT for the connection and an ESP8266 to send the data. This works pretty good, but my problem is that the esp is just sending byte ...
Lennard's user avatar
  • 25
1 vote
0 answers
2k views

I'm having difficulties configuring my MPU-6500. I'm not sure how to calibrate it to get accurate readings as I am still very new to this. I am using the MPU-6500 with my Arduino Uno. Below is the ...
Arcadian's user avatar
1 vote
0 answers
501 views

I'm working with a MPU9250 to control a 3D position. I have an object that can rotate in 3 axis ( Roll, Pitch and Yaw) but I found some problems. Initially I tried to calculate Euler Angles from ...
Luca's user avatar
  • 11
0 votes
1 answer
2k views

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 ...
Mateusz B's user avatar
1 vote
1 answer
3k views

what does wire.read()<<8|wire.read() do? while(Wire.available() < 14); until all the bytes are received acc_x = Wire.read()<<8|Wire.read(); ...
MrDeepak's user avatar
0 votes
0 answers
676 views

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 = ((...
Aishwarya royal's user avatar
-2 votes
1 answer
183 views

I want to know what sensitivity I am working with on an mpu 9150 (+ Raspberry PI). this is the library I am using: linux-mpu9150 mpu 9150 page I want the accelerometer to have more sensitivity(so ...
art's user avatar
  • 3
0 votes
1 answer
2k views

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 ...
Sad egg's user avatar
  • 99
1 vote
1 answer
151 views

I'm using the MPU6050 library by Jeff Rowberg. In the code, whole fifobuffer is not passed to the 'teapotPacket' array (for processing ,i.e, graphics emulation). Why only certain indexes are passed in ...
Rohit Lal's user avatar
  • 3,439
0 votes
2 answers
1k views

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 ...
user3554669's user avatar
0 votes
0 answers
317 views

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 ...
Aishwarya royal's user avatar
1 vote
0 answers
48 views

We tried (Arduino+mpu9150) using gestures LEFT-NORMAL-RIGHT, UP-NORMAL-RIGHT. We can able to get these gestures, but not accurately. Its HANGING in middle, and sometimes values are also Incorrect. ...
Aishwarya royal's user avatar
1 vote
1 answer
926 views

Please kindly help me to learn I can get acceleration values using below code #ifdef OUTPUT_READABLE_REALACCEL //display real acceleration, adjusted to remove gravity mpu....
Rakesh Indla's user avatar
0 votes
1 answer
380 views

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 ...
Martacus's user avatar
  • 725
1 vote
0 answers
3k views

I have a problem in performance (scanning speed) with my Pi and the MPU6050. The task of the code is to log the data from the MPU as fast as possible and in an accurate interval. To reach a high ...
japi90's user avatar
  • 11
2 votes
0 answers
859 views

I'm running into an odd issue with a motion control processor (MPU 6050 / 9150) that is returning raw gyroscope values as specified between the -/+ 32768 which in the way this gyro is configured ...
Kevin R.'s user avatar
  • 346
0 votes
1 answer
9k views

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 ...
ios198's user avatar
  • 37
1 vote
0 answers
420 views

I am working on mpu9150 sensors data (3 axial acceleration, 3 axial magnetic field and 3 axial gyroscope data). I have raw data in my database called, influxDB. I want to detect (monitor) steps and ...
info_tech's user avatar
1 vote
1 answer
2k views

I faced a serious problem yesterday. I am trying to find absolute position of an object using MPU9150. It has gyroscope, accelerometer and magnetometer. Each of them providing information in 3 axises(...
Kamen Stoykov's user avatar
1 vote
0 answers
6k views

I am trying to calculate yaw pitch and roll for my Quadcopter project. I have taken the code from Here. I have been succeeded in calculating roll and pitch in degrees and applying complimentary ...
Ahsan Raza's user avatar
0 votes
1 answer
1k views

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 https://github.com/jrowberg/...
54272115's user avatar
4 votes
0 answers
3k views

I'm trying to use the dmp to calculate quaternions. I can't understand how to get the dmp data output. I think that they are stored in some registers reachable using i2c but i don't know their address ...
Enrico Gizzi's user avatar
0 votes
1 answer
1k views

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 ...
yoshi's user avatar
  • 3
3 votes
2 answers
16k views

I'm trying to read yaw, pitch and roll with MPU6050 and Arduino, but I always get overflow, if I use the function yprx() in the loop without waiting for any input I get the correct values, the problem ...
Mitro's user avatar
  • 1,260
1 vote
0 answers
165 views

I am trying to get accelerometer data from mpu9150 and pass it to android for screen rotation. My initialization is as follows: Reset Mpu9150 Clear sleep bit Set Sample Rate Divider to 7 (for 1KHz) ...
Thella Shyam Kumar's user avatar
6 votes
2 answers
18k views

I'm trying to code for XMC1100 based development board. I'm trying this tutorial : http://eleceng.dit.ie/frank/arm/BareMetalXMC2Go/index.html I have downloaded the blinky.tar.gz file and unzipped. ...
fobus's user avatar
  • 2,088
0 votes
1 answer
1k views

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 ...
keivan's user avatar
  • 29
0 votes
1 answer
564 views

This is my code: #include <Wire.h> #include <I2Cdev.h> #include <HMC5883L.h> #include <MPU6050.h> #include "Arduino.h" void setup(); void loop(); MPU6050 accelgyro; HMC5883L ...
deciding's user avatar
1 vote
0 answers
454 views

I am trying to get RAW acceleration and gyroscope data from the Google Glass IMU module. I tried aSensormanager module in the NDK, but it sometimes gives output with some wierd bias adjustment. So I ...
Mrinal Paul's user avatar
0 votes
1 answer
4k views

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 ...
user3825537's user avatar
1 vote
3 answers
6k views

I was reading the data from an MPU-6050 inertial measurement unit, using I2C, from an arduino at a sample rate of 25Hz and it worked fine. Then I added a second MPU-6050 that I also read at a sample ...
Vulpo's user avatar
  • 903
0 votes
1 answer
204 views

I am having trouble using the MPU 6050 DMP with my Arduino Fio. I have been using the code provided by https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050 and I am having a really tricky ...
user3366197's user avatar