Coming Soon

This project is being tested and polished. Check back soon!

Beginner30 minutes12+2 parts needed

Parent info

Cost: ~$17
Time: 30 minutes
Age: 12+
Difficulty: ●●●
Soldering: No soldering needed
What they'll learn: Microcontroller programming

Parts you need

Affiliate links — we may earn a small commission

ESP32-S3 Dev Board (any)
USB-C cable (data, not charge-only)

ESP32 + AI: Your First 5 Projects in 30 Minutes

You just got an ESP32. You need two things: Arduino IDE installed (free — quickstart guide here) and ChatGPT or Claude.ai open in a browser tab (both free).

That’s literally all you need.

Here’s what most people do: watch a 2-hour YouTube tutorial, get confused, give up. Here’s what you’re going to do instead: open an AI chatbot, paste a prompt, upload code, and have something real running in under 5 minutes per project.

No textbook. No prior coding experience. Just 30 minutes and a tiny $12 computer that can connect to WiFi, create its own websites, and even pretend to be a Bluetooth keyboard.

Let’s go.

What you need: ESP32-S3 Dev Board ($12) + USB-C data cable ($5). That’s it.


Before You Start

Make sure you have:

  • Arduino IDE installed and your ESP32 board added (quickstart guide here)
  • Your ESP32 connected via USB-C (must be a data cable, not a charge-only cable — this is the #1 beginner mistake)
  • ChatGPT or Claude open in another browser tab
  • Your home WiFi name and password ready (you’ll need it for Projects 3 and 4)

Set a timer for 30 minutes. Ready? Go.


Project 1: SOS Blinker

Time: ~5 minutes

The LED on your board is about to blink out a distress signal in morse code. It’s the “hello world” of hardware — but way cooler.

Your AI Prompt

Paste this into ChatGPT or Claude:

Write Arduino code for ESP32 that blinks the built-in LED (pin 2) in SOS morse code pattern (3 short, 3 long, 3 short) then pauses and repeats.

AI will give you a complete .ino file with setup() and loop() functions, timing constants for dots and dashes, and the SOS sequence baked in.

Upload It

  1. Copy the code AI gives you
  2. Open Arduino IDE → paste into a new sketch (Ctrl+A to select all, then paste)
  3. Make sure the correct board and port are selected
  4. Click the Upload button (right arrow icon)
  5. Wait for “Done uploading”

What You’ll See

The tiny blue or red LED on your board starts blinking: three quick flashes, three slow flashes, three quick flashes — then a pause, then repeat. That’s SOS in morse code.

Tip: If the LED doesn’t blink, try changing pin 2 to LED_BUILTIN in the code. Different ESP32 boards use different pin numbers for the built-in LED.

Make It Yours

Ask AI: “Change the morse code pattern to spell out my name: [YOUR NAME]”

AI will calculate the correct dots-and-dashes sequence and write the timing arrays for you. Your board will blink your name in morse code.


Project 2: WiFi Scanner

Time: ~5 minutes

Your ESP32 has a built-in WiFi radio. Let’s use it to spy on every network around you.

Your AI Prompt

Paste this into ChatGPT or Claude:

Write Arduino code for ESP32-S3 that scans for nearby WiFi networks and prints their name, signal strength, and whether they’re password-protected to Serial Monitor. Sort by signal strength. Rescan every 10 seconds.

AI will write code using the built-in WiFi.h library. It’ll scan, sort the results by RSSI (signal strength), format them cleanly, and repeat every 10 seconds.

Upload It

Same as before: copy → paste → upload.

What You’ll See

Open Serial Monitor (Tools → Serial Monitor, or Ctrl+Shift+M) and set the baud rate to 115200. You’ll see something like:

Found 8 networks:
1. MyHomeWifi      (-42 dBm)  [PROTECTED]
2. Neighbors_2.4   (-67 dBm)  [PROTECTED]
3. CoffeeShop_Free (-71 dBm)  [OPEN]
...
Rescanning in 10 seconds...

Every network in range shows up with its signal strength. The closer to 0, the stronger the signal. Negative numbers only — so -42 is stronger than -71.

Note: dBm = decibel-milliwatts. It measures radio signal strength. You didn’t need to know that, but now you do.

Make It Yours

Ask AI: “Add a count of how many networks are open vs protected, and show the strongest open network separately.”


Project 3: Phone-Controlled LED

Time: ~7 minutes

This one changes everything. You’re about to control hardware from your phone — over WiFi — through a webpage that your ESP32 itself is hosting.

Your AI Prompt

Paste this into ChatGPT or Claude:

Write Arduino code for ESP32-S3 that creates a web server on the local WiFi network. The web page should have a big ON/OFF button that toggles the LED on pin 2. Show the current LED status. Make the page look good with CSS. Connect to WiFi SSID ‘YourWiFi’ password ‘YourPassword’.

Before uploading: Replace YourWiFi and YourPassword in the code with your actual WiFi credentials. Look for the lines that say const char* ssid = "YourWiFi" — they’ll be near the top.

AI will generate a complete web server with HTML, CSS, and button logic all embedded in the Arduino code as strings. It’s wild to read. It works perfectly.

Upload It

Copy → find WiFi credentials in the code → replace them → paste → upload.

What You’ll See

Open Serial Monitor at 115200 baud. After a few seconds you’ll see:

Connected to WiFi
IP address: 192.168.1.47

Type that IP address into your phone’s browser (make sure your phone is on the same WiFi network). A webpage loads — hosted entirely from that tiny chip. Tap the button. The LED turns on. Tap again. It turns off.

You just made IoT. Internet of Things. With a $12 board and an AI prompt.

Warning: The IP address changes every time you restart the board. Always check Serial Monitor for the current IP.

Make It Yours

Ask AI: “Add a slider that controls LED brightness using PWM instead of just ON/OFF.”

PWM (Pulse Width Modulation) lets you dim the LED to any brightness. Your phone slider will control it in real-time.


Project 4: Uptime Dashboard

Time: ~6 minutes

More web server — but now you’re building a live data dashboard. Your ESP32 will report on itself: memory, temperature, signal strength, all updating automatically.

Your AI Prompt

Paste this into ChatGPT or Claude:

Write Arduino code for ESP32-S3 that creates a web server showing a dashboard with: current uptime, free heap memory, WiFi signal strength, chip temperature, and number of times the page was visited. Auto-refresh every 5 seconds. Use nice HTML/CSS styling with a dark theme. Connect to WiFi SSID ‘YourWiFi’ password ‘YourPassword’.

Again, replace the WiFi credentials before uploading.

AI will generate a full HTML dashboard with CSS grid layout, color-coded stats, and a <meta http-equiv="refresh"> tag that reloads the page every 5 seconds automatically.

Upload It

Replace WiFi credentials → copy → paste → upload → open Serial Monitor → get IP → type IP in phone browser.

What You’ll See

A dark-themed dashboard shows:

  • Uptime — counting up in days/hours/minutes/seconds since boot
  • Free Heap — how much RAM is left (ESP32 starts with ~300KB free)
  • WiFi Signal — your RSSI in dBm, updating live
  • Chip Temperature — your ESP32’s internal temperature sensor
  • Page Visits — increments every time someone loads the page

Every 5 seconds the page refreshes with new data. Leave it open for a few minutes and watch the uptime counter tick.

Tip: This is basically what production server monitoring dashboards do — just at a much bigger scale. You just built a stripped-down version of Datadog.

Make It Yours

Ask AI: “Add a simple chart that shows free memory usage over the last 20 page refreshes using an HTML canvas bar chart.”


Project 5: Bluetooth Keyboard Prank

Time: ~7 minutes

Saving the best for last. Your ESP32 is about to pretend to be a Bluetooth keyboard — and type whatever you want on any nearby phone or computer.

One-Time Setup: Install the Library

Before pasting the prompt, you need to add a library to Arduino IDE:

  1. Go to Sketch → Include Library → Manage Libraries
  2. Search for BleKeyboard
  3. Install ESP32 BLE Keyboard by T-vK
  4. Wait for it to install, then close the Library Manager

You only need to do this once.

Your AI Prompt

Paste this into ChatGPT or Claude:

Write Arduino code for ESP32-S3 that acts as a Bluetooth keyboard. When I press the BOOT button on the board, it should type ‘I was hacked by an ESP32!’ on whatever device it’s connected to. Use the BleKeyboard library.

AI will write code that initializes BLE, advertises as a keyboard device, waits for a button press on the BOOT pin (GPIO 0), and then sends keystrokes character by character.

Upload It

Copy → paste → upload.

What You’ll See (and Do)

  1. On your phone or PC, open Bluetooth settings
  2. Look for a device called something like “ESP32 Keyboard” — pair with it
  3. Open any text field (Notes app, search bar, anything)
  4. Press the BOOT button on your ESP32 board (it’s a small button usually labeled BOOT or IO0)
  5. Watch the text “I was hacked by an ESP32!” appear, typed automatically

Warning: Use this responsibly. Prank your own devices, not other people’s. A Bluetooth device can only connect to a device that has actively paired with it, so it won’t affect strangers’ devices.

Note: The BOOT button is normally used to put the ESP32 into programming mode. When the code is running, it becomes a regular GPIO input button you can use for anything.

Make It Yours

Two options:

  • Change the message: Ask AI to type something different — a song lyric, a joke, your email signature.
  • Open an app: Ask AI: “Make it press Windows+R, type ‘calc’, then press Enter to open the calculator.” (This uses key combinations, not just text — and it works.)

You Just Built 5 Real Projects in 30 Minutes

Let’s recap what happened:

# Project What You Used
1 SOS Blinker Built-in LED, GPIO, timing
2 WiFi Scanner WiFi radio, Serial output
3 Phone-Controlled LED Web server, HTTP, HTML/CSS
4 Uptime Dashboard Sensors, live data, auto-refresh
5 Bluetooth Keyboard BLE HID, button input, keystroke injection

You didn’t read a textbook. You didn’t watch a 2-hour tutorial. You described what you wanted in plain English, AI wrote the code, and you uploaded it. That’s the workflow.

And here’s the thing: this scales. The more specific your prompts, the better the code. If something doesn’t work, paste the error message back into AI and ask it to fix the problem. It usually does on the first try.

Where to Go Next

Now imagine what you could do with:

  • A $5 OLED display — show those dashboard stats on a tiny screen attached to the board
  • A $3 temperature sensor — real environment monitoring instead of chip temperature
  • A $20 round display — build a working smartwatch with your own watch face
  • A $2 PIR motion sensor — get a notification on your phone when someone walks by

Every one of those has a project tutorial right here. And for gift ideas — for yourself or someone else — check out our ESP32 gift guide.

The $12 board in your hand runs on the same chip architecture that powers commercial IoT products. You’re not learning a toy. You’re learning the real thing.

Now go break something.


Parts linked above use affiliate links — we earn a small commission at no extra cost to you. We only link parts we actually use.

Affiliate disclosure: Some links on this page are affiliate links. If you buy through them, we may earn a small commission at no extra cost to you.