What I Learned from Letting AI Write My Microcontroller Code @Clough42
What I Learned from Letting AI Write My Microcontroller Code  @Clough42
Uploaded November 2024 | Updated November 2026, 1 day ago
Support Clough42 on Patreon: patreon.com/join/clough42

I'm back working on the surface grinder automation project, and this week I'm trying out some AI coding tools to see how well they work for microcontroller firmware. I'm using ChatGPT for general architecture advice, and GitHub Copilot to actually generate the code. Let's take a deep dive and see what we can learn.

The whole grinder project playlist is here:
youtube.com/playlist?list=PLDlWKv7KIIr9rlCwZ9K43KoI_UZj36gOa

Thank you to VisualMicro for providing software licenses to support this project:
visualmicro.com

Stuff you might be able to see in the video if you look real close:
*This site contains affiliate links for which I may be compensated

Neumann TLM 102 Condenser Microphone (Amazon*): amzn.to/3mPdiDE
Universal Audio Apollo Twin DUO Audio Interface (Amazon*): amzn.to/42heNLg
3Dconnexion SpaceMouse Compact 3D Mouse (Amazon*): amzn.to/2TSJ2q9



Raw Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/by/3.0

00:00 Intro
00:16 Is the AI apocolypse upon us?
01:14 Chatting with ChatGPT
04:24 GitHub Copilot in Visual Studio
06:46 AI autocomplete actually writes code now
09:41 Refactoring: Extracting an Interface
12:12 Generating a new class from a description
15:59 Sometimes you have to argue about math
21:55 Extracting information from a proprietary file format
27:13 Conclusion: It's kind of pretty good
What I Learned from Letting AI Write My Microcontroller CodeNew 6-Jaw Chuck! | How to (re) Machine a Cast Iron Backing PlateRepairing a Leaking Air Compressor Regulator | California Air ToolsThe Mystery of the 17.4A | Sheet Metal SagaIm Still Here...Despite YouTubes Best EffortsGridfinity in the Machine Shop: 3D Printed Metrology Toolbox Organization3D Printing with CarbonX Carbon-Fiber PETG | Making a Monitor Mount for the CNC Plasma TableUltimate DIY Belt Grinder: TRACKING and TENSION Mechanisms - Part 2Some Success / Some Frustration | PM728 Mill EnclosureTuning ClearPath Motors on a Paired-Axis CNC Machine | Avid Benchtop Pro CNCDetermining Sheet Metal Cut and Bend Parameters | CNC Plasma Table Monitor Mount Part 2 | Fusion 360Turning an Eccentric Cam on the Lathe: Hemingway Sensitive Knurling Tool Build - Part 5
Clough42 |

What I Learned from Letting AI Write My Microcontroller Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER