Wiring

This tutorial was written before we put in the HUZZAH ESP8266 breakout in the shop https://www.adafruit.com/product/2471 - we recommend going with that as it has a regulator, level shifter and is breadboard friendly!

This project is presented on a breadboard as it best demonstrates the connections and how the digital pins might connect to other types of sensors.  A final project may only have power, a regulator, the ESP-01, and a sensor, which could fit in a very small container.

The ESP8266 is a 3.3 volt device only.  It can draw over 300 milliamps at some peak operations.  To give it a safe margin, the LD1117-3.3 regulator is safe, able to supply 800 milliamps when it needs to, cool at 500 milliamps.  So you can connect a 3.7 volt LiPo battery, 5 volt "Cell Phone Recharger" battery, or 9 volt battery.  You may also use a 5 volt "wall wart" power supply.  You might also consider a power switch.  If you have noisy power, like a poor quality cell charger, etc. place a capacitor between power and ground on the input and output.  0.1 microfarad would be typical, 10 microfarad electrolytic capacitor (which have + and - leads) for a more noisy supply.

Many web tutorials show the ESP8266 being connected via generic FTDI USB to Serial device.  5 volt signal levels can harm the ESP8266.  This may be mitigated via level shifting or a voltage divider on the ESP8266 receive (RXI) pin for such devices.  The Adafruit FTDI Friend is safe as the default transmit and receive signal level is 3.3 volts if left on the default on the back.  

The Adafruit Console Cable #954 runs at 3.3 volt signal levels so it's safe (safe for the sensitive Raspberry Pi also).  The only thing is do not connect the red 5 volt wire, it is not needed.

If you do not have a 4x2 or 5x2 socket, you can use female to male rainbow connector wires like the one below.

Here is the complete project on the breadboard (using the breadboard socket for the ESP8266).

Last updated on 2015-05-06 at 03.22.23 PM Published on 2015-05-06 at 03.22.52 PM