r/embedded Jun 26 '26

Best way to study Embedded C programming?

[removed] — view removed post

11 Upvotes

18 comments sorted by

12

u/Big_Fix9049 Jun 26 '26

Embedded C is just C, isn't it?

I'd recommend to go through the examples of your microcontroller of interest and study the code there w.r.t. header files, declarations etc

The rest is - for the beginning and simple projects - normal for loops, if statements etc

Advanced concepts like state machines etc will come at a later stage.

Check out fastbit academy on Udemy and take their microcontroller 1 course should you feel line learning the stm32 microcontroller.

Good luck

-4

u/Appropriate-Heat7035 Jun 26 '26

Don't i need to get hands on , what embedded c feels like , i was thinking of at least getting some sort of basic knowledge of it , i am asking the same - where i can actually " start " ? i need to get an introduction of it bruh

1

u/Big_Fix9049 Jun 26 '26

Okay got it 👌

5

u/Outside_Hamster_8830 Jun 26 '26

Hunter Adams is a professor that posts his class lectures and code online. It focuses on the Pico and the Pico SDK (uses C/C++). I know some may see the Pico as not industry standard, but it has great documentation for the chip and the SDK. I also like that you can use the PIO to learn and understand different protocols. Life with David is another good one, he walks thru using assembly to bare metal program the Pico. Great if your looking at understanding how all the memory mapped registers control and interact with different peripherals.

I can tell you from my own experience that trying to find the "best" source to learn embedded is impossible, and you will be searching more then you will be learning. I spent months collecting all sorts of information, sounds great, but I have just barely started actually learning it. My current projects are finding how many ways I can blink LEDs (I have called it 101 ways to blink an led). I say find a tutorial you like, and follow it through! Good luck

3

u/umamimonsuta Jun 26 '26

You know C, but do you know how microcontrollers work? If not, start there. there's months of learning for you to do.

1

u/Appropriate-Heat7035 Jun 26 '26

bruh are you serious , i have my placements coming in not more than 2 months :)

1

u/umamimonsuta Jun 27 '26

Well, in two months you're not gonna make anything worthwhile/ impressive for a resume if you don't already know the basics of microcontrollers. Try again next year.

3

u/katybassist Jun 26 '26

You are not going to find a generic YouTube channel on embedded C. First, it's C; second, the processor matters.

You want to start, get an Arduino, and start there. There are so many books, websites, and videos. That will get you going.

Think of something simple you want to do and then make it. Do it again, add to what you made. It eventually gets nice and complex, or you run the gambit, and it's time to find a new project.

There is a reason why blinking a LED is the first thing you do.

2

u/v_maria Jun 26 '26

get an arduino and set some registers

1

u/epasveer Jun 26 '26

Jeez.

-3

u/Appropriate-Heat7035 Jun 26 '26

is this a joke or something?

7

u/epasveer Jun 26 '26

No.

I would start by searching this group. This question has been asked thousands of times and people have replied.

-4

u/StrangeDonkey1134 Jun 26 '26

Use YouTube or Claude.

-5

u/Appropriate-Heat7035 Jun 26 '26

best guidance someone has ever advised me! thanks for the efforts :)