
Ideally you should at least read through the WiFi section of this tutorial to get an idea of how this works.
#Get command packet sender how to
If you have read the previous tutorial how to configure the Arduino IDE for ESP devices, then you will have seen the code for connecting an ESP device to WiFi with Arduino. Alternatively you can use a different method to send and receive the UDP packets if you prefer. I would also recommend that you use PacketSender to test communications after you flash the device, you can download it for free. The tutorial is written for the Wemos D1 Mini but it applies to any ESP-based board compatible with the Arduino ESP core. I would recommend that you first follow my tutorial on how to configure the Arduino IDE for ESP devices and connect your device to WiFi. You will also need an ESP-based board such as the Wemos D1 Mini, as this will not work with a standard Arduino board. You will need to have the Arduino IDE installed and configured to flash ESP devices.


In this tutorial 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. You can use UDP to communicate with other ESP8266 devices, your computer or many other WiFi devices.

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.
