Menu
JAQForum Ver 26.09

Forum Index : Microcontroller and PC projects : LCD Visual Design Studio Free browser-based UI builder & C++ generator

Posted: 05:40pm
17 Nov 2026
Copy link to clipboard
Batteryman
Newbie

Hi everyone,

   Over the past few years (very many!), I’ve been working on a project to solve a
   headache I’m sure many of you have run into: designing touch screen interfaces
   for microcontrollers without having to manually calculate X/Y pixel coordinates
   and write endless boilerplate code.

   I’ve developed a free, browser-based visual designer called ESP32 Visual Studio
  (though it now supports quite a bit more than just the ESP32!):

  Website URL:  https://esp32-lcd-designer.prontogwyn.site/

   There is no account or sign-up required—you just open the page and can start
   designing right away.

   Why I Built It?

   I worked in the biotech instrument design and development industry, designing
   and bringing to market various precision measurement instruments. I'd write
   software apps to be able to create rapid concepts and prototypes for future
   instrument products.

   I also enjoy developing DIY homebrew projects and write little apps to make it
   easier to develop, so if you've ever tried building a multi-screen menu, a
   dashboard with gauges, or a keypad input on an SPI LCD in Arduino C++, you know
   how tedious it gets testing button hit-boxes, debouncing touch, and redrawing
   elements.

   I wanted an environment inspired by the classic Visual Basic / RAD workflow
   where you can:

       Drag controls onto an LCD canvas (sized for your exact screen).
       Set colors, styles, fonts, and ranges in an inspector.
       Double-click to write simple, familiar event code (e.g. Button1_Click,              
       Slider1_Change, Timer1_Tick).
       Test it instantly in a browser simulator with interactive GPIO switches and
       LEDs.
       Click Export ZIP and get a clean, standard Arduino sketch with all libraries
       and headers configured.

   What’s Supported

       Microcontrollers: ESP32 (WROOM, S3), ESP8266, Raspberry Pi Pico / Pico W
      (RP2040), and the new Pico 2 / RP2350 (including 48-pin RP2350B boards).
       Displays: Standard SPI LCDs with XPT2046 touch (ILI9341 2.4"/2.8"/3.2",
      ILI9488 4", ST7789, ST7735), plus ready-made profiles for the Cheap Yellow
       Display (CYD     2.8") and Elecrow CrowPanel boards (2.4", 2.8", and the 7"
      RGB panel).
       Graphics Drivers: Generates clean code for TFT_eSPI (with automatic
       User_Setup.h), Adafruit GFX, Arduino_GFX, or LovyanGFX.
       Toolbox Controls:
       Pushbuttons (Rounded, Pill, Industrial Square, 3D Beveled, Ghost outline,
       Circular)
       Radio buttons with independent grouping
       Circular, Semicircular, and Linear Gauges with customizable warning/danger
       zones
       Sliders, Progress Bars, and Toggles
       Embedded resizable Images (auto-converted to RGB565 arrays) & Shapes
       Full Numeric Keypads (Phone, Calculator, PIN, Decimal) and a pop-up QWERTY
       Keyboard
       Canvas Waveform drawing (DrawLine, DrawCircle, DrawRect, FillScreen,
       DrawWidth) for plotting sensor curves or sine waves
       Multi-page/form navigation (Form2.ShowForm)
       Simulator: A built-in "Run Preview" with a virtual GPIO hardware bench that
      simulates pushbuttons, toggle switches, and glowing LEDs/PWM outputs before
      you touch any hardware.

   Looking for Your Thoughts & Feedback

   I’ve built this web-based version as a personal project to give something
   genuinely useful back to the maker community. I’d love for fellow BackShedders
   to give it a spin on their bench screens and let me know how it works for you.

   If you have a specific display driver, pinout, or feature you'd like to see
   added, please let me know—I'm actively refining it!

   Oh, I'm new to posting on forums! Please be gentle..  

Cheers,
Peter
 
Posted: 07:18pm
17 Nov 2026
Copy link to clipboard
vegipete
Guru


That's kinda cool! I've had a brief play with it, next I need to figure out how to use the output.

An Undo button might be handy, for when I drag/resize a control un-intentionally.

Font choice is unclear. For example, in the demo panel chosen at startup, the numerical value of the temperature shown in the Sensor1 control uses a different font than the value shown in the Gauge1 control.

<Hmm, is the BackShed "Upload Image" button broken?>

Would zoom make more sense if it showed screen resolution/pixels better?
 
Posted: 09:24pm
17 Nov 2026
Copy link to clipboard
phil99
Guru



Some formats (eg .BMP) not supported but .PNG and .JPG should be ok. There may also be a size limit.

Clickable link for UI builder
Edited 2026-11-18 08:56 by phil99
 
Posted: 12:00am
18 Nov 2026
Copy link to clipboard
Batteryman
Newbie

Thanks vegipete for taking a look and for the great feedback! Also phil99 for the clickable link, I just noticed the icon above the post editor.  

   
   On Undo: Spot on. It’s very easy to accidentally nudge or resize a control while clicking around, so I'm adding an Undo (and Ctrl+Z) feature to make quick rollbacks seamless.

   On Fonts: Good catch! In the generated C++ code, the microcontrollers use TFT_eSPI's built-in bitmap fonts (Font 1 = 8px, Font 2 = 16px, Font 4 = 24px). The circular Gauge defaults to Font 2 so the number fits inside the dial arc, whereas the Sensor card uses Font 4 for a larger readout. On the browser LCD canvas, the sensor was also using a smoothed browser font instead of the pixel-accurate LCD font preview that the gauge uses. I'm updating this so all controls preview with consistent font rendering, and adding clearer font size controls in the property panel.

   Thanks again for trying it out, keep the ideas coming!

Peter
 
Posted: 05:46pm
19 Nov 2026
Copy link to clipboard
Batteryman
Newbie

I'm currently working on adding a Wi-Fi component to the studio, this will make it a useful feature. Some of the code i used on my ESP8089, 8089EX (work) and ESP8266 (home projects).

WiFi and WebServer are now in the toolbox, below Oscillator. Like the Timer, they show as small icons on your design but aren't drawn on the LCD.

   WiFi settings: Mode (Station to join your router, or Access Point to make its own network), network name (SSID), Password and Auto connect. Its events are WiFi1_Connected and WiFi1_Disconnected.
   WebServer settings: Port (80 to start with) and a Web page menu with three choices: Mirror LCD controls, Custom VB handler, or Both. Its event is WebServer1_Request.
   Export check now warns you about:
       a board that has no Wi-Fi
       a plain Pico, since only the Pico W has Wi-Fi
       a missing network name
       a password shorter than 8 characters
       a WebServer with no WiFi control
       more than one of either control

In progress (not done yet): the exported sketch leaves these two controls out for now, and the export check tells you so. Your settings are still saved in the .pgproj file. Run Preview doesn't act out a connection yet, and there's no Help page for them. Those are the next steps.

The Wi-Fi password is saved as plain readable text in your .pgproj file, so don't share that file publicly.  

I hope to finish unit testing and verification tests tomorrow ( )!

I'm also updating the help guide

Peter
ESP32 Visual Studio - link
 


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026