r/microcontrollers • • Jun 13 '22

Which Microcontroller you should use in 2022?

Post image
0 Upvotes

19 comments sorted by

14

u/[deleted] Jun 13 '22

A Nano, Uno, or Mega isn't an MCU...

-4

u/rafaelement Jun 13 '22

why not? Because it isn't ARM?

16

u/spilk Jun 13 '22

arduinos are development boards built around a microcontroller, they are not themselves microcontrollers.

-3

u/Isvara Jun 13 '22

Pedantic. You're still using a microcontroller. They just have a minimal amount of supporting hardware that you'd need anyway.

4

u/spilk Jun 14 '22

it's not pedantic, you are just making assumptions.

If I'm designing my own PCB for a product it's very likely that all that "supporting hardware" is either redundant or unnecessary. In that case, when asking the question "What microcontroller should I use?", answering "arduino" is wholly inappropriate.

Development boards and microcontrollers are distinct things and the terms aren't interchangeable.

2

u/EighthMayer Jun 14 '22

Would you call your computer a "processor" or a "power supply"?

1

u/Isvara Jun 14 '22

No, I call it the Alienware.

1

u/HW_Enthusiast Jun 14 '22

I wish I could think like that :( to call my whole day's diet just 1 banana with "a minimal amount of supporting nutrients". That would make budgeting and dieting way easier :D

(it would also be be incorrect, but who cares) :) teach me your ways!!

10

u/frezik Jun 13 '22

The one you scavenge out of a 10 year old toy.

6

u/[deleted] Jun 13 '22

Jesus Tapdancing Christ on a Popsicle Stick:

please don't confuse "development board" with "microcontroller."

STM32 is a very wide ranging family of ARM 32-bit microcontrollers from a particular vendor. You need to specify which core (M0, M3, M4, M7, variants, A variants) and then it gets down into the weeds of peripheral sets, memory, speed, power consumption, footprint/packaging, supply rails, etc etc..

And there are a whole bunch of ARM vendors: in addition to ST, there's TI, NXP, Microchip, Silicon Labs and more.

Why restrict yourself to ARM? Maybe 8051 will work. Maybe MIPS will work. Maybe RISC-V will work.

I suppose you should also make clear: hobby use vs professional product design.

5

u/Conor_Stewart Jun 13 '22

You should use whatever works for your project, like if you need wifi or bluetooth go for an esp32, if you just need something simple, then use something simple like an arduino, if you need something with lots of power go for one of the more powerful STM32s, if you just need a basic mid range microcontroller then go for something mid range, like a blue pill or black pill or a mid range stm32 or a rp2040. There is no single microcontroller you should use in 2022, because there is no single set of needs for all project.

1

u/GnarlyNarwhalNoms Jun 13 '22 edited Jun 13 '22

This!!

Maybe you need something smol, use an attiny. Maybe you want something with good adc/dac and plenty of memory, use a teensy. Micropython? Rp2040. Not a bad idea to have half a dozen different MCU/dev boards in my toolbox at any given time.

1

u/Conor_Stewart Jun 13 '22

Not a bad idea to have half a dozen different MCU/dev boards in my toolbox at any given time.

Sounds like me, you can never have too many, you buy one, play around with it for a bit and then it sits in a drawer until you have a project that needs it, but its always handy to have and as a student it is worthwhile working with different vendors and ides and architectures.

2

u/[deleted] Jun 13 '22

Pick the one you can get.

2

u/FlyByPC Jun 13 '22

Whatever one works, fits your toolchain, can be sourced, and doesn't cost too much. I've been doing pretty much everything with ESP32 recently. The Uno is a great beginner's introduction, but honestly, so are some of the 32-bitters.

3

u/Schnort Jun 13 '22

For new products, I'm always begging "please not the 8051 core again".

The bean counters always say "but its free and our designers can bang a product out in 3 months!". Never mind they also want it to do double precision math so the designers spend a few extra months making a home grown ALU peripheral(that isn't fully tested and has bugs).

Followed by the requisite "you software guys are always late!"

Of course, they never hear the "why don't we spend a little more money on die size and time up front so firmware isn't a total shitshow and we can meet the market window?"

5

u/prosper_0 Jun 13 '22

Horses for courses. 8051 is still useful, and is often the most ideal part for simper designs. For more complex products, it's not suitable.

It's still quite relevant today, and absolutely worth knowing

1

u/conhao Jun 14 '22

Answer: The cheapest one that meets the requirements.

0

u/ceojp Jun 13 '22

Except for the ESPs, those aren't microcontrollers.