树莓派+墨水屏塞进 4800 条书摘!每分钟换一句名著当钟表,Maker 收藏级!Raspberry Pi + E-Ink Screen Packs 4800 Book Quotes! Swap a Classic Quote Every Minute as a Clock, Collector-Grade for Makers!


AI free token/AI免费积分

书架上摆一台墨水屏时钟,不显示数字,而是每分钟翻出一段带着当前时间的名著原文——十点二十六分,屏幕上跳出的可能是《Confess, Fletch》里主角瞄了一眼手表的那一句。这个叫 LitClock 的开源项目把 4800+ 条书摘塞进了一块 7.5 寸墨水屏,用一颗树莓派 Zero 2 W 驱动,连配置都只要手机扫码两分钟。对喜欢文学、又想在书架上放点手作电子小物的 Maker 来说,几乎是量身定做。

它一句话是什么

一台用树莓派 + 7.5 寸墨水屏做的「文学时钟」:每分钟从 4800+ 条精选书摘里挑一条包含当前时间的段落显示出来,顺带带上日期和天气。

为什么值得看

市面上「文学时钟」的想法不新,但绝大多数是网页 demo 或 App。LitClock 把它做成了一台真正能摆在书架上、不用管的实体设备:

  • 用了墨水屏,安静、无背光,长期通电看着舒服,也贴合书本的质感。
  • 作者的设计哲学写得很明白:「The defaults are the product.」 烧完卡开机,手机连热点、选 WiFi,两分钟走完全流程——不用改配置文件,不用 SSH。
  • 硬件清单和 3D 打印外壳文件都开源,STL 直接放在 3d-models/ 目录里,基于 Arthur Gassner 的 Time Teller 外壳做的小改(CC BY 授权)。
  • 天气数据默认走 Open-Meteo,不用注册、不用 API Key,位置、时区、单位在联网后自动识别。

对想动手做点「日常可用」而不是「做完就吃灰」的 Maker,这类项目才是真值得复刻的。

最有意思的 3 个功能

1. 每分钟一段书摘,1440 分钟不重样 项目号称 4800+ 条 curated book passages,也就是说每个时间点还可能有多条候选轮换,读起来不容易腻。屏幕右下角带一个二维码,指向这台钟自己开的控制页。

2. 手机端两分钟配好,不碰命令行 上电后墨水屏直接显示一个 "LitClock-Setup" 热点的名字、密码和二维码;手机连上,抓门户页选 WiFi,填完密码就完事。iOS 26.x 有个已知的门户不自动弹窗的问题,作者也在 README 里明确写了「打开 Safari 就行」——这种细节能写出来的项目,一般靠谱。

3. 局域网自带一个 PWA 控制台 每台 LitClock 在局域网里开一个 http://litclock.local 的小网页,能看当前引用、天气、版本,能改地点、开关成人内容过滤、切摄氏/华氏,还能远程重启、恢复出厂、"Prepare for Gifting"(送人前一键清空)。没账号、没云端,纯 LAN。

动手实践:安装 / 快速开始

硬件清单(README 明确列出)

部件说明约价
Raspberry Pi Zero 2 W(WH 免焊版)除非你想练焊功$15
Waveshare 7.5" e-Paper HAT (V2)800×480 黑白墨水屏$60
microSDHC 卡建议 32 GB$10
Micro-USB 5V/2A 电源$10
3D 打印外壳(可选)PLA,STL 在仓库里$5–30

路径 A:烧录官方镜像(推荐,零命令行)

  1. 到 Releases 下载最新的 .img.xz
  2. 用 Raspberry Pi Imager 或 balenaEtcher 烧到 SD 卡  
  3. 插卡上电

预期结果:一分钟内墨水屏出现 "LitClock-Setup" 热点名、密码和二维码,手机扫码进配网页。

路径 B:已有 Raspberry Pi OS Lite,直接跑安装脚本

curl -sSL https://raw.githubusercontent.com/kapoorankush/litclock/master/scripts/install.sh | bash 

脚本会自动做这些事(README 原文):装系统依赖、BCM2835 驱动、开 SPI、配 NTP、建 Python venv、装所有 systemd 服务、下载约 130 MB 的引用图像集,并检测到 Pi Zero W 时提示套用 WiFi 稳定性修复。

