r/microcontrollers • u/testcurcuit0100 • Jun 13 '22
Which Microcontroller you should use in 2022?
10
6
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
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
0
14
u/[deleted] Jun 13 '22
A Nano, Uno, or Mega isn't an MCU...