Hacker News
7 hours ago by deng

Nowadays, I just get old laptops with broken screens and take the mainboard out. They are dirt cheap, often even have 16GB of RAM, you can just dump pretty much any linux on them and they are usually way faster than Pis.

The boards are of course bigger, which I guess will be a non-starter for many. They'll also require active cooling unless you downclock them considerably. They often also require more power, although many mainboards can be configured down two a few watts of power consumption, depending on what peripherals and speed you need.

Yeah, it's more work than just getting a Pi, but given the current prices, it makes sense for me.

3 hours ago by throwaway_new_1

The goal of raspberry pi's was to have a standard GPIO connected to a moderately powerful and cheap computer for educational purposes. Then it slowly evolved into many use cases because of it's vast community and standardization and availability, not to mention the large number of boards that connect to it. The standardization did erode a little but it still maintains that reputation because of the community and availability and now because its turned into a big brand. Many industrial projects depend on it.

If you use the raspberry pi for homeservers or general compute (which I did/do sometimes) then the value proposition is quite poor regardless of pre AI prices unless you have very strict power requirements (in which case it probably fits the above use case already). The comparison with NUCs or mini PCs or laptop boards feels like it's a wrong comparison.

The chips used in PIs are repurposed Broadcom SOCs that have inferior bus speeds compared to a general purpose processor from intel or amd, even few generations old. For any general purpose computing these chips will always be slower. its like comparing apples and oranges. I never really understood why people did that.

2 hours ago by deng

> 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.

an hour ago by andoando

Pi still makes the Pi Zero for like $15 that runs linux, if you want a cheap low power general computer running linux

3 hours ago by Rohansi

> The comparison with NUCs or mini PCs or laptop boards feels like it's a wrong comparison.

For many (maybe even most) people they do the same thing. Some just want a HTPC, basic desktop, or small server, no GPIO needed. Raspberry Pis were definitely cheaper early on because you could actually buy boards at or near MSRP, but over time the price rose and mini PCs became cheaper.

3 hours ago by throwaway_new_1

>mini PCs became cheaper

or maybe the mini pcs started becoming available at all. I think these were a concept since core 2 duo and first gen i3 era. before then the chips were too much wattage for a mini pc. and the first generation mini pcs were also costly for enterprises to adopt in bulk. its only after 4th and 6th gen intel that these were adopted in large quantities in enterprises and once they dumped those in the used market they became comparable in pricing and somewhat in power to a rpi.

Used powerful PCs have always been available for dirt cheap on eBay even when the first pi was launched. just that mini pcs are a more recent thing.

2 hours ago by derefr

I would argue that even if you need "a cheap SBC with GPIOs", at this point you'd be better served by connecting a tiny $5 microcontroller-powered board with a USB PHY + its own GPIO headers, to any cheap "computer" (i.e. a GPIO-less SBC, or an old laptop, or a phone like in the article, etc.) over USB; where the MCU board essentially serves the host a "GPIO gadget."

You can make such a dongle yourself from ~any MCU dev board, but there are also productized "USB GPIO breakout" adapter boards, e.g. the Adafruit MCP2221A.

The "Pi as an SBC with GPIOs" case now only makes sense if you really, really require the Pi's compactness and/or monolithic-ness (as might be the case for e.g. ruggedized embedded systems like robots.)

2 hours ago by criemen

I use a pi (4th? generation) to run homeassistant, calendar sync target and a few other random small services on. It's great. It works, it doesn't make noise, it's small, it plugs into USB-C, the power brick is small, too. The SSD I'm storing everything on because I had a few failed SD cards has a larger footprint than the rest of the computer. What not to like? Nothing I run on it requires faster CPU, and the small footprint is worth something to me. Sure, if you have a big house with a dedicated server room/hobby space, you might as well have a NUC/old laptop/whatever.

6 hours ago by macNchz

The Lenovo ā€œTinyā€ line of ultra small form factor PCs is effectively laptop hardware in a proper case, with ethernet and no battery to deal with. There’s a steady supply of used ones at good prices from enterprise IT liquidators. I’ve had one on my desk as a home server for years.

5 hours ago by jeppester

These machines have so much potential.

In a better world we'd all have one in our homes, storing all our personal data and documents. The cloud would only be used for storing encrypted backups.

