Maker Charles Giguere has designed a device which goals to make it simpler to troubleshoot tasks constructed round Espressif ESP32 microcontrollers: an on-device internet web page offering reside readouts of every pin on the board — in a 50kB Arduino library.
“It is like having X-ray imaginative and prescient,” Giguere claims of his creation, “and for those who’re, like me, dealing with challenges in your microcontroller challenge, typically feeling overwhelmed, this device is a sport changer you do not need to miss. I developed it for my very own use, however now I am thrilled to share it with you as a straightforward to make use of library.”
This handy-dandy library provides simply 50kB to your ESP32 sketches whereas providing a live-view GPIO standing web page. (📷: Charles Giguere)
The device in query is the GPIOViewer, an Arduino library which installs on an Espressif ESP32-based improvement board and supplies an on-device internet server accessible from any browser. As soon as accessed, the device shows a picture of the board in use — together with the standing of each general-purpose enter/output (GPIO) pin.
“The GPIOViewer [library] saves time and eliminates the guesswork,” Giguere claims, “serving to you to concentrate on the artistic facets of your challenge. As soon as the GPIOViewer finishes its initialization it can print a URL within the serial monitor: that is your golden ticket. Copy that URL, paste it in your your browser, and voila: you are now watching the reside motion of your pins in your display. Any gadget with a browser can grow to be your GPIO monitoring station.”
A “generic view” is obtainable in case your ESP32 board is not one of many 19 at present illustrated. (📷: Charles Giguere)
In its present launch, the GPIOViewer library provides 50kB to a challenge — saving house by flattening the required board imagery from a distant server reasonably than storing it regionally. To date, the library helps 19 ESP32-based improvement boards, starting from the compact Seeed Studio XIAO ESP32-C3 to the Espressif ESP32-VROOM-32D 38-pin variant — with a “generic view” in case your explicit mannequin is not but supported.
The GPIOViewer library is obtainable, with full supply code, on the challenge’s GitHub repository, underneath the permissive MIT license; a video demo is obtainable on YouTube.