by bjoli · 6y ago · 0 comments
The i5-6500 runs laps around these boards anyway. And I could sell my SBCs for a lot more than what the prodesk cost me (one pi4 with a PoE hat, one odroid xu4 in a cloudshell and a rock pi 4 with the big heatsink).
Unless you actually need the GPIO there is no need to go SBC.
> SBC.
Or form factor, or weight, or power consumption, or cooling - or a multitude of other reasons.
I do agree though that an old desktop PC can be miles better in terms of performance per dollar, but you'll probably pay for it in electricity bills in the long run.
A quick google shows reports of those HP SFF systems idling at between 3-10 watts, depending on how old they are. The Pi4 uses about 3 watts at idle. This matches my experience with that vintage of CPU.
They will use more power when active, but with better performance per watt, optimistically using less power for a give unit of work.
edit: searching around, people are reporting 10 ish watts on x220 era thinkpads. But still 3-5 watts sounds low for a desktop.
Also, Pi 4 idle power consumption at launch was significantly higher than with current firmware, those early Pi 4 figures were the only ones nearing 3 watts I think. And of course the less beefy Pi Zeros are sub 1W.
Always get called a stick in the mud, too. Maybe I am. But seriously, if you just want a cheap linux desktop, grab any laptop from ebay from the past decade. If you want, strip all the casing and peripherals off -- the mainboards are pretty small.
Heck, you can repurpose the i2c bus on the video outputs for whatever you want. Could even use a breakout board and drive a microcontroller, get additional GPIO pins[0].
Probably other nifty hacks out there. The last gen "ExpressCard" expansion slots are basically external PCIe busses, you can great those out and add PCIe cards to a laptop board.
[0] https://hackaday.com/2014/06/18/i2c-from-your-vga-port/
Edit: To be clear, I'm not pushing back on the idea of the raspberry pi. There are a ton of valid uses for them. I'm specifically pushing back against the idea that they're cheap, power efficient general purpose linux machines.
They are definitely low power, but not necessarily power efficient. And I think re-purposing the mountain of e-waste instead of buying a bunch more new SBCs may be better ecologically, but all the power to those who want to have fun with a cool little ARM board. No sarcasm.
The RPI on the other hand has some software that mostly just works.
I'm personally not a huge fan of the device, as the sd-cards always dies on me. But as a quick prototyping board they are great.
As far as I can remember [2], even my old Pi 2 was able to stream 1080p no problem.
On the other hand, the NUC can boot from a SATA SSD, it can have plenty of RAM installed etc.
So, regarding the question if it’s better to use an old PC or a Pi: I guess it depends on what you’re trying to achieve.
[1] sorry I’m not home at the moment so I don’t have the model number, all I remember is that it was from the last generation of NUCs that still accepted DDR3 sticks, and that it’s got a Celeron processor. I set it up with Lubuntu and the streaming was done using default Firefox.
[2] it was long ago so I don’t remember the details but I am pretty sure that on my first Pi, which must have been a Pi 2, I was able to watch YouTube no problem. I also remember reading articles at the time where people were raving about how good video playback was for such an affordable device.
I totally believe that this would outperform the RPi4. But I don't always need much performance, and it seems like more work and/or uncertainty to me:
* Batteries. People say that if you don't cycle them occasionally they can swell and be a fire hazard. I'd rather not deal with that. Will "any laptop from ebay from the past decade" run without batteries in it?
* Running closed. I've also heard that laptops are designed to be used open for heat reasons. Will running it closed cause problems?
* Stripping casing and peripherals off. I want it in some case, ideally as compact as the Pi4. Can I find a good case for it and mount it successfully? I'm not much of a hardware DIYer—basically the closest I get is assembling a standard ATX desktop. And will it run headless? If the BIOS gets reset or something, do I need to reattach the stuff to get into the BIOS and allow it to boot without video / keyboard?
* Reproducibility. Let's say I'm using it to run a particular open source project (my NVR project, HomeAssistant, etc). From the perspective of either someone telling others how to set it up or the perspective of someone trying to follow those instructions, it's better if I have exactly the same thing, so there aren't so many variations and problems with the physical questions (see above), drivers, etc. The Pi4's availability and price are known quantities world-wide and for a long time. Whatever model I happened to find cheap probably isn't like that.
I've had success with a middle ground: buy an used NUC from eBay. Maybe it's hard to find the exact same model, but it's always the same form factor that doesn't need to be modded in a novel way, will always run a stock Linux distribution without problems, etc.
Yes, at least the ones with removable batteries that I've seen.
>* Running closed. I've also heard that laptops are designed to be used open for heat reasons. Will running it closed cause problems?
What use case would cause significant heat generation? Worst case you can get a $15 laptop stand with fans.
I dunno; it's just something I've heard. [1] I suppose probably not in any scenario I'd consider an RPi4.
[1] Searched for this and found eg https://superuser.com/a/1536145
https://www.acmesystems.it/CM3-HOME
And this:
https://revolution.kunbus.com/
Please note, this puts open source home automation in the forefront of this rapidly expanding market.
Edit: Are you arguing in favour of RPi(-like) devices by saying they can be very useful in applications where an old laptop/computer you have lying around wouldn't be?
The Compute Module is rapidly becoming an embedded commodity - a SOM that is easy to source, has decent tooling, and for which there is an expanding source of developers...
Sure, there are other SOM/SOC vendors out there - but few have as resilient a distribution as the raspberryPi foundation.
But it turns out, its a pretty decent little computer for a lot of things: Just make your own breakout box.
- compact form factor, cases etc.
- teaching esp kids (standardization)
- pre-built libraries and software compatibility (easier)
Example: I used an rpi4 and old LED TV to drive a digital wall art piece. SBC fit the space and pre-built software cut hours: I coded it up in HTML/JS and headless chrome.
Surely this is the main con of ARM devices?