Many small businesses, kindergartens etc. could also have all their digital needs served this way.

Yes they would sometimes break down, but with the right setup, the fix would be a matter of booting a replacement from the right thumbdrive.

5 hours ago by derwiki

I worry less about breaking down and more about poor security update hygiene

3 hours ago by canadiantim

Thank you, I think that's very right.

May I ask, how do you think kindergartens would benefit from a home server?

5 hours ago by grep_it

After pi’s got expensive I started picking up refurbished Dell micros and Lenovo tinys cheap and haven’t looked back. They are also perfect for the 10ā€ mini rack[0].

0: https://github.com/geerlingguy/mini-rack#build-showcase

2 hours ago by xp84

Shoutouts as well for the USFF HP Elitedesk and Prodesks. They are amazing. I even got one with a Ryzen CPU that had a dedicated GPU option - that GPU part was on eBay brand new for $60 and replaced the hard drive bracket. Not on par with a desktop GPU but way better than integrated graphics, for things like Minecraft in my case. I use a second one, this one Intel with 32GB of RAM, as my home server. (Jellyfin, Home Assistant, Tailscale, miscellaneous stuff).

3 hours ago by rtp4me

Same. I have two Dell SFF 3070s and some MSI micro units in a rack - planning on getting some more for my Proxmox cluster. ServeTheHome has a great resource for the compute nodes [0] and GeekPi makes some awesome 10" racks [1]

[0] https://www.servethehome.com/introducing-project-tinyminimic...

[1] https://www.amazon.com/GeeekPi-Cabinet-Equipment-RackMate-Ra...

4 hours ago by akerl_

A few years back I finally got tired of the quirks with ArchlinuxARM (some things only worked with the forked kernel, some only worked with mainline) and replaced all my persistent RPi usage with refurbished Lenovo mini PCs from Amazon. Even with Amazon’s markup it wasn’t that much more than a beefy Pi4 plus case and adapters.

This let me standardize on amd64 and simplified a bunch of my deploy code.

4 hours ago by classictraffic

I also have one and use it as a home server. They’re insanely capable (I’m constantly running a lot of resource heavy things on it), and it cost a lot less than a pi even though the specs of mine are way better

6 hours ago by madduci

Indeed is a good idea, but Pi has a better power consumption rate.

Old mobile phones or laptops are riskier because of batteries. Some laptops can work without batteries as well, but do old phones?

6 hours ago by deng

I've yet to find a laptop mainboard that doesn't work without a battery. As I've written below, I'm getting extremely boring old office laptops with integrated graphics. Usually phones also work fine without a battery. However, I'm not touching phones because I will not fiddle with locked bootloaders and "the Android situation". Running plain Linux is a hard requirement for me.

3 hours ago by babuskov

> I've yet to find a laptop mainboard that doesn't work without a battery.

Intel MacBook Pro from 2014 works but throttles the CPU to 800 Hz making it barely usable.

5 hours ago by mchristen

The Framework laptop's motherboards can all be run without batteries. They have a 'standalone' mode you can toggle in the UEFI settings.

6 hours ago by raphinou

I'm just looking at an old Dell laptop refusing to boot without manual intervention because it looses its time setting since I removed its main battery. If I can fix that it'll become a very capable server for my home setup. Not sure it'll work though, as the bios can't be configured to ignore the time reset.

5 hours ago by trouve_search

If you can limit the battery to stay in the area between 40-60%, it'll last a very, very long time.

5 hours ago by BetterThanSober

> but do old phones

they did, with modifications

3 hours ago by undefined
[deleted]
an hour ago by undefined
[deleted]
10 hours ago by Freak_NL

This is the main issue:

> The open question is supply. Finding two good used phones is easy; finding a few hundred matching ones, with healthy batteries and predictable camera behaviour, would take more work. I feel increasingly confident that it’s possible.

RaspberryPies and such are commodity hardware. You can buy one, two, ten, twenty, a hundred, and it just scales along. All of those devices will, barring perhaps a few dead-on-arrival ones covered under warranty, just work out of the box.

A used smartphone will have issues which can vary from device to device, so scaling that would take a very dedicated refurbishing setup where the quirks are ironed out (and the unsalvageable ones discarded).

