Skip to content

E11 debugging embedded systems using AI

March 20, 2026 · 44 min

Show notes

Ryan and Luca explore practical techniques for using AI to debug embedded systems -- from analyzing breadboard photos to parsing UART output and managing complex debugging workflows. LLMs work best as force multipliers rather than replacements for engineering expertise: they handle tedious tasks like adding printf statements, analyzing logs, and decoding resistor color codes, while the engineer guides the process and catches mistakes.

A key theme is context management: balancing deterministic scripts for repeatable tasks with non-deterministic AI analysis, and using separate sessions to keep debugging focused. We share cautionary tales of LLMs getting stuck in loops or reverting to common patterns despite specific instructions -- human oversight remains essential. Experienced engineers benefit most because they can effectively steer the LLM and recognize when it goes off track.

Key Topics:

  • [02:30] Debugging hardware via photos -- having LLMs identify wiring errors on breadboards
  • [06:45] The rubber duck effect -- LLMs as interactive debugging partners
  • [11:20] Printf debugging with AI -- adding debug statements and analyzing UART output
  • [15:40] Context management -- separate sessions, distilled datasheet summaries
  • [22:15] LLM failure modes -- loops, pattern reversion, ignoring specific instructions
  • [28:30] Force multiplier vs. replacement -- why experience matters more with AI tools
  • [33:50] Deterministic scripts + non-deterministic AI analysis
  • [38:20] Future: webcams and oscilloscope screenshots for real-time hardware debugging

Notable Quotes:

"It's like the over-eager intern -- it's a little naive, but it can type like the devil." -- Luca Ingianni

"You cannot use an LLM as a replacement for your brain or for your experience, but you can use it as a force multiplier." -- Luca Ingianni

"The LLM does not have that emotional connection to the code. I don't think people understand how emotional that connection is." -- Ryan Torvik

Resources Mentioned:

  • Claude Code (Anthropic) -- AI coding assistant used for debugging, image analysis, and code generation
  • Arduino/Elegoo Development Boards -- hardware platforms discussed in context of voltage compatibility debugging
  • Agile Embedded Podcast -- Luca's podcast on agile practices in embedded development

All episodes of Embedded AI Podcast

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.