Previous Thread: >>2928655Here we discuss microcontrollers (MCUs), single board computers (SBCs), and their accessories, such as Atmel mega and tiny AVRs (Arduinos), PICs, ARM boards such as blue/black pill STM32, ESP8266/32s, RP2040, Raspberry Pi, and others.For general electronics questions (power supplies, level shifting, motor driving, etc.) please ask /ohm/.>where can I find verified quality microcontrollers and other electronic sensors or partsdigikey.commouser.comarrow.comnewark.com>but that's too expensivealiexpress.com (many parts here are fake, particularly specific parts out of stock in the above sites)lcsc.com>I need a part that does X and Y, with Z specifications. How can I find it?use DigiKey's or Octopart's parametric part search. Then purchase from one of the sellers listed above.>how do I get started with microcontrollers, where should I start?There is no defined starting point, grab a book and start reading or buy an arduino off ebay/amazon and start messing around. There are a plethora of examples online to get started.>resources:https://github.com/kitspace/awesome-electronics>RISC-V microcontroller list:https://codeberg.org/20-100/Awesome_RISC-V/raw/branch/master/RISC-V_MCU_development_boards.pdf
>>2952647Arduino is not cool. In fact it's fucking stupid in multiple ways.
>>2952826Are we gonna start hating on starter kits now?
Which is the easiest SoM to build a PCB for and get it to work with an embedded linux? Aren't there any templates with the right footprints and conducting traces for a basic periphery? As well as a pre-configured embedded linux? I basically seek a starting point to jump off the development board onto the self-designed board.
>>2952826i'm a noob. what's stupid about it
>>2952861It doesn't require signing your life away for an awful clunky toolchain that's bloated to all hell for some reason, and doesn't require a spaghetti of wires to an expensive bespoke programmer to develop for it.Therefore, "real" embedded devs hate it.
>>2953044The Arduino IDE is the most clunky thing I've ever encountered, except maybe for the vendor Eclipse IDEs, that only idiots use.
>>2952826it's a general purpose prototyping board, it's not cool inherently. It does what it needs to and is relatively easy to adapt to changing requirements. I don't want to have to configure SFRs just to spin a motor when a button is pushed, my boss wants me to have a functional prototype yesterday. The PIC16F that will be used in production isn't cool either, but it's cheap, reliable, and and will be configured to the product spec that is already written before it even gets selected.
>>2953076How are pics still a thing how much are they saving per unit a nickle? And it has to be programmed in assembly how much does that cost?
>>2953086There are compilers for PICs. I think a lot of the use of PICs these days is with legacy designs where the code is already written, I see them in multi-stage lead-acid battery chargers, that kind of stuff where you’d need under 50 lines of C anyhow. Doesn’t matter how inefficient your compiler is at that point, maybe these things are written in Basic. There’s also 32-bit PICs that surely nobody programs in ASM.
>>2953044>>2953049>>2953076what mcu do the cool kids use?
>>2953049You don't need the IDE. You can just use avr-gcc and avrdude.
>>2953049how is it clunky? just type da code and compile and upload
>>2953174I know, but it's annoying how the IDE hides all the tool use, which could be pretty simple, and even needs to do that init/loop bullshit.
>>2953176It's designed for babbies, who would be confused by such things
>>2953223Stop being such an elitist debby downer and make something cool. The fish wont care you used an arduino to feed them. Bedides youre not getting an embedded job without a license anyways.
>>2953146Arduino is dinosaur tech which began with a 20 year old microcontroller. 8bit MCUs are going extinct.Anyway the cool kids might use stm32, which is a pretty modern, extensive family of processors. As few as 8 pins, or over 100 if you want. They have the "nucleo" dev boards too which makes it easy to get started. I've used them and like them.ESP32 is also worth a look. The company Espressif has sold over a billion esp32s, they're everywhere. Cheap devboards but extremely capable (lots of flash, lots of ram, and high clock rate, up to 240MHz IIRC)
>>2953255I'm using a teensy 4.1, which I kind of lump in with Arduino because it uses Arduino IDE. It's pretty powerful.