Difference between revisions of "ESP Basics"
Jump to navigation
Jump to search
Dirknerkle (talk | contribs) |
Dirknerkle (talk | contribs) |
||
Line 7: | Line 7: | ||
A few basic things to know about the ESP module: | A few basic things to know about the ESP module: | ||
− | :* It is a 3.3v chip. It | + | :* It is a 3.3v chip. It does not tolerate higher voltages well, even for short periods of time. |
− | :* It is power-hungry: it generally requires 250-300ma of current. | + | :* It is power-hungry: it generally requires 250-300ma of current during operation. |
:* It usually connects to an access point or wireless router rather quickly, but if it can't find one within 4-5 seconds, it generally gives up trying and power-cycling the unit is about the only way to restart it. | :* It usually connects to an access point or wireless router rather quickly, but if it can't find one within 4-5 seconds, it generally gives up trying and power-cycling the unit is about the only way to restart it. | ||
Line 16: | Line 16: | ||
:* The modules are relatively easily damaged by static electricity, power surges or rough handling. Plugging a new module into a live circuit is generally not a good idea. | :* The modules are relatively easily damaged by static electricity, power surges or rough handling. Plugging a new module into a live circuit is generally not a good idea. | ||
+ | |||
+ | :* As they are quite inexpensive (<$2 each) having several replaces spares is a good idea, especially for an experimenter. Virtually all of them are manufactured in China, so allow for adequate delivery time. | ||
+ | |||
+ | :* The modules use an external flash memory chip which is key to the operation of the ESP8266 chip. Users have experienced problems with modules manufactured with the PUYA memory chip. The symptoms are that either one can't connect to the chip or that the chip's SPIFFS memory cannot be used, which may be a requirement for some versions of custom ESP firmware (such as the ESPixelStick firmware!) |
Revision as of 07:25, 10 December 2018
The ESP8266 chip incorporates complete WiFi capability in a tiny package that's about 1/4" square. The chip is used on several versions of ESP modules, such as the popular and inexpensive ESP-01 version, shown below:
The module is programmable using the Arduino interface and since introduced in 2013, a great many Arduino interface add-ons and applications have been written for it.
A few basic things to know about the ESP module:
- It is a 3.3v chip. It does not tolerate higher voltages well, even for short periods of time.
- It is power-hungry: it generally requires 250-300ma of current during operation.
- It usually connects to an access point or wireless router rather quickly, but if it can't find one within 4-5 seconds, it generally gives up trying and power-cycling the unit is about the only way to restart it.
- Several manufacturers produce modules that incorporate the ESP8266 chip; not all are the same. For example, some may provide two LEDs on the module, one for power and one that monitors the TX line while other manufacturers may use only one LED that serves both functions. Therefore, the LED display from one can appear completely different than another, leading you to believe the module may not be functioning properly when it's perfectly fine.
- The modules are relatively easily damaged by static electricity, power surges or rough handling. Plugging a new module into a live circuit is generally not a good idea.
- As they are quite inexpensive (<$2 each) having several replaces spares is a good idea, especially for an experimenter. Virtually all of them are manufactured in China, so allow for adequate delivery time.
- The modules use an external flash memory chip which is key to the operation of the ESP8266 chip. Users have experienced problems with modules manufactured with the PUYA memory chip. The symptoms are that either one can't connect to the chip or that the chip's SPIFFS memory cannot be used, which may be a requirement for some versions of custom ESP firmware (such as the ESPixelStick firmware!)