
plokber
Switzerland
Asked

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
You'd have to enter the same ip address as the EZB. The manual for the camera device explains more: https://synthiam.com/Support/Skills/Camera/Camera-Device?id=16120
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://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?
Hmmm the esp32 might be sending data faster than the ezb can relay it via the tcp socket. I made a change to use the RTS pin so the ezb can control the dataflow. Try this firmware (v3): https://synthiam.com/Firmware/ESP32-Cam-UART-HLT3KZKGG3F
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