
yesy
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
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?
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
Kind of defeats the purpose if we have to be close to a wall outlet.
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
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.
The LiPo Robot Battery 7.4v 1300mAh will provide up to 25 Amps
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
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.
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?
Good to know you have a plan
Alan
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