ESP 32 and ESP 32 cam communication - High priority

I am using ESP32 Wroom to run a wheel robot, i want to program it such that every time the robot stops (I am hardcoding the movement of the robot, it'll stop for 4 secs after it travels for 6 seconds), my esp32 wroom sends a message to my esp32 cam and it should capture image and send it to cloud.

most part is done except the communication between the microcontrollers and i am finding it difficult to complete.
I already tried the solution for communication between esp 32 and esp 32 cam given in the forum, but i am encountering many issues.
it would be helpful if i can get an example where you automatically send a message from esp32 wroom and the esp 32 cam would flash led for a second.
I've been sitting on this for days with almost no progress, any help would be appreciated

what is the maximum distance between the ESP32 and the ESP32-CAM?
if 10 to 30 meters try WiFi, e.g. have a look at ESP-NOW

"ESP 32 and ESP 32 cam communication - High priority" .......

High priority for WHO????

Does this imply everyone should drop every other activity to help YOU????

1 Like

Hi @Great_Sage ,

Welcome to the forum..
How this would proceed depends on distance between boards..
If they are side by side, tie a gpio line between them and it's a simple button press..
Further apart, consider UDP, it can be a quick trigger as it does not need to connect..

here's a UDP sender demo for esp32 I did a bit ago..
UDP Receive
There's also a sender in that git as well as a cam project that i'm currently working..
might find some ideas in there..

good luck.. ~q

1 Like

I am connecting them with jumpers, so the distance is hardly 10-15 cms
btw horace, big fan, your solutions helped me through many of my projects.

you could use a serial connection as suggested by @qubits-us or if you don't want wires WiFi using ESP-NOW

1 Like

thanks man
I've realised that my micro controller is misbehaving sometimes
but i am able to establish communication via UART anyway.

really thanks for your support, i'm glad i found such good community

I dont mind if you want to make a scene out of this sir
But thanks anyway.
high priority for me because my distinction depends on this project and the deadline is soon, hope you'll have a nice day.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.