„I“ removed the Arduino framework dependency from the firmware

152 views
Skip to first unread message

newxito

unread,
Aug 5, 2026, 2:18:13 PM (6 days ago) Aug 5
to neonixie-l

I wrote the nixie calculator firmware (about 15000 lines of code) without using AI and was a little bit proud of it. Well, after today’s experience that will never happen again.

Today I ‘ve tried Claude Code for the first time. I used the VS Code extension for Claude and my prompt was simple: Please remove the Arduino framework dependency from the firmware while keeping the functionality.

Claude created a 12-phase plan and compiled and corrected errors after each phase, if there were any. I uploaded the firmware and everything worked correctly except a WebSocket thing. I explained the problem and Claude fixed the issue. After just 2 hours I had a working native esp32 calculator firmware. This was not a trivial thing, as I made heavy use of Arduino libraries like Adafruit_Neopixel or OneWire and used String instead of std::string all over the place. I don’t know if I keep the “Arduino-less” version but I’m impressed! 

Mitch

unread,
Aug 5, 2026, 2:49:40 PM (6 days ago) Aug 5
to neonixie-l
There is no way that I could have done this much and supported so many variations, without Claude Code. I understand that Google Codex is good too, but I have no experience with it. Any software developer who doesn't accept that this is the future, will be left in the dust.

Oskar

unread,
Aug 5, 2026, 3:13:42 PM (5 days ago) Aug 5
to neonixie-l
> without using AI and was a little bit proud of it

This is exactly the issue I have with AI (at least in personal projects). There is no sense of achievement in having an AI solve your problems. I used to think that coding was just a means to an end for me but AI made me realize, I never truly felt that way

Tom Katt

unread,
Aug 5, 2026, 3:43:24 PM (5 days ago) Aug 5
to neonixie-l
I haven't reached a comfort level with AI just yet - with my luck it would go rogue and delete everything lol.  But I would find it interesting to review to generated code to see how it accomplished certain tasks.

The one benefit I would assume with self-coded work is that you can document it so if modifications are needed in the future you have some references available.  Does any of this new fangled AI stuff document itself?

Adrian Godwin

unread,
Aug 5, 2026, 4:15:20 PM (5 days ago) Aug 5
to neoni...@googlegroups.com
I think maintenance is supposed to consist of letting the next generation of AI mash it some more.

On Wed, Aug 5, 2026 at 8:43 PM Tom Katt <tomk...@gmail.com> wrote:
I haven't reached a comfort level with AI just yet - with my luck it would go rogue and delete everything lol.  But I would find it interesting to review to generated code to see how it accomplished certain tasks.

The one benefit I would assume with self-coded work is that you can document it so if modifications are needed in the future you have some references available.  Does any of this new fangled AI stuff document itself?

--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/b89b9428-12e2-49db-b7d6-dfd885e5e014n%40googlegroups.com.

Mitch

unread,
Aug 5, 2026, 4:16:08 PM (5 days ago) Aug 5
to neonixie-l
It not only documents the code, it also writes assembly and operator manuals. Take a look at mine. They are 90% AI generated, and better than I could ever do at technical documentation.

David Pye

unread,
Aug 5, 2026, 4:18:34 PM (5 days ago) Aug 5
to neoni...@googlegroups.com
The bigger risk, IMHO, is dependence.

The manufacturers are greatly subsidising the cost of their token generators, and at some point, the vast investment costs will need to be repaid.

No harm in making hay while the sun shines, but becoming dependent on tools such that you find it difficult to live/work without them (eg Autodesk - "first hit is free") makes you vulnerable to rent-seeking later on.


--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.

Dekatron42

unread,
Aug 5, 2026, 4:36:58 PM (5 days ago) Aug 5
to neonixie-l
There's also a high risk, that if you don't spread the knowledge on how to use AI in coding to several members of your team, that it starts to fall apart when the people responsible for the AI coding leaves the group/company and you don't have anyone to fill their shoes right away.

Adrian Godwin

unread,
Aug 5, 2026, 4:51:59 PM (5 days ago) Aug 5
to neoni...@googlegroups.com
All this advice would have been applied to compilers when engineers first started to use them instead of coding in assembly. You still need a good definition of what the code is expected to do so the AI codes the right thing. The use of natural language instead of a well-defined programming language will cause many problems at first but I guess we'll eventually leearn to use it in a way that gives predictably useful results.

At present, it seems to me that the burden of extra supervision and explanation to achieve the required result is not worth the time saving vs. "simply" coding it myself, but eventually that will change, probably more rapidly in some areas than others. And there will be some catastrophic errors along trhe way, on a scale comparable with the Mars Climate Orbitor or Therac-25.


