-->
Page 1 of 1

Communication ESp8266 to ESP8266

PostPosted: Thu May 31, 2018 7:38 am
by Jean Christophe MUTI
Hi all,
I'm new in the ESP'world and I have some knowledge of C, lua programming.
But no specific things about ESP8266.
I want to do something easy (yes it is certainly) : communicate between 2 ESP.
My project : I have 7 reed switchs connected on ESP12F (let's call it ESP1). And I want to mirror the value of each PIN to a second ESP (let's call it ESP2) by wifi (one in AP, the other is a client).
ESP2 will use either a LCD screen (to show witch GPIO as changed) or 7 LEDs in output.

What is the best way to do that for you ?
Thank's a lot for your help,
Jean-Christophe

Re: Communication ESp8266 to ESP8266

PostPosted: Sat Jun 02, 2018 8:28 am
by Luc Volders
Easy !!!

First flash ESP-Basic on both.
There is a sub section on ESP-Basic on this forum.
And you can find it at its website: https://www.esp8266basic.com

Next use UDP to send commands directly from one ESP to the other.
Just a few lines of code and you are set.

Luc