Continuous Servo Movement Panel icon Continuous Servo Movement Panel Control two continuous servos for bidirectional robot movement with speed sliders, configurable ports/stop values, testing and brake/coast options. Try it →
Germany
YouTube
Asked — Edited
Resolved Resolved by Jeremie!

4-In-1 Orientation Sensor

today I wanna buy the ez-robot 4-in-1 Orientation Sensor. at the moment I use another MPU6050 and it works but there is a problem..

after two minutes EZ-Robot says:

Comm Err: System.IO.IOException System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a certain period, or established connection failed because connected host has failed to respond     at System.Net.Sockets.Socket.Receive (Byte [] buffer, Int32 offset, Int32 size, SocketFlags SocketFlags)     (offset byte [] buffer, Int32, Int32 size) at System.Net.Sockets.NetworkStream.Read     --- End of inner exception stack trace --- by System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) by System.IO.Stream.ReadByte() by EZ_B.EZB.(Int32 , Byte[] ) 29.04.2015 11:05 - BbytesToExpect: 14 29.04.2015 11:05 - ? Received: 29.04.2015 11:05 - Disconnected

..and crashes

I use:

ControlCommand("MPU6050", Init)

:loop

ControlCommand("MPU6050", RunOnce)

sleep(200)

goto(loop)

for the updating..

If I change the sleeping time to (1000) the EZ-Board crashes in 5 minutes.

Now I want to use your Original-Sensor and I must wait for it.. because I dont know is this a Software or Sensor-Prob. we will see. So actually I have a new question:

Can you post the script for JD to stand up If he's falling over ?

thanks a lot Smarty


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
Germany
YouTube
#9  

perfect, thank you :-)

Author Avatar
Germany
YouTube
#12  

@JustinRatliff

The EZ-Board is rebooting or freezing after a few minutes - but 10 minutes it works fine. I bought the original EZ-Robot Sensor last month and I hope it will be arriving at my home quickly.

I write an update after I get the new sensor

Author Avatar
Germany
YouTube
#13  

@JustinRatliff

now I have the original 4-in-1 Orientation Sensor and the same problem! the sensor is working a few minutes and then ez-robot cut the w-lan connection. the controller needs a restart. -.-

Author Avatar
United Kingdom
YouTube
#14  

@Smarty.

I know before you used a MPU6050. Below is the link for the MPU9150, 4 in 1 sensor. It mentions that there is a "JD with MPU9150 project" for this sensor in the EZ-Cloud. Hopefully it will help.

4 in 1 sensor tutorial