If you need the extra I/O, instead of I 2C, the SDA and SCL pins can be used as GPIO 2 and 14 respectively. This pinout matches that of most of our I 2C-based breakout boards, so you can piggyback them right on top of the Thing.
Pin LabelĬan either be used as ESP8266 GPIO2 or I 2C serial data (SDA).Ĭan either be used as ESP8266 GPIO14 or I 2C serial clock (SCL). This header includes four pins - all that should be required to connect an I 2C device up to the Thing. Whether you want to hook the Thing up to a motion sensor, light sensor, digital-to-analog converter, or OLED display, I 2C is often the protocol of choice. I 2C is a very popular communication protocol in the embedded world. Connects through a capacitor to RESET, and a buffer to the ESP8266's GPIO0.īy default, this pin does not supply the ESP8266 directly (a jumper on the back can change that). Performs auto-reset, and puts the ESP8266 into bootloader mode. If a pin is directly tied to an ESP8266 I/O, it'll be noted: Pin Label The pinout of this header matches the extremely common "FTDI header." That means you can interface it with either a 3.3V FTDI Basic or a 3.3V I/O FTDI Cable to program and debug the Thing.įor a quick breakdown of the pins on this header, consult the table below. This six-pin header will be the main point of contact between the Thing and your development computer. The Thing's I/O headers can be broken down into three sections: Serial Programming Header This wishlist includes everything we use in this tutorial to program and use the Thing if you are ordering the board individually: Suggested Readingīefore continuing on with this tutorial, you may want to familiarize yourself with some of these topics if they're unfamiliar to you: To follow along with this tutorial, and get up-and-running with the Thing, you may need a few extra tools and materials. Using the Arduino Addon - There are a few key differences between programming the Thing and any other Arduino board.
Example Sketch: AP Web Server - Set the Thing up as an access point and use it to serve web pages.
Programming the Thing - Interface a 3.3V FTDI Basic with the Thing to program it.Powering the Thing - The Thing can be powered through either USB or a LiPo battery.Hardware Overview - A quick rundown of the Thing's components and pinout.This tutorial will familiarize you with all things SparkFun Thing. Having trouble viewing the videos? Try resizing the video by clicking on the shortcut to view the product showcase in full screen.