4-in-1 Orientation Sensor Stability

 
#1

I have the 4-in-1 Orientation Sensor..

all works fine! but after a few minutes (2-30 minutes) (in different times)
the Ez-Boards are freezing..

I have tested two different ez-4 boards and three different MPU9150 and MPU6050.. the MPU9150 is from Ez-Robot.

____________________________

Error-Code:

Comm Err: System.IO.IOException: Unable to read data from the transport connection.
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at EZ_B.EZB.dkayPU5YDN(Int32 , Byte[] cmdData)
BbytesToExpect: 21
?
Received: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Disconnected

____________________________

It doesnt matter whether I use the standard scripts or another ..
Without an 4-in-1 Orientation Sensor-Script, the Board works without freezings .
*confused*

I use the newest Ez-Software for Windows.

cheers
Marty

#2

1) only one mpu can be used at the same time

2) do not modify the cable of the ezrobot mpu. If the cable is modified, the signal will corrupt and lock up the ezb

3) a damaged cable or connector will lock up the ezb with i2c

4) you did not mention code, so ensure there are proper delays between reads

5) what other i2c devices are connected? I2c is a very fragile protocol and can be easily knocked out of sync with poor wiring or unsheilded lengthy wires. For example, are there blinkm's connected during the test? http://www.ez-robot.com/Community/Forum/posts.aspx?threadId=9236&page=1

Check one of those and you're good to go.

To begin diagnosing s problem, always start from a basic example. In this case, remove all peripherals and just use the mpu to find the issue. Does that make sense? Process of elimination...