Смотреть видео: esp8266 - How to Protect GPIO when using long wires? - Arduino Stack Exchange