O'Reilly logo

Building Smart Drones with ESP8266 and Arduino by Syed Omar Faruk Towaha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required