michael_s 5 Posted December 26, 2012 Share Posted December 26, 2012 (edited) Hello all ! If some one need code example how to work with MPU6050 check this Edited January 14, 2013 by bluehash chopc, dggraham, bluehash and 2 others 5 Quote Link to post Share on other sites
bluehash 1,581 Posted December 26, 2012 Share Posted December 26, 2012 Hello all ! If some one need code example how to work with MPU6050 check this Thanks for sharing Michael and welcome to 43oh! Could you also cross-post this to http://forum.stellarisiti.com/forum/64-energia-libraries/ Quote Link to post Share on other sites
chopc 0 Posted December 26, 2012 Share Posted December 26, 2012 Hello all ! If some one need code example how to work with MPU6050 check this Excellent works well , thanks for sharing Quote Link to post Share on other sites
Alexander 0 Posted March 27, 2013 Share Posted March 27, 2013 @@michael_s I try coonect my msp430 to mpu6050 but have some problems: 1. I can't see wich pins used to connect to mpu6050 at the photo which you publish 2. When I try compile source code (Energia 0101E0009) I have Error compiling: sketch_mar27a.cpp:3:20: fatal error: I2Cdev.h: No such file or directory compilation terminated. Help me please! Quote Link to post Share on other sites
santhosh 0 Posted June 11, 2013 Share Posted June 11, 2013 I too have a problem. I run the program but it says that MPU6050 not connected... Quote Link to post Share on other sites
michael_s 5 Posted June 20, 2013 Author Share Posted June 20, 2013 @@michael_s I try coonect my msp430 to mpu6050 but have some problems: 1. I can't see wich pins used to connect to mpu6050 at the photo which you publish 2. When I try compile source code (Energia 0101E0009) I have Error compiling: sketch_mar27a.cpp:3:20: fatal error: I2Cdev.h: No such file or directory compilation terminated. Help me please! You need to extract libraryies from archive https://launchpad-stellaris-energia.googlecode.com/files/libraries.zip to your libraries folder of your stellaris launchpad energia ide. Quote Link to post Share on other sites
michael_s 5 Posted June 20, 2013 Author Share Posted June 20, 2013 I too have a problem. I run the program but it says that MPU6050 not connected... Stellaris launchpad has many i2c ports. Use I2C Port 3(PD0 = SCL ,PD1 = SDA) (see http://www.energia.nu/Guide_StellarisLaunchPad.html) if u have problems write to msucko@gmail.com Quote Link to post Share on other sites
energia 484 Posted June 23, 2013 Share Posted June 23, 2013 Awesome! Thanks for sharing. Can you post the zip file in your original post here as well for convenience? Quote Link to post Share on other sites
qinkaiabc 0 Posted August 11, 2013 Share Posted August 11, 2013 nice!thank you! Quote Link to post Share on other sites
killater 0 Posted November 24, 2013 Share Posted November 24, 2013 HI! Is there any easy way to post this library to use with msp430g2553 instead of stellaris? When I try to compile code from examples I got this error message: "fatal error: inc/hw_memmap.h: No such file or directory compilation terminated." Quote Link to post Share on other sites
WETErok 0 Posted March 10, 2014 Share Posted March 10, 2014 Hi ! I am trying coonect my LM4F120XL and GY-521. but got garbage data. I2C Scanner 127 device found. I changed scanner the code for Energia and GY-521. and run sketch http://playground.arduino.cc/Main/MPU-6050#sketch it works. sketch my I2c scanner. Quote Link to post Share on other sites
Rei Vilo 695 Posted March 10, 2014 Share Posted March 10, 2014 Do you plan to extend the library to take advantage of the built-in MPU6050 Digital Motion Processor? The MPU-6000/6050 devices combine a 3-axis gyroscope and a 3-axis accelerometer on the same silicon die together with an onboard Digital Motion Processor Quote Link to post Share on other sites
tnnhan93 0 Posted April 18, 2014 Share Posted April 18, 2014 Hello all ! If some one need code example how to work with MPU6050 check this I appreciate your works, but I got a problem with the avr/pgmspace.h when applying this code to my msp430g2553 via energia. As far as I know, avr/pgmspace.h belongs to arduino ide's set up folder. I am tired of looking for avr/pgmspace.h file on the Internet. Could you please help me to figure it out? Quote Link to post Share on other sites
spirilis 1,265 Posted April 18, 2014 Share Posted April 18, 2014 I appreciate your works, but I got a problem with the avr/pgmspace.h when applying this code to my msp430g2553 via energia. As far as I know, avr/pgmspace.h belongs to arduino ide's set up folder. I am tired of looking for avr/pgmspace.h file on the Internet. Could you please help me to figure it out?It won't be necessary on the MSP430 platform and there's a high probability that library will need careful effort porting it to get it out of the paradigm of Atmel AVR's PROGMEM & pgm_* API and into the world of declaring in-flash data as "const" along with using direct C references against the data.(One very important reason I don't play with Arduino and Atmel AVR anymore...) tnnhan93 1 Quote Link to post Share on other sites
Rickta59 589 Posted April 18, 2014 Share Posted April 18, 2014 http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html tnnhan93 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.