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
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










