
I need to find some way to allow serial communication using the RX and TX pins between my ESP32-CAM and my Arduino Mega. But, since my follow me robot would need a lot of input pins just using the ESP32-CAM is not sufficient.

Hence, why I am using the ESP32-CAM to not only capture images, but also to live stream that image so a stronger computer (in my case a smartphone via an android app) will process the videostream and instruct the "follow me robot" on where to go. As you probably would think, for most types of image / video processing, the Arduino Mega2560 and even the ESP32 is simply not strong enough.

Background: I am attempting to create a "follow me robot" that uses a combination of sensors and visual feedback from the ESP32-CAM for path planning and obstacle avoidance.
