Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By WalfasProject8
#32716 Hello everyone! I'm new with Arduino and the ESP8266, and I have a personal project of communicate two arduino boards using the ESP8266.

Let me explain me better. On a board I'll hook up a vibration sensor that will be sticked to a door, and when somebody knocks the door, the ESP8266 will react and will send some value (an integer, for example). Then, the other ESP8266, which connects on the other board will recieve that value, and an LCD screen will show a message that somebody's knocking the door.

I have figured out the code for the sensor and for the LCD screen, unfortunately I'm a plain newbie with the ESP8266. How can I set one module to send data and how can I set the other one to recieve that data? Thanks for the help you can provide me, and sorry if my question is too silly.
User avatar
By danbicks
#32753
WalfasProject8 wrote:Hello everyone! I'm new with Arduino and the ESP8266, and I have a personal project of communicate two arduino boards using the ESP8266.

Let me explain me better. On a board I'll hook up a vibration sensor that will be sticked to a door, and when somebody knocks the door, the ESP8266 will react and will send some value (an integer, for example). Then, the other ESP8266, which connects on the other board will recieve that value, and an LCD screen will show a message that somebody's knocking the door.

I have figured out the code for the sensor and for the LCD screen, unfortunately I'm a plain newbie with the ESP8266. How can I set one module to send data and how can I set the other one to recieve that data? Thanks for the help you can provide me, and sorry if my question is too silly.


Please only post completed sketch's to this topic not help requests.

Thanks

Dans