I would also expect that you are starting out at the other end of the bathtub curve: with new devices you will have a few that fail soon after unboxing and using them a bit, and then they will run fine for years until you start hitting the other end of the curve and wear-related faults pop up. With old cheap phones you would start out at that side of the curve, so if you buy one hundred of those, a bunch will fail at various points soon after deploying them.

The cost of that unpredictable behaviour seems high to me. So much so that I wonder if it wouldn't be cheaper to buy a lot of unsold stock of a certain type of budget smartphone from two or three years back. Those devices could run fine as long as they aren't connected to the internet directly.

8 hours ago by bambax

> RaspberryPies and such are commodity hardware. You can buy one, two, ten, twenty, a hundred, and it just scales along.

Not my experience at all. Pies are hard to find, get more expensive each week. Some are impossible to find (Pi zero).

The most fragile part of a phone is the screen. If you don't care about breaking it, then access to the battery becomes pretty easy, and therefore easy to replace.

7 hours ago by setopt

Same here. The last times I tried to get a Pi — three times in three years — the ones I wanted were completely sold out and waiting to restock.

7 hours ago by MarcScott

Where are you based? I just bought 25 from CPC without any issues. Delivered in two days. They aren't as cheap as they used to be, but I understand the reasons why, given how expensive RAM is. Yes, the zero is trickier, but the 2W is in stock on PiHut at the moment.

3 hours ago by alibarber

Thank you so much for the heads up! They're as 'rare as rocking horse ...' as an old teacher of mine would say. And I've needed one for a project for ages.

Unfortunately thanks to the EU's new tariff regime it would cost over 30eur to ship it here, but luckily I can smuggle one back from my next trip to the UK...

That said for 4 and 5s - I've not had a problem here (Finland) in literally getting them off the shelf of a local retailer (Partco) for the going rate anywhere else.

7 hours ago by afgrant

It seems very regionally dependent.

7 hours ago by interludead

I think battery replacement is only part of the problem, though. Even if you can swap batteries cheaply, you're still dealing with different firmware versions, component revisions

9 hours ago by randomblock1

Phones are pretty robust though, meant to handle everyday use and abuse. In terms of failure, the battery is really the only thing to be concerned about. Most phones have some battery limiting option, and bypass the battery when the charger is connected. And if you're determined enough you can run without a battery.

9 hours ago by cowlevel

