[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/diy/ - Do It Yourself

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


Previous Thread: >>2928655

Here 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 parts
digikey.com
mouser.com
arrow.com
newark.com

>but that's too expensive
aliexpress.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
>>
>>2952647
Arduino is not cool. In fact it's fucking stupid in multiple ways.
>>
>>2952826
Are 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.
>>
>>2952826
i'm a noob. what's stupid about it
>>
File: sarcasm.jpg (246 KB, 1200x742)
246 KB
246 KB JPG
>>2952861
It 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.
>>
>>2953044
The Arduino IDE is the most clunky thing I've ever encountered, except maybe for the vendor Eclipse IDEs, that only idiots use.
>>
>>2952826
it'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.
>>
>>2953076
How 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?
>>
>>2953086
There 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
>>2953076
what mcu do the cool kids use?
>>
>>2953049
You don't need the IDE. You can just use avr-gcc and avrdude.
>>
>>2953049
how is it clunky? just type da code and compile and upload
>>
>>2953174
I 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.
>>
>>2953176
It's designed for babbies, who would be confused by such things
>>
>>2953223
Stop 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.
>>
>>2953146
Arduino 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)
>>
>>2953255
I'm using a teensy 4.1, which I kind of lump in with Arduino because it uses Arduino IDE. It's pretty powerful.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.