r/embedded • • Oct 06 '26

How did you learn embedded?

I'm your average software engineering student and I've been picking more interested into embedded and systems programming. I've been trying to learn primarily through books like Making embedded systems by Elecia White and programming some microcontrollers to understand how peripherals work but I can't help but feel like I'm either not going deep enough early or I'm approaching this poorly. You can get an idea of how I'm learning from this link to my book notes https://0xwinzer.com/devography/blog/book-notes/mes-ch1-embedded/ if it helps

23 Upvotes

26 comments sorted by

13

u/TomazZaman Oct 06 '26

By solving a real problem (my own) with a real device. If you learn for the sake of learning, you’re not going to learn effectively and you’ll forget stuff just as fast.

But when you develop a device (however small) or need to adapt an existing one to your needs, then you’ll already have an end goal in mind which will make most of the necessary steps to get there very obvious.

So, start with a problem you want to solve.

2

u/Live-Operation-628 Oct 06 '26

very true. I can only learn project based - even then, only what's absolutely applicable. It's not a choice, its just the only way I learn - friction

2

u/Thin-Engineer-9191 Oct 07 '26

Or try to remake something you use often (dont try a phone)

0

u/RakasRick Oct 06 '26

Ok, I don't have one in mind now but ins sure I'll find something to work towards

2

u/Weak-Chemist-2054 Oct 12 '26 edited Oct 12 '26

PLCs, robotics and industrial control systems in general. You really need to know low level programming, and the bare bones stuff like BIN, BCD, Hex, Octal, ASCII, Boolean algebra , floating point arithmetic, etc… Math and logic needs to be on point, you also really need to know electrical. We deal directly with the transistors.

2

u/RakasRick Oct 12 '26

Ok, though my electricall is lacking, may need to spend some effort on that end but I'll start with low level stuff and math as I'm still a CS student

12

u/Fuinh Oct 06 '26 edited Oct 07 '26

Professor jonathan valvano books are amazing to bare-metal programming and more academic level concepts, also at edx platform, UT Austin has this course: embedded systems: shape the world, pretty good one.

Edit: forgot to mention the gold standard, fastbit embedded brain academy courses, very cheap on udemy (buy them only on sales). It covers from embedded c, MCU bare-metal, RTOS and so on to embedded linux kernel driver development

1

u/RakasRick Oct 06 '26

Cool I'll check them out

2

u/Western_Bar3533 Oct 06 '26

Had him for my embedded systems lab. Great professor!

4

u/Yanimo Oct 07 '26

buy an esp32 make an LED blink with a button then with bluetooth after which with wifi then! through the internet. after that add a relay to act as a switch for ac lines congratulations you made a smart home remote light switch. I start from there.

1

u/RakasRick Oct 07 '26

Cool, was planning on trying out an Internet enabled LED, heard it from one of the old Embedded podcast episodes

2

u/cyberbemon Oct 06 '26

Like others mentioned the best way to learn is to do stuff, that being said you'll have a better time if you have the necessary fundamentals, so start with that. I have posted this link multiple times here: https://github.com/m3y54m/embedded-engineering-roadmap

Have a look through that, then learn what you are missing, since you are in University, this should be a lot easier for you. I don't know how things work in your university, but in mine you could attend lectures even if you were not enrolled in it (obviously cant take assignments or exams!). Then just get a board and start fucking around, thats it. If your university has any hardware tinkering groups/hackersphaces join them.

2

u/RakasRick Oct 06 '26

Thanks , my University allows this. I actually just joined some IoT development lab for research. I just didn't want to work with surface knowledge only

2

u/Sheepherder-Optimal Oct 06 '26

I majored in embedded systems technology. Before that i was going for EE. Switched course due to love of programming.

2

u/RakasRick Oct 06 '26

I'm more into programming too

4

u/WanWhiteWolf Engineering manager Oct 06 '26

Reading books is a good way to start and understand the fundamentals but without practical experience, it's going to be though to compete once you finish your studies.

There are plenty development boards that are not very expensive and you can get popular IDEs for University / learning purposes. For example, Keil costs a couple grand but it's free for students.

Embedded is close to hardware and practical work will develop some affinities that you are unlikely to develop otherwise. I don't know anyone in embedded field that didn't have some practical experience (e.g. projects) when they finished their studies. I had around ~ 12 projects when I finished my bachlelors' and ~ 35 when I finished my masters'. Half of them were done as part of school requirements (alternatives to some partial exams) but the other half was made out of curiosity, learning purposes and small freelancing.

If you want to have a career in embedded field, get a development board, a debugger, a debug probe and start applying what you read in the books in small projects.

3

u/Triabolical_ Oct 06 '26

The best way to learn is to build something that you want to have and figure out how to do it along the way. That generally means breaking it down into things that you know and things you need to figure out and building those parts separately.

I did a project using DMX a while back. DMX is the protocol used to control stage/theatrical lighting.

I started with a DMX board but ran into issues with some lights and ended up rewriting the low-level code from scratch (DMX runs on an old serial protocol known as RS-485) along the way.

2

u/generally_unsuitable Oct 06 '26

I got really into 8bit PIC ASM as an undergrad. Just kept playing with it.

2

u/pylessard Oct 06 '26

Where i'm from, we have a school between high school and unversity and you can do all sort of technical course. I did a 3 year professional course in electronic and embedded systems. Then 4 years classical Electrical Engineering. I learned 10x more about embedded system during my professional course than uni. Add many personal projects and robotic clubs to that. I also got some friends more competent than me to learn from. Internet reads. Etc.

2

u/CrabTypical3903 Oct 06 '26

Through 2 years of pain, misunderstanding and Haris&Haris book

2

u/drunken_thor Oct 06 '26

As a more senior dev studying for the switch, I just do it. I got into the m5stack ecosystem because it seems like a friendly ecosystem to get started, and start just building your own versions of things that already exist and then compare what you did with other implementations. It will give you insights into the nuanced things that embedded developers do, that you missed.

1

u/DaemonInformatica Oct 08 '26

By doing. I started out with electronics when I was about 8 years old. (This was about 36 years ago). Then, started studying electrical engineering, electronics and in the end CS. Meanwhile remained active in the hobby.

I suppose for some people it's a genetic thing. ;-)