I am trying to set my MPU-6050 sensor to work on my Arduino UNO with XBee via Wireless SD Shield and Xbee.
Sensor works fine if connected directly to Arduino. i can see on serial monitor all the values listed.
But, if I use wireless SD shield between sensor and arduino, i get only zeros.
Same pins are used, different sketches, switch position also considered.
Just putting a wireless shield, with nothing on it, between the Arduino and the MPU should not affect the Arduino's ability to get data from the MPU.
Of course, if you have something on the wireless shield, that's a different story.
I'm not really into guessing games. I don't care to guess what your code looks like. I don't care to guess what kind of XBees you have. I don't care to guess how they are configured.
Strangely, it doesn't work with only empty shield.
I tried both positions of little serial select switch on the shield itself (USB - Micro) no result.
so without any Xbee, and using unchanged code from http://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/
mpu6050 returns values if used without shield and doesn't return values if used through shild.
if am wondering why could that be.
this shield i use:
It could be something out of my reach, just after several hours of plugging in and out, things started working as they supposed to.
Now arduino UNO, shield and xbee and MPU-6050, are sending fairly accurately data to my Max patch, via another xbee and arduino connected to my computer.