🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
View All Posts
read
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi

After “vibe coding” a software-based vibing button in my last video, I decided to take things one step further: vibe-coding the actual hardware. The challenge? Let AI design a working ESP32-S3 development board, from scratch.

Tools of the Trade

For this experiment, I used Atopile — a tool that lets you define a hardware project using code and turns it into a KiCad PCB. I also enlisted Claude, an AI coding assistant that seemed to outperform Cursor for this task.

The Prompt

The board needed the basics: an ESP32-S3 module, USB-C power and data lines, a 3.3V regulator, reset and boot buttons, status LEDs, a quick connector, and the usual passives. I specified LCSC part numbers and 0603 sizes for resistors and capacitors, with GPIO 19 and 20 handling the USB data lines for proper differential routing.

Here’s the exact prompt I used:

I want to make an ESP32-S3 dev board.

We will need:
- ESP32-S3 module
- USB-C connector with 5.1K resistor on the CC lines
- 3.3V voltage regulator
- A red LED showing 5V is connected
- A green LED showing 3V3 is available
- A blue LED connected to a GPIO pin
- A QWIIC connector for peripherals
- Reset button
- Boot button
- Any additional passive components needed for the above
- There should be an RC circuit for the enable pin on the ESP32-S3 module

The USB-C should provide 5V power and the data lines should be connected directly to the ESP32-S3 module. Don't forget, there are normally 2 pins for each data line. These should both be connected to the ESP32-S3 module.

GPIO19 and GPIO20 on the ESP32-S3 module are USB D- and D+ respectively. Make sure these nets are labeled correctly so that differential routing works.

Use LCSC part numbers for all components. You will need to search the web for these. Use 0603 for all resistors and capacitors.

Use the command to add the component to the project.

echo "0" | ato create part -s <LCSC-ID>

Add each component one at a time to the main.ato file.

Run the ato build command after every change you make to check your work.

ato build

Be very careful with the pin names/numbers in the components - check that you are using the correct ones. Do not modify the components.

The AI took the prompt and started generating components and wiring instructions. To stay true to the spirit of “vibe coding,” I didn’t look at the code — I just kept saying “yes” and watched what happened.

The AI Journey (aka, Chaos Ensues)

Initially, everything looked great. The build succeeded, all components were found and added. But when I opened KiCad… nothing was wired up.

Where are the wires?

A quick nudge to Claude (“you forgot to connect anything”) got it back on track. After another build — success! Everything was wired.

R3 is missing it’s partner capacitor…

Well, mostly.

It forgot a capacitor in the RC circuit on the EN pin. Again, a quick note to the AI and it was fixed. I swapped in a more sensible 10K resistor (it had chosen 330Ω for some reason), added some ground fills, and tidied up the layout.

The Result

What we got was surprisingly functional:

  • AMS1117 regulator

  • Proper USB-C with CC resistors

  • Differential USB routing

  • Status LEDs

  • Decoupling caps galore

  • Reset and boot buttons

  • A functional RC circuit on EN

It’s not perfect (no schematic output yet unless you downgrade to KiCad 5), but as a first pass from an AI? Not bad at all.

Final Thoughts

Vibe-coding a PCB feels like the future. We’re close to being able to describe hardware in natural language and let the AI take care of the busywork. And while it’s not quite ready to replace a skilled engineer, it’s definitely ready to be your enthusiastic, if forgetful, assistant.

Next step? Should I send it off to PCBWay and see if it actually works?

Here’s the BOM for people interested in the components it picked:

Designator Footprint Quantity Value Manufacturer Part Number LCSC Part #
C1, C2, C3 C0603 3   Samsung Electro-Mechanics CL10A106MQ8NNNC C1691
C4, C5, C6 C0603 3   YAGEO CC0603KRX7R9BB104 C14663
CN1 CONN-SMD_4P-P1.00_SM04B-SRSS-TB-LF-SN 1   JST Sales America SM04B-SRSS-TB(LF)(SN) C160404
LED1 LED0603-RD 1   Hubei KENTO Elec Blue light 0603 C2288
LED2 LED0603-RD 1   Foshan NationStar Optoelectronics NCD0603C1 C84264
LED3 LED0603-RD 1   Hubei KENTO Elec KT-0603R C2286
R1, R2 R0603 2   UNI-ROYAL 0603WAF5101T5E C23186
R3 R0603 1   TyoHM RMC060310KFN C269701
R4, R5, R6 R0603 3   UNI-ROYAL 0603WAF3300T5E C23138
SW1, SW2 SW-SMD_4P-L5.1-W5.1-P3.70-LS6.5-TL_H1.5 2   XKB Connectivity TS-1187A-B-A-B C318884
U1 WIRELM-SMD_ESP32-S3-WROOM-1 1   Espressif Systems ESP32-S3-WROOM-1-N16R8 C2913202
U2 SOT-223-3_L6.5-W3.4-P2.30-LS7.0-BR 1   Advanced Monolithic Systems AMS1117-3.3 C6186
USB1 TYPE-C-SMD_TYPE-C-24P-QCHT 1   SHOU HAN TYPE-C 24P QCHT C456013

Related Posts

