适合初学者的六个简单的 Raspberry Pi 项目
Six simple Raspberry Pi projects for beginners
有了这些有趣且有用的想法,就不再让你的 Pi 构建未完成。
Raspberry Pi 项目因在完成之前就失败而臭名昭著。当然,真正专注的人会完成定制语音助手、灌溉系统或令人毛骨悚然的电子动画等事情。然而,许多 Pi 项目最终需要比初学者愿意投入的更多耐心。这里有一些简单的想法,可以防止您购买的产品落满灰尘。
就连 Raspberry Pi 也未能幸免于 RAMgeddon。随着人工智能数据中心吞噬全球内存供应,自 2025 年底以来,我们看到 Pi 价格多次上涨。16GB Pi 5 现在的价格为 385 美元,是原来 120 美元建议零售价的三倍多。 Pi 不再像以前那样冲动购买。
迷你电脑也成为内存危机的受害者,但对于某些项目来说,它们仍然值得考虑。满载的 Pi 的成本至少与小型英特尔迷你 PC 一样高,后者运行常规 PC 软件的速度更快、效果更好。
但如果您不需要特别强大的计算机,仍然可以便宜地购买廉价的 Pi 型号。例如,1GB Pi 5 的价格仍然仅为 45 美元。它可以毫无问题地处理以下几个项目,而仍然经济实惠的 2GB 或 4GB 型号将适用于其余项目。
您不必为家里的每台设备安装广告拦截器(并且接受流媒体盒和智能电视可能没有广告拦截器的事实),而是可以推出自己的网络范围内的广告拦截器。 Pi-hole 会阻止网络上每台设备的广告和跟踪器。毫不奇怪,它是 Raspberry Pi 魔法最受欢迎的切入点之一:对于初学者来说相对简单,而且几乎每个人都可以做到这一点。
该软件是免费和开源的,它依赖于已知跟踪器和广告服务器的第三方列表来运行。最简单的设置是使用以太网电缆将 Pi 直接插入路由器。当然,只要它与您的路由器位于同一网络并且配置正确,它就可以在其他地方工作。它只需要一个固定的 IP 地址和一些调整,以确保您的路由器将 Pi-hole 作为您网络的 DNS 服务器。
Pi 可以充当老式游戏机的大脑。您可以将 Recalbox、Batocera 或 RetroPie 等软件闪存到 microSD 卡上,并享受经典控制台和街机模拟器的菜单。对于 NES 或 Sega Genesis 等较旧的平台,您不需要太多 RAM,但如果您想玩一些 GameCube 和 Wii 游戏,则需要 4GB 或更多(以及 Pi 5)。
除了 Pi 和 microSD 之外,您还需要游戏控制器、电源和视频线(通常是 micro HDMI 到 HDMI)。请记住,该软件不附带游戏,因此您需要提供自己的 ROM(并且可以接受可能涉及的任何法律灰色区域)。虽然这个设置比 Pi-hole 稍微复杂一些,但最后的老式互动奖励应该会提供足够的激励来坚持下去。
如果您想更进一步,您甚至可以处理复古游戏手持设备项目。但除非你真的对此很坚定,否则这会接近“太复杂而无法完成”的领域,尤其是预制的相对便宜。
虽然它对流媒体服务没有帮助,但此设置可以让您轻松欣赏您已有的电影、节目和音乐。像 LibreELEC 这样的软件可以将你的 Pi 启动到 Kodi,这是一个适用于数字媒体库的电视友好型 UI。 Kodi 可以托管音乐、电影、节目、照片、直播电视甚至一些游戏,并且它有一个可定制的皮肤库。
您需要对其进行设置才能访问硬盘驱动器或家庭服务器上的文件。完成此操作后,Kodi 应该自行填写大部分艺术作品和剧集信息,并且有一个免费的社区构建的附加组件库可供细读。您甚至可能不需要单独的遥控器来控制您的 Kodi 设置,因为一项名为 HDMI-CEC 的功能可让您使用电视已有的遥控器进行导航。
您可以使用 Pi 重新创建 Google 已停产的 Chromecast Audio 的功能。如果您不记得 Chromecast Audio,它是一个插入立体声或有源扬声器音频输入的小型适配器。它实质上将任何“哑巴”扬声器变成了无线扬声器。
要进行设置,请将 Pi 插入旧的立体声音响或有源扬声器,然后安装用于 Spotify Connect 的 Raspotify(需要高级版)或用于 AirPlay 的 Shairport Sync。然后,Pi 注入的扬声器将作为音频输出选项出现在 Spotify 的设备列表或 iPhone 的 AirPlay 菜单中。
不要将其与常规 Chromecast 混淆,后者专为视频流而设计,于 2024 年停产,并被 Google TV Streamer 取代。模仿 Chromecast 是一个更复杂的项目,因为视频平台往往会严格监管版权保护。此外,无论如何,便宜的流媒体棒会做得更好。
Pi 不仅可以帮助您玩复古游戏,还可以帮助您玩复古游戏。它还可以作为市场上一些最耗电的现代游戏的客户端。您可以在沙发上使用类似于(也已停产)Steam Link 盒的 Pi 项目玩 PC 游戏。它被称为 Sunshine,虽然它不是 Steam Machine 的替代品,但这种本地流媒体解决方案可以与您现有的 PC 库很好地配合,并且成本远低于 1,000 美元。
您需要在 PC 上安装 Sunshine(免费,且与 NVIDIA、AMD 和 Intel GPU 兼容)及其配套软件 Moonlight on the Pi。然后,将它们与 PIN 码配对,然后在电视上享受您的 PC 游戏库。然而,值得注意的是,如果可以的话,您需要将 PC 和 Pi 都建立有线连接。尽管此设置可通过 Wi-Fi 运行,但以太网是本地流媒体更可靠的选择。
您孩子的第一台计算机可能不需要配备 GeForce RTX 5090 或任何与之相近的设备。 Raspberry Pi 提供您早期学习体验所需的所有功能。
原文(English)
Stop leaving your Pi builds unfinished with these fun and useful ideas.
Raspberry Pi projects are infamous for fizzling out before completion. Sure, the truly dedicated will finish things like custom voice assistants, irrigation systems or creepy animatronics. However, many Pi projects end up requiring more patience than beginners are willing to invest. Here are a few ideas that should be easy enough to prevent your purchase from collecting dust.
Even Raspberry Pis haven't been spared from RAMageddon. With AI data centers gobbling up the world's memory supply, we've seen several Pi price increases since late 2025. The 16GB Pi 5 now costs $385, over three times its original $120 MSRP. A Pi is no longer the impulse purchase it once was.
Mini PCs also fell victim to the RAM crisis, but they're still worth considering for some projects. A fully loaded Pi can cost at least as much as a small Intel mini PC, which will be faster and better at running regular PC software.
But if you don't need a particularly powerful computer, budget Pi models can still be had for cheap. The 1GB Pi 5, for example, still costs just $45. It can handle several of the following projects without issue, while the still-affordable 2GB or 4GB models will work for the rest.
Instead of installing ad blockers for every device in your home (and resigning yourself to the fact that streaming boxes and smart TVs probably won't have one), you can roll your own network-wide ad blocker. Pi-hole blocks ads and trackers for every device on the network. It's no surprise that it's one of the most popular entry points into Raspberry Pi wizardry: It's relatively straightforward for a beginner and it does something almost everyone can get behind.
The software is free and open source, and it relies on third-party lists of known trackers and ad servers to function. The simplest setup is to plug a Pi directly into your router using an Ethernet cable. Of course, it will work elsewhere as long as it's on the same network as your router and configured properly. It just needs a fixed IP address and some tweaking to make sure your router hands out Pi-hole as your network's DNS server.
A Pi can serve as the brains of an old-school gaming machine. You can flash software like Recalbox, Batocera or RetroPie to a microSD card and enjoy a menu of classic console and arcade emulators. You don't need much RAM for older platforms like NES or Sega Genesis, but you'll want 4GB or more (and a Pi 5) if you want the option of playing some GameCube and Wii titles.
In addition to the Pi and microSD, you'll need a game controller, power supply and video cable (usually micro HDMI to HDMI). Remember that the software doesn't come with games, so you'll need to provide your own ROMs (and be OK with whatever legal gray areas may be involved). Although this setup is a bit more complicated than Pi-hole, the old-school, interactive reward at the end should provide enough incentive to stick with it.
If you want to take things a step further, you could even tackle a retro gaming handheld project. But unless you're truly hardcore about this, that's veering closer to "too complex to finish" territory, especially with pre-made ones being relatively affordable.
Although it won't help with streaming services, this setup can make it easy to enjoy the movies, shows and music you already own. Software like LibreELEC can boot your Pi into Kodi, a TV-friendly UI for your digital media library. Kodi can host music, movies, shows, photos, live TV and even some games, and it has a library of customizable skins.
You'll need to set it up to access the files on a hard drive or home server. After doing so, Kodi should fill in most of the artwork and episode info on its own, and there's a library of free community-built add-ons to peruse. You probably won't even need a separate remote to control your Kodi setup, as a feature called HDMI-CEC lets you navigate it with the one you already have for your TV.
You can recreate the functionality of Google's discontinued Chromecast Audio using a Pi. If you don't remember Chromecast Audio, it was a small dongle that plugged into the audio input of a stereo or powered speakers. It essentially turned any "dumb" speaker into a wireless one.
To set it up, plug your Pi into an old stereo or powered speaker, then install Raspotify for Spotify Connect (Premium required) or Shairport Sync for AirPlay. The Pi-infused speaker will then come up as an audio output option in Spotify's device list or your iPhone's AirPlay menu.
This isn't to be confused with a regular Chromecast, which was designed for video streaming and discontinued in 2024, replaced with the Google TV Streamer. Miming a Chromecast is a more complicated project, since video platforms tend to strictly police copy protection. Besides, a cheap streaming stick will do a better job anyway.
A Pi doesn't just help you play retro games; it can also serve as a client for some of the most power-hungry modern titles on the market. You can play your PC games from the couch with a Pi project that resembles the (also discontinued) Steam Link box. It's called Sunshine, and while it's no Steam Machine replacement, this local-streaming solution plays well with your existing PC library and costs significantly less than $1,000.
You'll need to install Sunshine on your PC (free, and compatible with NVIDIA, AMD and Intel GPUs) and its companion software Moonlight on the Pi. Then, pair them with a PIN and enjoy your PC gaming library on the TV. However, it's worth noting that you'll want to put both the PC and Pi on wired connections if you can. Although this setup works over Wi-Fi, Ethernet is the more reliable option for local streaming.
Your child's first computer probably doesn't need to be tricked out with a GeForce RTX 5090 — or anything even remotely close to that. A Raspberry Pi provides all the horsepower you need for an early learning experience.
本文为自动翻译,可能存在偏差,请以原文为准。发布于 2026-11-22 02:45
阅读原文 ↗https://www.engadget.com/2318530/simple-raspberry-pi-project