Power considerations

Michael Ingraham 2019-06-12 11:46:58 -04:00
parent 18b75075f3
commit c265b158a7
1 changed files with 2 additions and 0 deletions

@ -103,6 +103,8 @@ The ESP8266 is a 3.3V microcontroller, so its I/O operates at 3.3V as well. The
The maximum current that can be drawn from a single GPIO pin is 12mA.
The [power supplied to the device](https://www.letscontrolit.com/wiki/index.php?title=Power) is **one of the most important elements** for stable device operation. Voltage regulation issues typically result in fatal exception [fault code](https://github.com/esp8266/Arduino/blob/master/doc/exception_causes.rst) `1`. You must ensure that the device receives sufficient power (current AND appropriate voltage level). You must take into account the current that each sensor powered from the device itself will draw. Connected sensors may strain the ability of the power supply on the device to deliver appropriate power to all the components, both on-board as well as externally connected.
## Usable pins
The ESP8266 has 17 GPIO pins (0-16), however, you can only use 11 of them, because 6 pins (GPIO 6 - 11) are used to connect the flash memory chip. This is the small 8-legged chip right next to the ESP8266. If you try to use one of these pins, you might crash your program.