USA
Asked — Edited

Communication

I need help. I'm trying to solve this comm issue for my son and keep striking out. I copied and pasted as much info as I've collected, but basically it connects and then disconnects if I try to do anything. It seems as the ezb4 forces the connection to close, but the computer connection still shows the connection active.

EZB 0: EZB 1: EZB 2: EZB 3: EZB 4: Screen Resolution: 1366x768 (96x96 dpi) Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.929577002 EZ-B temperature is 24.86635736682960576C Connected Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.956614040 EZ-B temperature is 25.02440624839843800C Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.875502926 EZ-B temperature is 24.86635736682960576C Disconnected Speech Recognition Culture: en-US Loaded speech recognition successfully Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.848465888 EZ-B temperature is 25.07708920892138208C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 ?Z Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.856190756 EZ-B temperature is 25.12977216944432616C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 ?[ Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.867778058 EZ-B temperature is 25.15611364970579820C Connected Connection Failed: System.Exception: Already connected. at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.856190756 EZ-B temperature is 25.26147957075168636C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 ?Z Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.778942076 EZ-B temperature is 25.10343068918285412C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 '?Z(?)?? ,?Z+?Z Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.925714568 EZ-B temperature is 24.62928404447635740C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 '?Z(?)?? ,?Z+?Z Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.983651078 EZ-B temperature is 24.73464996552224556C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 '?Z(?)?*? ,?Z+?Z Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 8.033862720 EZ-B temperature is 24.47123516290752516C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 ?Z?? ?Z?Z Received: Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 1 EZ-B v4 ID: 42-50-0-0-46-255-57-58-58-38-38-38 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.956614040 EZ-B temperature is 24.62928404447635740C Connected Comm Err: System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 '?(? System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.dAgXo1yZsg(Int32 , Byte[] cmdData) BbytesToExpect: 0 ?Z?? ?Z?Z Received: Disconnected


ARC Pro

Upgrade to ARC Pro

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

PRO
Synthiam
#1  

What robot do you have?

PRO
USA
#2  

My guess is you are initializing the i2c connection and do not have any i2c devices connected. I had this happen when I loaded the JD script and did not have the LED eyes installed yet.

#3  

I have the developers kit, extra servos, camera and the gripper. Trying to build a robotic arm as the one in the cloud. I downloaded everything from the cloud adjusted the voice synthesizer and camera.
We are struggling with the servos fine adjustment as I cant keep the connection long enough to adjust it.

#4  

RZ90208, I think I have everything connected. Not one hundred percent sure since we cant keep connection long enough to test it. The robotic arm software script I downloaded from the cloud had some missing ports and I think we got those corrected.

#5  

What kind of power supply are you using? Does it provide enough amperage? If it doesn't, this could cause the disconnection.

PRO
USA
#7  

You can also try connecting with no project loaded. This would eliminate the project as the issue if you still have the problem.

#8  

I was having a problem like this with a on board computer that had no built in wifi that had to use a usb wifi dongle. I had it set up that when I turned on the switch both the computer and EZB would start at the same time. The EZB would not stay connected for some reason. I found out that I needed to first start the on board get it to connect to the wifi and then turn on the EZB (wifi). It is the only way it works for me and now I have no trouble. Not saying this is your problem but might be something for you to think about.

If it did work before and not know, it could be a bad script?