Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
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


Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

AI Support Bot
Related Content
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
#1   — Edited
doesn’t the camera come with the ezrobot developer kit?

You could connect that camera to the ezb v4 camera port, but the data it transmits will need to be modified for the same protocol. 

I don’t know much about the camera you’re using. Is that camera  an arduino programmable? If so, that could happen quite easily.
Hi DJ Sures
Unfortunately, the Ezrobot developer kit was already used and therefore not complete, so I have to try it with another camera.
No no the camera is not an expensive model it is the (Unit Cam Wi-Fi Camera (OV2640) SKU: U109 Regular price$7.50)
and it has a programming platform: ESP-IDF/Arduino/UIFlow.
I also have a programmable USB TTL downloader but I don't know which program I could use to use all camera functions with the EZB-v4.
I would be glad if you could help me there.
You’d have to write the jpeg image out of the uart with the ezimg header and file size. 

Take a look at the firmware source code for the esp32cam: https://synthiam.com/Support/Hardware/ESP32-Cam

there’s a section where the jpeg of every frame is written to the tcp response. In your case it would be written to the uart
Thank you for the tip, I had another problem with this M5Stack camera because I couldn't reset it.
Now I had the opportunity to swap my camera for an ESP cam at my last workshop.
I installed the specified firmware on this camera and it works.
But now to my personal problem, I would like to use this camera "offline" in my JD because a WiFi connection is already available.
I would like to connect the camera via the "Camera Expansion Header" via the CTS,RTS,TX,RX,GRD,3.3V connections.
Is there a possibility?
#6   — Edited
Looks like it should work. The esp32 cam has a uart header pin. You could modify the firmware to write the image out the uart. That will connect to the ezrobot ezb v4 camera header. 

I believe the ezb v4 camera also uses the rts line so you’ll need to set that as well.

The baud rate is 3,333,333
Loading the firmware onto the ESP cam worked and I connected the cables as they indicated, but I can't get the camera in ARC to work with the ESP-Cam.
What do I have to write in the window where the IP address is so that I can get the camera image. if I go to "Costom" then it doesn't work either.
I think I will use the ESP32-camera for the further projects via WiFi.
Did you have success with the ESP32 Cam connected to the EZ-B v4?
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:// @ 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?
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?
Rotate the camera so the picture is in the correct orientation