Watch ESP32’s GPIO status in real-time in a web browser

GPIOViewer is an open-source Arduino library allowing users to monitor the GPIO pins status of their ESP32 board in real-time in a web browser for troubleshooting or fun.

It’s different than the Wokwi ESP32 simulator that works entirely in a web browser since the GPIOViewer library sends GPIO status data of the actual hardware over WiFi to display the pin status as they change in a page rendered in a web browser from a choice of popular ESP32 development boards.

GPIOViewer ESP32 GPIO web browser

The GPIOViewer library relies on the ESPAsyncWebServer Async web server for ESP8266 and ESP32 and the AsyncTCP asynchronous TCP library for ESP32 microcontrollers. The first two must be manually downloaded and installed, and the latter can be installed directly from the Arduino IDE’s Library Manager by searching for it.

GPIOViewer has a 50 KB footprint, works with digital, analog, and PWM, and supports various ESP32-VROOM-32 development boards, Olimex ESP32-EVB and ESP32-POE boards, Lolin ESP32-C3 Mini, Arduino Nano ESP32, Seeed Studio XIAO-ESP32-C3, and others.

What’s really impressive is that you only need to add a few lines of code to enable GPIO monitoring in your existing Arduino sketch:


Build and flash the code to your board, and run it. A URL will show up in the serial console similar to http://192.168.1.111:5555. Enter this URL in a web browser and watch the GPIO pins status update in near real-time as you can see in the video demo. (embedding has been disabled so I can’t include it in the post).

Via Hackaday.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

2 Replies to “Watch ESP32’s GPIO status in real-time in a web browser”

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products