Connecting 2 ESP32s as master/slave devices?

RavianXReaver
Posts: 1
Joined: Fri Jun 15, 2018 11:29 am

Connecting 2 ESP32s as master/slave devices?

Postby RavianXReaver » Fri Jun 15, 2018 11:52 am

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:

User avatar
fly135
Posts: 354
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Is it Possible to.....

Postby fly135 » Fri Jun 15, 2018 4:02 pm

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

ESP_Angus
Posts: 1155
Joined: Sun May 08, 2016 4:11 am

Re: Connecting 2 ESP32s as master/slave devices

Postby ESP_Angus » Mon Jun 18, 2018 11:59 pm

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.)

Who is online

Users browsing this forum: Google [Bot] and 18 guests