How to get one ESP32 trigger another ESP32 to do some task ?

esp_pu
Posts: 2
Joined: Wed Aug 21, 2019 4:50 pm

How to get one ESP32 trigger another ESP32 to do some task ?

Postby esp_pu » Wed Sep 04, 2019 6:51 am

Hello,
I am planning to have one ESP32(MASTER) connected to another ESP32(SLAVE). Can I have such setup ?
If yes, how to get the master trigger the slave to do some task ?
Appreciate any leads or examples

Thanks

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: How to get one ESP32 trigger another ESP32 to do some task ?

Postby Agree007 » Wed Sep 04, 2019 1:18 pm

How are the 2 esp32 conneted?
UART, WiFi, Bluetooth or??
any way you will have to write the programs to run on the esp32s.

RoverDog
Posts: 8
Joined: Fri Aug 30, 2019 3:38 am

Re: How to get one ESP32 trigger another ESP32 to do some task ?

Postby RoverDog » Thu Sep 05, 2019 5:00 am

What do you want to achieve? Give us more details please.
You can connect two analog pins (and ground) together, set 1 pin to high and the other to low, check for state changes to trigger your task. Or you can setup a client server/server HTTP, and send data across. Or connect via serial ports to send data, or Bluetooth or Ethernet... :idea:

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 71 guests