background image

OLIMEX© 2017

ESP8266 with Arduino IDE

CHAPTER 2: REQUIREMENTS

CHAPTER 2: REQUIREMENTS

The minimal connection requires several prerequisites.

2.1 Hardware requirements

2.1 Hardware requirements

Note that you might already own all the necessary hardware listed below. For example, as long as you 

have a fitting 5V power supply unit or USB<->serial cable there is no need to purchase new ones.

2.1.1 ESP8266 board

2.1.1 ESP8266 board

The main component of the setup. You need one of the following three boards, which are suitable for 

beginners:

ESP8266-EVB

ESP8266-EVB-BAT

ESP8266-EVB-BAT-BOX

MOD-WIFI-ESP8266-DEV and MOD-WIFI-ESP8266 are not suitable for beginners with ESP8266. The main  difficulty if you use 
one of those two boards would be  changing the boot mode of the board. This would require cutting and soldering of SMT 
jumpers (or shortening pins via wires).

2.1.2 Power supply adapter

2.1.2 Power supply adapter

The ESP8266-EVB board gets powered via the barrel power jack named “PWR”. You need to apply exactly
5V DC. 

The corresponding power supply plug (or female jack) that fits the DC barrel has 2.1mm inner diameter 

and 5.5mm outer diameter. The length of the male plug should be between 10mm and 14mm.

We distribute affordable 220V<->5V adapters that fit the board's barrel jack. Search our web-shop for SY0605E and SY0605E-
CHINA.

2.1.3 USB <-> serial cable

2.1.3 USB <-> serial cable

You might already have such a cable. In case you don't, you would need to get such an adapter cable due
to a couple of reasons:

the voltage levels of board's RXD and TXD are lower than the voltage levels of computer's TXD 

and RXD (even if your computer has a native serial port). The adapter takes care of the level 
adjustment;

most modern computers lack serial port.

The are two very important considerations to make, when selecting the cable that would work for you:

Page 5 of 15

Summary of Contents for ESP8266-EVB

Page 1: ...H ARDUINO IDE This document applies for the following products This document applies for the following products ESP8266 EVB ESP8266 EVB BAT ESP8266 EVB BAT BOX ESP8266 EVB ESP8266 EVB BAT ESP8266 EVB...

Page 2: ...in this document are subject to continuous development and improvements All particulars of the products and their use contained in this document are given by OLIMEX in good faith However all warranti...

Page 3: ...supply adapter 5 2 1 3 USB serial cable 5 2 1 4 Personal computer 6 2 2 Software requirements 6 2 2 1 Driver for the USB serial cable 6 2 2 2 Arduino IDE 6 CHAPTER 3 SETUP 7 3 1 Hardware setup 7 3 2...

Page 4: ...dant The document structure is as follows All the required hardware and software for a basic setup is listed in CHAPTER 2 REQUIREMENTS In CHAPTER 3 SETUP there are specific details on how to set every...

Page 5: ...rs or shortening pins via wires 2 1 2 Power supply adapter 2 1 2 Power supply adapter The ESP8266 EVB board gets powered via the barrel power jack named PWR You need to apply exactly 5V DC The corresp...

Page 6: ...2 1 Driver for the USB serial cable 2 2 1 Driver for the USB serial cable Contact the supplier of your USB to serial adapter cable for such drivers After the drivers are installed make sure the cable...

Page 7: ...nterested can be found on the next page The hardest part of the connection is probably connecting the USB serial cable to the UEXT connector of ESP8266 EVB The important part here is to connect the GN...

Page 8: ...OLIMEX 2015 ESP8266 with Arduino IDE Page 8 of 15...

Page 9: ...e only thing we need to edit here is the field called Additional Boards Manager URLs In the blank space we need to provide a link to the json file which would add ESP8266 support to Arduino By the tim...

Page 10: ...m of the selector Tools Board you should see different ESP8266 boards available This is shown below At this point we have a properly configured setup Now we can proceed to upload a simple blinking LED...

Page 11: ...ESP8266 EVB boards By default the example assumes the LED is connected to digital pin 13 like in most Arduino boards In our case the relay that has a LED is connected to digital pin 5 This informatio...

Page 12: ...Arduino IDE select Generic ESP8266 Module board This is done from Tools Board Generic ESP8266 Module Edit the settings for upload Navigate to Tools and edit the settings as show below except for the C...

Page 13: ...f power to the PWR jack release the button You need to perform the above sequence every time before uploading new code to the board In Arduino IDE compile and upload the example to the board Simply cl...

Page 14: ...ed information is the official Espressif Systems forum here http bbs espressif com The best place to read more about the ESP8266 support for Arduino IDE is this one https github com esp8266 Arduino Th...

Page 15: ...le serial to USB cable with female leads BB CH340T affordable serial to USB cable remember to get female female jumper cables with it SY0605E affordable power supply adapter 5V 1A 50Hz 220V suitable f...

Reviews: