Hacker News new | ask | show | jobs
by deng 17 days ago
> its like comparing apples and oranges.

Yeah, I don't disagree, but I would argue the Raspberry was always an applorange, and that's exactly what made it popular (together with the cheap price in the beginning, which made it basically an impulse buy). It brought people into microcontroller/embedded systems territory without having to actually deal with all of the stuff that made this so daunting. As you said, it is basically a normal Linux PC, just that it runs Arm and has GPIO. People who are really into electronics/embedded systems will use a proper microcontroller nowadays anyway, these have gotten so powerful and easy to use that there's really no reason for a Pi anymore. And on the other side, people who want a little server, a pi-hole, tailscale or octoprint or whatever, can just use an old used laptop/miniPC or similar. Since the Pi has gotten so expensive, I see basically no reason to get one anymore.

2 comments

> these have gotten so powerful and easy to use that there's really no reason for a Pi anymore

I use a pi zero 2w instead of a microcontroller because:

- updating software is very easy: just download a binary, package or docker image

- I can push logs over wireguard to a central place

- I can separate proven and experimental stuff into separate binaries and tune the scheduler to give my experimental code just the remaining cpu time

For fast iteration I don't see how a microcontroller comes close.

Microcontroller prototyping kits have been very convenient for some time. I could say the same about cheap <$10 ESP32 kits (e.g. M5 Atom Lite) - for development I can do one-click push of updated code over wifi, pushing or pulling logs over the network is trivial, etc.

I'd say the Pi is for all kinds of situations where you do need more power than that, but for trivial usecases I don't really see a major convenience advantage, IMHO the ecosystems have comparable convenience, except that if you've gotten used to one, then the other will need some new learning.

How can you add experimental code to a microcontroller without running the risk of it affecting other code that you consider to be stable?
Pi still makes the Pi Zero for like $15 that runs linux, if you want a cheap low power general computer running linux
At least where I live, the Pi Zero is pretty much impossible to get, and when it's available, it's more like 60$.
Where do you live? I'll send you a Pi Zero if you need one
Sending would probably cost the difference, but check first where the gp lives.
Send four of them in separate padded envelopes via snail mail. At least one of them will probably arrive intact.
From Rasberry Pi's own page:

  Central Computers -> 404
  MicroCenter       -> endless loop
  PiShop            -> sold out
  Sparkfun          -> sold out
  CanaKit           -> ? seems to only be a product listing ?
  AdaFruit          -> sold out
  Vilros            -> sold out
It's always like this with the Pi.
The 3b+ is still in stock or the 3b if the zero is enough and size isn’t a factor.

Still $35 for the 3b and $40 for the 3b+ but as an example, digikey has thousands in stock of both

You can buy an android phone with a 6.7" 120hz display, 8GB of memory, a faster CPU, and a 50MP camera from Walmart for $30 right now.

https://www.walmart.com/ip/ST-MOTOROLA-XT2617V-Orlando-5G-PI...

Is that a good comparison? You can't run a Linux distro on it (no PostmarketOS support), you're stuck with Android?

The 3b+ runs Linux, has OpenGL and X11 support.

You have to unlock the bootloader. It is s a hassle on a carrier locked device but possible. There are guides floating around.
Everything I would use a Pi for I definitely cannot use a phone for or I would have bought a phone in the first place.

Add to that then I need to deal with Android and whatever I need to do to make it run what I want.

Honestly a Pi or a minicomputer is generally what I want because of form factor and right now at least where I am a pi is still cheaper.

Android is Linux under the hood. If what you want to run is console based, there's termux under Android.
You can run any OS on any Pi board other than the pico

By the way, I got a zero 2W a few months ago and it costed me 47€