ESP8266 OTA Serial Monitor

ESP8266 self hosted WIFI-to-UART bridge

Similar projects worth following
Does it ever happened to you that one of your Raspberry Pis falls into boot loop somewhere on the top shelf? Every Pi running from sdcard is doomed to refuse to work one day (unless you run them from read-only filesystem, which you should do BTW).
When that happens I usually disconnect it and bring to the bench to check serial console. Recently It took me more time to actually disassemble device from it's place, than actually fixing it. That get me thinking, surely some people made ESP8266 serial bridge over-the-air, and surely I'd like to have one nearby, next time ping is not coming back.
Not long after first prototype was born, fast forward few month I have revision A board on my bench. Short feature list
- ESP82266 with WifiManager
- One Serial connected to the host, another accessible via header for debugging purposes
- RGB led for status indication (If connected to Wifi and if connected to client)
- On-Board Li-Ion battery and battary management circuit

Here how it works in a nutshell

And below is a pinout for my specific implementation

  • 1
    How to build and flash, configure Wi-Fi
    • Build solution in platformio
    • Upload filesystem image using Upload Filesystem Image task
    • Upload firmware using Upload task
    • (First time) Upon power on ESP-XXXXXX network will appear, connect to it using your phone and you will be redirected to WiFi captive portal, where you can provide WiFi network credentials
    • When configured device restarts and from this moment on it will connect to known network automatically. Your phone will switch back out of ESP-XXXXXX network
    • Go to http://ESP-XXXXXX page to configure UART settings and enter terminal. Alternatively you can check what IP address device has in router logs or using debug output on UART1
    • (Alternatively) Please use TCP terminal via telnet on 23 default port: telnet
  • 2
    Connect to target and start communication
    • Connect target device using provided header and you should be able to sent and receive using both described methods

View all instructions

Enjoy this project?



Vincèn wrote 07/11/2022 at 12:10 point


Is it possible to use that device to control by RS-232 some devices ? Does it output some standard RS-232 levels ? I would use it with ESPHome and Home Assistant to control some devices through UART ;)



  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates