Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By kolban
#25316 Your diagram is correct ... you just need to make sure that the correct voltages are applied. You must NOT attach a 9V battery directly to the ESP8266 ... it is a 3.3V device. You would use a voltage regulator to scale down the input voltage to be 3.3V.

An example of of such a device would be the LM317 ... see:

http://www.ti.com/product/lm317
User avatar
By martinayotte
#25318 The V33 in LD1117AV33 means it is already 3.3V by default.
The A means "adjustable" by tweaking the common pin to higher level instead of connecting it GND.
(an example is that if common pins is at 1.7V, the output will be 1.7V + 3.3V = 5.0V)

Beware that using a 9V battery with LD1117AV33 will provide only ~33% efficency, 66% of heat, your battery will be discharge quickly. Use multiples AA in series or use a DC-to-DC converter for better efficiency, there are cheap on eBay.