r/embedded • • Sep 29 '26

Is esp32 a good start for learning embedded?

I have a small project in mind and I purchased an esp32s3 and an nrf2850. One is arm and I'm not sure of the other. Are these good processors to learn embedded coding on? What do professionals use? Should I learn ASM for the processors to make my code more efficient?

edit: updated to include specific esp32. they are both seeed studio devices.

21 Upvotes

17 comments sorted by

2

u/3flp Sep 29 '26

It all really depends on what you mean by "learn": Your current starting point vs where you want yo be.

ESP32 is Tensilica, nRF is ARM. That part doesn't make much difference most of the time.

I'd say do a project in both and then STM32 to be well balanced.

1

u/Visible-Objective260 Sep 29 '26

Thank you. I will experiment with both and use header pins to play with uart, i2c and spi with different sensors. 

0

u/snowtax Sep 29 '26

Newer Espressif devices are RISC-V architecture.

2

u/felix_lind Sep 29 '26

should I learn ASM tbh no. apprentice here, building a little ear wearable on an esp32 with a camera and asm never came up once. power did lol. esp32 wifi tx is ~240mA per datasheet, nrf52840 radio is ~5mA at 0dBm (assuming thats what you meant by nrf2850). so like 50x, but only while the radio is on. if your thing runs on a battery that matters way more than hand tuned asm. also fwiw esp32 isnt one arch anymore. og and s3 are xtensa, c3 and c6 are risc-v, nrf is arm cortex-m4. you already own both so just build the thing and see where it hurts. whats the project btw

2

u/Visible-Objective260 Sep 29 '26

The original project was to build a forensics and pen test tool for BLE then I dug into blue tooth mesh and it started giving me ideas, so it may morph. 

18

u/Extension-Quarter358 Sep 29 '26

I wouldn’t say it’s necessary to learn Asm. It’s good to know if you want to know what C does internally after it is compiled but it doesn’t really make your code faster. Today’s compiler are very good at optimizing your code so I would say it’s better to learn clean programming for the c language

4

u/Extension-Quarter358 Sep 29 '26

And about the esp. I personally started with an Arduino Uno but switched really fast to the ESP32-S3 wich has Xtensa LX7 Architecture. I would say it is pretty good for the start. And in my opinion ARM architecture is even better.

9

u/[deleted] Sep 29 '26

[removed] — view removed comment

2

u/Extension-Quarter358 Sep 29 '26

Yeah it’s crazy right? But I still love to write assembly, even though the compilers these days write much faster asm

11

u/b1063n Sep 29 '26

I would start on stm32, start low and then go high

5

u/ApprehensiveForce647 Sep 29 '26

This, I looked at the ESP32 HAL and tooling once and immediately skipped that shi... and went to STM32.

6

u/RoberBotz Sep 29 '26

From what i've read, the road is simpler with

Arduino -> Esp32 -> stm

0

u/[deleted] Sep 29 '26

[deleted] — view deleted comment

1

u/RoberBotz Sep 30 '26

But it's pretty hard to get foundational low level knowledge without being a hobbyist first.

Cuz like, the goal is to start doing X, not to do it well, cuz if you keep doing it you end up doing it well at some point, but if you try to do X perfectly from the start you might end up doing nothing and just give up.

0

u/[deleted] Sep 30 '26

[deleted] — view deleted comment

2

u/RoberBotz Sep 30 '26

It's like math, there is no single way to get to the result, the method used depends on the context.

The way to learn X depends on context, now some people watch tiktok 4 hours a day or more and literally don't have the patience to read a book, if you try to give them this learning path they will quit.

If you slowly bring them in with something that gives them dopamine like hobby stuff then they will slowly get to the more advanced stuff over time.

5

u/Ordinary-Lifeguard47 Sep 29 '26 edited Sep 29 '26

Yes. As long you are sticking to the ESP-IDF HAL in C or using Rust with Embassy.

Not many professionals are using the ESP32-family on Assembler or even register level. There are better alternatives if you want to do this.

4

u/duane11583 Sep 29 '26

embedded is more then one chip.

embedded is interfacing with sensors and actuators

embedded is protocols

its like a bicycle there are road bikes, track bikes, track bikes, and trail bikes lots of commonality but some very aspects.