The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
I am to totally new to this Hardware electronics world. I am doing a project on Movement tracking machine. I have ordered the MPU 6050 8pin 3-axis accelerometer and 3 axis gyro scope. I have seen seen the code of Herduino but i am not getting how to include the MPU 6050 library to the code and execute it. I also don't know the connection with the netduino i have.
Please help me as soon as possible because i have submit this project in two weeks from now.
C:UsersKAMALDocumentsVisual Studio 2010ProjectsExampleAccelGyroSensorExampleGyroSensorExampleAccelGyroSensor.csproj : error : Unable to read the project file 'ExampleAccelGyroSensor.csproj'.
C:UsersKAMALDocumentsVisual Studio 2010ProjectsExampleAccelGyroSensorExampleGyroSensorExampleAccelGyroSensor.csproj(32,3): The imported project "C:Program FilesMSBuildMicrosoft.NET Micro Frameworkv4.2CSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Pin 12 of the MPU6050 is an Interrupt pin. The MPU6050 will signal when data is ready.
Writing values to 0x38 will control when this interrupt is signaled. The MPU6050 reference sheet contains more information on bitflags in this register.
Yes, I have it soldered and I am using it on a breadboard. The green led power light comes on so I know there is power.
I am using the solution provided by heroduino. I assume the initialization you're talking about is done through the constructor? I shouldn't have to do anything else beside running your code right?
If it is a bad board or a bad connection, I don't suppose there is a quick way to diagnose that is there? Short of pulling up the schematics and a testing the components with a multimeter?
[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]Thanks for all your help, I finally figured it out. I was using analog pins 4 and 5 for the clock and data lines. The Netduino Plus 2 has a SD and an SC line. I used those and all of a sudden the device started working![/color]
the elapsed time it is not necessary for filtering. For example you can progamming a attitude indicator with complemtary filtering without elapsed time.
What are you planing to do with this elapsed time?
sorry, but I have not understand the DMP completely. The Sensor have many options to configurate and I have here presented a tiny example code for the sensor.
If you want use the raw data from the sensor, deaktivate some setting in the initialisation. To Comment out the Gyro_Config (0x1B) and the Accel_Config (0x1C).
On the page 5 is a description what the DMP going to do.