Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

4-In-1 Orientation Sensor Stability

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.



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


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

I use the newest Ez-Software for Windows.



Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

AI Support Bot
Related Content
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
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...