I need to connect an ESP32 development board (preferably wirelessly) to an modified Arduino Mega2560, as the Arduino contains the ports for the DC motors to drive the wheels, arm and gripper of a robot. I need the ESP32 as I want to connect to it wirelessly via an Android App which will run a program to recognise objects from the robot's videofeed.
I have a little electronics knowledge but I'm new to Arduino and ESP32 so any advice is much appreciated.
I need the ESP32 as I want to connect to it wirelessly via an Android App which will run a program to recognise objects from the robot's videofeed.
I don't see yet why you need the ESP32 if you want to connect it wireless to the Mega2560. If you connect it by wire I see a reason as then the ESP32 will be the wireless gateway.
You have to provide much more information. How is the Mega2560 currently controlled? UART? Buttons?
Post as much information as you have about your current installation.
I have a little electronics knowledge but I'm new to Arduino and ESP32 so any advice is much appreciated.
So I guess you didn't build the robot yourself but bought an existing commercial model. Post links to it!