Problems with MeOrion and Makeblock compass


#1

Hello community, hell makeblock team!

I have problems with the makeblock compass at a MeOrion board (Robot starter kit). I use arduino IDE not mblock (Scratch). When I load the example programm of arduino library nr. 2.0 or the latest vers. 3.0 the blue LED of compass module is bright (doesn’t flash) and the Serial Monitor Shows "Initializing I2C devices…"
Nothing else happens then. I used it on port4.
The compass module works fine with my original arduino uno and the example programm for HMC5883L. So the module is o.k.
Can you help me to run the compass module on my Robot?

Best regards,

Sigtrygg


#2

Is there anybody, who use a mblock compass, too?
Does it work? And if yes, which library do you use for Arduino?

Maybe the controlling of I2C devices doesn’t work correct. Is it possible, that something is wrong with the API?

Bye,

Sigtrygg


#3

Hello community and Makeblock team!

I have solved my problem with the compass by my own, now!
You have to switch off the Buzzer on the MeOrion Board!
I got it, because I took a look at the MeOrion.h
In the last row there is wirtten: "#define buzzerOn() pinMode(SCL,OUTPUT),digitalWrite(SCL, HIGH)"
I think that the problem is, that every I2C module must use the SCL (Serial clock line) but this is set to high for the buzzer!!!

Hope, i could help you guys!

Bye,

Sigtrygg


#4

Thanks. I was using the compass and gyro and could not figure out why the buzzer would not stop after the begin().


#5