Compatibility with small arduino boards and gyroscope modules.

Hi!

Im planning school project and i got two questions.

  1. Does anyone know whether Arduino Micro and SparkFun MPU-6050 gyro/accelerometer module are compatible?

Arduino Micro is 8-bit and SparkFun MPU-6050 is 16-bit.

At least both of them support I2C communication. (SDA,SCL)

SparkFun module would be connected to 3.3v pin on Micro because it is 3.3v module.

  1. What about Arduino Mini and Seeed Grove ITG-3200 gyroscope module? Will they work?

Both works with 5V and I2C, but does it matter if that bitrate/bandwidth is different?

Is open source electronics generally compatible?

Thanks already in advance!

Arduino Micro is 8-bit and SparkFun MPU-6050 is 16-bit.

The two specifications mean totally different things. The Micro has an 8 bit data bus. The MPU data output is 16 bits. It just means that to read a MPU the Micro has to transfer 2 8 bit words. Look at any example code that reads a MPU.

If they are both 3.3V then they can be interfaced, directly, via the I2C bus. If one does need to interface via I2C two different bus voltages, level shifters are easy to implement.

does it matter if that bitrate/bandwidth is different?

What do you mean by that? If they are both 5V and I2C they should work together. The only bitrate that is relevant, here, is the I2C clock (SCL).

Is open source electronics generally compatible?

That is such an open question that the answer has to be, maybe. The only way to insure compatibility is to carefully study the specifications.

Hi,

Jomb:

  1. Does anyone know whether Arduino Micro and SparkFun MPU-6050 gyro/accelerometer module are compatible?
  2. What about Arduino Mini and Seeed Grove ITG-3200 gyroscope module? Will they work?
  1. Yes
  2. Yes

Note that the ITG-3200 is a gyro only, the MPU-6050 is an accelerometer and gyro

This might be of interest: Arduino Playground - HomePage

Yours,
TonyWilk

Thanks a lot for the answers!

Good to know that they will work.

groundFungus I did mean this 8/16 bit difference.

groundFungus:
The Micro has an 8 bit data bus. The MPU data output is 16 bits. It just means that to read a MPU the Micro has to transfer 2 8 bit words.

Is that bit transfer any kind of problem? Have to do something with code/libraries?

Is that bit transfer any kind of problem? Have to do something with code/libraries?

No, none. You just do 2 reads and reassemble the 2 bytes back into an int (16 bits). Look at any of the examples for reading the sensor to see how. Some libraries do it for you.