ESP8266 UDP Send & Receive Example (Step by Step Arduino Guide)

preview_player
Показать описание
Looking for the easiest way to send and receive data from an ESP8266? A great starting point is understanding how to configure your ESP8266 to send and receive a UDP packet.

You can use UDP to communicate with other ESP8266 devices, your computer or many other WiFi devices.

In this video we will write a simple application in the Arduino IDE that will receive a text string over UDP, print it to the serial console and then respond back with a confirmation message.

===================================================
===================================================
Рекомендации по теме
Комментарии
Автор

Hi very good explain . Please let me know how i can send 2 or more same time from sender and receiver show it ?
I want send from ESP32 2 messages 1 message with char and another one send temperature .
How i can receive with ESP8266 ?
Thank you .😮‍💨😮‍💨

ioancretu
Автор

Thank you so much but I would like to make project that, Iwill connect nma0183 serial data by cable to esp 8266 then send it as UDP signal by wifi to read on pc (I have program accept udp package) without internet.Iwant to remove cables.
Could you help me how to do that?I don't know how to write any code.

hg
Автор

¿Como podría hacerle para enviar por UDP siendo el ESP8266 un Access Point?

carlosa
Автор

for anyone else having issues -- udp.write(reply) doesn't work. instead try udp.print(reply)

geoffpedder