既然有旧手机,为什么还要买昂贵的树莓派?
Why get an expensive Pi when I have an old phone?

原始链接: https://so.long.thanks.fish/why-pi-when-i-have-an-old-phone/

作者正在评估旧智能手机,作为需要高分辨率相机、GPS、存储和灯光控制的项目的树莓派方案替代品。已root的Redmi 13C 5G和Huawei Mate 30 5G提供50MP/40MP相机,以及内置GPS、存储、电池、移动数据和触摸屏,并可通过USB-C连接灯光控制器。二手手机价格便宜,但采购数百台时,电池和相机表现的一致性仍不确定。作者已对Redmi进行root并测试,计划与Arducam进行相机对比,并看到了在数字艺术装置中的更广泛应用:配置好的手机可发货、插入电源,并经移动数据远程管理。

Hacker News 上的一个帖子讨论用旧智能手机替代树莓派做小型项目。文章认为旧手机可能有用,但评论者指出,由于硬件不一致、电池老化和不可预测的故障,规模化使用二手手机很困难。有人建议拆除电池并使用模拟器或充电器,以实现更安全的长期使用。其他人说,root 或刷机现代手机很困难,因为存在旧内核和锁定的引导加载程序,而笔记本电脑或树莓派提供了更易于开发和维护的软件。手机很坚固但缺少 GPIO;USB 开发板可以添加引脚。总体而言,旧手机可以减少电子垃圾,并可用于纯软件家庭实验室,但树莓派因其可靠性、GPIO 和更简单的折腾而更受青睐。
相关文章

原文
Rooted Redmi 13C 5G running the Moth Rig app, connected by USB-C to a controller for an LED strip
The rooted Redmi talking over USB-C to the LED controller.

I’m working on a project that needs a high resolution camera, GPS, storage, and a microcontroller to control some lights. (More on the project soon!) I’ve been designing PCB adapters around a Raspberry Pi, an Arducam 64MP camera, and a GPS module. Every time I add another part, the bill grows.

I’m also trying an ESP32-P4 board, which will get its own post soon. But the alternative I keep coming back to is an old smartphone.

I have a Redmi 13C 5G and a Huawei Mate 30 5G. Phones like these turn up second hand on Taobao for roughly ¥300–500 (£33–56 / €40–67 / $45–75). The Redmi gives me a camera that saves 50MP JPEGs; the Mate 30 has a 40MP main camera and a telephoto lens. Both already contain GPS, storage, a clock, a battery, mobile data, and a touchscreen. Their USB-C ports give me a route to the PCB that will handle the lights and other sensors.

Here is the rough parts comparison I made while deciding what to build next:

These are illustrative November 2026 listings. The more fully equipped Pi total uses the cellular HAT’s GPS instead of buying the separate GPS HAT; its modem is 4G, while the phones are 5G models. Neither side includes my custom light controller PCB, a SIM or data plan, or an enclosure. The conversions use 10 November 2026 mid market rates of approximately ¥1 = £0.111531 / €0.133643 / $0.14991, rounded to whole units in the table.

The phone is already becoming more than a price exercise. I’ve unlocked and rooted the Redmi, tested its camera, and got it sleeping and waking for scheduled work. I can plug it into my computer and have Codex configure and test the pieces I need. The Huawei is harder to root, but I can still run a kiosk app on it. I’ve made a stand to photograph the same target with the Redmi and Arducam side by side; I want to see what detail each camera actually captures. A 50MP JPEG file does not, by itself, settle that question.

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.

This could be useful well beyond the current project. For digital artworks and installations, we’ve often used a Pi or a Mac mini. Imagine instead posting a client a configured phone: plug it into the display and it runs. With mobile data and remote access, I can fix something without asking a gallery for Wi-Fi privileges or an open port.

There’s something fun about taking a device made in enormous numbers, giving it a second life, and finding that most of the hardware I was about to assemble is already inside it.

联系我们 contact @ memedata.com