Arduino and ESP8266 Basics: UDP Transmitter Tutorial



Arduino and ESP8266 Basics: UDP Transmitter Tutorial

Arduino and ESP8266 Basics: UDP Transmitter Tutorial

I explain an easy way to transmit data from an Arduino to a PC with the ESP8266 ESP-12E WiFi module. UDP packets are transmitted over WiFi to my PC, and the data is visualized on screen.

I start by drawing a schematic of how to wire together an Arduino Uno, an ESP-12E module and a 3.3V voltage regulator. Then I connect it to an FTDI USB-to-serial adapter and show how to manually send AT commands to control the ESP8266. Finally, I show how to automate the process with some Arduino code that reads from a light sensor and a temperature sensor. The sensor readings are transmitter to the PC via UDP.

The Arduino code can be downloaded from the link below. Be sure to edit the file to match your WiFi network settings and to read from your particular sensors.
http://farrellf.com/arduino/esp8266_udp_transmitter.ino

If you don’t have them already, several components will be needed to wire up a circuit similar to the one I show in the video:

Arduino Uno, Breadboard and Jumper Wires: https://amzn.to/2MFVZkU

ESP8266 WiFi Module: https://amzn.to/2L58C3W

3.3V Voltage Regulator: https://amzn.to/2N2gJAh

FTDI USB Serial Port Adapter: https://amzn.to/2L53ZqI

I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for me to earn fees by linking to Amazon.com and affiliated sites.

Edit: My new video covering the Telemetry Viewer software is here:
https://www.youtube.com/watch?v=Q4S-URWLC4k .

Comments are closed.