Rob-bot
Hi All,
having trouble with EZ-B V4 controller intermittently hooking up to wifi with laptop. I have disabled my antivirus and tried through my internal wifi laptop connection and my ASUS wifi usb adapter and will occasionally get a connection that will remain until I disconnect it. I have also tried removing and reinstalling EZ builder and had no luck. I have not changed any configurations since my last connection and still cannot get the controller to link to the computer. I also tried a second EZ B V4 that I have new and it has the same issue. The following is the error message I get through EZ builder...
EZB 0: EZB 1: EZB 2: EZB 3: EZB 4: Windows version: Microsoft Windows NT 10.0.16299.0 Screen Resolution: 1366x768 (96x96 dpi) Version: 2018.03.06.00 Attempting connection on 192.168.1.1:23 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1:23 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1:23 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1:23 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1. Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected Attempting connection on 192.168.1.1:23 Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected
Can someone please help?
Couple of questions, what type of power are you using to power the EZ-B?
If by battery, is it/are they fully charged?
Do you have anything connected to the EZ-B I.e, servos, sensors, anything connected to the i2c pins like an 8x8 RGB panel?
Have you tried resetting the EZ-B?
Answer Steve's question - i'm wondering if the EZ-B is losing power and rebooting, which results in your laptop connecting to the default network and NOT the EZ-B. This is evident in the error message, that your computer is not actually connected to the EZ-B's WifI and may be connected to your router.
I noticed the error message about "Actively refusing connection" is what your wifi router would respond with NOT the EZ-B. This means you are not actually connected to the WiFi of the ezb. I would recommend following the tutorials of The Robot Program for your product to start - that way you can learn how to connect to a wifi network from your computer. There's fantastic videos that will help.
Lastly, if you experience WiFi saturation in your area, ARC and the EZ-B are not at fault. Uninstalling ARC or rebooting the EZ-B will not fix the saturation of WiFi. But, before we assume that is the case, I suggest following the FAQ and run WiFi Info to see how saturated your area is AND consider changing the WiFi channel in the EZ-B.
The log file shows the EZ-B voltage monitor has been manually lowered to 5v. Are you certain that is enough voltage for your project? Perhaps the project servos/motors are requiring more than 5v and browning out the EZ-B.
Couple of questions, what type of power are you using to power the EZ-B? A 120VAC to 6VDC 6Amp power supply.
Do you have anything connected to the EZ-B I.e, servos, sensors, anything connected to the i2c pins like an 8x8 RGB panel? 1 high torque 12v servo that utilizes a separate 12v power source and the control board for it, which uses the same 6VDC 6Amp power source as the EZ-B and only draws about 350ma and the EZ-B camera.
Have you tried resetting the EZ-B? Yes
Okay, One other question then... does the EZ-B disconnect from your computer when you attempt to move the servo with whatever control or script you’re using to move the servo?
Okay, One other question then... does the EZ-B disconnect from your computer when you attempt to move the servo with whatever control or script you’re using to move the servo? No, but it does not move smooth or all the way. It's kind of jerky as it moves in either direction. Also, I can't connect even if I disconnect the servo and camera. I have no problem connecting to the laptop's wifi, but connecting to ARC is the problem.
As you can sometimes establish and keep an connection for a while to move the servo (hence, the jerky servo movement), I'm wondering if it is a power issue.
Personally, I’d suggest trying to power the EZ-B (with nothing connected to it) with a different power source such as a battery, just to see if you can establish and maintain a connection and eliminate the power supply you’re currently using.
Also, I know you’ve already mentioned it, but double check that your anti virus is actually disabled and not re-enabled itself.
And just out of curiosity, what kind of servo/control board are you using? If you post some specs, a photo and/or a link to the product page, that maybe useful.
For the jerky servo movement, I’m wondering if it is drawing enough current from the separate 12v power supply.
Ok, I noticed when I disconnect from my wifi service from the laptop, I can connect the EZ-B to ARC DJ was right about the wifi modem sharing the same IP address as the EZ-B. So, now how do I change the EZ-B's IP address, so I can connect my internet and EZ-B at the same time? I know DJ made a video about it and I seen it a while back and forgot which one it was, so If anyone can provide the link, I would appreciate it.
I had the same issue with my new TP_Link where the router and the EZB4 shared the same ip address (192.168.1.1)... I just changed my router's default IP address....
You can find all of the tutorials for your product on the learn section of this website. Simply press the menu item that’s says learn from the top of this website. Locate the product from the learn main page that you are using and select it to view the respective tutorials.
I also believe the answer has been provided. I’m guessing the power adapter is a wall wart style? Which are designed for solid state and NOT electrical mechanical components. There are hundreds and hundreds of threads on this forum, and thousands on the internet of this same topic... there’s a misunderstanding of power consumption AND incorrect provision of power source. In this case, I’m guessing the stall current of your servo is suffecient for the power source. However, when the servo begins to move, it’ll exceed the current that the tiny wall wart transformer can handle.
This may lock up the ezb, which causes its WiFi to go offline. Once this happens, the computer connects to the next access point it has, which is the router.
During this time, you’re pressing the connect button in ARC BUT the computer WiFi is now connected to the router WiFi instead.
You can view what WiFi network you’re connected to by clicking the WiFi icon on the system tray.
If your laptop indeed has TWO WiFi adapters, then the ip addresses of both networks must be different. Just like a physical mailing address, computer network addresses must also be different.
The word address includes uniqueness with the dictionary definition.
there is a fantastic tutorial in the learn section that shows the three ways you can maintain an internet connection AND a connection to the ezb at the same time.
You can find tutorials in the learn section by clicking the menu option LEARN from the top of this website.
DJ,
the power supply for the EZ-B is basically a 12vdc to 6vdc 6 amp transformer and the servo is a 12-24vdc for the motor power, which runs off of a fully charged 12V 35AH lead acid battery. The control portion of the board only needs 5-7.5vdc for power, which is coming from the EZ-B 6V, 6A transformer. During my testing these are the only things hooked up to the battery and transformer.
As far as the wifi issue, it just seems to be an IP address conflict. I will have to check your tutorials again on how to change them.
Problem solved. I changed the IP address being my modem and EZ-B were on the same default address, which is what DJ had mentioned in his first post. Thank you to all that tried to help and your patience as I am not very good with most of technical areas of computers. If it wasn't for DJ's EZ-B and the great people on this forum, I would have not been able to follow my childhood dream of one day building a fully functional life size robot. I'm 42 years old and only have a basic knowledge of computers, electronics, robotics and fabrication.
My robot is a life size built from scratch and utilizes from commercial size servos, linear actuators and large to small hobby size servos, so I just started programming it and are new to the EZ-B controller. It utilizes (4) 12v 35ah batteries and weighs over 300lbs. It is a wheeled chassis with a Johnny 5 style robot.I will add pics soon to the forum soon. I just need to take a few updated pics.
Next step is to learn how to do facial tracking and much more...