Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Raspberry Pi 400 in My Bedroom (joeldare.com)
187 points by tosh on Oct 22, 2022 | hide | past | favorite | 42 comments


> Nginx may be a bit more performant but Caddy’s ease of configuration lured me in.

I'd say there is some nuance here. I have a really hard time finding out how to do stuff using the Caddy's new json based configuration style. Even keeping the configuration after server restart is not something trivial. I do realize a Caddyfile style configuration can be used but last time I've checked their whole documentation and examples are using JSON.

JSON might be nifty to communicate things between systems but its not user friendly. Reminds me the XML config file fad from the late 2000s.


I had this idea after I got my Raspberry Pi 400 to build a Lua/LÖVE[1]-based instant-on/"bare metal" IDE for kids, optimized for that hardware/keyboard, inspired by the Turbo Pascal GUI that was so awesome in the early 90s, with a mix of STOS/AMOS thrown in. It would be keyboard-operated - mouse optional. Then I got too busy.

Just putting the idea out there :).

1) https://love2d.org/


I Kickstartes this many manyany years ago and it's still going strong. Kano was designed to teach kids Raspberry Pi, hardware, and software development. they even had their own Linux distro with a GUI focused towards kids.

I now have a kid but she is too young still but I am definitely going to be getting her into building Kano devices.

https://kano.tech main page with all the devices https://world.kano.me their community for kids and learning


Not exactly the same, but I have been using a technically similar stack (Pi 4b + Love2D GUI) paired with some custom autorun code to make a console which boots media off of whatever drive you insert (potentially a keyboard / mouse / controller optional media device).

I've got the Pi booting basically straight to Love2D (really it's a combo of carefully choreographed splash screen, LXDE wallpaper, then an autostart of the actual Love2D UI which makes it seem like the Love2D UI is in control from boot) and it's all worked very smooth.

I feel like this setup would work well for custom UIs (especially if you're not as obsessive about the polish as I am and can tolerate a few flashes as X boots up). There's nothing specific about Love2D which makes this work other than being a nice way to write code that runs smoothly on a Pi, but I like it :)


That’s such a fun idea!

Load81 might be of interest for this as well, it’s a commodore-like console interface for Lua, made by antirez: https://github.com/antirez/load81


Living the I wish my web server were in the corner of my room[1] dream. Which I think- as typical Webb- speaks so succinctly to what a real & meaningful connection to technology is.

[1] https://interconnected.org/home/2022/10/10/servers


There is a multinode BBS running on a Raspberry Pi in the corner of my room. I have a couple of externally facing web servers too that have "Das Blinken Lights", but those are mostly for my own use.


What BBS software? How is it connected to telnet (I’m assuming).


Originally it ran on multiple Amiga emulators (multiple nodes all emulated) with /X and a Telnet driver I built to get telnet to bridge to the serial interface, but since about 2012 and the release of the Raspberry Pi it has been running on SynchroNet.


I like the idea of getting more Raspberry Pis, but in Europe the model 4 is €165 ($162) on Amazon, and there are lot of ‘mini pcs’ for less that also come with storage and case, power supply, etc


I think the Raspberry Pi 4 Model B 8GB is expensive at its original price of £85.50 (96 USD) + usb-c charger & cable (~ 9 USD) + SD card (~ $30 for 128GB). The only advantage I can see is that it's very small at a total price of $135, but the disadvantage is no case and the SD card will die very quickly when being used as a hard disk, I guess.

