Page 1 of 1

Connecting 2 ESP32s as master/slave devices?

Posted: Fri Jun 15, 2018 11:52 am
by RavianXReaver
I'd like to know whether if it is possible to use x2 Esp32s as Master/slave communication either via BLE/Wifi(prefer wifi because data exchange rates are much faster). :mrgreen:

Assume:
MasterESP : 2x servos + Receive data
SlaveESP : accelerometer + Send data to Master ESP

This is my case scenario : I want to build a laser Turret that is controlled via an accelerometer. So in this case, i'll be using MasterESP to control x2 Servos + the Laser according to the Data received by the SlaveESP.

Thank you for your time :mrgreen:

Re: Is it Possible to.....

Posted: Fri Jun 15, 2018 4:02 pm
by fly135
Absolutely possible. What makes you think that it wouldn't be? All computers wired to the internet/network can talk to each other. Master/slave is just a matter of what they are talking about. And that's entirely up to you.

John A

Re: Connecting 2 ESP32s as master/slave devices

Posted: Mon Jun 18, 2018 11:59 pm
by ESP_Angus
If you specifically want a wireless point to point link, you may want to look into ESP-NOW:
https://esp-idf.readthedocs.io/en/lates ... p_now.html

But as John A says, it's possible for two ESP32s to talk to each other via a large number of methods.

(PS: I've renamed your thread from "Is it possible to...", so people have some idea what it is they're clicking on.)