Garbage output using Sparkfun's SEN-10183 and FreeIMU library

Asked by Pulkit

Hi

I am using Sparkfun's SEN-10183 and i am getting garbage output with FreeIMU yaw-pitch-roll and quaternion sketches.
As mentioned on the website i made the following two changes:
1. Uncommented the #define for SEN10183 in FreeIMU.h
2. Un-commented the #def ISHMC5843 in HMC58X3.h

Is this sensor stick not supported in the newer version of the library (i have the latest version) or this is some other known issue.

Looking forward to some comments,

Thanks,

P

Question information

Language:
English Edit question
Status:
Answered
For:
FreeIMU Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabio Varesano (fabio-varesano) said :
#1

Would you please describe the kind of bad outputs are you getting?

Revision history for this message
Pulkit (virtualguru) said :
#2

The values seem random.
The cube processing sketch shows the cube rotating about all three axis rapidly.

This is the serial output. If this doesn't help, i can post a video of the cube sketch.

#YPR=58.13,-22.40,65.91
#YPR=63.79,-47.25,42.64
#YPR=49.04,-72.31,17.62
#YPR=-40.45,-81.61,-7.89
#YPR=-50.97,-56.60,-33.38
#YPR=-44.99,-31.49,-58.27
#YPR=-35.20,-6.73,-78.12
#YPR=-23.75,17.29,-65.77
#YPR=-11.38,39.98,-41.57
#YPR=1.39,57.98,-16.38
#YPR=14.19,60.52,9.00
#YPR=26.62,44.94,34.14
#YPR=38.40,22.94,58.37
#YPR=49.14,-0.87,75.94
#YPR=57.96,-25.32,63.49
#YPR=61.81,-50.23,39.73
#YPR=38.18,-75.27,14.56
#YPR=-40.88,-78.53,-11.04
#YPR=-48.80,-53.38,-36.60
#YPR=-42.83,-28.29,-61.39
#YPR=-33.14,-3.58,-79.12
#YPR=-21.78,20.39,-62.97
#YPR=-9.51,42.84,-38.45
#YPR=3.06,59.73,-13.27
#YPR=15.64,59.62,12.14
#YPR=27.88,42.52,37.36
#YPR=39.34,20.08,61.41
#YPR=49.60,-3.89,76.53
#YPR=57.56,-28.41,60.79
#YPR=59.17,-53.37,36.62
#YPR=25.83,-78.36,11.31
#YPR=-40.74,-75.30,-14.32
#YPR=-46.68,-50.12,-39.87
#YPR=-40.70,-25.06,-64.52
#YPR=-31.10,-0.40,-79.20
#YPR=-19.85,23.48,-60.10
#YPR=-7.71,45.63,-35.33
#YPR=4.74,61.28,-10.01
#YPR=17.15,58.35,15.41
#YPR=29.12,39.95,40.62
#YPR=40.24,17.14,64.44
#YPR=49.96,-6.95,76.33
#YPR=56.94,-31.54,57.94
#YPR=55.86,-56.51,33.49
#YPR=13.82,-81.25,8.11
#YPR=-40.45,-72.21,-17.44
#YPR=-44.76,-46.99,-43.00
#YPR=-38.70,-21.96,-67.47
#YPR=-29.16,2.67,-78.36
#YPR=-18.00,26.45,-57.22
#YPR=-5.99,48.26,-32.30
#YPR=6.33,62.45,-6.90
#YPR=18.46,56.93,18.41
#YPR=30.19,37.54,43.60
#YPR=40.95,14.47,67.09
#YPR=50.15,-9.76,75.47
#YPR=56.09,-34.43,55.24
#YPR=52.07,-59.44,30.55
#YPR=4.18,-83.70,5.08

Revision history for this message
Pulkit (virtualguru) said :
#3

The above values were when the IMU was lying still on the desk.

Revision history for this message
Fabio Varesano (fabio-varesano) said :
#4

Thanks, would you please post the output of FreeIMU_raw sketch?

Revision history for this message
tombuler (greenplanet678) said (last edit ):
#5

It's possible the sensor stick isn't fully supported in the latest library version. Check for updates or consult community forums for solutions. Ensure proper waste disposal of outdated components see more details at https://greenplanethauling.com/

Can you help with this problem?

Provide an answer of your own, or ask Pulkit for more information if necessary.

To post a message you must log in.