Hello , can some one help me ?
I'm new in arduino and Programs
We suppose that we have 2 Esp32 , Esp1 and Esp2
I want to Read with my Esp1 an input of the Esp2 and then i turn on a lamp in my Esp2 , or the Esp2 sends an information of the input and send it to My Esp2
I tried with the example of Server and client , the connection worked but i don't know how to read an input or send information of the input .
Help me and thank you
Esp32 Ble Communication
Re: Esp32 Ble Communication
Hi Younes,
Using Wi-Fi: set up a webserver on the 2nd ESP.
When the 1st ESP reads the input it sends a HTTP request to the 2nd ESP.
The 2nd ESP turns the lamp on or off, depending on the request from the 1st ESP.
Alternatively use the ESP-NOW protocol to comunicate directly between the two ESPs.
To use bluetooth look at this forum post: viewtopic.php?t=7893
Feel free to post any follow-up questions.
Using Wi-Fi: set up a webserver on the 2nd ESP.
When the 1st ESP reads the input it sends a HTTP request to the 2nd ESP.
The 2nd ESP turns the lamp on or off, depending on the request from the 1st ESP.
Alternatively use the ESP-NOW protocol to comunicate directly between the two ESPs.
To use bluetooth look at this forum post: viewtopic.php?t=7893
Feel free to post any follow-up questions.
Who is online
Users browsing this forum: Baidu [Spider] and 82 guests