4 ms·
After having bought Pis and then sold them all, I've never understood them. The Pico and Pi Zero seem to have a place, but the performance of the big Pi is so b
by bmitc 2y ago
After having bought Pis and then sold them all, I've never understood them. The Pico and Pi Zero seem to have a place, but the performance of the big Pi is so bad, it's rather pointless as an "embedded" computer or general purpose computer with a display.
- nkozyra 2y agoFor an embedded computer you basically need to go bare metal with Circle or something similar. But then I'd wonder what you're building because there are powerful microcontrollers you can buy for $15/1 that will handle anything with basic networking and sensors. I know some musical synthesizers are made with rPi4 and I'm befuddled that they're not the most powerful synths ever made. I think they oddest one out is the Arduino line, which is generally underpowered and expensive compared to just having a drawer of esp32s sitting around.
- jki275 2y agoArduino pre-dates the existence of ESP, at least in the western market. Also, Arduino as I think you're using it here is really just slang for AVR microcontroller dev boards. Arduino isn't actually that, it's a boot loader and a highly simplified set of libraries to interact with a wide variety of microcontrollers including ESP-32 and what people traditionally think of as "Arduino" meaning the branded dev boards labelled that way. Of course the whole Arduino ecosystem is basically garbage, but it does help beginners get into the idea of doing embedded things.
- sircastor 2y ago>Of course the whole Arduino ecosystem is basically garbage, but it does help beginners get into the idea of doing embedded things. I think this is either a naive take or a presumptuous, Gatekeeping take. The Arduino ecosystem is not garbage. It’s an abstraction layer. While it is not always the most efficient code, it makes programming something straightforward. That is not only a beginner feature. The premise that’s sold here is that because Arduino is an abstraction layer and it does (often) favor ease over efficiency and compactness, it must not be suitable for “real embedded programmers” Not all projects need to be accomplished in 256 bytes of flash. Not all programmers care about how to set a given timer or stepping down clock speed. Not all use cases are your use cases Use the tools that get the job done. Make the thing you want to make. Ignore people who tell you you’re doing it “wrong”.
- nkozyra 2y agoI agree with this in general. I think the Arduino ecosystem makes a lot of sense and as mentioned upthread does a good job lowering the barrier to entry. It's the hardware I don't get, which sits in a weird spot in the matrix of ease and power.
- jki275 2y agoIt's neither. The Arduino ecosystem is objectively garbage, for a host of reasons. Yes, it is an "abstraction layer", that attempts to abstract away all the hard stuff from a whole host of different microcontrollers, and does it in some really bad (and broken) ways. Arduino prioritizes making things easy for the person who doesn't know how to write embedded code. That's fine, as far as it goes. The problem with things like this is when people put them in production anyway, because "it works" on the bench and there's no need to bother with making sure it actually works.
- imtringued 2y agoThe Arduino "line" is a bunch of dev boards. The attiny40 chips cost less than $0.50 at high volumes.
- nkozyra 2y agoWell yeah I'm just saying they have a lot of overlap in the market with rPi despite being a much less powerful, different thing. Getting started with esp32 dev board is cheaper, more powerful, and not any harder, so I don't understand their niche.
- akira2501 2y agoA embedded computer using microSD for main storage should be a non starter for any serious application. They fail far too easily given the bad thermal layout on the board. You can get the larger ones to boot USB, but the smaller ones obviously can't. I've got a guy who loves running these things, but calls me every other month because one of his images fails, and he needs help rebuilding it. So far I doubt he's saved himself any effort, time or money.