Difference between revisions of "ESP8266"
From Makers Local 256
(add current draw info) |
(add disclaimer about power draw info) |
||
Line 9: | Line 9: | ||
** The often-repeated information stands: '''This is not a 5V device. If you run it off of 5V, you will smoke it within a few seconds.''' | ** The often-repeated information stands: '''This is not a 5V device. If you run it off of 5V, you will smoke it within a few seconds.''' | ||
* According to the datasheet, the module "typically" can draw up to 170mA (whatever that means). In practice, your supply needs to be able to provide at least 300mA. | * According to the datasheet, the module "typically" can draw up to 170mA (whatever that means). In practice, your supply needs to be able to provide at least 300mA. | ||
+ | ** This is really just information that "is known". You can see references to it [http://www.nfriedly.com/techblog/2015/07/build-a-diy-esp8266ex-esp-01-dev-test-programming-board/ here]. I ([[User:hfuller]]) have personally measured 240mA, and I don't even have a fast meter, so I'm likely missing any spikes in draw due to Wi-Fi transmission or whatever. | ||
== Random resources == | == Random resources == |
Revision as of 14:43, 29 March 2017
This is a collection of resources for software/hardware/firmware development on/with an ESP8266.
Basics
Choice pieces of information
- The module nominally runs on 3.0-3.6V. In practice, it tends to boot just fine as low as 2.5V, and 4.7V is the absolute maximum. Source
- This means you can probably get away with running an ESP8266 directly off of a single Li-ion/Li-poly cell. More information on Li-ion battery voltages
- The often-repeated information stands: This is not a 5V device. If you run it off of 5V, you will smoke it within a few seconds.
- According to the datasheet, the module "typically" can draw up to 170mA (whatever that means). In practice, your supply needs to be able to provide at least 300mA.
- This is really just information that "is known". You can see references to it here. I (User:hfuller) have personally measured 240mA, and I don't even have a fast meter, so I'm likely missing any spikes in draw due to Wi-Fi transmission or whatever.
Random resources
- http://frightanic.com/iot/comparison-of-esp8266-nodemcu-development-boards/
- https://github.com/cnlohr/esp8266ws2812i2s
- https://github.com/esp8266/Arduino/blob/master/doc/libraries.md#esp-specific-apis Might be useful for making a demo sketch. also talks about general ESP functions.
- https://github.com/Makuna/NeoPixelBus - Arduino NeoPixel library compatible with ESP8266. Use the "DmaDriven" or "UartDriven" branches for ESP8266. Includes HSL color support and more.
- https://tzapu.com/sonoff-firmware-boilerplate-tutorial/ - Sonoff
- https://github.com/esp8266/Arduino/blob/master/doc/libraries.md#esp-specific-apis - Library list
- https://github.com/me-no-dev/ESPAsyncTCP - async tcp operations. There is a Web server too.