Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Random Values #2

Open
JoaquinEduardoArreguez opened this issue Oct 5, 2020 · 4 comments
Open

Getting Random Values #2

JoaquinEduardoArreguez opened this issue Oct 5, 2020 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@JoaquinEduardoArreguez
Copy link

Hi! First of all, thanks for this library!
But I am having issues with it:
With the sensor standing still , when I use MPU6050_Read_All I am getting random values that repeat over time without a noticeable pattern.
With MPU standing still, the values read vary between positive and negative values in all Acc and Giro values. Havent tried yet temperature and Kalman values.
Any Ideas about what could be causing this issue??

Thanks in advance!

@leech001
Copy link
Owner

leech001 commented Oct 5, 2020

Hi. I can only make the following assumptions:

  1. Check the power supply, the module should come to +5V. Since the module itself has a downgrading LDO to 3.3V;
  2. Try to put additional pull-up resistors parallel to the SDA and SLC buses.
  3. Reduce the length of I2c bus wires if possible;
  4. Try to read values on a clean project without any FreeRTOS or other.

P.S. If nothing helps, try interviewing the sensor using the Arduino libraries to localize the problem in software or hardware.

@anasvag575
Copy link

Not exactly an issue, but why the use of Accel_Z_corrector = 14418 , instead of 16384.
Because if we use that value, if left parallel to a table (face up), we should get values of (about 0, about 0, close to 1), for the ACC.
In my case i get a value of 1.27 and generally the Z axis reposponds sometimes not so good.
So all in all what I'm asking, the correction value is an issue with the module in general or yours in particular?

BTW, really good and simple driver for the module, worked on the first try.
Thanks a lot!

@JoaquinEduardoArreguez
Copy link
Author

Hi! thanks for the quick reply!! I just made some changes, and I am now getting correct values (I think). As @anasvag575 noticed, Az value is around +1.2 , shouldn't it be closer to 1? I have the same question
the correction value is an issue with the module in general or yours in particular?

Giro values are:
Gx: between +0.6 and +0.8
Gy: between -2.6 and -3.1
Gz: between -0.6 and -0.9

Values become super noisy even when you move it carefully to get usefull data

Is there a recomended calibration method?

@leech001 leech001 added the question Further information is requested label Aug 7, 2021
@iamnarendrans
Copy link

While reading the data, Live expression freeze, I am thinking that, the data got stop on reading.

What would be the issue, any idea on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants