USA
Asked — Edited
Resolved Resolved by thetechguru!

Ez Bv4 Disconnecting From Network

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


ARC Pro

Upgrade to ARC Pro

Don't limit your robot's potential – subscribe to ARC Pro and transform it into a dynamic, intelligent machine.

#1  

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

#2  

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...

#3  

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!

PRO
Synthiam
#4  

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.

#5  

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

#6  

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!

PRO
Synthiam
#7  

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.

#8  

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

#9  

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

#10  

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.

#11  

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

#12  

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...

#13  

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

#14  

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...

#15  

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:)

#16  

Yep I agree, have it replaced. I would say it's a 90% chance it's the camera itself and not the camera port...

#17  

Ok Guys I'm back. Once again thanks for all the help to this point.

The cameras have been exchanged between Robotshop and myself. Just for clarity this time I thought I would give the particulars of the environment: ...Windows 7 "with all current updates and hardware driver updates" ...Linksys router 2500 "The EZB connects very fast" ...ARC 2017.03.06.00 software ...Microsoft security software "Turned Off" ...Brand new EZBv4 ...Brand new "second" Camera ...3---7.4v lipo batteries "all brand new and charged" ...Disconnected all servo's to avoid interference and loaded a blank environment to avoid interference from other 12C devices.

So far no luck getting the camera to connect. Please watch the short video below to make sure I'm procedurally connecting to the camera correctly. I'm sorry for the bad editing upfront. In the video I clicked twice on the scan button for camera but it makes no difference. Both times it see's the camera but give the Same results. "I posted below"

https://youtu.be/j7A1goevXJs

The debug results are below. First half is EZB connecting Second half is camera. It's been almost a month now since I purchased the EZB so I probably need to decide quickly if the EZB camera port has an issue to comply with Robotshops return policy. Any help would be great! Thanks again everyone.

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.999100814 EZ-B temperature is 24.44489368264605312C Connected

Object Recognition Initialized. Object Recognition Initialized. Camera Initialized: EZB://192.168.1.123: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.dr0AP6qn6r(Int32 , Object ) Camera Disabled

#18  

Have you tried in AP mode instead of client mode?

I always drop back to AP mode when troubleshooting hardware to make sure the router is not causing an issue (it could potentially be blocking port 24, which is used for camera communication, although blocking 23 would have been more likely).

If you get the same error in AP mode, then looks like a problem with the EZ-B (fairly unlikely to have gotten 2 bad cameras in a row). If it works in AP mode, then we need to start looking at your network some more.

Alan

#19  

Thanks for responding Alan

I reset the EZB and put it back to default then connected "via" AP mode. Still the same results. I also put the EZB back to client mode, went into my router and changed the EZB to static IP 192.168.1.123 and saved port forwarding to include ports 23 and 24.

I tried to attach the image of the port forwarding so you could tell me if it's correct or not but I don't see where the attachment file is or goes. "there may be two attached of the same". Anyways the port forward didn't seem to work either. Still trying different things.

#20  

Attachment was formatted wrong. Here's the port forward

User-inserted image

#21  

Quote:

I reset the EZB and put it back to default then connected "via" AP mode. Still the same results.

I think we can rule out port forwarding then. Seems either you got another bad camera (unlikely) or there is something wrong with the EZ-B. I think you should try an exchange.

Where are you located? If you are in the Washington/Baltimore area, I would be happy to find a time to bring over a known working EZ-B to try with your computer and make absolutely sure it is an EZ-B issue and not a computer/network issue.

Alan

#22  

@Alan... in post #18 he said he got a brand new ezb4 and camera... I think it's his PC and or configuration/antivirus software etc...... Again, I haven't read the whole thread but @Novo did you try a different computer and or Windows OS version?

EDIT Ok, he said brand new ezb4 he never said Brand new "second" exb4... Alan could be right maybe your ezb4 was defective not the camera? This would be an absolute rarity so if it is defective that's just plain bad luck.... I am sure robotshop will exchange the ezb4 too...

#23  

@thetechguru I'm in Hurst, Texas "little town" Between Dallas and Fort Worth to be exact. Wonderful offer! Thank you! But a bit of a drive ;) for us both. I have a RV trip planned your way but not till summer I'm afraid.

@thetechguru and Alan It's just hard for me to believe too that it's the EZB considering everything works just as Tutorials / Lessons describe. The EZB connects fine unless the battery's low and the servo's work fine with pre-programed scripts. I don't have any other 12C devices to check those ports yet. However as Alan said "Bad Luck" about the EZB, well bad luck is my middle name so I guess it's possible I'm going to try it on my laptop "Has Older WinXP loaded and see if anything changes. Not sure what to do after that except exchange it. Robotshop is going to think I have lost my mind! eek Report back my findings shortly. Rod

#24  

WindowsXP won't work, so that isn't going to help unfortunately.

It could be just a bad connection on the camera port (cold solder or otherwise poor connection). Everything else would work except the camera in that case.

When the V4 and camera first came out I recall someone had a bad cable and the symptom was the same, but he was able to fix the cable himself, but if it is the connector on the board, it would be harder to self correct.

Alan

#25  

Your right Alan Didn't think about it being XP.

So I sent the Robotshop a return request, like them guys over there "they didn't think I was crazy" and they sent me a RMA. Going to trade out the EZB and see if that's the issue.

Will take about a week to receive the new one so I will get in touch with you again then. Mean while I guess I'll keep reading the lessons and get a little smarter about the over all functions and12C items.

Thank you Alan and Richard for the great help. Talk to you again soon with hopefully a new engaging question.

Rod

#26  

@Rod... your luck has to change man.... Kudos for keeping on this... Let us know

#27  

Thanks Richard You guys are the reason we newbies keep going.

#28  

Robotshop is great. I am sure we'll get you running one way or another.

Alan

#29  

Alan, Richard, DJ and any I missed Thank you for all your help.

Believe it or not apparently the EZBv4 had an issue. The new one works great with the camera. Worked just like it's suppose to and came right up after scanning it.

I was fully expecting it to be an issue with my setup. Anyways now I can get on with things and ask lots of silly questions.

I will be back ! Thanks guys.

#31  

I wonder if I am having the same issue. Maybe same bad batch

#32  

@dassy Is everything I describe in this thread the same as far as symptoms go?

These guys walked me through trouble shooting as far as you could before replacing it.

The EZBv4 for me acted normal as far as connecting to WiFi and moving servo's as commanded. The camera also showed no signs of trouble, when connected to the EZB. The Green Led came on when connected. I did inspect the cable to the camera for signs of a bad wire or bad crimp at the connectors.

The one thing I would say is probably the best check is to connect the camera to the EZB. Open your EZ software and Do NOT load anything. "especially saved profiles" Click everything off the screen beneath the menu bar except the connection tab/box. Connect the EZB through WiFi to the EZ software. "EZB should confirm connected verbally and does not matter if AP or client mode"

NEXT In the tab's on the menu bar click "Project" then click "ADD" On the new drop down menu click the "camera" tab and finally click "Camera Device" This adds just a camera menu to the screen. On the new camera menu, click on the radio tower looking icon. This opens a new box where the camera IP should show up, when it does click on it. The box will close and your camera video should show up on the screen after a few moments.

Let us know how it goes! Sorry for the lengthy explanation.

Good Luck

#33  

hi everyone,

i ahve read all your comments over here thats look pretty much helpful. i am new to jd as well . as a computer science student i took jd project for my workplacement at my university. i had similar problem as well. i tried to connect with my ARC, its connect for like 10s and it disconnected. i did reboot and deleted my existiing profiles still not finding the soulution. what is the best way to find out?? and the next thing is if my laptop is connected to jd network, i am not able to use to used the univerisity Wifi- but it doesn't happen when its connect to the Uni's PC. am i missing something here ?

looking for your all answers. thanks

PRO
Synthiam
#34  

Is it disconnecting with the red led staying on the ezb? Check this Ezrobot related trouble shooting guide if so: https://synthiam.com/Tutorials/Trouble-Shooting.aspx

If the red led is. It staying on, it’s a disconnect from WiFi saturation. Change the WiFi channel on the ezb and try again. Also, might be a good idea to give your robot a WiFi password so no one else attempts to connect to it. You might just be experiencing people connecting to a network.

Lastly, if you want to connect to two networks at the same time (jd) and internet, either connect your jd to a known network or use two usb WiFi adapters. This is all documented in the jd getting started guide. It’s a real good idea to use the ezrovot getting started guide to learn how to use the product: https://synthiam.com/Tutorials/Lesson/125?courseId=1

There’s information in there on changing the WiFi and using two WiFi adapters etc

#35  

@ DJ Sures thank you for the response i am here at the uni lab right now still got the same problembs. here is the details EZB 0: EZB 1: EZB 2: EZB 3: EZB 4: Windows version: Microsoft Windows NT 10.0.17763.0 Screen Resolution: 1366x768 (96x96 dpi) Version: 2019.01.26.00 Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 2 EZ-B v4 ID: 46-50-0-0-120-255-56-57-58-37-37-37 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 100000 EZ-B voltage is 7.782804510 EZ-B temperature is 24.41855220238458108C Connected Object Recognition Initialized. Object Recognition loaded. Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 300000 EZ-B voltage is 7.863915624 EZ-B temperature is 25.02440624839843800C Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 300000 EZ-B voltage is 7.813703982 EZ-B temperature is 24.65562552473782944C Camera Initialized: EZB://192.168.1.1 @ 320x240 EZ-B v4 Camera Error: System.Exception: Client disconnected at EZ_B.EZBv4Video.zVZs5xa9ui(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.NMpHIAC5uF(Int32  , Byte[] cmdData) BbytesToExpect: 2

Received: 0 0 Disconnected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 2 EZ-B v4 ID: 46-50-0-0-120-255-56-57-58-37-37-37 Setting battery monitor voltage: 7 Setting battery protection: True Setting i2c rate: 300000 EZ-B voltage is 8.030000286 EZ-B temperature is 24.76099144578371760C Connected Camera Initialized: EZB://192.168.1.1 @ 320x240 EZ-B v4 Camera Error: System.Exception: Client disconnected at EZ_B.EZBv4Video.zVZs5xa9ui(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.NMpHIAC5uF(Int32  , Byte[] cmdData) BbytesToExpect: 2

Received: 0 0 Disconnected Attempting connection on 192.168.1.1:23 Connection Failed: System.TimeoutException: The operation has timed out. 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 2 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.NMpHIAC5uF(Int32  , Byte[] cmdData) BbytesToExpect: 12

Received: 0 0 0 0 0 0 0 0 0 0 0 0 Disconnected EZ-B v4 ID: 0-0-0-0-0-0-0-0-0-0-0-0 Connected Attempting connection on 192.168.1.1:23 Connected to 192.168.1.1:23 Reports EZB v4 OS With Comm 2 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.NMpHIAC5uF(Int32  , Byte[] cmdData) BbytesToExpect: 2

Received: 0 0 Disconnected EZ-B v4 ID: 0-0-0-0-0-0-0-0-0-0-0-0 Connected

PRO
Synthiam
#36   — Edited

@[color=#943287][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"]pradeepsubedi93 you would have better luck on ez-robot's website looking at their FAQ for trouble shooting. But what i can suspect is you're trying to use an I2C device that's not connected. Or you're loading a project that's trying to connect to hardware that isn't existing. Or the controller isn't being provided with correct power source. [font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"]

Here's the trouble shooting guide link for ez-robot: https://www.ez-robot.com/Tutorials/Trouble-Shooting.aspx

[color=#943287][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"]Those are the common reasons. But you haven't provided any information other than a log file that can help you. Check the EZ-Robot website and check their tutorials first. That's the best place for support of their product.[/font][/color][/font][/font][/color]

#37  

What all do you have attached to your i2c and camera ports? I'm not good at reading these logs but I see your log trying to start 3 i2c devices and a camera. The camera is getting an error.

If there is no device attached to a i2c port or you have an issue with your camera your going to disconnect. Bad connections or broken wires between these devices will also cause a disconnect.

Speaking of port problems and disconnects, another issue is if you try to send a bad command through a Uart port or have nothing attached to a Uart port then send a command the EZB will disconnect and freeze up.

Good luck and have fun.

#38  

@DJ Sures, Thank you for the Answere. and i need some more helps. basically i have made jd all parts sepersted and joind all the parts as shown in istructions now the movements are not working correctily. if i click the 'sit'it cannot control the body it just fall down. all the movements are not correct. i don't know what't the reason.

actually , i have a few robots in my lab and all of them had some kind of issues but i took all a working parts from each robots and try to make one working. everything is fine just movements are not right. if i say move forward, only right legs move and it just fall down.

i hope you can help me sir ..

PRO
Synthiam
#39  

Sounds like the servos are connected to incorrect positions. You would move incorrectly if your brain thought your arm was your leg:)