Adrian Godwin

unread,
Aug 5, 2026, 5:02:55 PM (5 days ago) Aug 5
to neoni...@googlegroups.com
It seems a missed opportunity that these programs are being used to generate code and therefore force us to repeat the errors of the past. A better route might be to use them to CHECK human-generated code. The failures and successes of the systems could be examined until it was able to find human errors in coding and specification and not suffer from false positives. Automating code generation would then look more like what we've learnt - that well-designed code followed by thorough verification is much more productive than making randome changes followed by skimpy tests.

gregebert

unread,
Aug 5, 2026, 5:09:33 PM (5 days ago) Aug 5
to neonixie-l
I've started using AI to (hopefully) improve my coding expertise. I write the code, and have AI critique it. Subsequent coding projects have better-quality code from me at the outset.

Tom Katt

unread,
Aug 5, 2026, 5:30:50 PM (5 days ago) Aug 5
to neonixie-l
Growing up from Z80 and 6502 assembly language, I'm guessing that AI might achieve a desired result, but brute force it's way through without the attention to efficiency and resources a human might prioritize.  Everything is so fast, powerful and full of ram these days that I'm not sure many coders consider things like this - and we get 'code bloat' as a result.

I remember having to miserly count each byte to make sure my code would fit and count each machine cycle to ensure interrupts completed in time or that the outputs generating a video buffer aligned with the NTSC timings...  Or creating self-modifying routines to cleverly solve a problem.  Thankfully, many projects don't have such restrictions anymore - but I don't think that stuffing code in any way it fits is a good path either.

That said - the AI code is probably better than what I can write lol.

newxito

unread,
Aug 5, 2026, 6:44:33 PM (5 days ago) Aug 5
to neonixie-l

I have 70 settings in the calculator that can be configured with the keyboard. I just asked claude to build a web configuration. 15 minutes later I have a page with all the settings grouped logically, with the correct descriptions taken from comments, with dropdown lists, color and time pickers and min and max values. And it just works! 

 config.jpg

Dan Hollis

unread,
Aug 5, 2026, 10:09:12 PM (5 days ago) Aug 5
to neoni...@googlegroups.com
Not even remotely a problem here. I run my own llm locally on my own
hardware. qwen3.6 27B. All paid for so any tokens I generate only cost me
my own electricity.

And qwen3.8 is nearing release.

-Dan
> To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/CAOQ6x0GEnxNUWgPnktQJvXAhC-HSzBR1d61KKs5m6U8ZUy%3DE%2Bw%40mail.gmail.com.
>
>

Dan Hollis

unread,
Aug 5, 2026, 10:11:45 PM (5 days ago) Aug 5
to neonixie-l
How is this any different from people writing 300,000 lines of C/C++ with
zero documentation, written in arcane styles for 15 years, and then
leaves the company. Nobody knows how any of it works.

At least with AI you can ask it to analyze the code, tear it apart, and document it.

-Dan
> To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/10cf8d98-f533-4e51-913b-8d2c1dccc001n%40googlegroups.com.
>
>

Dan Hollis

unread,
Aug 5, 2026, 10:20:15 PM (5 days ago) Aug 5
to 'Oskar' via neonixie-l
I don't see this any different than say, being an architect like Dave
Cutler. He certainly didn't write 20 million lines of code. Instead he
directed other engineers to write code to his architectural design.

Who gets the credit for designing Windows NT, VMS? Dave Cutler.

You are still solving problems, its just moving higher level. I've been
coding for 40 years and I can't say there's any real sense of achievement
writing yet another kernel driver to control hardware. But I have claude
dump out kernel drivers to my specs so I can then fire up hardware in a lab,
connect hardware up to oscilloscopes, and spend the majority of my time
doing real problem solving.

The real accomplishment comes from the high level problems being solved.
At least for me.
> --
> You received this message because you are subscribed to the Google Groups "neonixie-l" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
> To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/73149280-49c4-4959-b9a7-6e56a269b584n%40googlegroups.com.
>
>

Mitch

unread,
Aug 6, 2026, 6:55:58 AM (5 days ago) Aug 6
to neonixie-l
Exactly the point. Assuming responsibility for a large code base is infinitely simpler using AI. in general, it can analyze, explain, summarize, debug, answer complex questions, and enhance, without reading a line of code.
 And it will only get better with time.

Joe Croft