预期结果:脚本跑完提示重启,重启后流程和烧录镜像一致,进入配网热点阶段。

踩坑提醒

  • 镜像方式和脚本方式二选一:脚本仅适合已有 Raspberry Pi OS 的实例,全新 SD 卡请直接烧镜像。
  • 需要联网:约 130 MB 的引用图库要在线下载;下载失败时时钟会退回到纯时间显示(README 明确说明)。
  • iPhone 用户注意:iOS 26.x 存在门户不自动弹的已知问题,手动在 Safari 打开门户地址即可,Android 会自动弹。
  • 排线方向和墨水屏易碎:装配前建议先看 docs/hardware-assembly.md 里的排线方向说明,墨水屏不耐弯折。
  • 配置文件位置:进阶用户想手动改设置,看 /home/pi/litclock/env.sh,里面能配经纬度、单位、NSFW 过滤、天气缓存 TTL,以及可选切换到 OpenWeatherMap。

可以怎么玩 / 怎么用

  • 书架、床头柜、书桌角落——安静、无光污染,配木质外壳很搭。
  • README 明确提到 "Give one away" 和 "Prepare for Gifting" 功能:送人前一键重置,收礼者按同样的两分钟流程配一次即可,作为生日/圣诞礼物很适合。
  • 想改自己的书摘库?语言是 Python,逻辑清晰,理论上可以在原有 4800+ 条基础上塞入自己整理的中文书摘(README 未直接提供中文本地化说明,属于「适合尝试改造」的方向,需要自己动手)。
  • 不想 3D 打印也没关系,README 原文写着「No case? The bare HAT sandwich works fine on a shelf while you decide.」——裸板放书架上也能用。

适合谁

  • 喜欢文学 + 电子小物的 Maker,家里有 3D 打印机更完美。
  • 想给爱读书的朋友做份手作礼物的开发者。
  • 树莓派入门玩家:这是一个流程完整、文档细致、还带 CI 和自动镜像构建的模板级项目,抄结构都很值。
  • 想入坑墨水屏但被"配网、系统服务、OTA"劝退过的人——这个项目把这些细节都做完了。

读者互动

  • 你会想把 4800+ 条书摘换成什么内容?中文名著、诗词、还是自己收藏的电影台词?评论区聊聊。
  • 树莓派 Zero 2 W + 7.5 寸墨水屏这套组合,你还想拿来做什么?(家庭日历?备忘板?电子相框?)点赞过百我安排一期墨水屏 DIY 项目横评。

觉得有意思就点个关注吧。

长按 / 扫码关注,硬件与 DIY 项目不断更。

GitHub 地址

https://github.com/kapoorankush/litclock

发现更多好玩的开源项目

专注 Arduino、开源硬件、端侧 AI 和值得收藏的开发者工具。

长按二维码关注「Arduino」

On the bookshelf sits an ink screen clock, not showing numbers, but flipping through a passage from a classic novel each minute, accompanied by the current time — at ten twenty-six, the screen might display the moment from Confess, Fletch where the protagonist glances at his watch. This open-source project, LitClock, packs over 4800 curated quotes into a 7.5-inch e-ink display, driven by a Raspberry Pi Zero 2 W, with configuration as easy as a two-minute QR scan. It’s tailor-made for makers who love literature and want a handcrafted electronic gadget for their shelves.

What is it in one sentence?

A Raspberry Pi + 7.5" e-ink "literary clock" that displays a time-matched quote from 4800+ curated passages every minute, along with date and weather.

Why is it worth checking out?

While the concept of a "literary clock" isn't new, most are web demos or apps. LitClock turns it into a physical, set-and-forget device for your shelf:

Uses e-ink — quiet, no backlight, gentle on the eyes, and matches book aesthetics.

The author’s design philosophy ("The defaults are the product") shines through: burn the SD, power on, connect to WiFi via mobile hotspot in two minutes — no command lines, no editing config files.

Fully open-source with STL files for 3D printing the case (based on Arthur Gassner’s Time Teller) and clear hardware BOM.

Weather data via Open-Meteo requires no sign-up or API key; location, time zone, and units are auto-detected.

For makers who prefer practical daily-use projects over one-off experiments, this is highly replicable.

The 3 most interesting features

1. Rotating quotes with no repeat for 1440 minutes The 4800+ passages ensure variety; the claim of "no repeat for 1440 minutes" suggests robust selection logic. The bottom-right QR code links to the device's own control page.

