Flaky ESP8266 Behavior

From IoT with AME
Revision as of 23:02, 14 June 2018 by Ctreber (talk | contribs) (Created page with "=Flaky ESP8266 Behavior= It resets itself, it produces garbage output, it plain hangs, it does not behave as expected - what can you about it? My Arduino library uses three...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Flaky ESP8266 Behavior

It resets itself, it produces garbage output, it plain hangs, it does not behave as expected - what can you about it?

My Arduino library uses three levels of measures to straighten out the balking chip:

  • Soft-reset, by issuing a "restart" command to the ESP
  • Hard-reset, by connecting an Arduino digital port pin to the reset pin of the ESP. This just requires a piece of cable. And an IO pin.
  • "Turn if off and on again", by connecting an Arduino digital port pin to a transistor that controls the ESP power supply. That requires a transistor and minor wiring. And another IO pin.

You can't do more without modifying the ESP8266 firmware.