raspberry pi

Waveshare's PoE HAT is the first for Raspberry Pi 5

Pi 5 PoE HAT Waveshare F

Power over Ethernet lets you run both power and networking to certain devices through one Ethernet cable. It's extremely convenient, especially if you have a managed PoE switch, because you get the following benefits:

  • A single cable for power + Ethernet (no need for separate power adapters)
  • No need to have electrical service near every device
  • Simple remote power on/off capability (assuming you have a managed switch)
  • Centralized power management (e.g. one UPS in a rack room covering all powered devices)

I have used the Raspberry Pi PoE and PoE+ HATs for years now, allowing me to have 4 or 5 Raspberry Pi per 1U of rack space, with all wiring on the front side. I also use PoE for cameras around my house, though there are dozens of use cases where PoE makes sense.

The Raspberry Pi, since it only requires 3-10W of power, is an ideal candidate for PoE, assuming you can find a HAT for it.

Resolving 'Temporary failure in name resolution' on Pi OS 12 Bookworm

Raspberry Pi OS version 12 (based on Debian 12 Bookworm) uses NetworkManager instead of dhcpcd for managing network connections, DNS resolution settings, DHCP, etc.

I've already mentioned using nmcli and nmtui for managing WiFi settings, but I ran into a strange issue after installing Docker on a fresh Raspberry Pi OS installation today. Suddenly DNS stopped working.

Trying to ping anything on the Internet gave me:

$ ping www.google.com
ping: www.google.com: Temporary failure in name resolution

As always, It was DNS. It was like DNS just gave up the ghost! Trying to change settings via nmtui seemed to not work (I tried DHCP for IPv4 with manual DNS, and that wasn't working).

Luckily, I found this post and followup comments mentioning the proper nmcli incantation to override DNS settings for an interface, so here it is (assuming built-in Ethernet):

Raspberry Pi IPO: Selling out?

Raspberry Pi 5 blended into 100 dollar bill USD

Raspberry Pi is looking into an IPO (Initial Public Offering).

But wait, Raspberry Pi's a non-profit! They can't do that? And who would want stock in Raspberry Pi anyway? Their core market hates them—they abandoned hobbyists and makers years ago!

And there are like tons of clones and competitors, nobody even needs Raspberry Pi? Plus, aren't they crazy-expensive? It's like a hundred bucks now, and that's if you can even find one to buy!

Well, hold on a second... there are a lotta misconceptions out there. In this post, I'll walk through what's actually happening, and also through things I see online.

This blog post is a lightly-edited transcript of a video on my YouTube channel, which you can watch below:

When did Raspberry Pi get so expensive?

Raspberry Pi 5 and N100 GMKtec Nucbox G3

I just bought this N100-based Intel x86 mini PC (brand new), and it was cheaper than an almost equivalent—but slower—Raspberry Pi 5.

This GMKtec mini PC is called the Nucbox G3, and it comes with an Intel Alder Lake N100 4-core CPU, 8GB of RAM, a 256 GB M.2 NVMe SSD, and Windows 11 Pro—and mine cost just $131, after a couple coupons.

That's... a lot of computer for a very good price. But the Raspberry Pi—the famous "$35 computer", should be well below that... right?

Well, I bought all the parts required to build a Pi 5 to the same spec—including the adapters and parts to assemble it into one small unit—and it turns out... the Pi is more expensive. And slower.

The Pi 4 still starts at $35 (for a 1 GB model), but the Pi 5 starts at $60 (for 4 GB) and climbs to $80 for the maximum 8 GB model.

Raspberry Pi 5 shortages shouldn't last long

Or at least that's the hope, based on current production rates.

Jeff Geerling speaks to Eben Upton at CES 2024

At CES 2024, I had the opportunity to chat with Eben Upton, Raspberry Pi's CEO. We discussed the future of AI on the Pi, RP2040's successor, the impending launch of Compute Module 5, and current production rates of Pi 4 and Pi 5 computers—Raspberry Pi's bread and butter.

The news is good: currently (as of last week), they are manufacturing Pi 5 at a rate of 70,000 per week. By the end of January? 90,000 per week.

That would put manufacturing capacity for Pi 5 alone at 400,000 units every month.

Raspberry Pi 4 manufacturing line

Keeping one Game Gear out of the landfill

Game Gear and scratchy blue

I was sent a Zega Mame Gear kit by John Maddison, of Zarcade, in April this year. I bought a Game Gear shell off eBay for $15, some extra buttons, switches, screws, and a new glass screen cover from Handheld Legend, and I could finally find a Raspberry Pi Compute Module 4 for sale last month.

So I put all that together into a modern RetroPie handheld emulation build, and now I can play through games I only wish I could've played in my childhood. Being the third child, I was typically relegated to 'trying to cram in some time on the console before the game rental was due back' status.

Jeff and siblings on game console

So you want to make a Raspberry Pi killer...

Raspberry Pi CM4 Clones stacked up

I'm in the unique position of owning a collection of Raspberry Pi Compute Modules 4 (CM4).

I also own at least one of every production CM4 clone in existence.

This sets up a quandary: if I have the real thing, what motivation do I have to care about the clones?

There are hundreds of CM4 carrier boards that do everything from restoring retro game consoles to monitoring remote oil rigs in highly-explosive environments.

Since launch, the CM4 has been difficult—and since early 2021, impossible—to acquire. The supply constraints are well documented, and I'm sure a few comments will lament the situation. But the CM4 is trickling back to 'in stock' at many suppliers (about how the Pi 4 was a couple months ago).

A PCIe Coral TPU FINALLY works on Raspberry Pi 5

Coral.ai TPUs are AI accelerators used for tasks like machine vision and audio processing. Raspberry Pis are often integrated into small robotics and IoT products—or used to analyze live video feeds with Frigate.

Until today, nobody I know of has been able to get a PCI Express Coral TPU working on the Raspberry Pi. The Compute Module 4, unfortunately, had some quirks in its PCIe implementation, preventing the use of the Coral over PCIe.

Google Coral TPU running over PCIe on Raspberry Pi 5

The Raspberry Pi 5 has a much improved PCIe bus—capable of reaching Gen 3 speeds even!—and I've already tested the first PCIe NVMe HATs for Pi 5.

So can the Pi 5 handle the Coral TPU natively over PCIe?

Yes. Though currently, you need to tweak a few things to get it working.