
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
It isn't scripts that are the problem, it is the object that connects to JD's eyes that is the issue. Just delete the object. Scripts that use it will error, but it will stip locking up.
There is a project in the EZ-Robot cloud called jd no eyes that doesn't have the eyes object or any references to them. That might be a better place to start.
Alan
Hello Alan
I found your suggestion at EZ Robot Cloud. ( JD No Eyes) That was a great suggestion. I down loaded it and saved it as a project. I brought up my JD connected him to WIFI and started the camera detection but unfortunately I received the same response in the Debug window as before. Even when I saved and reloaded the profile. A bit of good news however, While messing with the other Scripts/controls like "sound board" and "Auto Position" I'm happy to report JD does a Awesome "Haunt Me" Dance and " Bow's " very well until his arm fell off because I forgot a screw!
Mr. Sures mentioned above that I may have locked up my EZB from loading profiles with 12C scripts preprogramed into them.
I bought the EZB and Servo's on the 9th of this month then a week later I purchased the camera "Don't ask why" From Robo Shop, a supplier for EZ. My concern/question is; The EZB has worked just like it's suppose to since I received. The camera has never worked since receiving it last Thursday. " I do get a green led when plugged in"
Is it possible I have a defective EZB port, camera or cord? Is it more likely I've locked it up and like pic's or arduino's it needs to be flashed? Or once again have I missed a lesson that describes camera setup?
Thanks for sticking with me and helping me out Guys.
When he said you locked it up, he didn't mean permanently. It is just the temporary thing causing the disconnect.
It is certainly possible that you also have a bad camera or cable causing the other error.
Alan
Try unplugging the cable from the camera then plug it in again... You can always test just the camera by opening a brand new blank project and then adding only the camera control... If you get video feed then it is working... If ARC locks up or your ezb4 disconnects then it probably is a defective camera... Robotshop has a good return policy so it it is defective just send it back and get a new one...
To be honest I have never heard of someone corrupting the firmware on the ezb4... It may be possible but I think @DJ and ez robot has that part rock solid and protected... I doubt you did any damage to the ezb... It is seriously robust...
Alan & Richard I agree it would be hard for me to damage the EZB through programing.
Richard in post #9 I did exactly that; opened a blank project then added a camera. The debug notes I posted there were exactly the same as before, the port for camera simply shuts down.
I think I'm going to contact Robotshop and see about a new one. I'm leaning towards it being a defective camera/cable. Guys one last question, The camera is plug and play correct? I could open a blank project - Add a camera -click on "start" next to "refresh list" and I should see video correct?
Thanks for all the help guys! Rod
Ok, my mistake... Yes, the camera is plug n' play provided you have the correct ip for the camera... As you mentioned is how you do it in your last post (Post 14)
You seem to have the ezb4 with the comms 2 board so you can locate the camera without using the refresh list box. Just click on the antenna looking icon beside it in the camera control... this way it should locate the ezb4 camera for you...
Your exactly right Richard
When I click on the antenna Icon it locates the camera @ 192.168.1.112:24 Then I just select the IP address and it tries to connect. That's when it comes back with the error. I'm assuming the reason it see's the IP address has more to do with the EZB port than the camera. I'm thinking it's like a router and has a static IP waiting for the camera.
Anyways Yes I've done all those things and you have confirmed for me I did them correct. Don't see any other option than to send the camera back and hope it's not the port on the EZB that's defective. Thank you again
If you can think of anything else to try I'm all ears. Rod
Yep I agree, have it replaced. I would say it's a 90% chance it's the camera itself and not the camera port...