I have a mega 2560 were I use 28 of the pins for digital in and out, the board have a Ethernet module.
Commands are comming to the board via http commands. When a command is received a digital out is send to a pin at that same time I would like to trigger the esp32 camera to take a picture, but I need to make the image with the date time and the pin number and then send the image to a webserver.
Is there anyway I can communicate with esp32 via the tx and rx or should I get a Bluetooth module for the mega 2560 and communicate with the esp32.
If there is a better way let me know, thanks.
If there is any example out there please post the links.