
Novo

Hello all I'm new to the EZ family so I'm not sure if this is a setting problem or hardware issue.
First I do have the Ralink wireless card but I'm able to connect to the EZ-B4 through my network so I don't think it's an issue. Second I turned off Microsoft's security suite to prevent connection issue. I'm Running Windows 7 with all the updates.
I'm able to connect to the EZ-Bv4 "via" AP or Client mode WiFi 3165 v2016.02.29.00. I'm currently working in Client mode.
As long as I do NOT start a new project and enter into create servo profile it stays connected and reads as follows: Connected to 192.168.1.112:23 Reports EZB v4 OS With Comm 2 EZ-B v4 ID: 78-49-0-0-46-255-57-60-59-38-37-37 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.589682810 EZ-B temperature is 24.62928404447635740C Connected
If I enter into "Create servo Profile" to start my new project, after a few seconds I'm disconnected from the Network so I can't adjust servo's and the message below appears. Can you tell me what setting I have wrong or why it's disconnecting me? I did try to find this exact answer but if I missed it in the forums please point me in the right direction. Thank you in advance.
: Object Recognition Initialized. Object Recognition loaded. Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 300000 EZ-B voltage is 7.636032018 EZ-B temperature is 24.62928404447635740C Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 300000 EZ-B voltage is 7.608994980 EZ-B temperature is 24.84001588656813372C Camera Initialized: EZB://192.168.1.112 @ 320x240 EZ-B v4 Camera Error: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, 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) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZBv4Video.jpW9ru6AGN(Int32 , Object ) Camera Disabled Comm Err: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, 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) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZB.kCEDxWNdv1(Int32 , Byte[] cmdData) BbytesToExpect: 2
Received: 0 0 Disconnected
Are you starting a brand new project, or opening a project? Since I see camera errors, it looks like you might be opening an existing project. If so, does it have any I2C devices in the project (like JD Eyes?). If you have an I2C object in the project, and no I2C device connected, this will happen.
Alan
What are you using to power your servos and ezb? Not enough power is another reason for chronic disconnects... If you are using AA batteries or a weak power adapter then that could be your issue...
Hello thetechguru and Richard R , thank you for responding
@ thetechguru. I was using Tabs File / open / JD. So yes, opening a project and yes it has many things loaded for I2C. I figure that's probably the error I'm looking at. Need to create a new project from scratch and add my config.
@ Richard R. The battery is a 7.4V 2500mah lipo. It may very well be getting low but the disconnect issue happens only after loading a project.
I just decided to hook up the camera when I started getting these errors yesterday. I'm going to try starting a new project, get a fresh battery and report back my results. Thank you both!
Camera has nothing to do wit it. It has everything to do with missing i2c devices.
Do not attempt to load a control that has a missing i2c device, or your ezb will lockup. This is explained in the FAQ. Review the faq by pressing the LEARN button at the top of this website.
Hello JD and thank you for responding.
No matter what I do at this point I cant get the camera to load. I think it's as you have pointed out and I have managed to lock up my EZB.
Very frustrating, was just at the point of learning to walk. I should have read more. mad
I don't have any of the other 12C devices as yet besides the camera.
I'm guessing here but do I need to load the project again and remove all the 12C devices from the project and save so it will go back to only recognizing what I actually install?
If that's what I need to do can you tell me how to remove the devices from a script please.
Thanks Rod
If your using just the ez-b and camera why not make a new project? That will take out all the i2c devices and give you the chance to try new stuff!
What application are you using the EZ-B for? Do you have a JD? It is difficult to help you because we don't know what you're doing with the EZ-B v4. What is connected to it? What robot is it? etc
As for editing scripts. The keyboard is used for that
Have you followed any activities? Have you looked at the learn section? Have you learned how to use ARC in the activities?
When ARC loads, it prompts you to view activities. What part of the activities are you struggling with? I will have the activities expanded upon if you can direct me to that are that is missing the information you are seeking.
Your right guys, I'm sorry for being vague.
I bought the EZB4 controller, camera and 16 servo's a couple of weeks ago. I recently finished 3D printing all the pieces to assemble a JD. "wish I had bought them too":) I have watched/read all the lessons up to the "Start Activities Course" I can connect to WIFI and I have a servo profile set and saved. When I load the servo profile JD snaps into standing position.
I can't get the camera connected and I'm uncertain how to proceed because I'm not sure how to create a profile that does not include some of the previously created 12C scripts.
My goal for the moment is to simply to build and move JD in his simplest form until I learn more on how to add to his functionality.
Here's how the issue came about; I built JD as per the lesson assembly instructions. "This is where I got confused" The next lesson is to connect JD to WIFI. Click on File / Open / Examples / Click open for JD. When I click Open; the software prompts me to " Create servo profile". If I click "Skip" and setup the WIFI; the process is fine until I actually connect the EZB to WIFI. The lesson asked me to open the "JD Example" which also loads several 12C profiles/scripts that seem to be making my EZB disconnect.
Since I've been confused about what's going on; I have saved and deleted many profiles trying to get things to work correctly and here I am. I hope this isn't too confusing. Thank you in advance and Please let me know if you need more information!
By the way DJ, I think you have done an awesome job setting this all up and getting the lesson up there for people like my self. I'm 56 and my end goal is to make a companion / worker robot for around the house before I'm too old. You have advanced that idea for me greatly!
Below is the current debug notes. These notes are by simply loading the EZ program, connecting the EZB4 controller to WIFI and adding a camera under the Tab "project / add camera.
EZB 0: EZB 1: EZB 2: EZB 3: EZB 4: Screen Resolution: 1024x768 (96x96 dpi) Version: 2017.02.20.00 Attempting connection on 192.168.1.112:23 Connected to 192.168.1.112:23 Reports EZB v4 OS With Comm 2 EZ-B v4 ID: 78-49-0-0-46-255-57-60-59-38-37-37 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.149365334 EZ-B temperature is 24.62928404447635740C Connected Object Recognition Initialized. Object Recognition Initialized. Camera Initialized: EZB://192.168.1.112:24 @ 320x240 EZ-B v4 Camera Error: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, 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) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at EZ_B.EZBv4Video.jpW9ru6AGN(Int32 , Object ) Camera Disabled