Comment by giobox

20 hours ago

> It was a "microcontroller" you could program in Python with a friendly Linux environment and is now an expensive, power hungry, hot computer with a microcontroller hanging off of it

The Pi project was never originally a microcontroller - it was always a full-blown SBC you could program any way you want with some GPIO pins attached. People literally used them as (slow) home computers.

The company didn't sell its first microcontroller until years later in 2021 with the Pico, by which point we already had Pi 4. I do though think its a real shame prices for the SBCs have risen as they have.

At one point, the raspberry pi was a decent option if you wanted something hobbyist friendly that could toggle GPIOs and connect to the Internet (and later Bluetooth).

I suspect Espressif has mostly taken over that market now

  • Yeah every "hardware hacker" I know has pile of ESP32 at home now instead of pile of raspberry pi's.

    • I have yet to even get started with ESP32, mainly because software-defined radio is my main use case. Once you start getting into absurdly high sampling rates, you start to need a lot of horsepower, and that's where the more powerful SBCs shine.

      As an example, one of my Pi 5s takes an Airspy and an RTL, extracts 11 different FM broadcast stations, then encodes each audio stream and sends all of them to an Icecast server. There's processing power for more stations, but there are none I'm interested in among the others I'm streaming. With the current 11, it's using about 75% of CPU resources with no overclock. (Edit: this is a 2GB model, and it's running in roughly 500 MB.)

    • The pi, particularly the pi zero is still useful if you need something that can run normal software but not a full mini pc. One example I've seen is using a Pi zero as a "wireless usb" where you can plug it in to a machine that accepts files over usb, and can now drop files on to it over the network.

      Maybe you could do this with a ESP32 but it's easy on linux where you can use all the normal tooling and filesystem drivers.

      1 reply →

It's still true that people, out of convenience and familiarity, used Raspberry Pi for tasks where a microcontrollers would have been perfectly adequate

  • There was definitely usecase overlap due to the presence of the GPIO, but huge numbers of Pis ended up doing things a microcontroller can't - stuff like the PiHole and Retropie projects, and never used their GPIO pins at all.

    Thinking of any of the early Pis as microcontrollers ignores a huge amount of the ways in which actual end users interacted with the thing, and even the way it was sold and marketed. Upton was trying to replace early hacker-friendly home computers like the BBC Micro/Apple II, for a new generation.

    • > but huge numbers of Pis ended up doing things a microcontroller can't

      Mate you know full well it was multiple things... Marketed to education as an actual computer, to the maker demographic as a microcontroller, as a way to learn coding but also robotics etc

      >Thinking of any of the early Pis as microcontrollers ignores blah blah blah

      Same applies to thinking of them as SBCs

  • This just clarified something for me. I've always been annoyed when I see a Pi with nothing connected to its GPIO header; why not just use a cheap thin client? Or an old laptop, for that matter? But that's missing the point. Here's the point:

    Pre-Beagleboard-and-Pi, if you wanted an programmable thing to work with GPIO, you used an Arduino or a BASIC Stamp, or just a plain old PIC. But they wouldn't run a real OS.

    Pre-Beagleboard-and-Pi, if you wanted an embedded Linux box, you used a WRT54G or a Soekris or an old laptop. But getting GPIO out of them was a PITA. (And often involved lashing an Arduino to the side.)

    The Beagleboard (released in 2008), could finally do both. It had gobs of I/O and first-class support for it under Linux. It was pretty affordable. Then the Raspberry Pi came out in 2012, with a similar amount of GPIO, but demolished the price point to where it made sense to use it in place of a microcontroller.

    That's really the magic of the Pi. You can keep one cheap gizmo around, and use it to solve (a large fraction of) two classes of problems. It doesn't fully replace everything a PIC or a PC can do, but it replaces an awful, awful lot of them.

    • > I've always been annoyed when I see a Pi with nothing connected to its GPIO header; why not just use a cheap thin client?

      There have also been times when Pi's were cheap enough and x86 idled so power-inefficiently that you'd save money over a reasonable time horizon if you couldn't run your old laptops at full throttle.

      Absurdly extreme example, but at one point I decided to replace a couple (maybe 3) RPi's with a single old Dell rack server off Ebay plus replaced my router with one running pfsense. I knew it would be mostly idle, that thing had 2 Xeon processors to replace 3 cheap ARM processors.

      Between the 2 rack servers, my power bill went up by enough to buy a new Pi or two every month. It was like $80/month extra in power bills.