Germany
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.


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


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

PRO
Synthiam
#1  
  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? https://synthiam.com/Community/Questions/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...