Close

Hooking Up the ESP-01

A project log for VoiceBox

Adding a Flask web interface (and other stuff) to the Google AIY Voice Kit.

tmTM 08/20/2018 at 15:260 Comments

(ESP-01 diagram from Wikipedia.)

ESP-01 connections:

ESP-01 PinConnects to:
VCC+3.3V supply
RSTReset Dupont lead
CH_PD+3.3V via 10kOhm pull-up resistor
TX"FTDI" Adapter RXD
RX"FTDI" Adapter TXD
GPIO-0GPIO-0 Dupont lead
GPIO-2Neopixel Data Input
GNDPower supply ground

"FTDI" USB Serial Adapter connections:

"FTDI" Adapter PinConnects to:
GNDPower supply ground
TXDESP-01 RX
RXDESP-01 TX

Neopixel Ring Connections

Neopixel Ring PinConnects to:
GNDPower supply ground
Power+5V Power supply
Data InputESP-01 GPIO-2

You'll need a power supply that can deliver +5V (for the Neopixels) and +3.3V (for the ESP-01). I've been waiting for over a month for a delivery of AMS1117 5V to 3.3V step-down converters, in  the meantime, I'm using a +5V supply connected to an NTE1904 LDO voltage regulator circuit. 

To program the esp8266, connect the GPIO-0 Dupont lead to the common ground and then touch the Reset Dupont cable to ground to boot the module. Because GPIO-0 is grounded, the module will boot into programming mode. You can now press the upload button on the Arduino IDE at your leisure. When programming is complete, the module should reset itself and run the program (even though GPIO-0 is still pulled low). Disconnect GPIO-0 from ground before manually booting or resetting, or you'll end up in programming mode again.

Discussions