Just plug all the battery slots in parallel to a 4.1V power source (that's a nearly full battery voltage). You probably have to solder them to make a reliable connection.

9 hours ago by randomblock1

I'm pretty sure the third/fourth pins are used for communication to the battery. I doubt the phone would be happy it wasn't responding. I vaguely remember some phones can just use a resistor for that pin? Either way it's not quite that simple.

6 hours ago by lawik

I've chatted to the guy running Citronics, they provided old but working Fairphone 3 to a workshop we had at Goatmire Elixir. They try to tackle repurposing and certifying the quality of old phones. Interesting effort and well positioned for the current climate.

Their board currently on sale is this. Based on Fairphone 2. Targeting commercial or industrial more than hobbyist though. I've been trying to convince them to sell the old phones as is, as well. https://shop.citronics.eu/

Thanks to Marc Lainez and his token spend we have a great Nerves system for running the Fairphone 3 by just programming Elixir. And people are flipping new (old) phones over to be put to work every week in the Nerves Discord.

We have a good UI framework in Emerge. We have media handling with Membrane. And Nerves handles the OS integration for stuff like networking. I thoroughly enjoy making up my own mobile OS for my own purposes.

You lose the GPIO/I2C/SPI/UART as easy extension points compared to the Pi. But the stuff that is there is already well integrated.

5 hours ago by abyssin

I was going to mention these, love the concept!

9 hours ago by krzyk

Hobbyist don't usually need to scale beyond one device. Warranty is not that a big issue, if you buy a used hardware you know what are getting into, that's why they are cheaper than new devices.

6 hours ago by bee_rider

Depends on the hobbyist, I think? The Pi has the advantage, due to the scaling, of having a rich ecosystem of examples and ready-to-go code.

It makes more sense with high availability though. Their current situation seems rough.

8 hours ago by KeplerBoy

we are talking about embedded devices here. you dont need a second one because your web server cant serve enough requests, you need a second one because you want separate projects to have separate hardware.

6 hours ago by Geezus_42

Then why would it matter if they are all exactly the same?

8 hours ago by cdetroye

I have recently taken to gathering old phones and putting Nerves on them (Nerves packages up the Erlang VM into a mainline kernel to run on a variety of devices). I got inspired by a talk by Marc Lainez at Goatmire who had put it on a variety of exotic devices (e.g., a Wii).

I am by no means an expert at this, but starting of with a device on the Postmarket OS list and Claude, you can get a lot of these old devices working with mainline Linux and nearly all drivers. The newer devices are a bit harder, but if you go back nearly a decade, they're very easy to get working.

So far I have repurposed a Fairphone 3, Nexus 5, Galaxy S20, and Galaxy Tab 3.0 7". All of them (except the s20) with all drivers working compared to stock. Others have done a lot too: https://github.com/mlainez/awesome-nerves-systems

For DIY projects you can use host USB, or get one of the Adafruit FT232H type boards for GPIO pins.

3 hours ago by sahruum9

Wow! I'm a big fan of Nerves, but I've only ever used it on Raspberry Pi and Pi Zeros. I have piles of old phones, I'll have to give this a go.

7 hours ago by az09mugen

Thanks for making me discover Nerves to give a new life to old devices !

7 hours ago by andai

Neat. I've heard good things about Erlang, though I haven't taken a proper look at it. What kind of things can you do with it? Or rather, where does it shine?

6 hours ago by lawik

Wow. Big question.

So Nerves folks typically run Elixir on the Erlang VM. So you have the Phoenix web framework, Membrane media framework, Nx (nx_eigen) for basic inference, Emerge does well for embedded UI.

I've played around with clustering a bunch of these devices over Tailscale across my home. Opening cameras from one device and streaming to anothers display, willy-nilly. All experimental for me.

I've put Homex and Espex on them to have them integrate with Home Assistant. Feeding sensor data up or whatever I feel like.

Elixir already has a production embedded ecosystem through Nerves and web services have been the bread and butter for a long time. So you can do almost anything.

3 hours ago by axegon_

To a degree, I see the author's point. But there is a catch for me: I have a few older phones and the reason why I generally prefer Pi over an old phone is the OS. If I could get a full-fledged linux on a phone, I don't have a big reason to look at Pis: I don't need the gpio in almost all cases. For most phones however, this is not only not straightforward but in 99% of cases not possible at all.

9 hours ago by yjftsjthsd-h

> Why get an expensive Pi when I have an old phone?

Because the pi has a maintained kernel and a userspace I don't have to fight.

8 hours ago by hafern

As someone who's tinkered with flashing linux into tablets I can 100% vouch for this. Fun to tinker with. A nightmare to use for real

6 hours ago by tomComb

And a firmware that is maintained and automatically updated.

7 hours ago by nh2

Yes, the terms "kernel" or "security updates" don't exist in the article at all.

Everything without upstream kernel support is inherently vulnerable.

This is why most phones are unfortunately not general purpose computers. They don't run the software you want, but only work on closed binary blobs hardcoded against specific kernel versions.

6 hours ago by sorrywhat

If only we had some magical software that could compile the vanilla Linux kernel, diff it with the vendor kernel, reverse engineer the differences and patch the original sources for you while you sleep...

5 hours ago by bee_rider

I’m out of the loop on this sort of workflow. I guess this is referencing the LLMs super reverse engineering capabilities. They are impressive but how much would that sort of task cost? There isn’t a ton of headroom if we’re going to beat a Pi, right? I mean they aren’t super cheap anymore, but you also have to factor in the phone.

2 hours ago by yjftsjthsd-h

Have you done this successfully? Would appreciate any notes/prompts you could share

9 hours ago by altmanaltman

Yeah like its a weird article idea where the pi is expensive compared to an old phone which you have for free. But that doesn't make the used phone cheaper. You can just as well say why use an expensive PI when I have an old computer with a 1680ti and 12 gigs of ram. Like yeah okay but what does that have to do with Pi? Entirely different device classes imo

3 hours ago by flykespice

> Yeah like its a weird article idea where the pi is expensive compared to an old phone which you have for free. But that doesn't make the used phone cheaper.

Perhaps not in the first world reality you live in, where you can buy a rpi 4 for a couple of bucks. But in third world countries they aren't readily available, and usually the imported prices exceed that of a decent PC.

You can find an old used phone for almost half the price that is still good enough for many daily processing tasks.

> You can just as well say why use an expensive PI when I have an old computer with a 1680ti and 12 gigs of ram.

That is a logical fallacy. A high end PC and an old used phone that you can buy in Ebay are in entirely different price ranges.

> Like yeah okay but what does that have to do with Pi? Entirely different device classes imo

Entirely different device classes, yeah, but both can execute the very same functions. The difference is one is much cheaper and you get 2x the processing power than the "more specialized" other. You can use both as local llm, serv ers, home automation... and even GPIO if you expose some wires from the phone.

2 hours ago by altmanaltman

1. I don't live in the "first world". I own a pi 4 and have a couple of cellphones.

2. Again, "cheaper" is a valid qualifier if you compare costs. Phones vrs pi is not what I am talking about, free vrs second hand (not free) is what I am talking about. Something cannot be cheaper than free so comparing costs is kind of weird.

Sorry for any offense this semantic may have caused.

9 hours ago by mahboi

Or what about an old Pi?

8 hours ago by altmanaltman

Why get an expensive Pi when I have an old free Pi? My issue is with the expensive qualifier. Anything is expensive compared to something you have lying around for free.

If you want to compare the expensive factor, at least use some kind of cost to compare like the price of a used phone etc or the cost of a basic server to see how they differ.

7 hours ago by ta8903

The article only talked about buying used phones, not using phones you already have.

6 hours ago by nebulous1

You're correct but they did lay out the table oddly because the first line has the price for the Pi but not the phone, which made it look like it was assuming they already had the phone.

9 hours ago by randomblock1

Reasons to get a Pi: GPIO support, software support, OS updates, free root & bootloader, more flexibility and customizability, extensive documentation and support, consistency, simplicity, more ports, battery optional.

Used phones are good for tinkering, especially for "display with sensors and battery attached" usecases, but there are still plenty of downsides. And unfortunately Linux on phones is just not ready for primetime, last I checked.

9 hours ago by almog

I've never used one but android phones can use utilize USB GPIO devices which are very cheap

5 hours ago by trouve_search

Termux runs great, but it has some compatibility gotchas, largely because of the libc android uses.

I do use termux daily to ssh into other boxes, that's incredibly useful

9 hours ago by cowlevel

Your phone has GPIOs inside it, but you can't access them without at least root.

9 hours ago by randomblock1

Cool, didn't know that. But like are they physically accessible? I don't think you can use the USB port as GPIO. Maybe some unused pins on the SOC itself, but that means opening up the phone and probably removing the shielding/heatsink...

8 hours ago by amelius

You can attach some photodiodes to your screen to control things. And use the camera/mic for input.

9 hours ago by aborsy

PI was a thing when it was much cheaper than X86. You can buy a much better speced mini PC nowadays

9 hours ago by graemep

For the cost of a Pico or a Zero? Even some of the SBCs cost about £30. Where can I get a mini PC for that?

8 hours ago by skyyler
8 hours ago by kotaKat

I'll bite. Wyse 3040. $20-40 on the used market, similarly crappy specs to a Zero.

https://www.parkytowers.me.uk/thin/wyse/3040/

Atom x5 Z-8350, 2GB of RAM, 8-16GB of flash, some USB, and there's a board on that page you can have done up to do a slapdash SD adapter inside the case for more flash.

6 hours ago by pjmlp

Unless one actually wants ARM.

2 hours ago by asmodeuslucifer

I'm a big fan of the esp32. I needed a sensor to beep when a board came down a conveyor, and an esp32 with "VL53L0X Time-of-Flight Ranging Sensor Flight Distance Measurement Module" and a buzzer works perfect for about $10 in parts. Minus the 3d printed box and articulated arm to hold it the right distance away. Call it $10.25.

an hour ago by root9876

Nice thing about RPI is gpio, that can be used to configure the rpi with jumpers. All you need is a script that checks gpio state on boot and run scripts depending on jumpers placement. So you can get desired services started, configs applied etc without even connecting to the rpi.

Daily Digest

Get a daily email with the the top stories from Hacker News. No spam, unsubscribe at any time.