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:

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

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
2 Comments
oldest
newest
Gopinath
Gopinath
3 months ago

Hi

Sebius
Sebius
3 months ago

This is so cool !
Great idea thx !

Khadas VIM4 SBC