Minimalist Microcontroller: Building a Bare-Bones Dev Board - In a thrilling DIY endeavour, I attempted to build the most minimalist ESP32 dev board possible. Diving deep into the schematic of the ESP32 S3 WROOM module, I chopped out the non-essentials and whittled our needs down to bare bones. The experiment saw me juggling USB data lines and voltage regulators, waving goodbye to an array of capacitors and connectors and boldly embracing the simplicity of direct connections. Despite a few hitches, the miniature Frankenboard came alive, proving that sometimes less is more...at least in the world of microcontrollers.
The PCBs are in production - what have I messed up? - After some stress and trepidation, I finally took the plunge and sent my PCB design off for manufacturing. My design centers around building a large seven-segment clock with LED filaments. Jumping hurdles such as voltages, pin usage, and limiting the load on my power supply, I've settled on the ESP32 as the system's heart and come up with a final circuit design. While doing this, I've quickly realized I could improve my layout and fixed a small mistake. Also, I've prepared for either types of LED filaments - the high-voltage ones or the larger, 3v ones. However, I did bungle up a couple of things on the enable line of the shift registers and board layout. But hey, this is a learning curve, right? Can't wait to get the boards and see what other exciting errors surface!
Just Vibe It - I crafted a whimsical single key keyboard ideal for vibe coding! It's powered by a TPS2117-equipped PCB, offering slick battery-to-USB switching. Tried out low profile Cherry switches, but faced some stabilizer challenges with bigger keycaps. Check out the final fun in my GitHub repo and video!
ESP32-S3 Dev Board Assembly - I finally assembled our ESP32-S3 dev boards—used a stencil for easy SMD work, fixed a few tiny USB solder bridges with flux, and even hand-built one for fun. The EPAD isn’t required (per the datasheet), power LEDs look good, and on macOS you can spot it under /dev before flashing. A quick boot-button dance and the blink sketch runs great—full build and walkthrough in the video.
I Asked AI to Design 12 Dev Boards. It Told Me to Write a Script. - I wanted a dev board for every Espressif module with a PCB antenna and native USB, 12 boards across the S2, S3, C3, C5, C6 and H2 families, so I asked AI to design them. It talked me out of it: this isn't an AI problem, it's a scripting problem. So I let it write the scripts instead. One curated YAML file per module and a deterministic pipeline does the rest: schematic, placement, autorouting, DRC, 3D renders and fab-ready Gerbers, all built and released by GitHub Actions. Here's how it works, and the three CI bugs that nearly broke me.

Related Videos

Surprisingly not CR*P - Vibing hardware - Well folks, what an adventure! After vibe coding our vibing button, I took up the challenge to vibe code the actual hardware for an ESP32 S3 dev board. Used a tool called at pile and gave it a whirl with some AI help from Claude. Interestingly, it handled everything from sourcing components with LCSC part numbers to wiring them up. Had a wee hiccup with missing capacitor in the RC circuit, but overall it was a thrilling ride watching the AI process! A bit of tweaking here and there, and we're good to go! Can't wait to see it in action.
ESP32-S3 - Which Pins Are Safe To Use? - In this video, I've decided to dive deep into the ESP32-S3, a module ruling my lab recently due to its plug-in-and-play functionality, and the flexibility offered by its GPIO matrix. However, working with it requires vigilance, especially with regard to the strapping pins and USB data pins, among others. Discovering such quirks, I've encountered unexpected values, short glitches and the occasional code crash. To help you avoid these bumps, I've documented everything I've learned on my GitHub repo, where I'm inviting you, my fellow makers and engineers, to contribute your valuable experiences and findings. After a minor hiccup with my ESP32-TV, expect an updated PCB design, courtesy of PCBWay. Explore the ESP32-S3 with me, and let's unravel its secrets together, one pull request at a time.
A Vibe Coded One-Button Mechanical Keyboard - ESP32-S3 USB+BTLE - Hey folks! So, I've been tinkering with a compact PCB featuring an ESP32 S3 Mini, and it's been a blast! This little guy has a USB-C and battery connection, with nifty chips like a charge controller and voltage regulator. I'm diving into mechanical keyboards with some cherry switches, and guess what? I made this cool 'Vibe button' for a single key keyboard! I even used AI to vibe code it, so it sends command-enter when pressed. PCB Way did a stellar job on the assembly, and now I'm setting up the RGB LED for charging status. Let's make coding more vibey!
We don't need a DAC - ESP32 PDM Audio - In this video, I've made some fascinating explorations with the ESP32 S3 chips and TinyS3 boards from Unexpected Maker. Intriguingly, even without a DAC converter, S3 chips can produce an audio waveform. I've played around with a basic RC filter to reconstruct the analogue audio signal from a PDM signal. The result was quite impressive for a board without a native DAC! I also discussed the possibility of creating a simple amplifier using just a MOSFET as a switch. Finally, I gave a peek into some of my new boards from PCBWay and looked at how Delta Sigma modulation can be played with to recover original data. It's all quite a fun foray into the world of circuitry and audio signals!
Easy S3 PCB and Schematic - it’s really simple. - In this video, I explore the functions of my newly arrived little boards - essentially a PCB that an esp32 S3 room module can be connected to. I put the board's voltage regulator, battery charger, and a 3 watt class D amplifier to the test, and damn, they work perfectly! I even use breadboards, connecting them together to facilitate a wider workspace. I gave the pcbs a spin, conducting sanity checks to ensure full functionality. With a successful battery charge and impressive voltage measurements, my PCB's are up to the challenge. I also dabble in some circuit jargon, explaining schematics, amplifiers, battery chargers and a clever mosfet approach. To top it off, I solder on an ESP32 module and prove that yes, it actually works. Stay tuned for a following video where we'll work with a speaker and display!
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
Blog Logo

Chris Greening


Published

> Image

atomic14

A collection of slightly mad projects, instructive/educational videos, and generally interesting stuff. Building projects around the Arduino and ESP32 platforms - we'll be exploring AI, Computer Vision, Audio, 3D Printing - it may get a bit eclectic...

View All Posts