NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Singapore Poly
Posts: 1
0 Kudos

9DOF project, how to use magnetometer raw data? and how to get yaw/roll/pitch after being processed by filter?

Hi, everyone

 

Sorry, I get some following problems here as below, and hope for help:

 

Question 1: I am now doing a project and need to simulate the action of the stuff intergated with a board developed by our team, with the acclermeter/gyro/compass sensors, we are now using the following two: MPU-6050 (accelemeter & gyro, https://www.sparkfun.com/products/11028) and HMC5883L (magnemeter, https://www.sparkfun.com/products/10530) from the famous sparkfun. So,  we already get the 9DOF raw data sent from the above two chips, but it's only raw data, and I think it should be processed firstly by such equotation: Rx = (AdcRx * Vref / 1023 – VzeroG) / Sensitivity from the ways in http://www.starlino.com/imu_guide.html to get the real three accelemeter value in XYZ, and gyro valu in three aspects respectively.

 

But, I don't know how to process the rawd data from magnemeter sensor, and how to use it?  

 

 

Question 2: I am wondering how I can get the yaw/roll/pitch three parameters resultes after the 6 array raw datas (accelemeter & gyro) are processed by some simple filter (for example: Complementary Filter, http://www.instructables.com/id/Guide-to-gyro-and-accelerometer-with-Arduino-inclu/)?

 

 

Question 3: Matlab Simulink is also suitable for simulation for the realtime 3D for 9DOF action? or LabView is better to use for this project?

 

Appreciate if anyone can help me to solve my problems above.

 

Jerry 

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page