Accelerometer Issues


#1

Hi. I’m using the 3-axis gyrosensor. It’s mounted to the mbot with the white square on the connector pointing up, and is plugged into port 1 of the arduino board. I wrote a simple program, a loop that reads the x, y and z axis into variables. The problem is that all of the variables have the exact same values, they jump between 0 and large negative values, and moving the mbot in different directions doesn’t seem to effect it. Is the sensor mounted correctly, and is there some trick to getting this to work?


#2

look at my postings with a similar problem with the gyro. I have to use a piece of cardboard as a barrier.
http://forum.makeblock.com/t/robotic-arm-and-gyro-with-encoder-motor/10423

This is a good background on the sensor
http://forum.makeblock.com/t/megyro-module-general-introduction-to-gyros/3340


#3