I use this option but i use the logic level shiffter, when it comes to send message from arduino mega 2560 to ESP32-CAM it works and i see the message in Arduino mega serial monitor.
but when i send message from ESP32-CAM to arduino mega it doesn't work i see the message that i send from esp32cam to arduino mega on serial monitor of esp 32 cam.
for my project i need the data from the esp 32 cam to arduino mega .