ESP Basics

From diychristmas.org wiki
Revision as of 08:15, 10 December 2018 by Dirknerkle (talk | contribs)
Jump to navigation Jump to search

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:

Esp8266 module.jpg

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 is not very tolerant of higher voltages, even for short periods of time.
  • It is power-hungry: it generally requires 250-300ma of current.
  • 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.