ESP8266 Thing Development Board Hookup Guide

Pages
Contributors: jimblom
Favorited Favorite 18

Hardware Overview

The ESP8266 Thing Development Board is a relatively simple board. The pins are broken out to two parallel, breadboard-compatible rows. The USB connector sits next to an optional power supply input, and an ON/OFF switch -- controlling power to the ESP8266 -- sits next to that. And LEDs towards the inside of the board indicate power, charge, and status of the IC.

ESP8266 Dev Board top view

This section provides a quick overview of the Thing Dev Board's main components.

Serial and I2C Header

The header on the left provides an interface for serial, I2C, and power:

Pin LabelESP8266 I/O Function(s)Notes
GNDGround (0V).
3V33.3V
2GPIO2, SDACan either be used as ESP8266 GPIO2 or I2C serial data (SDA).
14GPIO14, SCL, SCLKCan either be used as ESP8266 GPIO14 or I2C serial clock (SCL).
Also used as the SPI clock (SCLK).
RSTThe ESP8266's active-low reset input. The board includes a 10kΩ pull-up resistor on this pin.
TXGPIO7, TX1ESP8266 UART1 data output.
RXGPIO8, RX1ESP8266 UART1 data input.
5VUSB supply output. If USB is connected, this pin will supply about 4.8V.
NCNot connected to anything.
GNDGround (0V).

The top portion of this header breaks out the ESP8266's I2C interface, a popular interface for a variety of sensors including motion sensor, light sensor, digital-to-analog converter, or OLED display, I2C is often the protocol of choice.

If you need the extra I/O, instead of I2C, the SDA and SCL pins can be used as GPIO 2 and 14 respectively. The SCL pin also serves as the clock (SCLK) for the ESP8266's SPI interface.

The lower part of the header breaks out one of the ESP8266's serial UARTs. This serial port is used to program the thing, so be careful using it for other tasks.

General I/O Header

The rest of the power, control, and I/O pins are broken out on the other side of the board. They are:

Pin LabelESP8266 I/O FunctionNotes
GNDGround (0V).
VINUSB connected: ~5V output
Can alternatively be used as a voltage supply input to the 3.3V regulator.
5GPIO5This pin is also tied to the on-board LED.
0GPIO0
4GPIO4
13GPIO13, MOSIHardware SPI MOSI
12GPIO12, MISOHardware SPI MISO
16GPIO16, XPDCan be connected to reset to wake the ESP8266 from deep sleep mode.
ADCA0A 10-bit ADC with a maximum voltage of 1V.
15GPIO15

External Power Supply

If your project requires a power source other than USB, the Thing Dev Board includes footprints for a 2-pin JST, 2-pin 3.5mm screw terminal, or a simple 0.1"-pitch 2-pin header.

Power input

You can supply anywhere between 3.3V and 6V into these inputs to power the board.

Note: Unlike the original ESP8266 Thing, the ESP8266 Thing Development Board does not have a built-in LiPo charger. A LiPo battery can be connected into a populated JST connector, but you'll need to add some extra circuitry to charge it.

Power-Saving Jumpers

A pair of jumpers on the back of the board can be used to help reduce the Thing's power consumption.

ESP8266 Thing Dev bottom

Jumper LabelDefault SettingNotes
SLEEP-ENOpenConnects GPIO16 (XPD) to the ESP8266's RST pin.
PWR-LEDClosedCompletes the power LED indicator circuit.

The SLEEP-EN jumper connects GPIO16 (which has the XPD functionality) to the ESP8266's reset input. This connection is required if you want the ESP8266 to automatically wake itself from deep sleep.

sleep jumper installed

The SLEEP_EN jumper set: enables using and waking up from deep sleep mode, but disables programming.

To use the jumper solder a 2-pin male header and slide a 2-pin jumper on and off. This is a through-hole jumper only, because you'll need to remove the jumper to program the ESP2866.

The PWR-LED jumper allows you to disable the power LED. The LED will normally pull about 7mA, which is a ton compared to the ESP8266's 10's of µA consumption in sleep mode.

To disable the power LED, slice the interconnecting trace with your handy hobby knife.

Selecting the Antenna

The Thing Dev Board's default WiFi antenna is a PCB trace antenna based on this TI app note. It's cost-effective and actually works really well!

If you need to connect a more sensitive antenna, or need to route outside an enclosure, a U.FL connector is also available on the board, but isn't connected by default to the ESP8266's antenna pin. To connect this antenna to the chip, you'll need to swap the jumper by removing the solder blob and pushing it over to the other side.

connecting an external antenna

Antenna-select jumper set to U.FL, and an external attached.

Then attach a U.FL WiFi antenna of your choice. Our adhesive antenna or a U.FL-to-RP-SMA adapter/2.4GHz Duck Antenna combo are good options.