Switzerland
Asked
Resolved Resolved by DJ Sures!

Add A Camera Control To My JD Project

Some time ago I got a DEVELOPER KIT (EZB-v4) from a friend and already made the 3D prints for a JD and already realized some robot skills. Unfortunately I don't have the EZ-B ROBOTIC CAMERA for this kit. That's why I would like to install an M5Stack camera that I already have.

My question is, how can I connect my Unit CAM M5 with a UART interface with connector(GND,5V,G17,G16)? I don't want to use WiFi for the connection, but only use the connector from the EZB-4 CTS, RTS, TX, RX, GND, 3.3V (6-pin JST-PH 2.0mm pitch). Any help would be appreciated


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

PRO
Synthiam
#10  

Did you have success with the ESP32 Cam connected to the EZ-B v4?

Switzerland
#11  

sorry for the late answer (was on vacation)

Now I enter the same IP address as the EZB and it freezes image  for 1-2 sec. given. Unfortunately I had to restart the EZB again to repeat that.

The debug output was always: "Camera Initialized: ECB://192.168.1.110 @ 320x240 EZ-B v4 Camera Error: Unable to read data from the communication link: A connection attempt failed because the remote station did not properly respond after a period of time, or the established connection failed because the connected host did not respond. camera disabled"

I've been trying to make changes in the sketch for a whole day, but haven't gotten any better results. I give up and will continue with the normal WIFI function. Has nobody tried anything like this?

Switzerland
#13  

Yes, it worked, I now get the whole picture on the virtual display, but the picture is lengthwise and not set up high when the camera is set up. Thank you very much for the help, if you have a tip to set up the picture that would be great?

PRO
Synthiam
#14  

Rotate the camera so the picture is in the correct orientation