Hacker News new | ask | show | jobs
by vablings 20 days ago
The RPI was really good because it was a powerful SOC that ran Linux with lots of GPIO and easy to operate. Now there are a dime a dozen ESP32 based projects that give you the same flexibility. You should almost never buy a RPI for projects these days, its completely overkill
4 comments

Unless you designed a product around the RPI as your compute module, and now you're stuck. I was recently at the contract manufacturer that's building my company's product - they have a number of clients in this situation.

You could respin, but you can't get that Broadcom part because Fuck You, We're Broadcom™. So now you're looking at a whole new platform if you want to proceed. It's still cheaper to pay loanshark prices for RPIs... for now.

> You could respin, but you can't get that Broadcom part because Fuck You, We're Broadcom™. So now you're looking at a whole new platform if you want to proceed. It's still cheaper to pay loanshark prices for RPIs... for now.

Beaglebone Blacks have and continue to exist. They were actually open and documented. They genuinely fit in their advertised power envelope. They have more and better I/O than an RPi. Had people used those, RPi would be a memory and Broadcom wouldn't be an issue.

Instead, everybody flocked to the RPi because it was subsidized and now have shocked pickachu face that things are expensive now that subsidies have been withdrawn because people want profit and/or can't keep up with RAM prices. ╮(°᎑°)╭

Broadcom is a known adversarial player to EVERYBODY. I feel zero pity for anyone who continues to use them and get burned. ¯\_(ಠ_ಠ)_/¯

Isn't the recent beaglebone (pocket eagle 2?) 512 mb of ram though? There's a ton of things for which 512 mb is tight and 4gb is more than fine
I've been having that argument with RPi fans since the start, but it was hard to beat the price and support ecosystem that sprang up around it. Kind of like a hot dog - you don't ask how it got there and why it's cheap.

Later down the road when they still bitched about lack of documentation, or a viable bootloader that didn't need that silly GPU, or how to mount eMMC instead of SD cards that constantly fell out...they still didn't want to leave it.

I admire the project for bringing more people into embedded Linux, I just wish it was closer to the economics of how this business works.

For the record I'm a AM335x (Beagle) user and it's worked out just fine for me. Thankfully the Beagle community was a bit better than some of the other SOM vendors out there. And the Octavo SIP version is a nice thing to whip into a design when you need it. And I do like Freescale's iMX as well, that was where I got my start.

Sounds like a gap in the market you could exploit. I am almost certain there are pin-compatible models out there

https://www.compulab.com/products/system-on-modules/?gad_sou...

I haven't cross refence but this looks like the Linux SBC that is inside the Eightsleep

https://www.compulab.com/products/computer-on-modules/cl-som...

They're all nice products and there's so so many more out there, but you would need a complete switcharoo on the kernel and devicetree and it's going to cause some pain.
Welp there's been about a decade of warning between the Acquisition of Broadcom by Avago, and almost a half decade since they settled an anti-competitive claim around, surprise surprise, restrictive contract terms.

IDK why anyone would build a full product around one, versus the more sensible option of maybe prototyping with one while planning a shift, whether it's the 'Version 2' or something. Anything other than dependence in a full platform when half the point of ARM was how easy it is to get your own semi-custom spin.

There's a gray area in the middle where people want a Linux system in their design but just don't have the time or resources to spin a SOM carrier, or even know where to start. And then they see how people are using RPIs to drive 3D printers or robots or funny things and it just looks so easy. And it is. And I sympathize with them. But commercializing a product with it is dangerous, as we're now seeing.
I was recently surprised to learn that even my massive tower workstation has GPIOs in it - they're just not exposed to the outside. But all of the unused pins on the Super I/O chip for COM, LPT, floppy, etc, can be set to GPIO mode by setting a register bit.

More practically, if you don't have tight timing requirements (which a lot of the time you do, but not always) you can get a USB adapter and plug it into some random laptop.

You probably don't remember this magic period of time when PCs had a parallel printer port. If you knew what you were doing it was a tidy bank of GPIOs that were really useful. And then we got rid of it.
I remember a while ago seeing a lot of diy projects that were using raspberry pis when an Arduino or ESP32 was more than capable of being the controller in the project. Things that don’t require an os, just some control logic. At least that’s no longer an issue.
Do you have any references to ESP32 running Linux?
As the sibling comment shows, the very latest ESP32 model (S31, not S3) can run Linux. But they can only access maybe 64MB of RAM, and most boards for sale will have significantly less.

In reality, though, the use cases where you need Linux and GPIO are very slim. It's overkill, an ESP32 is realistically more than powerful enough, and Linux isn't even good for GPIO.

If you have to use Linux, just get and old router from ebay, many will run Linux just fine, have a lot of memory, WiFi, USB, etc.

I've even found routers in the dumpster, that can still run actual OpenWRT comfortably.

Building a product around dumpster diving for routers seems as risky as building one around Raspberry Pi pricing.
Sup. They just dropped some new hotness that does in fact run Linux. https://www.i-programmer.info/news/91-hardware/19197-the-esp...
I was confused the other day when I was browsing ESP32 on Aliexpress and found models with a price tag of 30~60 euros instead of a couple of bucks. So those models have enough silicon to run a general full fledged OS. Picture me impressed!
For a long time, this was the pivot point between a microcontroller and a bigger machine: Does it need to run an OS?

I've had a couple of RPI's running as home file servers for well over a decade with the only reboots being due to power failures. But today, the cost sensitive option would be a refurbished mini-PC.

A full, desktop OS. Plenty of ESPs out there running FreeRTOS, which is more like a thread scheduling library than anything we'd recognize as an OS.
Well, in many use cases it acts as a single use device & does not run Linux or any OS at all.

It controls whatevwhatever hardware, reads some sensors, etc.

Then when needed gets oders from a normal computer over network or BLE via some simple protocol.

On ESP32, its also quite fine to run FreeRTOS, and you can quite reasonably write cross-platform code which runs on both FreeRTOS and Linux, if that's important.
No, but who cares, it has FreeRTOS support, and bare metal for C, C++, Rust, MicroPython, and co, plenty of juice there.
The RPI was good because, like the Asus EEEEeeeeee that started the netbook/*book revolution where the original kinda sucked but the later derivatives by other vendors were great, it showed that you could build a product that fitted somewhere between an ESP32 and a mini-PC and be successful with it, kickstarting an entire industry of better-designed and better-priced alternatives. So it doesn't really matter so much if they've gone off into the weeds when there are large number of alternatives available.