A mini pc (made in China) with a Intel N5095 CPU (more powerful https://cpu-benchmark.org/compare/raspberry-pi-4-b-broadcom-...), 8 GB RAM, 256GB SSD, dual HDMI 4k, Bluetooth 4.0, Gigabit Ethernet, 4 USB type A, 1 USB type C case, charger included (RAM and SSD are upgradable) costs $160.


> the SD card will die very quickly when being used as a hard disk, I guess

Nop.

I run normal linux, journald and all… they last years.

Of course I don't run facebook on it, just personal website.


4's are very scarce but 400's are fairly easy to find. They are around $80 and they are basically a pi 4 with 4GB and a keyboard. A reasonable alternative unless you need the SBC form factor. There is a $100 combo kit that includes a mouse, power cube, and SD card with the OS on it. I just wish they had made the keyboard include a built-in trackpad so you'd have a reasonable laptop alternative by just adding a screen.


Thats crazy, I bought my RPi 4B with 4GB memory for less than 60 euro (2019).


At the start of this year I got a 400 to play router as the other models were either stupidly expensive or simply not available and I wanted something "known good" rather than risking one of the cheaper alternatives riding on the rPi coat tails. The full kit version (coming with power supply, mouse, etc) cost me £90.91 with next day delivery (via prime). A quick look now, only 8 months later, and the same thing is £201.53¹.

The combination of shortages and scalpers had truly turned the "affordable mini-PC" idea on its head.

The original plan for my 400 was for it to become a proper little low-power PC², with its job as headless router and mini-server being taken on by a pi4 (or 3, heck perhaps even a zero-with-add-ons) or similar once their availability+price became more reasonable. Looks like it'll be sat where it is doing what it is doing for a while longer.

In mid-2019 the Pi 4 1GB that is my "set-top" Kodi+ box ATM cost ~£35. Now the cheapest 4 available for delivery in the next day or two, a 4gb unit, is £170.

----

[1] though there are a few unit-only versions from other sellers at just shy of £100 once you add in the delivery, if you can wait one to two weeks for it to arrive.

[2] partly for nostalgia value: I find it evokes memories of the old Acorn Electron and BBC Master boxes that I cut my programming teeth on.


What are some mini pc solutions? I haven’t been able to get Pi4 yet!


Things like the Lenovo M93p mini PC are a great platform, and a good way to help recycle (re-use) old corporate purchases.

AMD is preferable to Intel for the highest quality Linux video support (tear-free 4k.) If your ambient environment and workload can handle it you can take the fan out and have them passively cool themselves too.

Here is a good resource for reviews of for these types of machine:

https://www.servethehome.com/tag/tinyminimicro/


Secondhand HP T620 is pretty cheap and comes with sodimm and m2 sockets. T610 has weaker processor and sata instead of m2, but much cheaper than T620. I'm running homeassistant and pihole in a T610 with 8gb ram and 256 ssd and it's pretty great so far.


How much power do the T610 and T620 consume?


Online specs says T610 idles at ~12W and full load at ~20W [1], but I haven't personally measure it myself. I'll try measuring it myself when I got a chance later.

If it's really idle at 12W, it means the electricity cost is about $12/year. For comparison, I think pi4 averages at ~5W.

[1] https://www.parkytowers.me.uk/thin/hp/t610/


Lenovo M600 Tiny. It's nuclear bomb proof, runs on virtually no watts, has no fan and runs headless linux fine. Also supports proper storage like M2 SATA disks and doesn't have the horrible power supply issues you tend to get from Pi's. Usually available relatively cheaply on eBay.

I was running a cluster of 4 of them when I was learning about Kubernetes

Spec sheet: https://psref.lenovo.com/syspool/Sys/PDF/ThinkCentre/ThinkCe...


One example would be the Gigabyte Brix line. These barebones start at around 70€ and you get a 4W Celeron 2C/2T, USB3, GB Lan, WiFi, VGA and HDMI output. You need to add RAM to the bill but you could easily find a matching 4 GB DDR4 stick for under 15€. You also need storage but thats also needed for the Pi. So you're starting at 85€ with this mini-pc. Still you need to figure out if it matches your application needs, like if you need to interface with hw via GPIOs etc.


got a Fujitsu S740 for about 40USD (used, 2.5 y.o.). It's a thinclient (similar to the T620 below) and as such sadly doesn't have Wifi-onboard (but 1 SATA M.2 and 1 E-Key inside). Otherwise beats any SBC by an order of magnitude probably. The board inside is actually sold as a "SBC" by Kontron as well...

If you are fine with older stuff and adapt a PSU, you can probably get RPI-performance (even GPIO in a real parallel-port!) for the price of a coffee.


Sadly, the alternatives in that price range aren't all that great. Mostly celerons or Arm SoC with bad to horrible software support.

I really liked my pi 3b+ but it died on me and I just can't justify the price of 4b. I've been looking at 5800u mini pcs but 500 euro for a barebone that will only serve a few local web apps doesn't sit well with me. It would be such a massive waste.

I've been in that limbo for more than an year. Where's that pi 5 :(


I've seen nothing about poorly supported celerons anywhere? Details, links? They all have UEFI, they all should boot mainlineinux easy, almost all drivers should just work.


The Lenovo someone mentioned retails for 150 euros here refurbished, seems decent?


I've had great success with Orange Pi boards, just check Armbian support before buying, otherwise you're stuck with their outdated Ubuntu images. The prices have gone up as well, but not even remotely as much as RPi.


The Nano pi line from friendlyarm has been solid for me. They're well built vs the jank that OrangePi tends to ship.

Pine64 sells pretty good boards as well, though I'd place them a half step below the quality of friendlyarm.


ODROID-H3 or ODROID-H3+. Know nothing about them other than that they exist...


I'm happy with my Quartz64.


Great thing about Raspberry Pi 400, other than being really cool, is that the supply is pre-committed, so while you cannot easily find a Pi for sticker price, you can find the Pi 400 reliably from mainstream authorized sellers.


Are people buying them and stripping them for the boards? I know the board is a different shape


The Pi 400 is actually a completely unique PCB [1: scroll down a bit] so there's no "board" to jack from it.

[1] https://www.jeffgeerling.com/blog/2020/raspberry-pi-400-tear...


It also has some interesting bottlenecks with regards to the video output under network load but better heat dispersion with higher overclocks because of the large metal mounting bracket it's touching.


What kind of bottlenecks?


I bought one for at-desk prototyping because it was more available than a Pi 4. I’ve also bought one to serve as a temporary Pi server. Unless you actually need the form factor, the 400 is a completely fine substitute.


I'm pretty excited about the long form factor they have when you shuck them from the casing. The spread out nature of the board makes it appropriate for all kinds of things, like a home-made laptop or cyberdeck, or bicycle computer.


What a fun project. I miss when analytics was simple and not malicious — some simple code to see if anyone’s been looking at your work lately.


The Renegade BBS inspired dashboard definitely tickled my nostalgia as well.


That’s pretty awesome. I have a similar setup on the Raspberry Pi 4 that doubles as a magic mirror in our bedroom. And I use NoIP as dynamic DNS.


Nice. I’d love to see pics of that setup. I use Namecheap for domains and they have a simple dynamic DNS service built in. I just hit it with curl four times an hour.


My setup is simpler than that. My router (Netgear) supports Dynamic DNS out of the box. So I just pop in my credentials and it does the rest.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: