Code meets hardwareBeta

ForgeUI ESP32 Labs

Write code. Flash your board.
See it respond.

An integrated Arduino development workspace inside ForgeUI Studio. Bring examples, source editing, build and flash, serial feedback and an interactive board view together in one place.

Labs Beta is available to eligible verified ForgeUI Studio accounts.

Code, Serial, Board and Labs Examples. One workspace.View full-resolution image ↗

The development workflow

From a working example to your own experiment.

  1. 01

    Choose an example

    Browse Labs Examples and start a separate project with its source files and guide.

  2. 02

    Edit your code

    Work on the Arduino source inside Studio, including examples with multiple files.

  3. 03

    Save your project

    Save a named Labs project to your account. Reopen it alongside Studio projects, use Save a Copy or export source.

  4. 04

    Build and flash

    Build firmware on the server, then connect and flash a supported board over browser USB.

  5. 05

    Read and respond

    Inspect device logs in the serial monitor and send the commands your firmware supports.

  6. 06

    Explore the board

    Rotate and zoom the 3D reference board. Supported firmware replies update its feedback view.

A visible feedback loop

Try RGB LED Control.

Send Red, Green, Blue, Off and Rainbow commands to supported firmware. Its replies are reflected in the board view, so you can follow the exchange alongside the serial output.

RedGreenBlueOffRainbow

The LED indication comes from firmware replies, not an independent sensor reading. The 3D board is an interactive reference and supported feedback view, not a full ESP32 emulator or general circuit simulator. Other examples do not automatically drive the rendering.

A dedicated place for Arduino development.

  • Multi-file code editing, named projects, Save a Copy and source export keep experiments organised.
  • Server-side builds, browser USB flashing and a serial monitor connect your code to a real board.
  • Example guides explain the hardware requirements before you wire up a peripheral.
  • A distinct teal workspace and clear Return to Studio action keep navigation familiar.

Labs is a separate Arduino development path that complements Studio’s visual UI workflow.

Explore the examples

Browse the example catalogue.

33 entries, from first circuits to connected experiments. Expand a category, then an example for its hardware requirements. Available examples passed compilation checks; not all peripheral combinations have been physically tested.

Intro 2 entries
Meet the boardAvailable

Meet the board: print its identity card and cycle the on-board RGB LED.

Hardware & setup: On-board RGB LED; no extra peripherals.

01-hello

First circuitAvailable

First circuit: an external LED on the breadboard, driven by serial commands.

Hardware & setup: External LED, 220–330 Ω resistor, breadboard and jumper wires (GPIO 4).

02-led

Display & input 3 entries
The 1Available

The 1.9" 170x320 ST7789 IPS screen over SPI.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button.

03-display

Variation 1Available

Variation 1: a bigger display demo on the same wiring (3D torus, plasma, fireworks, live dashboard). Controlled with the on-board BOOT button. Nothing new to wire. Variation 2: the same showcase, driven by a push button on GPIO 5 (plus BOOT).

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. The second variation uses the GPIO 5 button.

03b-showcase

DiagnosticAvailable

Diagnostic: are the screen wires shorted or broken? Short test + an LED probe on each data pin.

Hardware & setup: Display wiring under test; LED and series resistor for probing data pins.

pin-check

Wi-Fi 3 entries
W1 Scan & joinAvailable

W1 Scan & join: scanner views, join your network (password in NVS), status view, ping.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Wi-Fi network.

wifi-lab-w1

W2 Phone control, variation 1Available

W2 Phone control, variation 1: W1 plus REST API + WebSocket, phone page, set-up network, firmware updates over HTTP. Control from your own Wi-Fi. W2 Phone control, variation 2: everything above, plus the board dials out to the dashboard server (through a cloudflared or ngrok tunnel) so you can control it from anywhere.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Wi-Fi network. Remote variation needs a dashboard server and tunnel.

wifi-lab-w2

W3 Internet & AIAvailable

W3 Internet & AI: weather over HTTPS + JSON (Open-Meteo, no key), and the Bench Oracle: Claude (Anthropic API, key stored on the chip) writes a haiku about the moment or answers questions.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Wi-Fi network. AI features need the companion gateway/provider configuration.

wifi-lab-w3

RFID & NFC 9 entries
R1 Wire & talkAvailable

R1 Wire & talk: the chip itself. chip, reset, selftest, loopback, regs, spi, gain, timeout, irq.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r1

R2 Wake a cardAvailable

R2 Wake a card: + the trace view, poll, trace.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r2

R3 Who's thereAvailable

R3 Who's there: + inventory (two cards at once).

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r3

R4 Inside the cardAvailable

R4 Inside the card: + the memory view, dump, read.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r4

R5 Write & countAvailable

R5 Write & count: + the credits view, write, credits.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r5

R6 Edge labAvailable

R6 Edge lab: + the edge view and the seven edge experiments.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r6

R7 Card managerAvailable

R7 Card manager: a bench door (simulated: screen + LED) managed from the React app in apps/door-app over Wi-Fi. The board keeps the card list in NVS and decides every tap. JSON API + WebSocket on port 80 (the same web libraries as W2); admin token for every change.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags. Wi-Fi and door-app companion.

rfid-lab-r7

R8 Card friendsAvailable

R8 Card friends: a kids' lab. Every card is the home of a friend (fox, robot, dragon, ...): tap it and the friend pops out on the screen and in 3D in apps/friends-app, where you drag friends onto cards. New cards add themselves on their first tap. UID only, nothing is written. R7's driver, reader health checks, web libraries and admin token.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags. Wi-Fi and friends-app companion.

rfid-lab-r8

R9 Vault (work in progress)Work in progress · unavailable

Unfinished source entry with no build environment. Building and flashing are unavailable.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. RC522 reader at 3.3 V and compatible cards/tags.

rfid-lab-r9

Bluetooth LE 8 entries
B1 ListenAvailable

B1 Listen: a scanner. Radar, list, a byte-by-byte packet inspector, air statistics.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Nearby BLE devices for radio experiments.

ble-lab-b1

B2 Be seenAvailable

B2 Be seen: a beacon. Live data in the advertisement, iBeacon and Eddystone-URL, TX power, interval.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Nearby BLE devices for radio experiments.

ble-lab-b2

B3 Connect & talkAvailable

B3 Connect & talk: a GATT server. LED, message, button, temperature from nRF Connect/LightBlue.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. BLE phone with nRF Connect or LightBlue.

ble-lab-b3

B4 Pair & trustAvailable

B4 Pair & trust: B3's service plus a Vault. Passkey on the screen, numeric comparison on the button, bonds.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. BLE phone for pairing.

ble-lab-b4

B5 Phone appAvailable

B5 Phone app: B3's service plus sketch, live sensors and a speed test for the Web Bluetooth app in apps/ble-app.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Web Bluetooth companion app; optional GPIO 1 touch wire.

ble-lab-b5

B6 Keyboard & mediaAvailable

B6 Keyboard & media: a BLE keyboard with media keys. Volume and play/pause for the music on your phone or Mac.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Compatible BLE host; optional GPIO 1/2 touch wires.

ble-lab-b6

B7 MusicAvailable

B7 Music: a BLE-MIDI instrument for GarageBand or the ble-app synth. Button and touch wires play notes.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. BLE-MIDI app; optional GPIO 1, 2, 6, 13, 14 touch wires.

ble-lab-b7

B8 HostAvailable

B8 Host: the board is the central. Explore any device's GATT, then host your BLE keyboard and mouse.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. Compatible BLE keyboard/mouse for HID experiments.

ble-lab-b8

Sound 8 entries
S1 HearAvailable

S1 Hear: the raw signal. Oscilloscope, the DC bias and the ADC's range, the comparator (DO + pot).

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. KY-037 or INMP441 microphone.

sound-lab-s1

S2 LoudnessAvailable

S2 Loudness: a sound level meter. dB above your room's quiet, fast/slow, a 10-minute diary, alarm.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. KY-037 or INMP441 microphone. Optional external LED with resistor and MAX98357A amplifier/speaker.

sound-lab-s2

S3 Clap controlAvailable

S3 Clap control: claps (not voices) in patterns of 1-4 switch the LED, the RGB LED and the screen.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. KY-037 or INMP441 microphone. Optional external LED with resistor and MAX98357A amplifier/speaker.

sound-lab-s3

S4 RecorderAvailable

S4 Recorder: a voice-activated recorder into PSRAM, with half a second of "before". Listen and download on your phone at http://bench.local (Wi-Fi saved by W1, admin token), or pull a WAV over USB with tools/sound_pull.py.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. KY-037 or INMP441 microphone. INMP441 recommended for voice; optional MAX98357A amplifier/speaker; Wi-Fi for phone downloads.

sound-lab-s4

S5 SpectrumAvailable

S5 Spectrum: our own FFT. Bands, a waterfall, a whistle tuner, and steering by pitch.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. KY-037 or INMP441 microphone.

sound-lab-s5

S6 Sound gamesAvailable

S6 Sound games: a knock lock (your secret rhythm), Clap Bird, and a beat-following light party.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. KY-037 or INMP441 microphone. Optional external LED with resistor and MAX98357A amplifier/speaker.

sound-lab-s6

S7 SpeakerAvailable

S7 Speaker: the board makes sound. Waveforms, envelopes, notes and tunes, a keyboard, a sound-effects box.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. MAX98357A I2S amplifier and speaker.

sound-lab-s7

S8 Voice FXAvailable

S8 Voice FX: microphone in, speaker out. A parrot that repeats you as a chipmunk, a giant or a robot, an echo, and a talking-robot mode. Needs the INMP441 + the speaker for good results.

Hardware & setup: 1.9-inch 170 × 320 ST7789 SPI display and wiring; optional GPIO 5 push button. INMP441 microphone, MAX98357A amplifier and speaker.

sound-lab-s8

Follow each example’s guide for exact wiring, libraries and companion-app setup. RGB LED Control is also provided in the Labs workspace.

Hardware & availability

Start with the N16R8.

Current integrated build/flash target: ESP32-S3 DevKitC-1 N16R8, with 16 MB flash and 8 MB PSRAM.

Hello and RGB operation have been physically demonstrated on the N16R8. This is deployed Beta functionality, with broader owner acceptance testing ongoing. Other Studio board-selector entries do not establish Labs compatibility.

What do I need to connect?

A compatible browser, a USB connection and device permission for flashing and serial. Connection reliability depends on your browser, device and USB setup. Extra-hardware examples require the listed peripherals and wiring.

What are the current Beta build limits?

One active build per account, at least 30 seconds between build starts, and 20 build attempts per day. The daily allowance resets at UTC midnight. These are the current Beta limits.

Can I export and rebuild?

Source export includes working code and rebuild instructions. The fresh local toolchain download/rebuild workflow has not yet been fully validated; successful server compilation is separate evidence.

Attribution, licences & source materials

Original ESP Labs work by Abderrehmen Gharsallah, under MIT. The adapted board model retains its upstream attribution and MIT notice. Three.js provides the renderer. No upstream endorsement is implied.

Arduino-ESP32 and additional libraries retain their respective licences. The examples’ MIT licence does not cover the entire toolchain.