Connecting the ESP8266 to Arduino

Let's connect our ESP8266 to an Arduino board. You can use any Arduino. Just follow the following pin configuration. We are going to control an LED with the ESP8266. So the pin settings will be as follows:

ESP8266 Arduino
RX 3
TX 2
VCC 3V
CH_PD 3V
GPIO 0 No connection
GPIO 2 No connection

We will use an app on our smartphone to control the LED turn on and turn off functions. Add an LED on pin 13 of the Arduino for avoiding complexities for the first time. First of all, download and install the Arduino IDE from https://www.arduino.cc/en/Main/Software. Now you need to install a library on your ...

Get Building Smart Drones with ESP8266 and Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.