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

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam 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?

#9  

We are using batteries, will try power supply. If I do not load the script or this specific project it connects and remains connected. So I am leaning towards something wrong with the script but How can troubleshoot that?

#10  

Ok we tried the power supply and have the same issue. As soon as we try to command anything it disconnects from the windows ARC.

#11  

How many amps is your power supply? How many servos are in your project? If you post your script here, someone could check it out for you.

#12  

7.5 volts 1 amp, 5 servos, griper, camera. Will see if I can post it here but we downloaded it from the cloud it is the robotic arm.

#13  

You don't have enough amps. Try a power supply that has at least 2 amps. The more the better.

#14  

Found one old but working 7.5 volts 10 watts. Tried it and it does the same thing. Battery voltage now is reading 9 volts. At the ARC monitor

#15  

Be careful you don't cook your servos with 9 volts! Your battery only has 1.34 amps - not enough.

#16  

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 9.764233152 EZ-B temperature is 25.28782105101315840C Connected 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 9.725608812 EZ-B temperature is 25.20879661022874228C Connected 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 9.826032096 EZ-B temperature is 25.15611364970579820C Connected Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 9.532487112 EZ-B temperature is 25.36684549179757452C Speech Recognition Culture: en-US Loaded speech recognition successfully Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 8.933809842 EZ-B temperature is 25.20879661022874228C 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.C8VCEmSMYD(Int32 , Byte[] cmdData) BbytesToExpect: 0 '?Z(?)?*? ,?Z+?Z Received: Disconnected

#17  

Well i will have to look for another charger tomorrow. We were hoping to do it on battery power, we didn't realize it had to be plugged in.
Kind of defeats the purpose if we have to be close to a wall outlet.

#18  

If you have 2 batteries, you could connect them together in parallel. That would double the amperage. 2 - 7.4 volt 1300 mAh batteries connected in parallel would give you 7.4 volts and 2600 mAhs. (2.6 amps).

PRO
Synthiam
#19  

I recommend to use a LiPo Robot Battery 7.4v 1300mAh with a LiPo Battery Harness, which will drive upwards of 16 servos. Power consumption is a physical law governing the universe and not a limitation of ezrobot products :). it may get in the way, but it's something we all must face. Thankfully ezrobot provided a solution with the LiPo Robot Battery 7.4v 1300mAh combined with a LiPo Battery Harness that accompanies the developer kit.

You will not easily find a plugin adapter that will power more than 1 or 2 servos max. Do not even try to find a plugin adapter to suit the needs of your robots power requirements because wall worts aren't designed to provide that much current to electromechanical devices (motors). Use a LiPo Robot Battery 7.4v 1300mAh. Also there is an adapter needed to connect the LiPo Robot Battery 7.4v 1300mAh directly to the EZ-B v4/2 Wi-Fi Robot Controller. The adapter is LiPo Battery Harness.

Either way, a LiPo Robot Battery 7.4v 1300mAh with LiPo Battery Harness is the best bang to cover all power requirements - if using ezrobot servos.

The LiPo Robot Battery 7.4v 1300mAh with LiPo Battery Harness will most likely damage other manufacturer servos because they're generally designed for a 5v max, which is prettt much impossible to find in a battery. only use ezrobot servos with EZ-B v4/2 Wi-Fi Robot Controller

#20  

I tried the 6 battery pack that comes with the developers kit, it looks nothing like the LiPo battery. Using the included battery holder did not work either. I have a power supply capable of providing around 8.3 volts at around 2 amps but dont feel comfortable pluging it in to the EZ B. We will have to wait for the battery in order to proceed. Thanks for the help.
Just to make sure did anyone have a chance to review the script. I just want to rule out any programing issues.

PRO
Synthiam
#21  

The 6 AA battery pack is great for small projects with expirementing using the developer kit. It doesn't have enough juice for more than 2 or 3 servos. The 8.3v 2 am power supply will not have enough juice either. 2 Amps is barely enough for one servo.

The LiPo Robot Battery 7.4v 1300mAh will provide up to 25 Amps:D It's the battery used in revolution robots. It will be perfect for your use. Remember to get the LiPo Battery Harness as well! That makes it easy to connect to the Power Shell

#22  

@DJ

It seems like we answer this question at least once a week. I would suggest increasing the dev kit cost and just including a LiPo, charger, and harness, or at least moving them up in the "related items" tab when you view the dev kit in the store. Maybe even prompt shoppers to add them to the the order like Amazon does with their "people who pirchased this often also ordered" prompt.

Alan

PRO
Synthiam
#23  

It's been considered - and the related items does exist but should be more prominent during checkout. Although that only solves ezrobot customers, not resellers.

Price cannot be altered and the product cannot be changed without a new sku/product due to registered msrp agreeements.

Something will happen if issues rise above 2% of sale volume. That's the threshold to consider change.

#24  

Quote:

the related items does exist but should be more prominent during checkout. Although that only solves ezrobot customers, not resellers.

I didn't think about the re-sellers, although you could provide them guidance, no way of enforcing without a new sku. Even on the related items tab, it could be more prominent. It is at the bottom rather than top of the list -- just saying.

Just curious, and you don't need to share if this is considered proprietary, but what percentage of your sales are direct vs re-seller?

Quote:

Something will happen if issues rise above 2% of sale volume. That's the threshold to consider change.
Good to know you have a plan ;)

Alan

PRO
Synthiam
#25  

:) there is an internal process for everything

Not sure an exact percentage but it's quite high. You may have noticed decreased marketing attempts, where ezrobot used to create lots of videos and such to encourage direct website sales. Now we spend those resources on retailers and supply chain optimization for localized geographic sales. In many cases, it is too costly for people to purchase direct from our website when they can purchase local.

To answer your question, we focus on resellers and distributors more than our websales.

I should add that situations like this original poster is a good thing for the community. Without it, this person would have never visited. Rarely does anyone visit the community for something other than assistance.

Every one of you came here looking for assistance - some stick around and many go on their merry way. What ever the outcome, the prelimary reason is always the same.

And I learn from every post :D

#26  

Do any of your Canadian resellers sell your LiPo batteries and charging units? I've been looking around but can't find anyone who does.

PRO
Synthiam
#27  

Robotshop sells batteries but not ours