2. Mobile-first setup with zero command-line hassle After booting, the e-ink shows a "LitClock-Setup" hotspot name, password, and QR. Scan with phone, pick WiFi network, enter password — done. iOS users may need to manually open Safari, but the README explicitly addresses this.

3. Built-in LAN control panel via PWA At http://litclock.local, you can view current quote, weather, version, toggle NSFW filtering, switch units, and even perform remote reboot or prepare for gifting — all without cloud or account dependency.

How to install / quick start

Hardware required: Raspberry Pi Zero 2 W, 7.5" e-ink display (specific model listed), power adapter, SD card, etc.

Path A: Official image (recommended) Download the latest .img.xz from Releases, flash with RPi Imager or balenaEtcher, insert into Pi, power on. Expect the setup hotspot to appear within a minute.

Path B: From RPi OS Lite Run the install script (provided in README), which sets up dependencies, SPI, systemd services, and downloads the ~130 MB quote corpus. Reboot and proceed as in Path A.

Notes: If the corpus download fails, the clock remains functional but uses a static fallback; ensure internet access during first run.

How to use / play with it

Place it on your bookshelf, bedside table, or desk — wherever you want a passive but enriching time display.

Use the "Prepare for Gifting" feature to reset ownership before giving to friends; they’ll go through the same 2-min setup.

Advanced users can customize env.sh for location, units, NSFW filter, or switch to OpenWeatherMap. Alternatively, fork the repo and swap out the quote dataset (e.g., for Chinese literature, though localization isn’t yet built-in).

Even without 3D printing, the bare HAT stack works fine — the author explicitly says "The bare HAT sandwich works fine on a shelf while you decide."

Who is this for?

Literature-loving makers who want a functional, artistic timepiece.

Gift-givers looking for unique, personalized electronics.

RPi beginners wanting a well-documented, turnkey project with minimal tweaking required.

Readers who appreciate thoughtful product design (“The defaults are the product”) and privacy-focused control (“LAN-based PWA”).

Final thoughts

LitClock bridges the gap between tech and humanities with elegance and usability. Its emphasis on plug-and-play operation, combined with the depth of its curated content, makes it an ideal candidate for both personal enjoyment and as a gift. While it assumes English-language quotes, the codebase is flexible enough for localization efforts — imagine a version swapping in Chinese poetry or historical speeches. Whether you’re a hobbyist, a literary enthusiast, or just looking to add some character to your living space, LitClock invites you to rethink what a clock can be.

On bookshelves, nightstands, or desk corners — quiet, no light pollution, and the wooden case blends in nicely.

The README explicitly mentions "Give one away" and "Prepare for Gifting": a one-click reset before gifting, and the recipient only needs a two-minute setup — ideal for birthdays or Christmas gifts.

Want to customize the book extract library? The language is Python, the logic is clear — theoretically, you can add your own curated Chinese extracts on top of the existing 4800+ entries (though the README doesn’t directly explain Chinese localization, it’s a direction worth trying yourself).

No 3D printer? No problem — the README says “The bare HAT sandwich works fine on a shelf while you decide.” So even without a case, you can start using it right away.

适合谁

Perfect for literature lovers and electronic gadget makers — especially if you have a 3D printer at home.

Great for developers who want to make a handmade gift for a book-loving friend.

A solid project for Raspberry Pi beginners: complete process, detailed documentation, CI integrated, and automated image building — even just to study the structure is valuable.

If you’re scared off by e-paper’s “networking, system services, OTA” setup, this project handles all that for you.

读者互动

What would you replace the 4800+ extracts with? Chinese classics, poetry, or maybe movie quotes you’ve collected? Share your ideas in the comments.

For the Raspberry Pi Zero 2 W + 7.5" e-paper combo, what else would you use it for? (Family calendar? Memo board? Digital photo frame?) If this gets 100 likes, I’ll put together a roundup of cool e-paper DIY projects.

Found this interesting? Give it a follow — more hardware and DIY content to come.

Long-press or scan to follow — never miss an update on hardware, open source, or AI projects.

GitHub 地址

https://github.com/kapoorankush/litclock

Discover more exciting open-source projects.

Focused on Arduino, open hardware, edge AI, and developer tools worth collecting.

长按二维码关注「Arduino」

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry