USA
Asked
Resolved Resolved by Nomad 6R!

Can'T Connect To Camera Device

Hello,

I recently purchased a camera for my EZ-B v4 controller, but I'm having trouble connecting to it. Every time I try to connect this error message displays repeatedly:

Camera Initialized: EZB://10.0.0.56:24 @ 320x240
ezbv4 camera image render error: System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Stream stream)
   at EZ_B.Camera.aJo6NxZbaD(Byte[]  )
   at EZ_B.EZBv4Video.o4twmdwIUb(EZTaskScheduler  , Int32  , Object  )

I'm connecting to the camera in Client mode and have made sure I'm including the proper port number as suggested in this post. I've also tried re-seating the board and the camera cable as suggested in this post. I'm not really sure what else to do, or what I may be doing wrong. Is there something that I am missing?


Related Hardware EZ-B v4
Related Control Camera Device

ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

PRO
Belgium
#1  

hi

the camera number is desame as your ezbv4.no need to typ the : 24.

PRO
Synthiam
#2   — Edited

Does it work in normal access point mode?

did the ezrobot tutorials on their website have any trouble shooting using their product? When I was there, it was recommended to reset the ezb and try with factory defaults first. That’s access point mode. If it works in access point mode, then the network is an issue with client mode

#3  

Hey Nomad 6R and DJ Sures,

Thanks for your replies. I've tried the connecting without a port number and resetting the EZB to Access Point Mode but I'm still unable to connect. I receive the same repeating error message that I described in my first post:

Camera Initialized: EZB://192.168.1.1:24 @ 320x240
ezbv4 camera image render error: System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Stream stream)
   at EZ_B.Camera.aJo6NxZbaD(Byte[] )
   at EZ_B.EZBv4Video.o4twmdwIUb(EZTaskScheduler , Int32 , Object )
ezbv4 camera image render error: System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Stream stream)
   at EZ_B.Camera.aJo6NxZbaD(Byte[] )
   at EZ_B.EZBv4Video.o4twmdwIUb(EZTaskScheduler , Int32 , Object )
PRO
Belgium
#4  

try a new camera window in your project.

or turn the camera cable 180 degree.

#5  

Thanks Nomad, I tried both suggestions but neither worked. It seems as if the camera cable only connects one way

PRO
Belgium
#6  

if you are using a ez robot camera , the cable goes bolt directions. so if yours dont ,then you have a problem there.

#7   — Edited

Update: I was able to connect to the camera by wiggling the cables back and forth until the picture appeared. I guess the cable is just damaged :/

PRO
USA
#9  

Shut the antivirus off try that can't hurt This just help someone else EzAng

#10  

@Nomad: Yes I am. Here are some pictures of how I have it connected

User-inserted image

User-inserted image

@EzAng: Thanks for replying, but turning off Windows antivirus protection didnt help me :/

PRO
Belgium
#11  

magnefying your picture.i see some strange stuff.

User-inserted image

#12  

Aw man, I'm not really sure what its supposed to look like but heres a closer up picture if that helps you inspect it. Do you recommend that I purchase another camera?

User-inserted image

PRO
Belgium
#13  

how old is the camera?

you can pull in and out the cable on the camera side a few times.

PRO
Belgium
#14  

it seems like pin nm 4 is od.

User-inserted image

#15  

I just purchased the camera in July and it has been this way since I received it :/. What did you mean by "you can pull in and out the cable on the camera side a few times"?

PRO
Belgium
#16  

pull out the camera cable on the camera side in and out the socket a few times.

question.do you live nearby the sea or big lake ?

#17  

No, I don't. I live in a landlocked city

PRO
Belgium
#18  

ah ok. does the camera keep workin now?

#19  

Unfortunately, it only works occasionally, but its way better than when I first asked this question. Thank you for helping me get to the root of what was causing the issue!

PRO
Belgium
#20  

i just wanted to ad some tips.seeing this picture. see atleast one wire is fully covered with heat schrink. two exposed wires can cause heat and fire.

User-inserted image

PRO
USA
#21  

Thanks Mvnd - Your community post was liked by 'mvnd'.

the question is, did it help?

EzAng

#22  

Thanks for the advice Nomad, I'll definitely add some heat shrink to those connections! @EzAng I liked your post because I was grateful for your reply, unfortunately it didnt solve my problem

PRO
Canada
#23  

The white residue pictured on the camera is left over flux from the soldering process. It is non-conductive. If you have a cleaning brush and isopropyl alcohol you can clean it if you'd like but it's merely cosmetic and won't effect the function of the camera.

It's likely that there is poor contact between the camera cable and camera/ez-b. As Nomad suggested, with the power off, try repeatedly connecting and disconnecting the cable from the camera and ez-b to see if you can get a better connection. If the problem persists I'd recommend going to ez-robot.com and ask them for a replacement cable.

PRO
Belgium
#24  

hi jermie

i thought the white substance was salt.would be a contact cleaner bring any solution?

User-inserted image

PRO
Canada
#25  

Naw, it's not salt, it's flux left over from the manufacturing process. I'm unsure about contact cleaner on a PCB as I've never used it before. Common Isopropyl alcohol that you get from your local pharmacy is non-corrosive, the higher the percentage of alcohol content the better. I use 90-99%.