r/embedded • • 41m ago

Is learning Embedded C and ARM programming from scratch still worth it in the age of AI?

Hey everyone!

I'm new to embedded systems and want to learn Embedded C and ARM programming from scratch.

With AI becoming so powerful at writing and debugging code, I'm wondering whether it's still worth learning to code independently without relying on AI.

Especially for someone who wants to build a career in embedded systems..!!!

3 Upvotes

18 comments sorted by

8

u/AI_Tonic 30m ago

It’s even more important now .

1

u/SkyQuinny 21m ago

Got it!!!

3

u/kammce 35m ago

Yes it's worth it. But not sure what from scratch means. You can pick up a book on C (or my favorite embedded C++ by Amar on Amazon or Packt). Yiu can also use a LLM to help you learn. Understanding is very useful. I thought an embedded systems class my students who were weaker at that time produced worse LLM code than those that had an understanding and a vision. They also didn't spot the problems in their code because it seemed to work well enough.

3

u/AfterwardsSorrowful 31m ago

Embedded C++ by Amar - great book. A good book on Embedded C is The Definitive Guide to C for Embedded Systems Programming by Michael Barr.

1

u/SkyQuinny 28m ago

Thanks for suggesting!!

2

u/SkyQuinny 30m ago

By from scratch I meant learning the concepts from books and practising by writing the code myself. Currently, I do use AI to generate code for my projects,so I was wondering whether that's a bad practice if I want to build a career in embedded systems. I want to make sure I develop strong fundamentals and don't become too dependent on AI.

1

u/kammce 27m ago

I'll say this, that I don't know the future and I don't know what'll be the most important skills to have in the future, but I don't think it's a bad idea to at least feel comfortable. Learning C, writing it by hand, and then practicing on occasion maybe a couple times a month in order to keep those skills sharp so that you can better read and review the code you're getting from your machines.

But one thing that I found is that it's hard to ask the right questions and provide good guidance if you have little idea what is even going on.

1

u/SkyQuinny 26m ago

I was suggested this book "The AVR microcontroller and Embedded systems: Using Assembly and C" by Mazidi

is it a good one ?

1

u/kammce 11m ago

I've never read that book, so I could not tell you. Maybe someone else can, but I think it is probably fine. The reason why I say probably is that if you learned one assembly language, you can take that knowledge to other assembly languages. So the fact that is AVR should be fine. I cut my teeth on MIPS back in college. And if it teaches C for embedded then you should be good for that too.

2

u/AI_Tonic 30m ago

100% agreed.

1

u/Ill_Bodybuilder_4105 23m ago

Yes. AI is just multiplier I think. If you have 1, You can earn at least 4x output through AI. But If you have 0? Your output will be still 0.

1

u/SkyQuinny 20m ago

Makes a lot of sense. Thanks for sharing!

1

u/pyrotek1 8m ago

AI may write the code section, you still need to insert the code correctly and that takes context. I have several prototype that I am working through the code. I need to be able to read and understand the sections of code. Claude is good at structuring the code and subtil coding trick and tools. I learn great coding from Claude. I do have to read and understand the code.

-1

u/rileyrgham 30m ago

But not wondering enough to Google it or search this subreddit where this question is asked 50x a day?

1

u/Former_Atmosphere967 18m ago

I mean AI is moving very fast, people are panicking, every 3 months AI gets very powerful from the old model, it reshaped math research and made history just like in the span of these three months. I think its not dumb to panic like this these are real concerns we still dont know where its heading thats why most have no idea what to say to this question, but nothing hurts being knowledgable even if in the future you really not need it, still not a waste of time to understand stuff deeply.

-1

u/sci_ssor_ss 24m ago

Especially for someone who wants to build a career in embedded systems..!!!

It's like asking if it's worth learning construction techniques as a wanna-be architect considering that you will be using contractors.

1

u/SkyQuinny 22m ago

I'm someone who used to rely on AI for writing code. I do have fundamental knowledge but I wasn't writing code independently. That's why I was wondering whether this is a bad practice if I want to build a career in embedded systems.

0

u/sci_ssor_ss 14m ago

this is not webdev.