unread,
Aug 6, 2026, 5:51:17 PM (4 days ago) Aug 6
to neoni...@googlegroups.com
I'm glad I have retired! I won't be forced to use the tools. I will remain happy with my writing in C++ and Perl, sometimes python for my hobby projects. My documentation is in LaTeX2. Call me a Luddite! I have broad shoulders 😉

-joe

Toby Thain

unread,
Aug 6, 2026, 10:22:50 PM (4 days ago) Aug 6
to neoni...@googlegroups.com
On 2026-08-05 15:13, 'Oskar' via neonixie-l wrote:
> > without using AI and was a little bit proud of it
>
> This is exactly the issue I have with AI (at least in personal
> projects). There is no sense of achievement in having an AI solve your
> problems. I used to think that coding was just a means to an end for me
> but AI made me realize, I never truly felt that way

No sense of achievement, no learning either.

And if you had the skills before starting to use it, they'll soon fade away.

Nothing could evaporate my interest in a project quicker than knowing
'ai' had any part of it.

--T

>
> Mitch schrieb am Mittwoch, 5. August 2026 um 20:49:40 UTC+2:
>
> There is no way that I could have done this much and supported so
> many variations, without Claude Code. I understand that Google Codex
> is good too, but I have no experience with it. Any software
> developer who doesn't accept that this is the future, will be left
> in the dust.
>
> The Software — Angry Electrons <https://angryelectrons.com/software/>
>
>
> On Wednesday, August 5, 2026 at 2:18:13 PM UTC-4 newxito wrote:
>
> I wrote the nixie calculator firmware (about 15000 lines of
> code) without using AI and was a little bit proud of it. Well,
> after today’s experience that will never happen again.
>
> Today I ‘ve tried Claude Code for the first time. I used the VS
> Code extension for Claude and my prompt was simple: Please
> remove the Arduino framework dependency from the firmware while
> keeping the functionality.
>
> Claude created a 12-phase plan and compiled and corrected errors
> after each phase, if there were any. I uploaded the firmware and
> everything worked correctly except a WebSocket thing. I
> explained the problem and Claude fixed the issue. After just 2
> hours I had a working native esp32 calculator firmware. This was
> not a trivial thing, as I made heavy use of Arduino libraries
> like Adafruit_Neopixel or OneWire and used String instead of
> std::string all over the place. I don’t know if I keep the
> “Arduino-less” version but I’m impressed!
>
> --
> You received this message because you are subscribed to the Google
> Groups "neonixie-l" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to neonixie-l+...@googlegroups.com <mailto:neonixie-
> l+unsu...@googlegroups.com>.
> To view this discussion, visit https://groups.google.com/d/msgid/
> neonixie-l/73149280-49c4-4959-b9a7-6e56a269b584n%40googlegroups.com
> <https://groups.google.com/d/msgid/neonixie-l/73149280-49c4-4959-
> b9a7-6e56a269b584n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Evan Cofsky

unread,
Aug 6, 2026, 10:25:35 PM (4 days ago) Aug 6
to neoni...@googlegroups.com
Unsubscribe because of dumbassery.

-- 
Evan Cofsky <ev...@theunixman.com>


newxito

unread,
Aug 7, 2026, 7:06:12 AM (4 days ago) Aug 7
to neonixie-l
I completely understand your objections. Up until now, I have always written the firmware for my devices myself.
But honestly, do I really want to continue investing hours in tedious tasks like writing a web configuration page when AI can do it in minutes? 
And why not have my code reviewed by an AI? Claude found about a dozen issues in my code, one of them "critical". I would never have discovered it otherwise.

Instrument Resources of America

unread,
Aug 7, 2026, 7:08:30 AM (4 days ago) Aug 7
to neoni...@googlegroups.com

On the other hand gentlemen, how many of you do NOT use a calculator when balancing your checkbooks, and still do the math in your head, or on paper with a pencil?????

Ira.

Tom Katt

unread,
Aug 7, 2026, 8:39:32 AM (4 days ago) Aug 7
to neonixie-l
Sliderule for me ;-)

Point made lol

Joe Croft

unread,
Aug 7, 2026, 9:35:54 AM (4 days ago) Aug 7
to neoni...@googlegroups.com
If I got as much pleasure doing arithmetic as I do coding, I would use  paper and pen.

I am actually thinking of creating my wife's web page using ai. At least until the two of us can learn to do that coding by hand. My biggest concern is getting locked into a provider and not be able to get out when they become to expensive!

Though overall, I still love the art of coding!

-joe
Reply all
Reply to author
Forward
0 new messages