Dear Forum, and especially member MEMRAN,
I’ve an MPU6050 (ITG-PMU) that works with an Arduino, even as a compass.
BUT: I’m not an Arduino fan and I only used the Arduino to test the MPU6050. To this end I borrowed the info on the site http://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/ and the program made by Jeff Rowberg, referred to on that site. As said, the MPU6050 works well.
In an attempt to use the 6050 with the good old reliable and easy to program Picaxe I found Memran’s Picaxe program for MPU6050 (in a 2013 response to Rocketdoc’s question).
Thus, I’ve connected the 6050 to a Picaxe 28X8 (not connecting the Interrupt line as was done in the Arduino) and downloaded Memran’s program without any changes.
As far as I can see, the program should work OK, even without the interrupt line, but it doesn’t. It responds to a certain extent to changes in the position of the 6050 so in that respect it works, but the results I get are extremely variable, both for the gyro readout as for the accelerometer readout.
I tried to figure out if the right registers are addressed, but according to Invensense’s datasheet MPU-6000 and MPU-6050 Register Map and Descriptions Revision 4.2 (Invensense produces 6050 but I’m not sure that my ITG-MPU was made by them) the addresses are OK.
Is there anyone on the Forum who experimented with the 6050 and got better results than I do?
Thanks in advance,
Ronald
I’ve an MPU6050 (ITG-PMU) that works with an Arduino, even as a compass.
BUT: I’m not an Arduino fan and I only used the Arduino to test the MPU6050. To this end I borrowed the info on the site http://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/ and the program made by Jeff Rowberg, referred to on that site. As said, the MPU6050 works well.
In an attempt to use the 6050 with the good old reliable and easy to program Picaxe I found Memran’s Picaxe program for MPU6050 (in a 2013 response to Rocketdoc’s question).
Thus, I’ve connected the 6050 to a Picaxe 28X8 (not connecting the Interrupt line as was done in the Arduino) and downloaded Memran’s program without any changes.
As far as I can see, the program should work OK, even without the interrupt line, but it doesn’t. It responds to a certain extent to changes in the position of the 6050 so in that respect it works, but the results I get are extremely variable, both for the gyro readout as for the accelerometer readout.
I tried to figure out if the right registers are addressed, but according to Invensense’s datasheet MPU-6000 and MPU-6050 Register Map and Descriptions Revision 4.2 (Invensense produces 6050 but I’m not sure that my ITG-MPU was made by them) the addresses are OK.
Is there anyone on the Forum who experimented with the 6050 and got better results than I do?
Thanks in advance,
Ronald